Scenario, In my utility room i have a power socket with a built in circuit breaker. Connected to this is a HVAC condensate pump which I just so happened to have issues with and it tripping my socket (meaning it was no longer available to pump).
I want to ideally connect a smartthings power outlet into this socket and the pump into the smartthings power outlet. I think want to basically monitor the last time ST heard from the socket and if it was say greater than 5 minutes send a notification.
Sounds simple but doesn’t seem so easy.
My thoughts were as follows, modify the STs outlet device handler to self ping itself and store the ‘last updated time’ in a state variable.
I can then create a custom smartapp to monitor this last updated time state and pop a notification if greater than a given time.
I would be interested in peoples thoughts? Is there an easier way?
I had tried adding runEvery5Minutes(handler) into the device handler but it seems this function is only available in the SmartApps.
I am just exploring zigbee.configureReporting() as a possibility right now.