Hello,
I am new to the forum and to ISY programming which is why I desparately am seeking programming help from an expert.
Have ISY99i with Dual Band PLM controlling a Venstar T1800 Thermostat (naturally with adaptor). This is installed in a vacation rental property where the guests seriously abuse the Air Conditioning. I have numerous TriggerLinc switches installed to turn off the AC when doors or windows are left open.
I wrote 2 small programs as follows:
Program Name: Main Thermostat OFF
If
Status "Main Thermostat" is Mode Cool
And Status "Pool Door 1-Opened" is On
Or Staus "Front Door-Opened" is On
Then
Wait 1 minute
Set "Main Thermostat" Mode Off
There are actually a lot more switches but you get the idea of the program. This all worked just fine.
Then I realised that guests would not be happy having to turn the AC back on manually after each time they opened a door and then closed it later.
So I wrote a little program to automatically turn the AC back on once they closed all the doors and windows:
Program Name: Main Thermostat ON
If
Status "Pool Door 1-Opened" is Off
And Status Front Door-Opened" is Off
Then
Set "Main Thernostat" Mode Cool
This also seemed to work fine in the above circumstance. However, I quickly realised that in situations where the AC was already off but someone then opened and closed a door it turned the AC on unintentionally. This happened with cleaners coming in when the house was empty - obviously not what was desired.
So the question was - how to get a program that turns the AC back on but ONLY when it had already just been truned OFF by the first program and not in other situations where the AC was already manually off?
I tried the addition of the following line at the start of the "Main Thermostat ON" Program:
If
Program "Main Thermostat OFF" is True
And Status "Pool Door 1-Opened" is Off
And Status "Front Door-Opened" is Off
Then
Set "Main Thermostat" Mode Cool
This addition seemed to stop the program from running when the cleaners came in. However, to my surprise, it also seemed to stop the program from running ever, including in the desired circumstances.
It is difficult to test changes since I have to access the system remotely from Canada down to Costa Rica and I have to be sure there will not be any erratic situations occur for guests. So I am seeking any ideas or guidance about how to get this second program to run only when the first program has just been activated. Within the standard pulldown commands in ISY I just don't see any other way and I am not sure yet how to enter BASIC commands that are not on the pulldowns. Any help would be much appreciated
Thanks
Duncan