Page 1 of 1

Aeotec Home Energy Meter Generation 5 Support

Posted: Monday 24 April 2017 16:10
by Bernhard
I have for some time tried to get the Aeotec ZW095-3P, i.e. the home energy meter with 3 clamps, to work in Domotiscz (v 3.7373) without any success.
This is a rather new device and I am not sure if it is implemented in the code. There is a zw095.xml file in the configuration directory but the clamps does not show uop in the device section of Domoticz.

My question is if this device have been integrated in Domoticz or if there are any plans to integrate it.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Friday 30 June 2017 13:05
by kman
Hi Bernhard,
Have you had any success with this?

thanks.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Friday 14 July 2017 20:41
by Bernhard
Hi,

No success so far. Obviously this has nothing to do with Domoticz but with Open Zwave. So I am analyzing the Open Zwave code right now to understand what is wrong. The OZW command to get the endpoint values is a multichannel encapsulated command and the response from the HEM contains zeros where it actually should contain the command class 50 (COMMAND_CLASS_METER). I just got a suggestion for changing some parts of the zw095.xml which seems to change this behavior. Obviously something has changed but it is still not correct. Works continues ....

Regards,

Bernhard.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Sunday 23 July 2017 7:16
by Bernhard
Hello again,

Now I got the HEM Gen 5 working but this required some hacks in Open Zwave. The problem is the reports from the endpoints.
These messages contains zeros in the bytes that should indicate command class and MeterCmd_Type. This makes Open Zwave
fail and the values are never created. Justin Hammond in Open Zwave suspected that this might be a bug.

By hard-coding the values 0x32 for the command class and 0x04 for MeterCmd_SupportedReport in the code everything started
to work as intended. This is of course a temporary hack and in the long run I would like the endpoints to send correct reports.
Not sure if this "bug" goes for all HEM Gen 5 it may be the case for my version which is ManufacturerID = 86, ProductType = 2,
ProductId = 5f.

/Bernhard.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Tuesday 01 August 2017 0:41
by nilsemil
Where did you change the values? I've searched zw095.xml without success So I would appreciate if someone can help me.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Tuesday 01 August 2017 7:57
by Bernhard
The change I did was in the source code of Open Zwave. I forced the correct values by a hack and it worked.
I have not changed any xml-files.

BUT ..... all this is over by now. I got in contact with Aeotec and got a firmware upgrade for the
HEM_G5_3P_60A from 1.00 to 1.02. After applying this update everything is working as i should.
Please check you firmware version if you have this problem. If you are using Open Zwave you can
see the version using OZWCP, tab the HEM and click Information. The firmware version is shown
beside the label "Application Version".'

/Bernhard.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Friday 15 September 2017 17:25
by krzemo
Hi,
How do you do update software?
Where you find software?

I use HEM gen5 3 clams.
I see in domoticz only Watt - from all clams (daily and total), Voltage (no refresh).
I want to see Watt for C1, C2, C3 - it is possible?

Regards,
Przemek

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Friday 15 September 2017 18:02
by emme
you have to cofigure parameter 101 as per this table
https://aeotec.freshdesk.com/support/so ... -g2-dsb28-

in your case... the 3 clamps are
256 + 512 + 1024 = 1792

ciao
M

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Saturday 16 September 2017 16:43
by krzemo
i know that but this not working for me.
I set refreshing 5 sec.
When i put in 101 - "8" - something working - like this in log on domtoicz:

"2017-09-16 16:02:52.032 (AeonZ-wave5G) Current (Unknown)"
"2017-09-16 16:02:57.032 (AeonZ-wave5G) Current (Unknown)"

When i put 15

"2017-09-16 16:21:47.030 (AeonZ-wave5G) General/Voltage (Voltage)
2017-09-16 16:21:47.127 (AeonZ-wave5G) Current (Unknown)
2017-09-16 16:21:47.321 (AeonZ-wave5G) Usage (Usage HEMg5)
2017-09-16 16:21:47.419 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)
2017-09-16 16:21:47.513 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)
2017-09-16 16:21:52.030 (AeonZ-wave5G) General/Voltage (Voltage)
2017-09-16 16:21:52.127 (AeonZ-wave5G) Current (Unknown)
2017-09-16 16:21:52.321 (AeonZ-wave5G) Usage (Usage HEMg5)
2017-09-16 16:21:52.418 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)
2017-09-16 16:21:52.514 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)"

Its ok.

But if i put 271 - log:

"2017-09-16 16:26:27.030 (AeonZ-wave5G) General/Voltage (Voltage)
2017-09-16 16:26:27.127 (AeonZ-wave5G) Current (Unknown)
2017-09-16 16:26:27.318 (AeonZ-wave5G) Usage (Usage HEMg5)
2017-09-16 16:26:27.412 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)
2017-09-16 16:26:27.509 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)
2017-09-16 16:26:32.030 (AeonZ-wave5G) General/Voltage (Voltage)
2017-09-16 16:26:32.127 (AeonZ-wave5G) Current (Unknown)
2017-09-16 16:26:32.320 (AeonZ-wave5G) Usage (Usage HEMg5)
2017-09-16 16:26:32.414 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)
2017-09-16 16:26:32.510 (AeonZ-wave5G) General/kWh (kWh Meter - HEMG5)"

log its same like "15".
If i set 256 - no refreshing, no log, no working. Same for 512, 1024, 2048 etc.

In my domoticz (V3.8153) i can use 101,102 and 103 (Group Reports). All of them works but only 1,2,4,8,15.

Ragards,
Przemek
ps - sorry for my english.

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Tuesday 20 March 2018 22:56
by Ortovox
Hi I know this is little old thread but have you solved your problem krzemo?
I have the exact same problem and it's really annoying.

I have talked to Aeotec support but they could not help me. And I have firmware version v1.00

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Wednesday 21 March 2018 0:06
by Ortovox
I solved it with a firmware update. updated to V1.04 ad now all sensors appeared in Domoticz.
Link to firmware and guide (steps are not perfekt but it worked anyway, just skip step 4 and i Step 5 select the usb port for the cotroller and click apply)
https://aeotec.freshdesk.com/support/so ... re-update-

Re: Aeotec Home Energy Meter Generation 5 Support

Posted: Tuesday 10 November 2020 1:15
by marin849
Do you still have the 1.04 firmware saved somewhere?