comparing multiple, parallel variables... the easy way
Page 1 of 1
comparing multiple, parallel variables... the easy way
Hi Guy's,
Now that I have 14 TRV's (and 14 virtual thermostat's), all capable of invoking the boiler heating relay, I wondered if there was an easier, more concise means writing such a script, without resorting to multiple lines of code.
Imagine if you was providing control to a campus etc.
Anyway's, this is what I came up with (and are now using)...
[You must be registered and logged in to see this image.]
It works well and the script only needs the index value modifying for when the contact number (or in this case, zone's) change.
Hope this is useful.
Happy New Year!
Neil
Now that I have 14 TRV's (and 14 virtual thermostat's), all capable of invoking the boiler heating relay, I wondered if there was an easier, more concise means writing such a script, without resorting to multiple lines of code.
Imagine if you was providing control to a campus etc.
Anyway's, this is what I came up with (and are now using)...
[You must be registered and logged in to see this image.]
It works well and the script only needs the index value modifying for when the contact number (or in this case, zone's) change.
Hope this is useful.
Happy New Year!
Neil
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|