ROTH Touchline would be nice to have implemented in HA. I don’t have any statistics but at least it’s heavily used in Sweden. The system has a LAN port and can be controlled via an official app. However, I don’t think there is an official API.
At least it would be nice to implement the senors in HA so it’s possible to see the current temperature according to the thermostat(s). In a later stage controlling the system via HA could be implemented.
Anyone with Python skills who can build a ROTH Touchline component?
To read the current temperature you can use the Python script found here: https://dev.n0ll.com/stuff/touchline/roth.py.
Use a Command line Sensor to call the script and read the sensor value.
At least getting the current values from the thermostat. Thanks a lot!
Maybe this is an easy implementation as a “heater” or something so you can both see and control the underfloor heating system. Hoping to have an official implementation soon.
Iv’e started working on this Python library (https://pypi.python.org/pypi/touchline/0.3), and I’m about to implement a climate plarform in home assistant for the Roth Touchline. Please contribute to the Python library to get more functionality in like setting the setpoint of the thermostats.
How far have you come and how to use it in Home Assistant? I’m happy to test in real since I have Roth Touchline at home. Keep me posted. I will try to answer ASAP.
Yes, this is the repo. I changed the name not to conflict with the new home assistant platform i’m making.
So far the library supports reading out temperature and setpoint. However, it is easily upgraded to read all touchline parameters:
Name (implemented)
Setpoint (implemented)
Temperature (implemented)
Setpoint max
Setpoint min
Week program
Operation mode
Device ID
Controller ID
Also, when I have a bit more spare time I’ll upgrade the library to edit some of the parameters.
You can test the library stand-alone now if you install the package from pypi (install python 3, thereafter pip install touchline), and run the example.py with your own ip address. That would be the best way to verify that it is working with another Touchline system.
I’ll keep you posted as soon as I’ve implemented any more functionality.
Hope you had a nice Christmas and New Years. Will you have the time to continue with the Python code for ROTH Touchline and Home Assistant integration? We’re waiting with excitement
I didn’t disable the httplib2, I prevented it from using cache. When running in virtualenv you don’t have the rights to make the cache file. I don’t know the cons of disabling it, but at least it’s working fine without it.