I got those too! I simple logged out and re-logged in using the eWeLink HA integration when it happens. Just check my log and have another twenty as of right now. Looks like eWeLink is having/causing the issue. I also have the Sonoff/AlexxIT (HACS) running and is still working just fine.
Try restarting the eWeLink add-on and then individually polling each device.
Hello
Thank you for the answer. Well, I do not have EWeLink integration I only use HACS SonoffLan.
So I made an update and it came back. I wait to see during the day if they disconnect again.
Thank you
I experienced similar behavior some time ago. I downgraded SonoffLAN to v3.3.1, let it “settle” on that older version for a couple of days until the mysterious disconnections started again. Then I upgraded SonoffLAN to the latest v3.5.2 again. This finally “fixed” the issue and those disconnections stopped. Worth a try, Laurent.
Thanks,a lot for the information
So I have now downgraded and after a restart, it shows that I need to re-configure Sonoff integration, and 2 account appeared (same tel# but country code only and second with +).
Anyway I enter my informations and get this message:
Update:
I search and found that some people change these informations:
Try changing the 0 to 1 in line 107 of /custom_components/sonoff/core/ewelink/cloud.py
Yes. Before I had EWeLink. Then I delete it and install SonoffLAN. I thought Sonoff integration was part of SonoffLAN. Seems that I missed something here… should I also delete Sonoff Integration ?
Our server has observed a substantial influx of requests originating from this project. After a thorough analysis, we’ve identified that many users are utilizing default personal APPID configuration parameters. However, as this project still employs the v1 interface, which is no longer under maintenance, it’s leading to various issues.
To ensure interface security and mitigate potential risks, we are gradually discontinuing the v1 interface and will render it entirely inaccessible in the future.
We encourage individual users to utilize the eWeLink Developer Center for free. By visiting https://dev.ewelink.cc/, you can create your own application and obtain a unique APPID. This personalized APPID can be used continuously within reasonable limits.
We’ve also taken note of reports from numerous users indicating certain feature limitations due to the project being inactive for the past three years. An alternative option available is the ewelink-api-next - npm library. This library leverages the v2 interface and has comprehensively encapsulated all available v2 interfaces. It offers local area network discovery, and control functionalities, and facilitates bidirectional communication with devices through established WebSocket connections. This enables real-time data exchange and receipt of device-generated updates.
Should you require further information or assistance, please don’t hesitate to contact us.
So it looks like the SonoffLan Integration by AlexxIT will need to be update to the eWeLink V2 standard and the documentation also updated.
I 've posted this same response in the AlexxIT - Sonoff repository issues area.
I’m using the SonoffLan (AlexxIT/HACS) and the eWeLink Sonoff Add-On (Which could be disabled very soon since they are working on a Web App that looks like HA (there maybe a subscription cost involved).
So I’m hoping that AlexxIT will redo the SonoffLAN to use the new V2 API instead and drop eWeLink (except to use the phone app to pair it to the home network (LAN).
I can do things with HA that their Web App and phone app won’t let you do currently, so I’ll stick with SonoffLAN (AlexxIT) over all that other stuff
Otherwise I may have to resort to flashing my plugs, another learning curve and hardware purchase involved.
I start to be confuse in fact, it is,installation in HACS of SonoffLAN then configuration in add-on app Sonoff. Right? If yes, it means that I have only SonoffLAN.