I was wondering if it is possible to set the temperature in pimatic to a rooted Toon thermostat.
I can control the programs and can see the setpoint temp but I don’t know if it is possible to set the temperature.
-
Rooted Toon thermostat temperature control
-
It’s a combination of two: I would like to be able to set the temperature of the rooted toon thermostat in Pimatic.
Based on this post I’ve created the devices and rules to see the Toon information and set set the program but I can’t seem to find a way to set the temperature with a buttons device for example.
https://www.domoticaforum.eu/viewtopic.php?f=102&t=12273&p=92439&hilit=pimatic+toon#p88847
-
is the shell scripting the problem?
This is one of the command i see
"onPress": "curl -s 'http://192.168.1.111/happ_thermstat?action=changeSchemeState&state=2&temperatureState=0'"
http://192.168.1.111 should be the Toon IP?
And did you try commandline
curl -s 'http://192.168.1.111/happ_thermstat?action=changeSchemeState&state=2&temperatureState=0'
-
@bertreb as far as I can see these commands set the schemes like “away” and “home” and “comfort”.
What I’m looking for is a command to set the setpoint temperature. I’ve been looking through the commands but can’t seem to find that.
-
Actually this works:
http://x.x.x.x/happ_thermstat?action=setSetpoint&Setpoint=2250
This sets the thermostat to 22.5C
But I want it to be a + and - device. So with every push of a button the setpoint will change .5 degrees.
-
is that a problem?
if plus-button is pushed then $temp = $temp + 50
if min-button is pushed then $temp = $temp - 50
if $temp changes then execute “curl -s ‘http://192.168.1.111/happ_thermstat?action=setSetpoint&Setpoint="+$temp+"’” <= double-quote single-quote double-quote -
Haha beat me to it
Got almost the same but I’ve made 2 variables that gets the current setpoint + or - 50.
So whatever the actual setpoint is, even if it’s changed by another app, on the toon itself or because of the automated schemes, the + and - buttons will always follow.
http://x.x.x.x/happ_thermstat?action=setSetpoint&Setpoint=$omhoog
http://x.x.x.x/happ_thermstat?action=setSetpoint&Setpoint=$omlaagThanks again for pointing me in the right direction.
Was playing with the dummy thermostat device in pimatic but I’ve got no clue how to get that to work and always stay in sync with the actual settings.