core: airq integration stops updating
The problem
I’m trying the AirQ integration on the dev branch. I was able to set it up fine, and it started gathering and reporting data.
However, a few hours later (at 8:45 local time), it suddenly stopped updating and providing new values.
During the night (these times are in UTC), I found these in the logs - there’s nothing else after the start up:
2022-11-14 01:30:47.030 ERROR (MainThread) [homeassistant.components.airq] Timeout fetching airq data
2022-11-14 01:30:57.142 INFO (MainThread) [homeassistant.components.airq] Fetching airq data recovered
However, the airq then continued reporting data until 7:45 UTC. The only error message in the logs which matches this is a timeout from the telegram integration, which seems unrelated. The AirQ itself is still reachable on its web interface and via the app.
Manually reloading the integration resolved this temporarily and the AirQ is now reporting values again, but obviously it would be preferable if this wasn’t necessary.
What version of Home Assistant Core has the issue?
Home Assistant 2022.12.0.dev20221113
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
AirQ
Link to integration documentation on our website
https://next.home-assistant.io/integrations/airq
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Unfortunately not.
Additional information
AirQ Pro by CorantGmbH Firmware: 1.20.2.r6_D_1.79 Hardware: D
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 27 (15 by maintainers)
Thank you, I created an automation that looks like this:
It has not triggered yet, but I assume the problem is solved for now. It is not the only integration that needs a workaround like this, so I assume Home Assistant will provide a more generic solution for this at some time.
Thanks for reporting, @stieler-it. While this is by no means a suitable final solution, perhaps you could try an automation along these lines? I’d be curious to know if it could help.
As mentioned earlier in this thread I use to have my airQ loosing connection normally within a day. After upgrading to firmware 1.83.1 in the device app I can report the device has stayed connected for almost a week now! This is not the firmware as shown in HA Device Info which shows Firmware: 1.20.2.r4_D_1.76
It hasn’t occurred again. But I’ve also had to upgrade the Air-Q firmware to 1.80.0 (the new ones shipped with -rc1 which wouldn’t dim the LEDs during the night 😃 ), plus moved on to a more recent dev release from HA.
Let’s close unless I can reproduce with more logs, and hopefully on a stable HA branch too.