AlexxIT/SonoffLAN

Led driver Became unavailable repeatedly

Closed this issue · 18 comments

Sonoff L2 led driver attached to ewelink via wifi became unavailable after few seconds and became available again after few seconds.
It repeats continously.
In ewelink app the device working and available properly. (Previously it was fine, but I see this issue sonce I upgraded from 2024.6.x to 7.2 -7.3.7.4

Additionally when it happens for few minutes my server restarts unexpectedly.
When I disable the this led driver entity I don't see any issue with the system.

Same is for me and worse. All my switched which have power meters in it become unavailable and after 3 seconds available. All my wifi door sensors behave the same. And this unavailability and availability is going on since 5 days.

Thanks Alex. Can you please highlight the relevant section to solve my issue? (I went through on it earlier but didn't find...)

Thanks

This link with anchor to Issues section. No sense to post any problems without diagnostics.

I have same issue. It become last week. For couple days worked fine and then again connecting and disconnecting every 4-5 s for week and continue today. Only the devises which are conected in local network are work as they should.

I have same issue. It become last week. For couple days worked fine and then again connecting and disconnecting every 4-5 s for week and continue today. Only the devises which are conected in local network are work as they should.

For me it is exactly the same, even now i have the issue.

Traceback (most recent call last):
  File \"/config/custom_components/sonoff/core/ewelink/cloud.py\", line 598, in _process_ws_msg
    self._set_response(data[\"sequence\"], data[\"error\"])
                       ~~~~^^^^^^^^^^^^
KeyError: 'sequence'

Fixed in master version

Fixed in master version

Thanks @AlexxIT for your reply and effort.
I'm not a tech guy. Can you please help me "Fixed in master version" means an update will arrive to HA later on or I / we need to update something in the existing system?

Thanks

If you don't wont to wait next release - you should install master version manually

Hi @AlexxIT ,

Thanks to release the new revision. I immediately updated my system and enabled the devices but still get the same behavior. Please see attached the diag file.
config_entry-sonoff-6dc973a342efe5cabc38657981f06212.json

Can you please check what could be the problem?
Thanks
Attila

@AlexxIT Awesome. Thanks :)
Now it is working :)