bremor / bonaire_myclimate

Reverse engineered implementation of the Bonaire MyClimate app.
19 stars 6 forks source link

Several issues found after turned the integration back on for summer #28

Closed igorpolsh closed 1 year ago

igorpolsh commented 1 year ago

Hi,

After having the integration disabled for the winter, I turned it on today and found that its not working.

At first, everything seemed to be working as it was, it switched on via a service call and it worked for an hour or so. Then I turned it off for an hour, but when I tried to turn it back on again it started complaining (errors in log) about line 332 in hub.py (for key, value in command.items()) saying str does not have .items(). (I was mucking around for a while and forgot to copy the actual error)

After several restarts it started working again with the same intermittent error, when trying to operate it via a service call (which worked last year all summer with no issue).

I removed the integration, re-downloaded the HACS integration, restarted, ran the integration again, but this time it doesn't even load the entity. Current error: Logger: custom_components.bonaire_myclimate.BonairePyClimate.hub Source: custom_components/bonaire_myclimate/BonairePyClimate/hub.py:104 Integration: Bonaire MyClimate (documentation, issues) First occurred: 9:12:19 PM (7 occurrences) Last logged: 9:19:19 PM

Discovery attempt #6 failed, retrying in 60s Discovery attempt #7 failed, retrying in 60s Discovery attempt #8 failed, retrying in 60s Discovery attempt #9 failed, retrying in 60s Discovery attempt #10 failed, retrying in 300s

I am wondering if a winters worth of HA updates might have changed something which broke it? Please have a look at it when you can and get back to me, this is the only way I found to automate the cooler.

Thank you for you time, hope to hear from you soon.

igorpolsh commented 1 year ago

As always BonAire done it again... Again, got up into the loft, pulled the plug, went through the motions with setting up with phone - and its working.

Applogies for not trying that first.

In hindsight, I will install a smart plug on the GPO for bonaire unit to speed up troubleshooting next time it stuffs up.

Keep up the good work, thanks!