host is available (although not sure how to manually access the API):
# ping 10.0.0.31
PING 10.0.0.31 (10.0.0.31) 56(84) bytes of data.
64 bytes from 10.0.0.31: icmp_seq=1 ttl=64 time=4.10 ms
# curl 10.0.0.31/api
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
Log:
2020-03-29 19:47:30 ERROR (MainThread) [homeassistant.components.climate] Error while setting up uhomeuponor platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 179, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/uhomeuponor/climate.py", line 55, in setup_platform
uponor.rescan()
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 39, in rescan
self.uhome.update()
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 223, in update
self.uponor_client.update_devices(self)
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 138, in update_devices
self.update_values(value_list)
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 161, in update_values
response_data = self.do_rest_call(req)
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 113, in do_rest_call
raise UponorAPIException("Unsucessful API call")
custom_components.uhomeuponor.uponor_api.UponorAPIException: Unsucessful API call
2020-03-29 19:47:31 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up uhomeuponor platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 179, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/uhomeuponor/sensor.py", line 43, in setup_platform
uponor.rescan()
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 39, in rescan
self.uhome.update()
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 223, in update
self.uponor_client.update_devices(self)
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 138, in update_devices
self.update_values(value_list)
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 161, in update_values
response_data = self.do_rest_call(req)
File "/config/custom_components/uhomeuponor/uponor_api/__init__.py", line 113, in do_rest_call
raise UponorAPIException("Unsucessful API call")
custom_components.uhomeuponor.uponor_api.UponorAPIException: Unsucessful API call
Tried to access the API directly, based on the example mentioned elsewhere:
Using uhomeuponor (ec403d7) through HACS.
I have a recent Smatrix setup: X-265 controller (2x), and an R-208 communication module. During HA start up the log shows:
Update: it seems to be related to new R-208 API. I assume the R-208 is not yet supported? https://community.home-assistant.io/t/custom-component-for-connect-home-assistant-with-uponor-smatrix-wave-plus-r167/134457/26
In that case the below info is not relevant any more, but will keep it for reference.
configuration.yml
host is available (although not sure how to manually access the API):
Log:
Tried to access the API directly, based on the example mentioned elsewhere:
This also gives me a 404 error.
Update: accessing the R-208 API directly works fine: