Script that compare temperature reading from two sensors

Posted on
Wed Nov 04, 2020 3:19 pm
FlyingDiver offline
User avatar
Posts: 5305
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Script that compare temperature reading from two sensors

As I said, that script needs to be the Action of the schedule, not the Condition.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 04, 2020 3:29 pm
Eagleye offline
Posts: 59
Joined: Jan 14, 2019

Re: Script that compare temperature reading from two sensors

Ok, I have never done this below.

So just confirming, I would need to do the following for the schedule to work correctly?:
Attachments
Screen Shot 2020-11-05 at 8.27.01 am.png
Screen Shot 2020-11-05 at 8.27.01 am.png (164.33 KiB) Viewed 181 times
Screen Shot 2020-11-05 at 8.27.37 am.png
Screen Shot 2020-11-05 at 8.27.37 am.png (171.95 KiB) Viewed 181 times

Posted on
Wed Nov 04, 2020 3:30 pm
FlyingDiver offline
User avatar
Posts: 5305
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Script that compare temperature reading from two sensors

On the condition tab, delete the script and select the "Always" option.

Other than that, looks right.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 04, 2020 3:33 pm
Eagleye offline
Posts: 59
Joined: Jan 14, 2019

Re: Script that compare temperature reading from two sensors

Perfect :wink: Thank you for your help with this, I learned something new. I just need to learn more about script writing.

Posted on
Wed Nov 04, 2020 3:34 pm
FlyingDiver offline
User avatar
Posts: 5305
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Script that compare temperature reading from two sensors

There are lots of good Python beginner tutorials on the net.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 04, 2020 3:37 pm
Eagleye offline
Posts: 59
Joined: Jan 14, 2019

Re: Script that compare temperature reading from two sensors

Thanks Flyingdiver, I will check it out.

Who is online

Users browsing this forum: No registered users and 1 guest