sander1988 / Indego

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

Vacuum/lawn mower entity missing since release 5.7 #232

Closed lethyro85 closed 2 months ago

lethyro85 commented 2 months ago

Hi, i upgraded from 5.6.1 to 5.7. and since this here is unusable:

Before it shows this: boschalt and with 5.7 is is all: boschneu

this is no more usable. What i can do ? :(

kimzeuner commented 2 months ago

All the alert entities are now part of the alert binary sensor as attributes of it (also see closed issue #230). What else are you missing ? For your missing "Steuerelement" Bobby: Have you selected one of the configuration options "vacuum" or "lawn_mower" entity ?

lethyro85 commented 2 months ago

For your missing "Steuerelement" Bobby: Have you selected one of the configuration options "vacuum" or "lawn_mower" entity ?

I have selected both vacuum and mower. And yes this is more important

kimzeuner commented 2 months ago

Ok, and have you already tried to change the user agent to anything that does not contain "HomeAssistant" ? Normally there were unavailable entities when the user agent was the problem (from my experience) but you never know 🤷‍♂️

lethyro85 commented 2 months ago

this is as a vacuum: grafik

And this is as a mower: grafik

Also: My mover has no problem. Here it says i has problems, but ..no. I use a Indego S+ 350

useragent was alway "Firefox" grafik

Here the same in 5.6.1: grafik

kimzeuner commented 2 months ago

I'm sorry but at this point i dont know what else can cause this behaviour. On your last screenshot there is neither the vacuum nor the lawn mower entity selected but i guess this was for testing reasons ?! I think you will have to wait for a developer to have a look on it, i think they/he will need some debug logs so maybe you can already post them 😉

lethyro85 commented 2 months ago

" i guess this was for testing reasons ?!" << this was to show the user agent Where i can find debug logs ? No idea :(

kimzeuner commented 2 months ago

You have to add some lines to your configuration.yaml (described in the chapter "Debugging" of the main page of the integration). After a restart you can see the debug entries of the indego component in the "Log Viewer" (it is in the sidebar of your HA). Im not sure how to export them but in worst case also a screenshot should be better then nothing 😉

sander1988 commented 2 months ago

I don't see a problem in your screenshots. Can you create a screenshot of the alert entity with the attributes pane open?

kimzeuner commented 2 months ago

@sander1988 I think the main problem is that there is no lawn_mower or vacuum entity no matter what he has chosen in the configuration menu. The missing alert entities should be clear as i already told him that these are now attributes of the binary sensor. One more problem seems that HA shows alerts although the Bosch App doesnt show any alert. To me it looks like a communication problem with the bosch cloud ?! @lethyro85 Have you tried to change your user agent although your user agent "Firefox" was running well in earlier version ?

lethyro85 commented 2 months ago

"I think the main problem is that there is no lawn_mower or vacuum entity no matter what he has chosen in the configuration menu." I Above there are both but none of them let controll the mower.

Alerts are there, thats fine, but no control

In the earlyer Version i dont need to chance any useragent. Thats new.

I still use 5.6.1 now, this works fine.

sander1988 commented 2 months ago

So to understand you correctly... all features work fine except the ability to control the mower through a vacuum/lawn mower entity. That right?

Just to be sure... the option "expose as mower" is checked in de configuration panel (in your last screenshot it's not) and you have restarted HA after enabling it, right?

Note: The connection (and user-agent) has to be fine otherwise the state/state-detail would be "unavailable" ; something that was changed in the last release to better reflect the real state of the mower.

lethyro85 commented 2 months ago

So to understand you correctly... all features work fine except the ability to control the mower through a vacuum/lawn mower entity. That right?

Just to be sure... the option "expose as mower" is checked in de configuration panel (in your last screenshot it's not) and you have restarted HA after enabling it, right?

Note: The connection (and user-agent) has to be fine otherwise the state/state-detail would be "unavailable" ; something that was changed in the last release to better reflect the real state of the mower.

Yes thats right

sander1988 commented 2 months ago

At this point I have no idea why it isn't working. I have several HA setups, just tested it once more, and here it works fine.

I recommend recreating an issue using the provided issue template in GitHub and answering all the questions in there + providing debug logs. This helps us spotting the root cause of this issue.

sander1988 commented 2 months ago

@lethyro85 - Please check #234 ; I think it's the same issue here. Have you disabled one or more entities?

lethyro85 commented 2 months ago

yes i also think so. I will wait for the next release and stick by 5.6.1.

lethyro85 commented 2 months ago

Here i have a debug log, i hope :) [REDACTED] i don't see anything wrong then this: [REDACTED] There is this : 2024-06-28 19:37:32.723 ERROR (SyncWorker_3) [homeassistant.util.package] Invalid requirement 'git+https://github.com/jm-73/pyIndego.git@3.2.0'

Can this it be ?

sander1988 commented 2 months ago

I have redacted the files; might contain sensitive information.

"Invalid requirement" can be ignored. HA shouldn't log that.

Expected to be the same cause as #234.

sander1988 commented 2 months ago

Please test with pre-release 5.7.1 to see if the issue has been resolved.

lethyro85 commented 2 months ago

It is fixed with 5.7.2 thanks for your work :) grafik