I recently began the upgrade from x10 to Insteon and purchased an ISY994i as my central controller. I have an older hot tub with mechanical controls, so it is on a heavy duty X10 switch and I use the automation to turn it on for 10 minutes every half hour and then back off for the remaining 20. I leave the mechanical switches set where I like them for actually using the hot tub and this cycle effectively gives me the "maintenance mode" of new digital hot tub controllers.
To move this to the ISY994i, I have built two programs (one to turn the switch on every 30 minutes and another to turn it off 10 minutes later). These work well for the maintenance mode, but I don't want to have to log into the ISY994i every time I want to use the hot tub and I don't want it to turn the hot tub off while I'm in it. I have an older (X10 only) KPL next to the physical switch for the hot tub and would like to use a spare button on it to disable the "Off after 10 minutes" program with an x10 signal.
I'm hoping this can be done and I just haven't figured out where in the isy994i to do it. Barring that, here is my code (the override program 'Use Hot Tub' doesn't seem to override this, but I left the condition in the code) and maybe someone can offer an alternative way to accomplish the goal of being able to override the "maintenance mode" when I get in the hot tub (without getting out the laptop)(Note the hot tub switch is X10 C8 and the KPL Button I want to use for override is set in toggle mode and sends X10 C9 On/Off):
The "Off portion off the "Maintenance" code)
If
Program 'Use Hot Tub - On' is False
And Time is 12:10:00AM
Or Time is 12:40:00AM
Or Time is 1:10:00AM
Or Time is 1:40:00AM
Or Time is 2:10:00AM
...well you get the idea.
Then
Send X10 'C8/Off (11)'
Wait 3 Seconds
Send X10 'C8/Off (11)'
Wait 3 Seconds
Send X10 'C8/Off (11)'
Stop program 'Hot Tub Maintenance Temp - On'
Not that you need it, but the "Use Hot Tub - On" Code:
If
X10 'C9/On (3)' is Received
Then
Stop program 'Use Hot Tub - Off'
Send X10 'C8/On (3)'
Wait 3 Seconds
Send X10 'C8/On (3)'
Wait 3 Seconds
Send X10 'C8/On (3)'
Wait 3 Seconds