How to set Unistat thermostat heat set point from script?

Posted on
Wed Mar 29, 2023 9:01 am
madscientist offline
Posts: 121
Joined: Jan 05, 2007
Location: Ontario, Canada

How to set Unistat thermostat heat set point from script?

Hoping somebody can point me in the right direction to change the heat set point of a Unistat thermostat either via Indigo trigger or Python script.

I am using a Unistat virtual thermostat device to control a pool heater. The desired set point is obtained via an MQTT broker which is used to set the value of an Indigo variable. I would therefore like the value of that Indigo variable to be used to set the thermostat heat set point. I initially tried to create an Indigo Trigger that would adjust the thermostat set point upon a value change of the Indigo variable, but the Unistat thermostat does not seem to support this feature.

Is it possible to instead set this value via a trigger that runs a Python script? If so, what is the code?

Posted on
Wed Jan 24, 2024 7:50 am
PME999 offline
Posts: 54
Joined: Jul 28, 2012

Re: How to set Unistat thermostat heat set point from script

Hi,
I have the same question you had in this post. Did you find any solution to set the heatsetpoint by a variable or with python ?
Thanks a lot
Patrice

Posted on
Wed Jan 24, 2024 8:22 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: How to set Unistat thermostat heat set point from script

Use the standard Python API for thermostat devices, which is documented here: https://wiki.indigodomo.com/doku.php?id ... statdevice

Specifically, it's:

Code: Select all
indigo.thermostat.setHeatSetpoint(<DEVID>, value=<SETPOINT>)

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests