New Request: ROTH Touchline - Underfloor Heating System

Thank you for your efforts to improve this integration. Have tested it for a while and it works great! Will be good if this improved version would have been added to the official HA integration as well.

1 Like

Hi, try this in your climate platform:

http://192.168.225.51

I dont know why this is NOT documented, but i got 6 devices out of 10 that i got running in my Roth system.
Do you know why i dont got all of them?
I got this error now:

[homeassistant.components.climate] touchline: Error on device update!
not well-formed (invalid token)

Hi guys, i use the climate platform in Hassio, i got 10 Roth display, i only see 6 of them in Home-assistant.

I got this error in log:

2019-10-08 21:54:33 ERROR (MainThread) [homeassistant.components.climate] touchline: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 441, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/touchline/climate.py", line 52, in update
    self.unit.update()
  File "/usr/local/lib/python3.7/site-packages/pytouchline/__init__.py", line 60, in update
    response = self._request_and_receive_xml(request)
  File "/usr/local/lib/python3.7/site-packages/pytouchline/__init__.py", line 128, in _request_and_receive_xml
    return xml(content)
  File "/usr/local/lib/python3.7/xml/etree/ElementTree.py", line 1315, in XML
    parser.feed(text)
  File "<string>", line None
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 186

My climate platform is:

  - platform: touchline
    host: http://192.168.1.51

Can someone give me ideas how to fix this?

@pilehave
Did your climate.py solve the delay issue ?
I exchanged the climate.py in /srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/touchline/

My climate platform is:

  - platform: touchline
    host: http://192.168.1.51

Dit I miss a config issue ?

people addresed issue after 6 sesnsors; is this also solved in your version ?
thx.

1 Like

Hi @janushansen
I still got this issue with more than 7 sensors. (i got 10) i started with only 6 sensors.

Meaby i should try to change the climate.py to solve this!, do you know @pilehave what version i should use of climate.py - meaby your latest one?

Now i got 7 sensors, but i am running hassio, do you know a fix?

Hi @pilehave did you forked the touchline project, so we can update in next realese of hassio?

Just installed this component.

A few things I’ve encountered.
Adding names to each thermostat in the app duplicates them in hass. I suddently get
bathroom, bathroom_2, bedroom, bedroom_2 and so on.

I’m also missing a few thermostats. I have two units for each floor and the thermostats are mixed, should probably be prefixed with unit id, name or whatever.

Did you write your thermostat names with “æøå” ?

Nope, no special characters.

Try name all the termostat first, and delete info in conf.yaml and then retry, is it still duplicate?

I got mine fixed after naming them properly.

Would you be able to port this to homebridge?

Really late reply here, been too busy :confused:

I tried again tonight but i still get duplicates of the one controller, they are true duplicates as in all the values are the same, second is suffixed with _2. I have two controllers, they are not connected to each other so I guess they are both “master”. Could this be causing the issue?

Got it figured out now. Units have to be master/slave because of the way this implementation works.

1 Like

I am pretty sure its working in homebridge, did you manage to figure it out?

My configutation is not working anymore.
Is it becausr it is old or is it just local at my house?

Hi’ @ledyr-sthlm

Just redid my Roth Touchline integration today. I had serious issues, but they were not related to the HA integration (even if I was convinced they were)
I’ve listed my step by step solution here

Could someone please share @pilehave latest climate.py package with config flow end unique entity ID’s in HA.

The old link fra November 2022 in the Git issue is no longer valid.

Thank you in advance :slightly_smiling_face:

Would love to have this running in Homebridge. :medal_sports:

I’ve no knowledge about Homebridge at all. But can’t you use the Homebridge HA integration in order to expose your HA sensors/entities to Homebridge ?