Just got my system today and the first thing I wanted to setup was an event to turn on/off my outside Christmas lights at sunset/sunrise.
I got everything installed (HS3, Insteon plug-in, PLM, outdoor plug-in on/off modules, and Insteon mini remote). I got the event configured for the times I want and I decided to add some additional logic in case I wanted to manually turn the lights on or off using the mini remote. It was easy enough with the OR IF conditional. So now the sunset/sunrise and mini remote are working just fine (or at least I'll find out in the morning if sunrise is working).
Now I started to think about after the season when I unplug and pack away the Insteon outdoor plug-in on/off modules. HS3 will still be firing those sunset/sunrise events and lowering the "comm reliability" of the unplugged devices. Not really an awful thing, but something I'd like to avoid. My first thought was to create a Global Variable as a boolean and make it a condition of the event (true=turn on/off and false=don't do anything for the off-season). Alas, I can't reference Global Variables in event conditionals as well as they are not carried over between restarts of HS3. I did notice that I could use a counter and counters said nothing about being stateless (so I presume they are stateful?). So, I'll simply set the counter to 0 in the off-season and 1 during the holidays.
The problem I'm running into now is that no matter how I configure the counter in the event conditional, the event never fires. When I remove the counter conditional (leaving the remaining conditional items), the event fires. I feel like I'm missing something obvious here, but I just can't see it. Any help would be greatly appreciated!
I'm running HS3 Pro Edition 3.0.0.548.
I got everything installed (HS3, Insteon plug-in, PLM, outdoor plug-in on/off modules, and Insteon mini remote). I got the event configured for the times I want and I decided to add some additional logic in case I wanted to manually turn the lights on or off using the mini remote. It was easy enough with the OR IF conditional. So now the sunset/sunrise and mini remote are working just fine (or at least I'll find out in the morning if sunrise is working).
Now I started to think about after the season when I unplug and pack away the Insteon outdoor plug-in on/off modules. HS3 will still be firing those sunset/sunrise events and lowering the "comm reliability" of the unplugged devices. Not really an awful thing, but something I'd like to avoid. My first thought was to create a Global Variable as a boolean and make it a condition of the event (true=turn on/off and false=don't do anything for the off-season). Alas, I can't reference Global Variables in event conditionals as well as they are not carried over between restarts of HS3. I did notice that I could use a counter and counters said nothing about being stateless (so I presume they are stateful?). So, I'll simply set the counter to 0 in the off-season and 1 during the holidays.
The problem I'm running into now is that no matter how I configure the counter in the event conditional, the event never fires. When I remove the counter conditional (leaving the remaining conditional items), the event fires. I feel like I'm missing something obvious here, but I just can't see it. Any help would be greatly appreciated!
I'm running HS3 Pro Edition 3.0.0.548.
Comment