Script help
BobsXTension at comcast.net
BobsXTension at comcast.net
Thu Apr 2 13:44:26 EDT 2020
Charlie
I have a similar situation with my sun room heaters.
I run a repeating global script every 5 minutes to check the temperature
and turn one or both heaters for 5 minutes.
If you want to avoid too many off-on cycles, if the fans are not
currently running, turn them on for like 8 minutes
then every five minutes suspend the turn off for another 5 minutes.
Bob Ober
On 4/2/20 1:30 PM, Charlie Pendleton wrote:
> Howdy,
>
> I am using James’ 1-wire interface to measure temperature in a server
> rack.
>
> In the rack there are multiple fans that I have split off to run off
> of two relays; one would turn on at one temperature, and both relays
> on at a higher temperature.
>
> I can get the on part working fine in the following script. Where do I
> tell the relay-3 fan to turn off when the temp drops below it’s
> threshold and both off once it is below the lower temperature?
>
> And if there is a cleaner way to do the whole she-bang, please let me
> know that as well.
>
> TIA,
> Charlie-
>
> if (value of (thisUnit)) is greater than 76 then
>
> turnon "Barix-50: Relay-2"
>
> end if
>
> if (value of (thisUnit)) is greater than 85 then
>
> turnon "Barix-50: Relay-2"
>
> turnon "Barix-50: Relay-3"
>
> end if
>
>
>
>
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20200402/d2e6ea91/attachment.html>
More information about the XTensionList
mailing list