Way to determine SmartBulb powered off


#1

1) Give a description of the problem
Way to determine SmartBulb powered off

2) What is the expected behavior?
Create an alert/SMS if Smartbulb power is cut to it

3) What is happening/not happening?
If a wall switch that powers a Smartbulb is turned off the lights will never come on aith automation. I want to track if a Smart Bulb has lost power.

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)


#2

Try this piston. It uses the $status flag. The device will have to be disconnected for a while before ST recognizes it as non-responsive.


#3

Thanks… how does that execute? It says it’s not subscribed to anything and won’t run by itself… am I missing something?


#4

I have a separate timer piston that calls it every 2 hours. Or you can click on the tile…

You could put a timer statement at the start of the piston, but that won’t allow it to run when you click on the tile. Here’s the part of the timer piston:
download


#5

Thank you sir…