Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud based switches and sensors became unavailable #1476

Closed
adamnagybig opened this issue Aug 31, 2024 · 6 comments
Closed

Cloud based switches and sensors became unavailable #1476

adamnagybig opened this issue Aug 31, 2024 · 6 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists
Milestone

Comments

@adamnagybig
Copy link

config_entry-sonoff-01J6MA1HPBW0MH3GNPQT4J9H6X.json

I Have SonoffLan installed more than 1 year ago and there were no problems but since 2 months ago all my switches and sensors which are connected via cloud ( sonoff is on auto mode ) are becaming available and after 5 second unavailable and this goes in a loop since 2 months.
In paralel I was checking the ewelink software and there are no problems.

Today i have deleted everything from HA and made a new setup and the result was the same.

Can you please offer support to make it stable again or maybe something is wrong on the ewelink side that it is not communicating stable ?

@Claudiotas
Copy link

Claudiotas commented Aug 31, 2024

I have a similar problem but the devices are always unavailable
All my sonoff ZigBee devices are down in HA, sonoff wifi devices are good and on their app are all available (wifi and ZigBee)

@gedm
Copy link

gedm commented Sep 1, 2024

Hello, I'm seeing similar behavior with my WIFI devices. Also, they indicate not available in HA but work fine in Ewelink. Please let me know what information is needed to help resolve the issue.

@AlexxIT AlexxIT added the bug Something isn't working label Sep 1, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Sep 1, 2024

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'

@AlexxIT
Copy link
Owner

AlexxIT commented Sep 1, 2024

Traceback (most recent call last):
  File \"/config/custom_components/sonoff/__init__.py\", line 208, in async_setup_entry
    devices = await registry.cloud.get_devices(homes)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \"/config/custom_components/sonoff/core/ewelink/cloud.py\", line 433, in get_devices
    raise Exception(resp[\"msg\"])
Exception: cannot found access token info

@AlexxIT AlexxIT added this to the v1.7.4 milestone Sep 1, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Sep 1, 2024

Error is duplicate #1460
Fixed in master version

@AlexxIT AlexxIT closed this as completed Sep 1, 2024
@AlexxIT AlexxIT added the duplicate This issue or pull request already exists label Sep 1, 2024
@AlexxIT AlexxIT modified the milestones: v1.7.4, v3.8.0 Sep 7, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Sep 8, 2024

@AlexxIT AlexxIT reopened this Sep 8, 2024
@AlexxIT AlexxIT closed this as completed Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants