I hope someone can help me, I’m new to HA and Z-Wave. I’ve managed to setup HA with my Areotec zstick gen5 and connected it to a NorthQ NQ-92021 Power Reader. However, HA doesn’t update as often as I thought (Product manual states meter reading every 15 minutes). I will only show updated stats randomly (i.e. every other day or twice in a day).
Your meter is sleeping. It says it’ll wake up every 900 seconds and report in, is it battery operated?
firstof9, the device is battery operated and the manufacture manual states it takes the values every 15 minutes but HA doesn’t always update the stats count. I’ve attracted another image of when it has updated in the last 5 days.
The sentTS is the timestamp of when it last sent a message to the meter asking for an update. See if those are updating in 15min intervals it should be working.
What shows up in the OZW_Log.txt?
I does connect successfully every 15 minutes but it doesn’t get the meter data:
2017-07-21 15:51:02.588 Detail, Node002, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x02, 0x02, 0x84, 0x07, 0x70
2017-07-21 15:51:02.589 Detail,
2017-07-21 15:51:02.589 Info, Node002, Received Wakeup Notification from node 2
2017-07-21 15:51:02.589 Info, Node002, Node 2 has been marked as awake
2017-07-21 15:51:02.589 Detail, Node002, Queuing (WakeUp) WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x55, 0x19
2017-07-21 15:51:02.589 Detail, Node002, Notification: Notification - Node Awake
2017-07-21 15:51:02.593 Detail,
2017-07-21 15:51:02.593 Info, Node002, Sending (WakeUp) message (Callback ID=0x55, Expected Reply=0x13) - WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x55, 0x19
2017-07-21 15:51:02.601 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-07-21 15:51:02.601 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack
2017-07-21 15:51:02.842 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x55, 0x00, 0x00, 0x18, 0xa6
2017-07-21 15:51:02.843 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x55 received (expected 0x55)
2017-07-21 15:51:02.843 Info, Node002, Request RTT 249 Average Request RTT 171
2017-07-21 15:51:02.843 Info, Node002, Node 2 has been marked as asleep
2017-07-21 15:51:02.843 Detail, Expected callbackId was received
2017-07-21 15:51:02.843 Detail, Expected reply was received
2017-07-21 15:51:02.843 Detail, Message transaction complete
2017-07-21 15:51:02.843 Detail,
2017-07-21 15:51:02.843 Detail, Node002, Removing current message
2017-07-21 15:51:02.844 Detail, Node002, Notification: Notification - Node Asleep
When it does sporadically retrieve the data meter reader, I get the following logs:
2017-07-21 16:50:56.097 Detail, Node002, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x02, 0x02, 0x84, 0x07, 0x70
2017-07-21 16:50:56.097 Detail,
2017-07-21 16:50:56.097 Info, Node002, Received Wakeup Notification from node 2
2017-07-21 16:50:56.097 Info, Node002, Node 2 has been marked as awake
2017-07-21 16:50:56.097 Detail, Node002, Queuing (WakeUp) WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x59, 0x15
2017-07-21 16:50:56.097 Detail, Node002, Notification: Notification - Node Awake
2017-07-21 16:50:56.101 Detail,
2017-07-21 16:50:56.101 Info, Node002, Sending (WakeUp) message (Callback ID=0x59, Expected Reply=0x13) - WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x59, 0x15
2017-07-21 16:50:56.109 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-07-21 16:50:56.109 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack
2017-07-21 16:50:56.163 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x59, 0x00, 0x00, 0x06, 0xb4
2017-07-21 16:50:56.163 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x59 received (expected 0x59)
2017-07-21 16:50:56.164 Info, Node002, Request RTT 62 Average Request RTT 101
2017-07-21 16:50:56.164 Info, Node002, Node 2 has been marked as asleep
2017-07-21 16:50:56.164 Detail, Expected callbackId was received
2017-07-21 16:50:56.164 Detail, Expected reply was received
2017-07-21 16:50:56.164 Detail, Message transaction complete
2017-07-21 16:50:56.164 Detail,
2017-07-21 16:50:56.164 Detail, Node002, Removing current message
2017-07-21 16:50:56.164 Detail, Node002, Notification: Notification - Node Asleep
2017-07-21 17:05:54.374 Detail, Node002, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x02, 0x02, 0x84, 0x07, 0x70
2017-07-21 17:05:54.374 Detail,
2017-07-21 17:05:54.374 Info, Node002, Received Wakeup Notification from node 2
2017-07-21 17:05:54.374 Info, Node002, Node 2 has been marked as awake
2017-07-21 17:05:54.374 Detail, Node002, Queuing (WakeUp) WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x5a, 0x16
2017-07-21 17:05:54.375 Detail, Node002, Notification: Notification - Node Awake
2017-07-21 17:05:54.378 Detail,
2017-07-21 17:05:54.379 Info, Node002, Sending (WakeUp) message (Callback ID=0x5a, Expected Reply=0x13) - WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x5a, 0x16
2017-07-21 17:05:54.386 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-07-21 17:05:54.386 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack
2017-07-21 17:05:54.675 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x5a, 0x01, 0x00, 0x1e, 0xae
2017-07-21 17:05:54.676 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x5a received (expected 0x5a)
2017-07-21 17:05:54.676 Info, Node002, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2017-07-21 17:05:54.676 Info, Node002, Node 2 has been marked as asleep
2017-07-21 17:05:54.676 Detail, Node002, Notification: Notification - Node Asleep
2017-07-21 17:17:06.462 Info, mgr, Refreshing node 2: COMMAND_CLASS_METER index = 0 instance = 1 (to confirm a reported change)
2017-07-21 17:17:06.462 Detail,
2017-07-21 17:17:06.462 Detail, Node002, Queuing (WakeUp) MeterCmd_Get (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x32, 0x01, 0x00, 0x25, 0x5b, 0xaa
2017-07-21 17:20:52.952 Detail, Node002, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x02, 0x02, 0x84, 0x07, 0x70
2017-07-21 17:20:52.952 Detail,
2017-07-21 17:20:52.952 Info, Node002, Received Wakeup Notification from node 2
2017-07-21 17:20:52.952 Info, Node002, Node 2 has been marked as awake
2017-07-21 17:20:52.952 Detail, Node002, Queuing (WakeUp) MeterCmd_Get (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x32, 0x01, 0x00, 0x25, 0x5b, 0xaa
2017-07-21 17:20:52.952 Detail, Node002, Queuing (WakeUp) WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x5c, 0x10
2017-07-21 17:20:52.952 Detail, Node002, Notification: Notification - Node Awake
2017-07-21 17:20:52.956 Detail,
2017-07-21 17:20:52.956 Info, Node002, Sending (WakeUp) message (Callback ID=0x5b, Expected Reply=0x04) - MeterCmd_Get (Node=2): 0x01, 0x0a, 0x00, 0x13, 0x02, 0x03, 0x32, 0x01, 0x00, 0x25, 0x5b, 0xaa
2017-07-21 17:20:52.968 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-07-21 17:20:52.971 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack
2017-07-21 17:20:53.008 Detail, Node002, Received: 0x01, 0x14, 0x00, 0x04, 0x00, 0x02, 0x0e, 0x32, 0x02, 0x21, 0x64, 0x00, 0x02, 0x0b, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb1
2017-07-21 17:20:53.009 Detail,
2017-07-21 17:20:53.009 Info, Node002, Response RTT 53 Average Response RTT 68
2017-07-21 17:20:53.009 Detail, Node002, Refreshed Value: old value=false, new value=false, type=bool
2017-07-21 17:20:53.009 Detail, Node002, Changes to this value are not verified
2017-07-21 17:20:53.009 Info, Node002, Received Meter report from node 2: Energy=133.934kWh
2017-07-21 17:20:53.009 Detail, Node002, Refreshed Value: old value=127.646, new value=133.934, type=decimal
2017-07-21 17:20:53.009 Detail, Node002, Changes to this value are not verified
2017-07-21 17:20:53.009 Detail, Node002, Notification: ValueChanged
2017-07-21 17:20:53.012 Detail, Node002, Notification: ValueChanged
2017-07-21 17:20:53.050 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x5b, 0x00, 0x00, 0x0a, 0xba
2017-07-21 17:20:53.050 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x5b received (expected 0x5b)
2017-07-21 17:20:53.050 Info, Node002, Request RTT 94 Average Request RTT 97
2017-07-21 17:20:53.050 Detail, Expected callbackId was received
2017-07-21 17:20:53.063 Detail, Node002, Received: 0x01, 0x14, 0x00, 0x04, 0x00, 0x02, 0x0e, 0x32, 0x02, 0x21, 0x64, 0x00, 0x02, 0x0b, 0x2e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb1
2017-07-21 17:20:53.063 Detail,
2017-07-21 17:20:53.063 Info, Node002, Response RTT 107 Average Response RTT 87
2017-07-21 17:20:53.063 Detail, Node002, Refreshed Value: old value=false, new value=false, type=bool
2017-07-21 17:20:53.063 Detail, Node002, Changes to this value are not verified
2017-07-21 17:20:53.063 Info, Node002, Received Meter report from node 2: Energy=133.934kWh
2017-07-21 17:20:53.064 Detail, Node002, Refreshed Value: old value=133.934, new value=133.934, type=decimal
2017-07-21 17:20:53.064 Detail, Node002, Changes to this value are not verified
2017-07-21 17:20:53.064 Detail, Node002, Expected reply and command class was received
2017-07-21 17:20:53.064 Detail, Node002, Message transaction complete
2017-07-21 17:20:53.064 Detail,
2017-07-21 17:20:53.064 Detail, Node002, Removing current message
2017-07-21 17:20:53.064 Detail, Node002, Notification: ValueChanged
2017-07-21 17:20:53.069 Detail, Node002, Notification: ValueChanged
2017-07-21 17:20:53.072 Detail,
2017-07-21 17:20:53.072 Info, Node002, Sending (WakeUp) message (Callback ID=0x5c, Expected Reply=0x13) - WakeUpCmd_NoMoreInformation (Node=2): 0x01, 0x09, 0x00, 0x13, 0x02, 0x02, 0x84, 0x08, 0x25, 0x5c, 0x10
2017-07-21 17:20:53.080 Detail, Node002, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2017-07-21 17:20:53.080 Detail, Node002, ZW_SEND_DATA delivered to Z-Wave stack
2017-07-21 17:20:53.096 Detail, Node002, Received: 0x01, 0x07, 0x00, 0x13, 0x5c, 0x00, 0x00, 0x02, 0xb5
2017-07-21 17:20:53.096 Detail, Node002, ZW_SEND_DATA Request with callback ID 0x5c received (expected 0x5c)
2017-07-21 17:20:53.096 Info, Node002, Request RTT 24 Average Request RTT 60
2017-07-21 17:20:53.097 Info, Node002, Node 2 has been marked as asleep
2017-07-21 17:20:53.097 Detail, Expected callbackId was received
2017-07-21 17:20:53.097 Detail, Expected reply was received
2017-07-21 17:20:53.097 Detail, Message transaction complete
2017-07-21 17:20:53.097 Detail,
2017-07-21 17:20:53.097 Detail, Node002, Removing current message
2017-07-21 17:20:53.097 Detail, Node002, Notification: Notification - Node Asleep
Based on the messages from the log snippets, it looks like the meter isn’t always reporting. You might have to set a polling option to force it to refresh. Check the polling interval in the Zwave menu in HA.
I’ve added polling to config file please see below and it hasn’t made any different other than increase reporting in the OZW_Log.txt
zwave:
usb_path: /dev/ttyACM0
polling_interval: 60000
device_config:
zwave.elecmeter:
polling_intensity: 1
I’m out of ideas sadly.
I use a Aeotec DSB28 Home Energy Meter (2nd Edition) and put CT clamps on my mains, but it has a variable to setup when and what data is sent via a configuration option.
Can you post the meter’s entry in the zwcfg_xxxxx.xml file?
Hi firstod9,
I do appreciate you helping me with my project, please see attached the zwcfg XLM file for the device.
zwcfg_0xc136234b.xml (7.8 KB)
Not seeing anything option wise to help, maybe test if the “real-time mode” reports data more frequently?
Maybe it would be worth waking up the device (surely there is a physical button to do so) and while the device is awake change the frequency of reports via the Z-Wave configuration in HA.
@pafuk2001, did you ever manage to get it working? I’ve been trying but I’m having the same results as you, it wakes up according to the set wakeup but doesn’t send any data. As far as I can tell it doesn’t send me any data ever.
Does polling even work when it’s battery operated and almost always sleeping? I haven’t had any luck with it at least. I’m kind of a novice when it comes to Z-wave so far.
I managed to get it working about 6 week ago by setting up the polling in the config file, however since then I’ve update HA and the problem has re-emerged.
Your correct in saying that it does communicate with my Z-wave controller but it doesn’t transmit the meter data.
I’ve dissociated and re-associated the device, I’ve even placed it into REAL time mode but to no avail.