I have Hass Core running on a Raspberry Pi 4, but have noticed that for a while with older versions, every now and then Hass Core according to the service information:
hass.service: Main process exited, code=killed, status=11/SEGV
it can run for days or even weeks and not have a problem, but I recorded the last two times it has happened with 0.114.4 and the last entries that are in the home-assistant.log always seem to report pyloopenergy component
Is there any other way I can troubleshoot why it fully dies - as it can be a long time between when this happens I’d rather not disable the component if I can help it.
Some of the examples of the last time the hass daemon was no longer running;
these are the only entries around that time in the log
27th August;
2020-08-27 23:10:19 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] No updates for 60 - reconnecting
2020-08-27 23:10:19 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-08-27 23:13:25 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] No updates for 60 - reconnecting
2020-08-27 23:13:25 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-08-27 23:13:25 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-08-27 23:13:25 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-08-27 23:13:26 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-08-27 23:13:26 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-08-27 23:13:27 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-08-27 23:13:27 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-08-27 23:15:14 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] No updates for 60 - reconnecting
2020-08-27 23:15:14 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
10 Sept:
2020-09-10 23:28:57 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] No updates for 60 - reconnecting
2020-09-10 23:28:57 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:28:58 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:28:58 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:28:59 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:28:59 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:29:00 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:29:00 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:29:01 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:29:01 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:29:02 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:29:02 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:29:03 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:29:03 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:31:51 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] No updates for 60 - reconnecting
2020-09-10 23:31:51 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:31:52 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:31:52 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:40 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] No updates for 60 - reconnecting
2020-09-10 23:34:40 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:41 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:41 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:42 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:42 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:42 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:42 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:43 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:43 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:44 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:44 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:45 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:45 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:46 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:46 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection
2020-09-10 23:34:47 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Exception (will try to reconnect) - send disconnected (EOF occurred in violation of protocol (_ssl.c:2472))
2020-09-10 23:34:47 WARNING (LoopEnergy Event Thread) [pyloopenergy.loop_energy] Retrying socket connection