core: Mysensors integration stops updating entities

The problem

I have HomeAssistant OS installed which connects to raspberrypi with installed MySensors Ethernet Gateway. HomeAssistant is in the same LAN but on different machine. After Raspberry Pi restart MySensors integration stops working. It does not update any entities. Manual reload of integration is necessary to make it working again. I grabbed some debug logs from mysensors (attached). MySensors integration also stops logging after last entry about saving sensors .

What version of Home Assistant Core has the issue?

2022.11.4

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

mysensors

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-11-27 11:18:32.283 DEBUG (MainThread) [mysensors.transport] Receiving 0;255;3;0;2;0.0.1
2022-11-27 11:18:32.285 DEBUG (MainThread) [mysensors.transport] Receiving 0;255;3;0;12;0.0.1
2022-11-27 11:18:32.286 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
2022-11-27 11:18:32.287 DEBUG (MainThread) [mysensors.transport] Receiving 0;255;0;0;18;2.3.0
2022-11-27 11:18:32.288 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
2022-11-27 11:18:32.289 DEBUG (MainThread) [mysensors.gateway_tcp] Connection lost with <_SelectorSocketTransport closing fd=52 read=idle write=<idle, bufsize=0>>
2022-11-27 11:18:33.206 DEBUG (MainThread) [mysensors.gateway_tcp] Connection lost with <_SelectorSocketTransport closing fd=47 read=idle write=<idle, bufsize=0>>
2022-11-27 11:18:42.163 DEBUG (SyncWorker_6) [mysensors.persistence] Saving sensors to persistence file /config/mysensors_69478a2845889930e4b5b400b737372c.json

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (2 by maintainers)

Most upvoted comments

Hello, 5 days ago, i’ve added a 220uf capacitor on 3.3v supply of the esp32. And the fault didnt appear anymore. Clearly, it is a power supply issue. Mycontroller have a more robust way to handle the connexion than hass. But it is not really a hass problem. Thank you for making this soft so good.