New Request: ROTH Touchline - Underfloor Heating System

Hey

Its works but i cant change stat on the Roth system it sends it but get nothing in return.
It just keep going back to the Unknown

Where do i find the file “init.py” you are whriting about. i have opend 30 different “init.py” but none of them has the line h = httplib2.Http(“.cache”) in it.

Thanks

Installing the newest vertion of pytouchline should fix the cache problem that i was refering to above.

https://pypi.python.org/pypi/pytouchline/0.7

How do i install it? i’m running HA on Qnap nas server. can i just switch the file init.py?

Would like to contribute, but I don’t know much about Python. But, if we at least could decide on what is missing to the Touchline component, maybe we could coorporate on getting this project moving on?

What I think is missing, is at least the operation mode, meaning the six modes:

  • Normal
  • Night
  • Holiday
  • Pro I
  • Pro II
  • Pro III

… and the option to change between them. Editing the programs from HA would probably be to much work and to little benefit in daily use.

Would also be nice to display min_temp and max_temp when you click a thermostate - setting them would be over the top, but I think that is quite complicated to do?

Ok, so I did some work on the component, most time was spend with setting up the virtual env in Ubuntu, as I use VirtualBox to run my VM. In the end I managed to get it all set up correctly (bridging on a wireless NIC is a apparantly a problem in VirtualBox!)

This is where I am right now, I have enabled the switching between different modes, when saving the current mode it actually maps out to a weekend program and an operation mode, but I think it is easier to just have one select-option with all the options in one.

Ooops… need to change “Vacation” to “Holiday” (and think about translating stuff)

2 Likes

Well done!

Do you have the source code on GitHub or similar? May I take a look? :slight_smile:

I only have it locally for now, as I am still testing it out. But I have linked to a zipped version of “touchline[.]py” that should work out of the box if you replace the old one (rename the old one and keep it for backup) :slight_smile:

Download touchline.zip

Once again, well done! Give me some time and I will also test it locally. :slight_smile:

1 Like

Have anybody tested the new FW 2.8?
And is the pytouchline code still working towards this FW?

http://www.roth-nordic.no/no/roth-soft-og-firmwareoppdateringer-2274.htm

Not tested yet and unsure if I will. I’m on my phone but cannot find any changelog anywhere. Did you found it?

“Aktivering av den 6, Multifunksjons knapp” - Which one?

Hi guys,

Been waiting for this component so thank you so much :slight_smile:
Anyway I get this error when I enable the component:

Error while setting up platform touchline
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 189, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/touchline.py", line 32, in setup_platform
    number_of_devices = int(py_touchline.get_number_of_devices(host))
  File "/usr/lib/python3.6/site-packages/pytouchline/__init__.py", line 47, in get_number_of_devices
    response = self._request_and_receive_xml(request)
  File "/usr/lib/python3.6/site-packages/pytouchline/__init__.py", line 120, in _request_and_receive_xml
    headers=self._header
  File "/usr/lib/python3.6/site-packages/httplib2/__init__.py", line 1176, in request
    (scheme, authority, request_uri, defrag_uri) = urlnorm(uri)
  File "/usr/lib/python3.6/site-packages/httplib2/__init__.py", line 148, in urlnorm
    raise RelativeURIError("Only absolute URIs are allowed. uri = %s" % uri)
httplib2.RelativeURIError: Only absolute URIs are allowed. uri = 192.168.1.183/cgi-bin/ILRReadValues.cgi

Any ideas? Running 0.62.1 with HASSIO on a RPI3.

Could you post your config for this component?

Sure!

tts:
  - platform: google

climate:
  - platform: touchline
    host: 192.168.1.183

media_player:
  - platform: sonos

group: !include groups.yaml
automation: !include automations.yaml
script: !include_dir_merge_list includes/scripts
input_select: !include includes/input_select.yaml
sensor: !include_dir_merge_list includes/sensors
scene: !include_dir_merge_list includes/scenes
switch: !include_dir_merge_list includes/switches

As described here

You need to add http:// before the IP address.

I.e http://192.168.1.1

climate:
  - platform: touchline
    host: http://192.168.1.183

Thanks! :slight_smile:

Now I feel really stupid :wink:
I’ll suggest a small change to the component documentation page.

Hello

pretty sure i have FW 2.8

And it is not working, i am back to te old touchline.py

something about it doesnt recive opration status. i can but it back in and try again it you want a log file?

Probably the same problem here. I can change the setpoints and the thermostats updates accordingly, but the mode is being red as “Unknown”
2018-02-11%2023_12_09-Home%20Assistant