SonoffLAN
SonoffLAN copied to clipboard
LAN Mode shows to be working but relay not getting triggered
With the latest version 3.1.0 and latest HA 2022.7.6 if Internet access is lost the LAN mode shows to be working and you can use the toggles to switch ON/OFF (in my case a 2P breaker coolkit PSF-X67 Firmware: 3.5.0) however the actual relay on the device does not switch - you cannot hear any clicking sound firing. Wireshark shows proper communication between HA and the device.
Once the internet is restored the relay starts working normally again.
Do you have another Sonoff devices? Maybe this is a problem with only one model.
I have 1P breaker which is similar and will test it - is there any way to debug the communication maybe i can assist to patch it for this device somehow? Thanks
https://github.com/AlexxIT/SonoffLAN#issues
sonoff-acbaef0e8265af4f9b5096a42e68740a-2P-Test1-7d41673d4d699767918f5654d19822cc.json.txt
Attached diagnostics of the device.
System health page shows:
Sonoff Version 3.1.0 (b53f6be) Cloud devices online 1 / 1 Local devices online 1 / 1 Debug page – more info
More info / debug page shows as attached : debugLogs.txt
At 03:16:50 the internet was switched off but the breaker was responding fine. Once the it realized that it lost cloud mode and started blinking on the led the breaker was responding to the commands with no errors as shown in the log still showing online in lan mode but the relay was not in fact working (no clicking/switching).
Additionally the "Voltage" value is properly reported without cloud even after it stops working.
But relay change its status in respond messages:
03:16:52 - 03:17:28: switch on
03:17:37 - 03:17:38: switch off
03:17:40 - 03:17:40: switch on
It seems to work properly at the API level. If it doesn't actually work, you need to write to the manufacturer...
This must be some kind of firmware issue and not an API thing - thanks!
Please reopen the issue if it is still relevant