Uhome Uponor is a python custom_component for connect Home Assistant with Uponor Smatrix Wave PLUS Smart Home Gateway, R-167 aka Uhome.
The module uses units REST API for discovery of controllers and thermostats.
Usage
Copy content of custom_components directory in your HA custom_components directory and change configuration.yaml:
climate:
- platform: uhomeuponor
prefix: [your prefix name] [prefix name for climate and sensor components, is optional tag]
host: 192.168.x.x
sensor:
- platform: uhomeuponor
prefix: [your prefix name] [prefix name for climate and sensor components, is optional tag]
host: 192.168.x.x
Currently module create one sensor and one climate for each thermostat.
Adding support for setting modes and preset values is on TODO list.
After trying to implement it i am having some troubles. First i tried to do exactly as your instructions. But then configuration files is not approved because it cannot find climate uhomeuponor. Then I remove the climate from configuration file and then it is approved. I was hoping to find the sensors after restart of the HA server. But no sensors are shown. In log file Home assistant gives me only warning that uhomeuponor sensors are not tested by home assistant. Ip adress I use is correct. In my uponor control panel I have one room existing. But still it does not show up as a sensor in Home assistant. Do you have any idea what my problem might be?
I use hassbian, which distro you use?
Sure you have climate.py in folder “[your config folder]/custom_components/uhomeuponor”?
You can try to obtain more info, try first to validate your configuration.yaml if you have an error it is important to solved first.
Other cuestion is component have one dependence of “requests” it is possible you have an issue for use it. Sometimes these dependencies are updated by restarting.
I oftain more info with restart of homeassitant and trace log like this:
pi@hassbian:~ $ sudo systemctl restart [email protected]
pi@hassbian:~ $ halog -n 500 |grep uhomeuponor
sep 04 08:27:17 hassbian hass[25274]: 2019-09-04 08:27:17 INFO (SyncWorker_1) [homeassistant.loader] Loaded uhomeuponor from custom_components.uhomeuponor
sep 04 08:27:19 hassbian hass[25274]: 2019-09-04 08:27:19 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for uhomeuponor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
sep 04 08:27:21 hassbian hass[25274]: 2019-09-04 08:27:21 INFO (MainThread) [homeassistant.components.climate] Setting up climate.uhomeuponor
sep 04 08:27:29 hassbian hass[25274]: 2019-09-04 08:27:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.uhomeuponor
sep 04 08:27:30 hassbian hass[25274]: 2019-09-04 08:27:30 INFO (SyncWorker_6) [custom_components.uhomeuponor.climate] finish setup platform climate Uhome Uponor
sep 04 08:27:31 hassbian hass[25274]: 2019-09-04 08:27:31 WARNING (MainThread) [homeassistant.components.climate] Setup of platform uhomeuponor is taking over 10 seconds.
sep 04 08:27:39 hassbian hass[25274]: 2019-09-04 08:27:39 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform uhomeuponor is taking over 10 seconds.
sep 04 08:27:44 hassbian hass[25274]: 2019-09-04 08:27:44 INFO (SyncWorker_14) [custom_components.uhomeuponor.sensor] finish setup platform sensor Uhome Uponor
It might be my fault. I was looking for a sensor that had the name uponor or something. But I see now I have a sensor called sensor.[room name]. So Sensor part is working. I will soon try the climate part again and see if I can get it to work. If not I will show you the logs.
Thanks for all your help and great support and a great work with this custom component!
Yes, sensor called sensor.[room_name] if you dont have prefix, you can rename like this sensor.[prefix][room_name] you can use a prefix: uponor for example to order your sensors and climates.
I think climate part work for you because the code is similar.
Thank you very much for the update, now it shows the status when heating or off, unfortunately the preset values can not be changed, it stays on comfort, if i change it to home preset it just comes back to comfort. Also in operations it shows heat and cool, i don’t really have cool as it is floor heating only, and if i change to cool it just reverts to heat
climate:
- platform: uhomeuponor
prefix: [your prefix name] [prefix name for climate and sensor components, is optional tag]
host: 192.168.x.x
sensor:
- platform: uhomeuponor
prefix: [your prefix name] [prefix name for climate and sensor components, is optional tag]
host: 192.168.x.x
But i can´t see it in Home assistant, it don´t discover the sensor.
Hi
Got it working! Thanks a bunch for this!
Would it be possible to add a Humidity value readout? It should be available according to https://community.openhab.org/t/uponor-smatrix-binding-request/22220/16 with ID 26 (whatever that exactly means )
Again: Thanks a bunch! Really appreciate it! (Was going to try a REST sensor for the same but didn’t get there as your component works
Hi,
Now I upload version with one humidity sensor for each room.
I can not test it, because i don’t have humidity sensor in my thermostat.
Can you test it and report your issues.