ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
494 stars 53 forks source link

Keeps waking up washer dryer #301

Closed guidojw closed 6 months ago

guidojw commented 6 months ago

Describe the bug

I installed the integration yesterday and connected my Bosch washer-dryer. Since then, my machine keeps waking up from standby every few minutes, going back to standby a few minutes after. When I disable the integration on my Home Assistant, this stops happening.

Is this expected behaviour/am I supposed to turn off my machine when not using it?

Version of the custom_component

1.0.0

Configuration

None non-default

Debug log

ekutner commented 6 months ago

It's not expected and the integration itself doesn't do anything that would directly cause this to happen. The only thing I can think of is that since the integration subscribes to updates from the appliance the Home Connect service wakes it up once in a while to check its status while it's in standby mode. No one else reported such an issue so I can't say how common this is.

  1. I can take a look at your logs to see if I notice anything unusual. Enable debug logging and change the Log Mode to 7 then let it work for a while and upload the log file after a few such cycles.
  2. How do you know it goes to and out of standby, what changes in the appliance itself?
guidojw commented 6 months ago

I have this machine: https://www.bosch-home.nl/productoverzicht/wasmachines-en-drogers/was-droogcombinaties/vrijstaand/WDU8H541NL It has some touch-like buttons on a screen. When the machine is standby, only the start/stop button is lit up, when the machine is on, all different program settings buttons are lit up. Also the Home Connect app shows the standby/on/off status and the machine makes some click-clack sounds internally when it turns on (this is how I noticed it constantly turning on and standby again).

I have enabled the integration again and enabled debug logging with level 7, will report logs here shortly.

guidojw commented 6 months ago

Here are some logs of 3 occurrences of it happening, with some logs before the first time and some logs after the last time. According to my Home Assistant log book, it happened at:

2023-12-16 22:29:23.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 22:29:48.225 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"Standby","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702762188,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.Standby"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:29:48.225 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.Standby
2023-12-16 22:30:18.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:31:13.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:32:08.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:32:30.277 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:33:03.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:33:58.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:34:53.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:35:48.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:36:43.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:37:30.288 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:37:38.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:38:33.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:39:28.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:39:49.165 DEBUG (MainThread) [home_connect_async.homeconnect] The SSE connection timeed-out, will renew and retry
2023-12-16 22:39:49.166 DEBUG (MainThread) [home_connect_async.homeconnect] Connecting to SSE stream
2023-12-16 22:39:50.736 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"On","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702762790,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.On"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:39:50.737 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.On
2023-12-16 22:40:44.266 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:41:19.117 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:41:39.266 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:42:34.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:43:29.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:44:24.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:44:49.262 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"Standby","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702763089,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.Standby"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:44:49.262 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.Standby
2023-12-16 22:45:19.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:46:14.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:46:19.136 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:47:09.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:48:04.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:48:59.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:49:54.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:50:49.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:51:19.147 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:51:44.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:52:39.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:53:34.273 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:54:29.271 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:54:50.165 DEBUG (MainThread) [home_connect_async.homeconnect] The SSE connection timeed-out, will renew and retry
2023-12-16 22:54:50.166 DEBUG (MainThread) [home_connect_async.homeconnect] Connecting to SSE stream
2023-12-16 22:54:51.722 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"On","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702763691,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.On"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:54:51.722 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.On
2023-12-16 22:55:45.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:56:40.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:57:35.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:57:45.629 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:58:30.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:59:25.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:59:50.289 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"Standby","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702763990,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.Standby"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 22:59:50.289 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.Standby
2023-12-16 23:00:20.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:00:30.393 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:01:15.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:02:10.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:03:05.269 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:04:00.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:04:55.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:05:30.410 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:05:50.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:06:45.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:07:40.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:08:35.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:09:30.270 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:09:51.164 DEBUG (MainThread) [home_connect_async.homeconnect] The SSE connection timeed-out, will renew and retry
2023-12-16 23:09:51.165 DEBUG (MainThread) [home_connect_async.homeconnect] Connecting to SSE stream
2023-12-16 23:09:52.704 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"On","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702764592,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.On"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:09:52.705 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.On
2023-12-16 23:10:46.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:10:59.168 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:11:41.260 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:12:36.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:13:31.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:14:26.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:14:51.239 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"Standby","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702764891,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.Standby"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:14:51.240 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.Standby
2023-12-16 23:15:21.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:15:59.196 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:16:16.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:17:11.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:17:13.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:18:06.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:19:01.262 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:19:56.261 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:20:51.263 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:21:46.263 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:22:13.287 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:22:41.263 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:23:36.264 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:24:31.264 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:24:52.164 DEBUG (MainThread) [home_connect_async.homeconnect] The SSE connection timeed-out, will renew and retry
2023-12-16 23:24:52.165 DEBUG (MainThread) [home_connect_async.homeconnect] Connecting to SSE stream
2023-12-16 23:25:47.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 23:26:42.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 23:27:37.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 23:27:37.621 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 23:28:32.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 23:29:27.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='')
2023-12-16 23:29:52.244 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"Standby","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702765792,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.Standby"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:29:52.245 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.Standby
2023-12-16 23:30:22.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:31:17.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:32:12.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:32:37.639 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:33:07.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:33:49.299 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:34:02.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:34:57.268 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:35:52.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:36:47.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:37:42.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:38:37.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:38:49.318 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:39:32.267 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:39:53.164 DEBUG (MainThread) [home_connect_async.homeconnect] The SSE connection timeed-out, will renew and retry
2023-12-16 23:39:53.165 DEBUG (MainThread) [home_connect_async.homeconnect] Connecting to SSE stream
2023-12-16 23:39:54.739 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"On","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702766394,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.On"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:39:54.740 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.On
2023-12-16 23:39:55.705 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:40:48.271 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:41:43.271 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:42:38.271 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:43:33.272 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:44:28.272 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:44:53.246 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='NOTIFY', message='NOTIFY', data='{"haId":"BOSCH-WDU8H541NL-XXXXXXXXXXX","items":[{"displayvalue":"Standby","handling":"none","key":"BSH.Common.Setting.PowerState","level":"hint","name":"Power status","timestamp":1702766693,"uri":"/api/homeappliances/BOSCH-WDU8H541NL-XXXXXXXXXXX/settings/BSH.Common.Setting.PowerState","value":"BSH.Common.EnumType.PowerState.Standby"}]}', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:44:53.246 DEBUG (MainThread) [home_connect_async.callback_registery] Broadcasting event: BSH.Common.Setting.PowerState = BSH.Common.EnumType.PowerState.Standby
2023-12-16 23:44:55.716 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
2023-12-16 23:45:23.272 DEBUG (MainThread) [home_connect_async.homeconnect] Received event from SSE stream: MessageEvent(type='KEEP-ALIVE', message='KEEP-ALIVE', data='', origin='https://api.home-connect.com', last_event_id='BOSCH-WDU8H541NL-XXXXXXXXXXX')
ekutner commented 6 months ago

This is new. The integration automatically disconnects and reconnects the event stream (SSE stream) from the HC API every 15 minutes to deal with situations of a "zombie" stream, where the streams remains connected but doesn't actually get events. It looks like every time the stream is reconnected your appliance wakes up from standby. I've never seen that behavior before but I've added a new advanced configuration option which allows you to set how often the stream is reconnected. You can try setting it to 0, which will disable this behavior but be aware that you may end up with the zombie stream scenario I described above.

guidojw commented 6 months ago

I updated the integration and set it to 0, everything seems to keep working and the waking up doesn't happen anymore. Thanks for the fix!