I use a zoOZ ZEN20 power strip to control a set of lighting in my home office. It is plugged into a wall socket that is controlled by the light switch as you enter the room. Basically, you flip the switch and the devices attached to the ZEN20, three lava lamps and a standard desk lamp, are powered up.
Because of the amount produced by the lava lamps, I wanted them to turn themselves off automatically if the temperature in the room got above 72°. So I created a small program that does this. The problem is that if it turns them off, the next time I enter the office and flipped the switch to lava lamps will remain off. Basically what I need is a way for ST to understand I have now powered on the ZEN20 so that it can turn on all of the attached devices. Such a simple thing.
However, as we are in the fall of our discontent and features are being taken away without anything to replace them other than a promise that someday we will be given a new API that will have the commands we need, everything option I thought of trying is no longer available. I even gone so far as to try to use consumption of electricity by the power strip or the or the desk lamp as a trigger, however that is a continually shifting beast.
Anyone have an ideas of how to do this? Simply put, I want the power strip to turn on everything when it’s power has been returned. I need a way for ST to detect that the power has been returned to the power strip and trigger this switching.