Originally posted by palli
View Post
Announcement
Collapse
No announcement yet.
Plugin to monitor Z-Wave battery device Health - CLOSED
Collapse
X
-
Yes 0 remains selected, but I am swamped by these reports. So is this a quirk of the motion sensors reporting?
an-12 15:39:39
Z-Wave Z-Wave.me UZB: Z-Wave Wake-Up 'No More Info' Notification sent to Node 26(Front Garden Z-Wave Front Door Lights Sensor - 26 Root). Jan-12 15:39:39 Z-Wave Wake-Up Util Proc for (Front Garden Z-Wave Front Door Lights Sensor - 26 Root) handling: Poll Device Jan-12 15:39:39 Z-Wave Wake-Up Util Proc for (Front Garden Z-Wave Front Door Lights Sensor - 26 Root) handling: Poll Device Jan-12 15:39:39 Z-Wave Z-Wave.me UZB: Wake-Up Notification Processing for Node 26 (Front Garden Z-Wave Front Door Lights Sensor - 26 Root) Jan-12 15:39:39 Z-Wave Z-Wave.me UZB: Z-Wave Wake-Up Notification Received for Node 26 Jan-12 15:38:13 Z-Wave Z-Wave.me UZB: Z-Wave Wake-Up 'No More Info' Notification sent to Node 36(Bathroom Z-Wave Bathroon Sensor - 36). Jan-12 15:38:13 Z-Wave Wake-Up Util Proc for (Bathroom Z-Wave Bathroon Sensor - 36) handling: Poll Device Jan-12 15:38:13 Z-Wave Wake-Up Util Proc for (Bathroom Z-Wave Bathroon Sensor - 36) handling: Poll Device Jan-12 15:38:13 Z-Wave Wake-Up Util Proc for (Bathroom Z-Wave Bathroon Sensor - 36) handling: Poll Device Jan-12 15:38:13 Z-Wave Z-Wave.me UZB: Wake-Up Notification Processing for Node 36 (Bathroom Z-Wave Bathroon Sensor - 36) Jan-12 15:38:13
Comment
-
Originally posted by palli View PostYes 0 remains selected, but I am swamped by these reports. So is this a quirk of the motion sensors reporting?
an-12 15:39:39
Z-Wave Z-Wave.me UZB: Z-Wave Wake-Up 'No More Info' Notification sent to Node 26(Front Garden Z-Wave Front Door Lights Sensor - 26 Root). Jan-12 15:39:39 Z-Wave Wake-Up Util Proc for (Front Garden Z-Wave Front Door Lights Sensor - 26 Root) handling: Poll Device Jan-12 15:39:39 Z-Wave Wake-Up Util Proc for (Front Garden Z-Wave Front Door Lights Sensor - 26 Root) handling: Poll Device Jan-12 15:39:39 Z-Wave Z-Wave.me UZB: Wake-Up Notification Processing for Node 26 (Front Garden Z-Wave Front Door Lights Sensor - 26 Root) Jan-12 15:39:39 Z-Wave Z-Wave.me UZB: Z-Wave Wake-Up Notification Received for Node 26 Jan-12 15:38:13 Z-Wave Z-Wave.me UZB: Z-Wave Wake-Up 'No More Info' Notification sent to Node 36(Bathroom Z-Wave Bathroon Sensor - 36). Jan-12 15:38:13 Z-Wave Wake-Up Util Proc for (Bathroom Z-Wave Bathroon Sensor - 36) handling: Poll Device Jan-12 15:38:13 Z-Wave Wake-Up Util Proc for (Bathroom Z-Wave Bathroon Sensor - 36) handling: Poll Device Jan-12 15:38:13 Z-Wave Wake-Up Util Proc for (Bathroom Z-Wave Bathroon Sensor - 36) handling: Poll Device Jan-12 15:38:13 Z-Wave Z-Wave.me UZB: Wake-Up Notification Processing for Node 36 (Bathroom Z-Wave Bathroon Sensor - 36) Jan-12 15:38:13
Most messages in the Log from this plugin will show type SDJ-Health. The only exception is the simulated wake-up log message if turned on but these aren't them.
Steve
Comment
-
Originally posted by Tomgru View PostNot sure how you would do this, but hey, I can't write a plugin anyway :-)
but one thought on battery levels.... I have same problem. My motion detectors are great, vents pretty bad, etc. I also notice that one day can be 50%... stay that way for weeks, then drop to 5% over a day.
I remember an old cell phone used to have a setting to let me know if the battery started draining more quickly that usual. Maybe you could set a threshold on depletion rate. sort of like:
IF battery goes below 15%, notify me
OR IF battery changes more 10% in 24 hours, notify me.
just a thought.
Steve
Comment
-
I just got this installed last night finally. . .waited and finally saw one device register itself (door sensor). . .my door locks and smoke detectors never checked in. . .is there something specific I need to do to include those in the monitoring? I tried to read through most of the documentation, but it was late. . .
Comment
-
Originally posted by TechFan View PostI just got this installed last night finally. . .waited and finally saw one device register itself (door sensor). . .my door locks and smoke detectors never checked in. . .is there something specific I need to do to include those in the monitoring? I tried to read through most of the documentation, but it was late. . .
If they are 'listening' devices then you can still monitor whether they are alive or not with this plugin but you have to tell it to specifically monitor the device. Have a look at the section 'Devices Require Polling' in the notes in message #7 of this thread. You should be able to select your door locks, etc and the plugin will poll them at the set interval effectively simulating a wakeup.
It may not be worded very clearly so let me know how you get on.
Steve
Comment
-
Originally posted by TechFan View PostOk. Will add them to get manually checked. Any idea why the ZSmoke detectors I have wouldn't show up? I know they aren't always on.
What wake up interval do you have the Zsmokes set too?
Try filtering you're log and see if you can find any woke up messages from the Zsmokes.
Let me know what you find.
Steve
Comment
-
Originally posted by SteveMSJ View PostWhat wake up interval do you have the Zsmokes set too?
Try filtering you're log and see if you can find any woke up messages from the Zsmokes.
Let me know what you find.
Steve
I have rules set to watch for a heartbeat from the ZSmoke devices every 67 minutes. They don't report in normally.
I don't see anything in the logs from the ZSmokes. I do see that the plugin lists my ZSmoke devices in the Devices Requiring Polling device list. Does this mean it thinks it needs to be polled? I see a few other devices in that list.
Any way my RFXCOM battery devices could be monitored by the same plugin?
Comment
-
Originally posted by TechFan View PostI have rules set to watch for a heartbeat from the ZSmoke devices every 67 minutes. They don't report in normally.
I don't see anything in the logs from the ZSmokes.
When you say rules do you mean events? If so what is the trigger and is there a message in the log when the heartbeat occurs? I note you say you don't see any messages in the log so have a look if the 'Do not log commands from this device:' box is ticked on the 'Configuration' tab for the child that is triggering your heartbeat events.
Originally posted by TechFan View PostI do see that the plugin lists my ZSmoke devices in the Devices Requiring Polling device list. Does this mean it thinks it needs to be polled? I see a few other devices in that list
Originally posted by TechFan View PostAny way my RFXCOM battery devices could be monitored by the same plugin?
At the moment I am working on major upgrades to the plugin, monitoring battery levels and discharge rates as well as being able to override settings for individual devices where desirable. I have it working reasonably well but the user interface side of things will take me some time to implement so it will be a while before I post the major upgrade.
Steve
Comment
-
Originally posted by SteveMSJ View PostI'm not familiar with the ZSmokes so will need to tread carefully. The first thing to figure out is whether they are 'Listening' devices or whether they sleep. Can you post a screen shot of the information on the 'Z-Wave Node Information' page for one of these please.
Originally posted by SteveMSJ View PostWhen you say rules do you mean events? If so what is the trigger and is there a message in the log when the heartbeat occurs?
Originally posted by SteveMSJ View PostI note you say you don't see any messages in the log so have a look if the 'Do not log commands from this device:' box is ticked on the 'Configuration' tab for the child that is triggering your heartbeat events.
Originally posted by SteveMSJ View PostThe list comprises all Z-Wave devices that have a battery child but haven't so far sent a wakeup message, so they are potentials for polling but not definites. You could test out one of the ZSmokes to see if it can be polled but if it is not a 'listening' device it's not going to work.
Set the LogLevel to 2, Set the PollInterval to the minimum (10 mins) and select one of the ZSmokes from the 'Select Devices' list. Wait 10 minutes and see what SDJ-Health messages you get in the log about polling. Unless it's successful go back and remove it from the list of devices to be polled.
Jan-22 2:27:48 PM SDJ-Health Debug - Poll Time : 0.1
Jan-22 2:27:48 PM SDJ-Health Debug - Poll result for #8517 Result = 6 : Value = -2
Jan-22 2:27:48 PM SDJ-Health Debug - Polling Device #8517
Originally posted by SteveMSJ View PostThis might be an option for the future but I don't have any RFXCOM devices so don't know how they work. If they issue any regular message like a WakeUp or Heartbeat then it is quite likely possible.
At the moment I am working on major upgrades to the plugin, monitoring battery levels and discharge rates as well as being able to override settings for individual devices where desirable. I have it working reasonably well but the user interface side of things will take me some time to implement so it will be a while before I post the major upgrade.
Steve
Comment
-
Originally posted by TechFan View PostOk. Did this. ZSmokes did not get detected as a monitored device. Logs says the device was added to polling list. . .it does say it was able to poll the device, but it didin't show up as a monitored device.
Jan-22 2:27:48 PM SDJ-Health Debug - Poll Time : 0.1
Jan-22 2:27:48 PM SDJ-Health Debug - Poll result for #8517 Result = 6 : Value = -2
Jan-22 2:27:48 PM SDJ-Health Debug - Polling Device #8517
So, this device doesn't support wakeups or polling but has some kind of heartbeat.
I see your event which is triggered by the heartbeat. Can you have a look in the log and see if there is anything shown when this event is triggered that we can monitor.
To investigate further I'll write a short script to add as an action to that event and see if we can get the plugin to pick it up. Once I know definitely how it works I can build it into the plugin.
I'll need some information to incorporate into the script so can you provide the following:
Pick one of Your ZSmokes.
From the 'Advanced' tab of the root device give me the technology address which will be something like
014D0325-112
From the 'Plug-ins>Z-Wave>Controller Management' page give me the 'Interface Name' that corresponds to the HomeID that the technology address starts with.
Thanks,
Steve
Comment
-
Originally posted by SteveMSJ View PostYou are correct, it's not polling. It should return a result of 1 and the value would be the battery level. It's also too quick so I suspect the Z-Wave PI knows it can't poll and the return value probably indicates that. These responses aren't documented so it's guesswork but I suspect the result would be the same whether or not the batteries were dead.
So, this device doesn't support wakeups or polling but has some kind of heartbeat.
I see your event which is triggered by the heartbeat. Can you have a look in the log and see if there is anything shown when this event is triggered that we can monitor.
To investigate further I'll write a short script to add as an action to that event and see if we can get the plugin to pick it up. Once I know definitely how it works I can build it into the plugin.
I'll need some information to incorporate into the script so can you provide the following:
Pick one of Your ZSmokes.
From the 'Advanced' tab of the root device give me the technology address which will be something like
014D0325-112
From the 'Plug-ins>Z-Wave>Controller Management' page give me the 'Interface Name' that corresponds to the HomeID that the technology address starts with.
Thanks,
Steve
Technology Address 016A24FE-010
Home ID (sending via PM)
Comment
Comment