Hello Julien,
first of all, thanks for the amazing work. My entire home automation system relies on your integration and, if it was not there, I’d be completely stuck.
I’ve configured the integration correctly and everything works like a charm, but at a certain point it gets stuck.
I can no longer interact with lights, switches or whatever.
I used to notice events coming through all the time from the energy sensor, and now they’re all gone, the event stream is compeltely silent. Even events coming from the physical switches on the wall are not being received.
The home server itself is still running, the switches still works and I can access it via other apps.
The logs do not provide much information, the last two I have from myhome are
Logger: custom_components.myhome
Source: custom_components/myhome/gateway.py:387
integration: MyHome (documentation, issues)
First occurred: April 11, 2024 at 5:57:16 PM (2 occurrences)
Last logged: April 11, 2024 at 5:57:20 PM
[F454 gateway - 10.0.5.2] Could not send message `*#1*0110##`.
[F454 gateway - 10.0.5.2] Could not send message `*#1*0111##`.
which I think might be the periodic message to wake up the power meter.
The only way to get things working again is to reboot HA.
This happens pretty much once a day, it is quite a nuisance.
Here is the chart of the power meter, the flat lines are when the integration stops and the same value is held until reboot.
Do you have any idea as to why? What other info can I provide?
I have found some logs that might point to an issue. It seems at a certain point the session is lost or has to be renewed and it gets stuck in a loop.
2024-04-14 19:47:24.507 INFO (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Sensor 1 is reporting an active power draw of 486 W.
2024-04-14 19:47:41.665 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message received: `*1*1000#1*13##`
2024-04-14 19:47:41.665 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Ignoring translation message `*1*1000#1*13##`
2024-04-14 19:47:41.717 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message received: `*1*10*13##`
2024-04-14 19:48:07.801 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` was successfully queued.
2024-04-14 19:48:07.810 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Command session connection reset, retrying...
2024-04-14 19:48:07.810 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Opening command session.
2024-04-14 19:48:07.815 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Negotiating command session.
2024-04-14 19:48:07.818 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Received SHA challenge: `*98*2##`
2024-04-14 19:48:07.818 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Accepting sha256 challenge, initiating handshake.
2024-04-14 19:48:07.821 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Sending command session password.
2024-04-14 19:48:07.989 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` received response `*#18*51*51*567463##`.
2024-04-14 19:48:08.031 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` was successfully sent.
2024-04-14 19:49:07.801 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` was successfully queued.
2024-04-14 19:49:07.810 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Command session connection reset, retrying...
2024-04-14 19:49:07.811 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Opening command session.
2024-04-14 19:49:07.815 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Negotiating command session.
2024-04-14 19:49:07.818 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Received SHA challenge: `*98*2##`
2024-04-14 19:49:07.819 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Accepting sha256 challenge, initiating handshake.
2024-04-14 19:49:07.821 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Sending command session password.
2024-04-14 19:49:07.989 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` received response `*#18*51*51*567463##`.
2024-04-14 19:49:08.030 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` was successfully sent.
2024-04-14 19:50:07.802 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Message `*#18*51*51##` was successfully queued.
2024-04-14 19:50:07.812 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Command session connection reset, retrying...
2024-04-14 19:50:07.812 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Opening command session.
2024-04-14 19:50:07.817 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Negotiating command session.
2024-04-14 19:50:07.820 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Received SHA challenge: `*98*2##`
2024-04-14 19:50:07.820 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Accepting sha256 challenge, initiating handshake.
2024-04-14 19:50:07.823 DEBUG (MainThread) [custom_components.myhome] [F454 gateway - 10.0.5.2] Sending command session password.
2024-04-14 19:50:
Looking back at the topic it seems I might have the same issue as @XDUSS had here
@XDUSS have you solved the issue somehow?