The battery monitor found a battery that was low, that I didn't know was low. So +1 there.
The activity monitor found 2 battery devices that were not reporting (don't know why, but I re-added them and they are reporting again). So another +1 there.
I would say, though, that the setup is a little odd. Just as a suggestion it would be nice if:
There was an "add all" option on both the battery monitor and activity monitor. Would probably be easy on battery, maybe harder on activity?
It supported more/other ways to generate an push notification. On my system the option is blank/no supported items. What are the supported push methods (I assume just pushover, which I don't have setup right now)?
And questions:
I added pretty much every device I have to Activity monitor as a starting point. I noticed there are a number of hardwired switches that haven't reported in a while, but I just tried them and they work fine. Is that normal/expected?
While not needed, does it HURT anything if you accidentally select the same device in multiple categories?
Great feedback and glad to know it's finding problem devices!
For the suggestions...
I'll have to look into an add all option. I haven't seen any apps that offer that, don't know if it's possible.
The only Push notification is Pushover. Will change the wording to make this more clear. I was going to add SMS but there is a limit to that so it just didn't seem worth it. Also, I still need to fix the formatting on the Push message.
and questions...
For z-wave switches, most don't send a heartbeat. They only send if you turn it on or off and even then they have to be z-wave plus to be considered accurate. A lot of the older z-wave switches don't send anything back even when pushed. So if you have a switch that doesn't get used often, it will eventually make the list even though there is nothing wrong with it.
Nope, doesn't hurt anything just uses extra cycles/time to go through each device.
V1.0.2 - 12/29/18 - Changed wording on Push notification option to specify Pushover. Added option to select 'all devices' for Battery Level trigger. Fixed Pushover to send a 'No devices to report' message instead of a blank message.
It seems there is a few different ways to do/expose this. On some implementations there is a toggle switch (like you did it), on others the first option in the device drop down list is the toggle all on/off.
I haven't compared the code yet to see if it is done the same way and just exposed differently, or if the code is different.
Yeah, it is more of an academic exercise for me. The way you did it works great.
I noticed the built in apps seem to all do it the inline/in drop down way, so figured I should learn how to do that to make my stuff look similar to the built in apps.
I tested Device Watchdog with the community Hubitat to ST Notification Pusher driver, and it works as expected. I assume any device that implements the "Notification" capability should work, though I think Pushover is the only natively supported option at the moment. (You could also easily modify a couple lines in the code to use a "speech synthesis" device instead, even if that device actually does regular notifications--this is an old workaround some people used before notification devices were well supported in order to get such devices exposed.)