I love the Ping functionality. I used to have Amazon Alexa devices disconnect from the router periodically. Now I use smart plugs to power my Alexa devices. If the ping returns a "not present" status, Hubitat turns off the smart plug and then turns it back on 30 seconds later. That allows the Alexa devices to reboot and reconnect to WiFi. I have no idea whether the devices disconnect unless I check the logs. They reconnect automatically.
All my devices are ZigBee and I don't have a Ring, could someone link Amazon to a product that is known to work for this app?
We have a whole house generator but there is a six second delay to start the generator after power failure, would this app likely detect an outage in that period of time?
If you have a device that detects the power drop and sends an event it will react immediately after it receives the event. Not sure about a zigbee device that does that, but I'll poke around.
You don't need a ring system. All Ring devices are z-wave and pair directly to hubitat. So get yourself a Ring extender v2 and you'll be fine.
Funny thing. when we moved into the house, it had the T6 Wifi. within a month or two I had it replaced with Ecobee. Lately, I've been giving some serious consideration to going to the T6 Zwave. Does that happen to work with external sensors? That's the one feature of Ecobee that has kept me. The Thermostat isn't mounted in a great place. I would like to have it prioritized based on a sensor in our bedroom, particularly at night.
@thebearmay Can this read and act on 'On Grid" (commercial power on) or "Off Grid" (no commercial power, using stored/ solar power) status from the power wall? Yeah, I've been a little slow getting back around to this.
It will work with one, but with Hubitat thermostat controller, you can use as many as you want.
Not set up to do it at the moment, but shouldn't be a difficult add.
Hi @thebearmay
I've just come across this app and I think it could be a great addition to monitoring my power devices.
I have some devices that have this in the driver code.
attribute "healthStatus", "enum", ["offline", "online"]
Would it be at all possible to add this attribute to your excellent app.
Many thanks.
Should be doable, What Capacity are they implementing? (Need to add it to the selection criteria.)
Edit: Capability not Capacity
That's brilliant.
Did you capability?
If you did, here they are.
capability Actuator
capability Configuration
//capability Initialize
capability Outlet
capability PowerMeter
capability Refresh
capability Switch
See if https://raw.githubusercontent.com/thebearmay/hubitat/main/apps/powOutMgrv023.groovy will pull in your device; if it does I'll merge it into the production code.
Thanks for the quick response.
It doesn't seem to be picking the device with that attribute.
Do you want to see the device driver code?
Try it now, I didn't capitalize the "M" in powerMeter...
Nailed it!!!!!
Thankyou very much.
EDIT: Oops. I received an error when I selected 2 devices and exited the selection box.
[app:492](http://192.168.0.23/logs#)2024-03-21 19:04:26.073[error](http://192.168.0.23/logs#)java.lang.NullPointerException: Cannot get property 'value' on null object on line 265 (method mainPage)
Found it. Let's try again.
I deleted the original app.
Updated the code and re-installed the app.
Still getting the same error I'm afraid after selecting the devices.
Check line 265, it should read:
if(dev.currentValue("powerSource") == "mains" || dev.currentValue("presence") == "present"|| dev.currentValue.toString().trim() == "online")
I found a typo right after I posted above (had evt instead of dev on the last or), but may not have fixed it before you pulled the code.
OK. Changed evt to dev and I'm now getting this.
[app:494](http://192.168.0.23/logs#)2024-03-21 19:21:03.688[error](http://192.168.0.23/logs#)java.lang.NullPointerException: Cannot get property 'currentValue' on null object on line 273 (method mainPage)
same change on that line - evt -> dev
All changed and now working OK.
Many thanks for your help and patience.