home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.79k stars 28.93k forks source link

HomeConnect fridge freezer Bosch KGN36HI33 - Missing some entities #91216

Open hoppel118 opened 1 year ago

hoppel118 commented 1 year ago

The problem

Hi,

I have a Bosch KGN36HI33 fridge freezer connected to my Home Assistant via the HomeConnect integration.

The respective device has only 2 entities:

screenshot_1367

I migrated my complete home automation system from FHEM to Home Assistant. From my old Home Automation Software (FHEM) I know that there are more entities available for this device on the API.

BSH.Common.Setting.PowerState
BSH.Common.Status.DoorState
Refrigeration.FridgeFreezer.Event.DoorAlarmFreezer
Refrigeration.FridgeFreezer.Event.DoorAlarmRefrigerator
Refrigeration.FridgeFreezer.Setting.SetpointTemperatureFreezer
Refrigeration.FridgeFreezer.Setting.SetpointTemperatureRefrigerator
Refrigeration.FridgeFreezer.Setting.SuperModeFreezer
Refrigeration.FridgeFreezer.Setting.SuperModeRefrigerator

What do we need to do to get all available entities for this device?

Thanks and regards Hoppel

What version of Home Assistant Core has the issue?

core-2023.4.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

HomeConnect

Link to integration documentation on our website

https://www.home-assistant.io/integrations/home_connect/

Diagnostics information

The option to "download diagnostics" doesn't exist.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @davidmstraub, mind taking a look at this issue as it has been labeled with an integration (home_connect) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `home_connect` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign home_connect` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


home_connect documentation home_connect source (message by IssueLinks)

DavidMStraub commented 1 year ago

Hi, there was a recent change that loads the available programs during startup, but only if the appliance is switched on. Now I doubt your freezer was off, but it might help making sure it is on & connected and reloading the integration in the frontend. And please watch the log, if there are any messages.

hoppel118 commented 1 year ago

Hi,

thanks for the fast response.

Yes, the fridge freezer is always switched on. ;)

I tried to reload the integration and played around with the possibilities:

Under "Controls" I have a "Power" switch:

screenshot_1369

But this switch is not working. If you switch it to "off", it goes to "on" again some seconds later and I see the following log:

Log Details (ERROR)
Logger: homeassistant.components.home_connect.switch
Source: components/home_connect/switch.py:128
Integration: Home Connect ([documentation](https://www.home-assistant.io/integrations/home_connect), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+home_connect%22))
First occurred: 1:55:14 PM (2 occurrences)
Last logged: 1:55:17 PM

Error while trying to turn off device: {'description': 'Key BSH.Common.Setting.PowerState has unknown enum type or enum member BSH.Common.EnumType.PowerState.Off.', 'key': 'SDK.Error.InvalidSettingValue'}

I reloaded the integration, but it doesn't result in any log. I found the following in my logs, but I am unsure if this related to my behavior:

Log Details (WARNING)
Logger: homeconnect.sseclient
Source: /usr/local/lib/python3.10/site-packages/homeconnect/sseclient.py:89
First occurred: 3:01:46 AM (4 occurrences)
Last logged: 12:54:59 PM

Exception while reading event:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/homeconnect/sseclient.py", line 81, in __next__
    next_chunk = next(self.resp_iterator)
StopIteration

Next test was to delete and reinstall the HomeConnect integration.

Again I only see the following two entities:

screenshot_1368

Switching the device off and on again by the physical power switch is also not resulting in new entities or logs.

By the way... The fridge freezer's "Door" sensor entity works as expected:

screenshot_1370

For me it looks the following way:

The two state entities are there:

BSH.Common.Setting.PowerState
BSH.Common.Status.DoorState

The following events and settings are missing:

Refrigeration.FridgeFreezer.Event.DoorAlarmFreezer
Refrigeration.FridgeFreezer.Event.DoorAlarmRefrigerator
Refrigeration.FridgeFreezer.Setting.SetpointTemperatureFreezer
Refrigeration.FridgeFreezer.Setting.SetpointTemperatureRefrigerator
Refrigeration.FridgeFreezer.Setting.SuperModeFreezer
Refrigeration.FridgeFreezer.Setting.SuperModeRefrigerator

Do you have any further idea?

Thanks and regards Hoppel

Flameancer commented 1 year ago

Switching the device off and on again by the physical power switch is also not resulting in new entities or logs.

I Can sorta answer this one. According to the API, the fridge does not support the “off” state.

https://api-docs.home-connect.com/settings?exclude=cleaningRobot%2CcoffeeMachine%2CcookProcessor%2Ccooktop%2Cdishwasher%2Cdryer%2Cfreezer%2Chood%2Coven%2Crefrigerator%2CwarmingDrawer%2Cwasher%2CwasherDryer%2CwineCooler#power-state

I found this as I too am having the same issue with my Bosch fridge where I only have the power state and the door. I am missing all the other events and alarms in the API. One thing I noticed or might have overlooked is that there doesn’t seem to be a way to get the temperature of the freezer or the fridge; but the home connect app does. I wonder if this is a proprietary api setting.

hoppel118 commented 1 year ago

The event and setting entities, which I have shown above, all worked with my old home automation software (FHEM) via API.

SkinnyT81 commented 1 year ago

Have you had any luck with this? I'm having the same issue with my Bosch 800 series fridge and only seeing the power/door entities.

hoppel118 commented 1 year ago

No, I am not a dev. Don’t know what I can do to help or to get the missing entities.

fpaddict commented 1 year ago

Hi, there was a recent change that loads the available programs during startup, but only if the appliance is switched on. Now I doubt your freezer was off, but it might help making sure it is on & connected and reloading the integration in the frontend. And please watch the log, if there are any messages.

Any luck with this? I just migrated from HomeBridge to HomeAssistant and I was able to turn the ice maker on/off with HB, but I'm unable to find a way to do that with HA.

Flameancer commented 1 year ago

No dice yet. It also seems that HA devs are slow to respond. I opened another ticket on a different issue two weeks ago and I still haven't had a response.

Edit: I do not mean to insult any devs. But it feels frustrating when there's not even an acknowledgement. I want to start using HA more instead of home automation through Google or Apple and even more so after the Amazon fiasco, but it's difficult if you can't even get a simple acknowledgement. I'm pretty novice when it comes to coding and have actually only interacted with an API on really basic levels, but I would be more than willing to provide my fridge with some insight to help devs get some integration working.

mchugh19 commented 11 months ago

The home assistant integration is also missing the BSH.Common.Event.AlarmClockElapsed event for ovens and cooktops. This is the timer function, and any tips on where it could be added would be appreciated.

rubentest commented 11 months ago

same issue with siemens fridge.

issue-triage-workflows[bot] commented 8 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

hoppel118 commented 8 months ago

The issue is still there. Everything is up-to-date.

Home Assistant 2023.10.5 Supervisor 2023.10.0 Operating System 11.0 Frontend 20231005.0 - latest

SkinnyT81 commented 8 months ago

I'm still seeing the issue as well and currently up to date on everything.

petr1885a commented 6 months ago

I have Siemens iQ500 KG49NAXCF and the same problem like [hoppel118] Only see door sensor Core 2023.12.3 Supervisor 2023.11.6 Operating System 11.2 Frontend 20231030.2

Gultak commented 5 months ago

One of the two attached pull requests was close due to inactivity. Can someone take a look and revive it? Or at least comment as of why it's not feasible. Also please make sure the same fate does not befall the other PR...

Dunlapjc commented 4 months ago

I can add that entities are still missing for my Bosch refrigerator.
Door state works, Power does not (as expected and called out) But other entities are missing.

Thanks!

vivektiwari1986 commented 4 months ago

I setup the home connect alternate custom integration from HACS : https://github.com/ekutner/home-connect-hass All entities and sensors work like a charm.

issue-triage-workflows[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

hoppel118 commented 1 month ago

This is still not solved. Everything is up-to-date.

Core 2024.5.5 Supervisor 2024.05.1 Operating System 12.3 Frontend 20240501.1

hoppel118 commented 3 weeks ago

I setup the home connect alternate custom integration from HACS : https://github.com/ekutner/home-connect-hass All entities and sensors work like a charm.

Thanks for this hint. With this custom integration I see what I need/want:

screenshot_2303

So the question is: When will we see this with the official integration?

Thanks again Hoppel