comparing multiple, parallel variables... the easy way

Go down

comparing multiple, parallel variables... the easy way

Post by skiv71 on Wed Dec 31, 2014 8:30 pm

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
avatar
skiv71
Admin

Posts : 161
Join date : 2014-04-25
Age : 46
Location : United Kingdom

View user profile http://bmslink.co.uk:8180 [guest:guest]

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum