devices like Sonoff POW(WDYK MCB, POW CT)
I have two devices like Sonoff POW, one WDYK micro circuit breaker(UIID 32), one like SONOFF POW CT(UIID 226). I don't know how to use LAN Mode, so I choose AUTO Mode, System Health page shows they are using Cloud Mode.
my problem is, the intergration get uncertain reporting interval, sometimes in seconds, sometimes in hours.
my question is, how to make them working properly with interval in seconds or minutes. I tried the configuration
sonoff:
devices:
1002537716:
reporting:
power: [10, 300, 1]
current: [10, 300, 0.01]
voltage: [10, 10, 1]
seems not working.
by the way, the force update automation was also not working, it didn't change any thing
Which devices are working fine and which are not?
both are not working fine
You can check debug logs https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues
I got information about Cloud connection issue and no hundredDaysKwhData return. I just do not know why it happend so suddenly, there must be a reason and a solution. Ewelink doesn't allow such interval and blcok the connection? any idea?
and is there a detailed tutorial to work with Local LAN Mode? thanks a lot
- Don't understand about
hundredDaysKwhData - https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#common-problems-in-only-lan-mode
config_entry-sonoff-01JZMAW6SM8VH4PSM5JE58QBX7.json
home-assistant_sonoff_2025-07-11T07-17-29.221Z.log
09f179b6-12e1-49df-9d21-287e4e917171.txt
I thought you also use the hundredDaysKwhData to get the energy value. Maybe your intergration is not supporting UIID 226 device yet? it seems something is causing the cloud connection error
226 supported https://github.com/AlexxIT/SonoffLAN/blob/0837c19a835a9eda624019beaa1d4de630876701/custom_components/sonoff/core/devices.py#L429
re-installing the integration is getting worse, there is no device any more, only get:
2025-07-11 18:48:53 [D] CLOUD change state old=True, new=True 2025-07-11 18:51:42 [W] Cloud processing error| File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 543, in run_forever| resp = json.loads(msg.data)|TypeError: the JSON object must be str, bytes or bytearray, not ServerTimeoutError|
I think it is the same 504 issue https://github.com/AlexxIT/SonoffLAN/issues/1563
You are using an outdated integration version.
Hi Alex, Firstly, thank you for all your hard work on this integration - it is excellent.
I have been struggling for a few days with a similar issue and have not wanted to waste your time, but I am now out of options. I have deleted and re-installed everything, but this does not seem to make any difference I have several power management devices (all have exactly the same issue). I attach 2 videos. As can be seen in the first clip the energy updates automatically, but no other values are updated, even if the device is turned on and off. As soon as I go into the ewlink app and go into the consumption section then all values are updated and continue to update correctly (as can be seen in second clip). This works for a few minutes and then stops updating until I go into the ewlink app again. I have been through your support suggestions above with no success. Any assistance would be greatly appreciated.
https://github.com/user-attachments/assets/85e30814-df54-4ab4-b2cb-69072ce34fbc
https://github.com/user-attachments/assets/8bf0adc4-43b5-4ab8-9dab-84943ed4f861
@StephenProwse I won't say anything new: https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues
You need to apply integration diagnostics and study debug logs.
The mobile application has access to the cloud. And sends a request for regular updates of this data. It is unknown whether this component has the same access.