Page 1 of 1

Controlling EvoHome with Python

Posted: Sunday 01 November 2020 17:56
by dime
To check whether the operating mode of EvoHome (EvoTouch) is still "Heating Off" during summer, I read the current setting with

Code: Select all

DE.Devices["EvoTouch"].n_value
If not 5 (=Heating Off) I want to set the mode to 5.
That's not possible by setting n_value, I noticed, but I guess has to be done with

Code: Select all

DE.Command("SetSetpoint:idx", "something_fancy_in_here")
I tried a number of values, like "5", "HeatingOff", "Heating Off"
No matter what, I always get this bunch of log reports:
2020-11-01 16:29:57.524 (Evohome) changed system status to Normal
2020-11-01 16:29:58.391 (Evohome) changed system status to Normal
2020-11-01 16:29:59.192 (Evohome) changed system status to Normal
2020-11-01 16:30:00.050 (Evohome) changed system status to Normal
2020-11-01 16:30:00.942 (Evohome) changed system status to Normal
2020-11-01 16:30:01.796 (Evohome) changed system status to Normal
2020-11-01 16:30:02.633 (Evohome) changed system status to Normal
This continues forever and I have to restart Domoticz. :|
I'm glad that at least the SetSetPoint is working as it points to the EvoHome, but what about giving the right value for the mode?

Are there additional methods for Evohome-devices? Like

Code: Select all

DE.Devices["EvoTouch"].SetMode()
or

Code: Select all

DE.Devices["EvoTouch"].SetControllerMode
Does anyone has a clue?

Re: Controlling EvoHome with Python

Posted: Friday 06 November 2020 23:55
by dime
Bump :?: