HomeGenie Forum

Automation Program Plugins and Wizard Scripting => APP Contributions => Topic started by: mvdarend on August 06, 2015, 09:08:03 PM

Title: Smart meter APP
Post by: mvdarend on August 06, 2015, 09:08:03 PM
A few days ago my old analog electricity meter was replaced with a 'Smart meter' (Slimme meter in Dutch) so I ordered a cable and created a Smart meter APP for HomeGenie.

You can make a cable yourself, but I decided to just order one. I ordered the following: Smart meter cable, WirelessWonen.nl (http://www.wirelesswonen.nl/Smartcable)

In the settings you can set the Port and Baud rate , you can also choose to show/hide different readings. See example below, left hand side shows PV output, in the right hand version I have switched this off as I don't have Solar panels (yet)

Import the .hgx file as normal and place the Widget files in the following folder:

/usr/local/bin/homegenie/html/pages/control/widgets/homegenie/generic
Title: Re: Smart meter APP
Post by: raja_tamilarasan on March 27, 2016, 06:57:08 AM
this looks like a good app, two questions
1. Could you please guide me with the steps to import the files you have uploaded and adding it to my dashboard.
2. Would it be possible to write a simulator to simulate the data coming from the smartmeter.. this is for a portable demo and would be great to just simulate the data instead of connecting it to an actual meter
Title: Re: Smart meter APP
Post by: mvdarend on April 26, 2016, 07:35:55 AM
Sorry for the late reply:

1: Just import as normal (Configure -> Programs [Open group] -> Actions -> Import. Then place the widget files in the given folder.

2: It's possible, but you'd have to do it yourself. The string given by the smart meter looks something like this:
Code: [Select]
0-0:96.1.1(204B413655303031363630323937393132)
1-0:1.8.1(00024.000*kWh)
1-0:1.8.2(00005.000*kWh)
1-0:2.8.1(00026.000*kWh)
1-0:2.8.2(00001.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(0000.03*kW)
1-0:2.7.0(0000.00*kW)
0-0:17.0.0(999*A)
0-0:96.3.10(1)
0-0:96.13.1()
0-0:96.13.0()
0-1:24.1.0(3)
0-1:96.1.0(3238313031353431303034303232323131)
0-1:24.3.0(121030140000)(00)(60)(1)(0-1:24.2.1)(m3)
(00024.123)
0-1:24.4.0(1)
!
You'll need to create a routine which changes the values every 30 seconds or so and then feed them into the program. If you can read Dutch you can find a good technical description of all the fields here: Slimme meter poort uitlezen (http://gejanssen.com/howto/Slimme-meter-uitlezen/).