core: Ondilo Ico - Unable to retrieve sensor information
The problem
It appears that as of today I’m unable to pull back any of the sensor information from Ondilo. It may be a coincidence but I did upgrade to HA 12.0 yesterday. All entities under the integration just say ‘unavailable’
What version of Home Assistant Core has the issue?
core-2023.12.0
What was the last working version of Home Assistant Core?
core-2023.11.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Ondilo ICO
Link to integration documentation on our website
https://www.home-assistant.io/integrations/ondilo_ico/
Diagnostics information
home-assistant_ondilo_ico_2023-12-07T16-34-33.894Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:361
Integration: Sensor (documentation, issues)
First occurred: 13:22:55 (2 occurrences)
Last logged: 16:34:22
Error while setting up ondilo_ico platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/ondilo_ico/sensor.py", line 122, in async_setup_entry
for poolidx, pool in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
Logger: homeassistant.components.ondilo_ico.sensor
Source: helpers/update_coordinator.py:313
Integration: Ondilo ICO (documentation, issues)
First occurred: 11:41:08 (3 occurrences)
Last logged: 16:34:22
Error requesting sensor data: HTTPSConnectionPool(host='interop.ondilo.com', port=443): Max retries exceeded with url: /api/customer/v1/pools (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1006)')))
Error requesting sensor data: Cannot connect to host interop.ondilo.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1006)')]
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 35 (6 by maintainers)
This is corrected in a PR. We need to wait for it to be approved and deployed.
No sensor updates since Monday but the integration appears fine and their API is returning data, it’s just not being updated and it looks like it’s on their side - the app mentioned something was changing last weekend. I’ve raised a support ticket with them and included the HA debug log info so hopefully they fix it soon. I will update here if/when I get a response.
I had a quick look and it looks like their APIs is not responding to some requests any more. I’ll look into this a bit more this week end and see if I can do anything or if this is on their side.
@Chris-656 This is the issue that is corrected in the PR. Ondilo now mandates the API to explicitly request the measures we want to retrieve. Previously, they were all automatically retrieved if nothing was specified.
As mentioned above, this is corrected and just needs to be deployed in an upcoming home assistant version. No need to contact Ondilo for that issue. For those who can / know how to do it, you just need to bump “ondilo” python library from version 0.2.0 to 0.4.0 and it should work.