WebThingsIO / zwave-adapter

Z-Wave adapter add-on for WebThings Gateway
Mozilla Public License 2.0
15 stars 20 forks source link

Aeotec Smart Switch 6 not registering power consumption #5

Open mrstegeman opened 6 years ago

mrstegeman commented 6 years ago

Originally from: https://github.com/mozilla-iot/gateway/issues/543

I have the UK version of the Aeotec Smart Switch 6 and it always shows in the UI as 0W of power consumption (model ZW096-C07).

screenshot

dhylands commented 6 years ago

It would be good to get the OZW_Log.txt and the console log from the gateway with one of these devices plugged in.

mrstegeman commented 6 years ago

@benfrancis Could you get us some additional logs?

twobraids commented 6 years ago

Just to let you know, my newly acquired US version Aeotec Smart Switch 6 works fine: it registers power consumption correctly.

mrstegeman commented 6 years ago

@twobraids as do mine and @dhylands'. It seems to just be the UK version for some reason.

mrstegeman commented 6 years ago

@benfrancis I wonder if a firmware update might solve this? It appears that the EU/AU/UK version has a different firmware than the US version, but there have been some updates:

https://aeotec.freshdesk.com/support/solutions/articles/6000134294-smart-switch-6-firmware-update-3-26-2018-

benfrancis commented 6 years ago

Oh man, requires ZStick and Microsoft Windows...

Will try this if I get a chance, thanks.

mrstegeman commented 6 years ago

@benfrancis This should theoretically be fixed now, as there was a UI bug. Please re-test when you have time.

mrstegeman commented 6 years ago

I'm going to assume this is fixed now. Please re-open if that's not the case.

benfrancis commented 6 years ago

Unfortunately still not working.

It always reports instantaneousPower as 0.000W

dhylands commented 6 years ago

Can you send the ~/.mozilla-iot/config/zb-XXXXXX.cfg file entry for the smart plug?

benfrancis commented 6 years ago

Can you send the ~/.mozilla-iot/config/zb-XXXXXX.cfg file entry for the smart plug?

I can't see any .cfg files in that directory (or anywhere in the /home/pi directory). Is the config somewhere else? Note this a Z-Wave device.

dhylands commented 6 years ago

Sorry, wrong extension. It should be .json? The file is found in the config directory (which is typically ~/.mozilla-iot/config) and starts with zb and has an 8-character hex number in the name (which is the serial number of the zigbee dongle)

mrstegeman commented 6 years ago

@dhylands Z-Wave, not Zigbee.

mrstegeman commented 6 years ago

@benfrancis I'm guessing @dhylands meant to say ~/.mozilla-iot/log/zwcfg_0xXXXXXXXX.xml. Can you attach that file?