core icon indicating copy to clipboard operation
core copied to clipboard

Anova integration stops updating after a while, despite the fact that the device is continuously connected and the app works

Open rccoleman opened this issue 5 months ago • 6 comments

The problem

I have my new Anova Precision Cooker 3.0 connected to my local wifi network and to the Home Assistant integration. It works well for a while, but then just stops updating for no apparent reason. Reloading the integration or restarting HA recovers the connection. The Anova iOS app continues to work to send commands and to reflect changes that I make on the Anova device manually.

I've seen this many times over the past week or so and have been monitoring the logs for issues, but I don't see any errors or reason for it. It's like the update coordinator just stops being called, and reloading the integration from the Integrations page gets it working again.

What version of Home Assistant Core has the issue?

core-2024.9.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Anova

Link to integration documentation on our website

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

Diagnostics information

home-assistant_anova_2024-09-12T16-05-38.340Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

I turned on debug logging and I can see the integration regularly updating the Anova data, but then it just inexplicably stops. The last message is just a normal update:

2024-09-12 00:18:24.749 DEBUG (MainThread) [anova_wifi.websocket_handler] Found message {'command': 'EVENT_APC_STATE', 'payload': {'cookerId': '4vMw8eC1zGQcwAWISSgMc0', 'type': 'a7', 'state': {'version': 1, 'updatedTimestamp': '2024-09-12T07:18:24Z', 'systemInfo': {'deviceId': '4vMw8eC1zGQcwAWISSgMc0', 'online': True, 'firmwareVersion': '01.01.12', 'releaseTrack': 'production', 'firmwareUpdatedTimestamp': '2024-08-16T02:03:00Z', 'lastConnectedTimestamp': '2024-09-12T06:50:59Z', 'lastDisconnectedTimestamp': '2024-09-09T16:00:29Z', 'hardwareVersion': '1.0.0', 'triacsFailed': False}, 'state': {'mode': 'idle', 'temperatureUnit': 'F', 'processedCommandIds': ['743d683c-6c2b-473b-b229-be1350c33d86', '4d17e742-1ddc-419f-8064-56f08bd25d5f', '337edc5e-ff84-4153-9f30-5f5132a542a0', 'f3b36bba-558d-4592-9859-00b612f71774', 'a0e0acb4-4cab-4f25-ad75-7e0caadd0d95', 'd18bcbfc-b842-4be0-8252-df83b036998c', '749aaeed-7c44-41ff-af14-fc4368ec9c7f', '95981e1f-717e-41bd-a9d3-31cd4e956991', 'b627aed5-1e21-4c3b-a7de-2c2e08dc8eab', '8ee66982-64bd-4070-bc82-613d1190ecd6'], 'resumeAfterPowerInterruption': False}, 'nodes': {'lowWater': {'warning': False, 'empty': False}, 'waterTemperatureSensor': {'current': {'celsius': 25.93}, 'setpoint': {'celsius': 48.88}, 'enabled': True}, 'timer': {'mode': 'idle', 'initial': 0}}, 'metadata': {}}}}
2024-09-12 00:18:24.749 DEBUG (MainThread) [homeassistant.components.anova.coordinator] Manually updated Anova Precision Cooker data
2024-09-12 00:18:27.853 DEBUG (MainThread) [anova_wifi.websocket_handler] Found message {'command': 'EVENT_APC_STATE', 'payload': {'cookerId': '4vMw8eC1zGQcwAWISSgMc0', 'type': 'a7', 'state': {'version': 1, 'updatedTimestamp': '2024-09-12T07:18:27Z', 'systemInfo': {'deviceId': '4vMw8eC1zGQcwAWISSgMc0', 'online': True, 'firmwareVersion': '01.01.12', 'releaseTrack': 'production', 'firmwareUpdatedTimestamp': '2024-08-16T02:03:00Z', 'lastConnectedTimestamp': '2024-09-12T06:50:59Z', 'lastDisconnectedTimestamp': '2024-09-09T16:00:29Z', 'hardwareVersion': '1.0.0', 'triacsFailed': False}, 'state': {'mode': 'idle', 'temperatureUnit': 'F', 'processedCommandIds': ['743d683c-6c2b-473b-b229-be1350c33d86', '4d17e742-1ddc-419f-8064-56f08bd25d5f', '337edc5e-ff84-4153-9f30-5f5132a542a0', 'f3b36bba-558d-4592-9859-00b612f71774', 'a0e0acb4-4cab-4f25-ad75-7e0caadd0d95', 'd18bcbfc-b842-4be0-8252-df83b036998c', '749aaeed-7c44-41ff-af14-fc4368ec9c7f', '95981e1f-717e-41bd-a9d3-31cd4e956991', 'b627aed5-1e21-4c3b-a7de-2c2e08dc8eab', '8ee66982-64bd-4070-bc82-613d1190ecd6'], 'resumeAfterPowerInterruption': False}, 'nodes': {'lowWater': {'warning': False, 'empty': False}, 'waterTemperatureSensor': {'current': {'celsius': 25.92}, 'setpoint': {'celsius': 48.88}, 'enabled': True}, 'timer': {'mode': 'idle', 'initial': 0}}, 'metadata': {}}}}
2024-09-12 00:18:27.853 DEBUG (MainThread) [homeassistant.components.anova.coordinator] Manually updated Anova Precision Cooker data
2024-09-12 00:18:48.178 DEBUG (MainThread) [anova_wifi.websocket_handler] Found message {'command': 'EVENT_APC_STATE', 'payload': {'cookerId': '4vMw8eC1zGQcwAWISSgMc0', 'type': 'a7', 'state': {'version': 1, 'updatedTimestamp': '2024-09-12T07:18:47Z', 'systemInfo': {'deviceId': '4vMw8eC1zGQcwAWISSgMc0', 'online': True, 'firmwareVersion': '01.01.12', 'releaseTrack': 'production', 'firmwareUpdatedTimestamp': '2024-08-16T02:03:00Z', 'lastConnectedTimestamp': '2024-09-12T06:50:59Z', 'lastDisconnectedTimestamp': '2024-09-09T16:00:29Z', 'hardwareVersion': '1.0.0', 'triacsFailed': False}, 'state': {'mode': 'idle', 'temperatureUnit': 'F', 'processedCommandIds': ['3865627e-4722-4d6a-9425-5ec3ddf9cdbe', '93116beb-7105-49c1-a7a9-f5cbfcee06b0', 'deb2f0cb-4c51-4d60-b9de-77526dd4b722', '743d683c-6c2b-473b-b229-be1350c33d86', '4d17e742-1ddc-419f-8064-56f08bd25d5f', '337edc5e-ff84-4153-9f30-5f5132a542a0', 'f3b36bba-558d-4592-9859-00b612f71774', 'a0e0acb4-4cab-4f25-ad75-7e0caadd0d95', 'd18bcbfc-b842-4be0-8252-df83b036998c', '749aaeed-7c44-41ff-af14-fc4368ec9c7f'], 'resumeAfterPowerInterruption': False}, 'nodes': {'lowWater': {'warning': False, 'empty': False}, 'waterTemperatureSensor': {'current': {'celsius': 25.93}, 'setpoint': {'celsius': 48.88}, 'enabled': True}, 'timer': {'mode': 'idle', 'initial': 0}}, 'metadata': {}}}}
2024-09-12 00:18:48.178 DEBUG (MainThread) [homeassistant.components.anova.coordinator] Manually updated Anova Precision Cooker data
2024-09-12 00:19:01.931 DEBUG (MainThread) [custom_components.pyscript.apps.automatic_light.entity_trigger] office_lighting: Triggered: expr=binary_sensor.office_mmwave_here value=off
2024-09-12 00:19:01.936 DEBUG (MainThread) [custom_components.pyscript.apps.automatic_light.ms_trigger] office_lighting: MS trigger: value=off False
2024-09-12 00:19:01.937 DEBUG (MainThread) [custom_components.pyscript.apps.automatic_light.ms_trigger] office_lighting: [True, True]
2024-09-12 00:19:01.940 DEBUG (MainThread) [custom_components.pyscript.apps.automatic_light.turn_off_lights] office_lighting: Waiting for 10.0 minutes
2024-09-12 00:19:15.324 DEBUG (MainThread) [anova_wifi.websocket_handler] Found message {'command': 'EVENT_APC_STATE', 'payload': {'cookerId': '4vMw8eC1zGQcwAWISSgMc0', 'type': 'a7', 'state': {'version': 1, 'updatedTimestamp': '2024-09-12T07:19:14Z', 'systemInfo': {'deviceId': '4vMw8eC1zGQcwAWISSgMc0', 'online': True, 'firmwareVersion': '01.01.12', 'releaseTrack': 'production', 'firmwareUpdatedTimestamp': '2024-08-16T02:03:00Z', 'lastConnectedTimestamp': '2024-09-12T06:50:59Z', 'lastDisconnectedTimestamp': '2024-09-09T16:00:29Z', 'hardwareVersion': '1.0.0', 'triacsFailed': False}, 'state': {'mode': 'idle', 'temperatureUnit': 'F', 'processedCommandIds': ['1363339c-2680-442d-bea3-af0ef63629e5', '0731e03e-50ea-445b-89dd-0f74f88e1633', '1cc1c4be-8e11-4f40-9605-6ea049cdfbaa', '3865627e-4722-4d6a-9425-5ec3ddf9cdbe', '93116beb-7105-49c1-a7a9-f5cbfcee06b0', 'deb2f0cb-4c51-4d60-b9de-77526dd4b722', '743d683c-6c2b-473b-b229-be1350c33d86', '4d17e742-1ddc-419f-8064-56f08bd25d5f', '337edc5e-ff84-4153-9f30-5f5132a542a0', 'f3b36bba-558d-4592-9859-00b612f71774'], 'resumeAfterPowerInterruption': False}, 'nodes': {'lowWater': {'warning': False, 'empty': False}, 'waterTemperatureSensor': {'current': {'celsius': 25.92}, 'setpoint': {'celsius': 48.88}, 'enabled': True}, 'timer': {'mode': 'idle', 'initial': 0}}, 'metadata': {}}}}
2024-09-12 00:19:15.324 DEBUG (MainThread) [homeassistant.components.anova.coordinator] Manually updated Anova Precision Cooker data

Additional information

No response

rccoleman avatar Sep 12 '24 16:09 rccoleman