-
Notifications
You must be signed in to change notification settings - Fork 31
Conversation
@betaboon could we review and merge this? |
I tested this, and it indeed reconnects. However, it does not recognize disconnects. Could this also be added? I power toggle the purifier during the day using sonoffs |
@SamJongenelen did you mean like this? |
Well I have some errors which I think are related 2021-10-15 17:08:50 ERROR (SyncWorker_2) [homeassistant] Error doing job: Task was destroyed but it is pending! |
Did you update aioairctrl? I changed my manifest settings referring to an updated version. No issues since 72 hrs
…-------- Original Message --------
On 15 Oct 2021, 17:51, Sam Jongenelen wrote:
Well I have some errors which I think are related
>
2021-10-15 17:08:50 ERROR (SyncWorker_2) [homeassistant] Error doing job: Task was destroyed but it is pending!
2021-10-15 17:08:50 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
RuntimeError: aclose(): asynchronous generator is already running
2021-10-15 17:08:50 ERROR (MainThread) [coap] Connection loss was not expected.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [view it on GitHub](#57 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AMXEM3EV3CS2VREXGZ4YWPLUHBEZBANCNFSM5CKOHU2A).
Triage notifications on the go with GitHub Mobile for [iOS](https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or [Android](https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).
|
Good catch no I didnt, will install fully when on pc again |
Try to get rid of a few errors, while trying to reconnect
whilst the airpurifier is running i do get flooded with errors - my line numbers deviate but its around these two pieces of code
which generates the following error:
and
|
Note, the purifier was on between 16.55 and 18:26 and has been off ever since. Behaviour takes place both in on and off state. |
@ronaldt80 About switching branches/forks, who will maintain this integration in the long run? |
thanks - the COAP API error persists indeed, but only when the purifier is off. The other errors are gone now. Side effect, when restarting HA whilst the purifier is off it now takes longer for the purfier to become available (ca. 3minutes in my case). Will test some more over the coming days. Thanks! As for the ownership of the branches / forks - good point, unfortunately my python skills are limited to some cutting and pasting so not the ideal candidate myself I fear. |
@ronaldt80
|
@SamJongenelen I am on HASS OS so cannot manually install different aioairctrl versions- to achieve the same I changed my manifest to ensure it references the updated file - a full OS reboot was required to pull the new file (in my case), code is as follows:
|
Me too homeassistantOs. I small try the peter j airctrl |
Any one else experience the coap connection loss error after incorporating the changes which otherwise solve the disconnect issue?
I have thousands a day, think after a while it chokes HA Core |
You are right. The logging expands when running for a long time. Exact same log timestamps, see beneith after ~12h uptime 2021-10-31 13:23:26 ERROR (MainThread) [coap] Connection loss was not expected. |
At the moment, nobody really does. It would be great to have someone take over who at least occasionally could take a brief look at stuff with more than rookie skills. @betaboon Or is there hope that you find some time after Christmas, just like you did last year? |
I havent had any choke issues on HA lately |
@mhetzi As the integration seems unmaintained here, I've attempted a bit of a rewrite based on a fork of this. It's now quite comprehensive in terms of features, but my Python skills are acquired on the way, so I struggle a bit with integrating your timer approach. Do you think you could help out? |
@kongo09 How can i help you? |
Maybe you can take a look at the rewrite and suggest how to integrate the |
I think putting it in Coordinator would be the easiest. |
Do you think you could help out with a pull request? |
ok |
Hi,
Implementing Timers like this, fixes (at least with my model AC3829), #15 and #28.
Connection is currently 1 day stable, instead of 30 minutes.