sander1988 / Indego

Home Assistant Custom Component for Bosch Indego Lawn Mower
Apache License 2.0
92 stars 29 forks source link

no stable connection to indego 500+ #147

Closed MartinKuhl closed 2 years ago

MartinKuhl commented 2 years ago

Since yesterday I am not able to get a stabil connection to my indego. In the logs I found the following lines:

2021-10-01 09:57:21 WARNING (MainThread) [custom_components.indego] Uncaught error: init() got an unexpected keyword argument 'renew_date' on index: 0 2021-10-01 09:57:21 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:21 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:21 DEBUG (MainThread) [custom_components.indego] Refreshing initial operating data. 2021-10-01 09:57:21 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:21 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:22 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:22 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:22 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:22 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:22 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:22 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:22 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:22 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:23 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:23 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:23 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:23 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:23 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:23 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:24 INFO (MainThread) [custom_components.indego] Update state got an exception: init() got an unexpected keyword argument 'enabled' 2021-10-01 09:57:24 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:24 INFO (MainThread) [custom_components.indego] Updating operating data 2021-10-01 09:57:27 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:30 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:33 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:36 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:39 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:42 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:45 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:48 DEBUG (MainThread) [custom_components.indego] Refreshing state. 2021-10-01 09:57:51 DEBUG (MainThread) [custom_components.indego] Refreshing state.

mrtobs1 commented 2 years ago

Same here since yesterday. Do they have a problem with their api?

MartinKuhl commented 2 years ago

Same here since yesterday. Do they have a problem with their api?

the apps for iOS and Android working normal. Maybe a change in their API?

2021-10-01 09:57:21 WARNING (MainThread) [custom_components.indego] Uncaught error: init() got an unexpected keyword argument 'renew_date' on index: 0 -> this line make me worry about.

Rantaki commented 2 years ago

Just to say that I have the same problem, too. AFAIK you need to restart HA to get it trying to reconnect. Yesterday it still worked for a while after restart but not anymore. I noticed that the grauonline webinterface has occassional problems too.

Siggy101 commented 2 years ago

I have the same issue too. The Bosch android app seems to never connect when I am on my home wifi (which has AdGuard protecting it) but is always able to connect when I am on 4G connection. I cannot get HA to connect at all. I suspect Bosch have made some changes to the API. Perhaps ad blockers are a factor for other people in here too? Perhaps we need to whitelist some new domains. Are you guys also running ad blockers?

MartinKuhl commented 2 years ago

I have no adblocker in place and issues too

Siggy101 commented 2 years ago

OK, then this must be a more global issue. I just whitelisted "bosch-si.com" in my AdGuard instance and it was still broken thereby confirming it's probably not an ad blocker issue. I wonder why the app works great on 4G but never on my home wifi then...

PiotrasHASS commented 2 years ago

Same issue from past few days

Rantaki commented 2 years ago

I must say, the Bosch iOS app is not working much better either. I constantly get connection errors and "system errors" when I use it. The only way to recover is to kill the app and to try again and that quite often helps. I was happy when I got it working through HA so I didn't have to use the official app at all (only the map was missing), but now I have had to return using the app and it seems to work even worse than earlier. I cannot believe Bosch releases something like this...

jm-73 commented 2 years ago

I have build a new version of the python library used by the Bosch integration. Please try this change in your config/custom_components/indego/manifest.json:

"requirements": ["pyIndego==2.0.29"],

change to

"requirements": ["pyIndego==2.0.30"],

Please let me know if it works for you!

/J

mrtobs1 commented 2 years ago

You guys are awesome! Just tried it and it seems to work. No errors in Logs, will go on trying today. Great work, thank you so much! Only with your component the bosch indego is easy to handle, the bosch app is horrible... Thanks!

MartinKuhl commented 2 years ago

I can confirm it is working now! Thanks a lot

jm-73 commented 2 years ago

New version of component released. Should be visible in HACS shortly.