AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.63k stars 410 forks source link

Sonoff Dw2 Wifi - Sync issue between ewelink app and homeassistant #1036

Closed firdaushadi442 closed 1 year ago

firdaushadi442 commented 1 year ago

Sync between home assistant (sonofflan) and ewelink need to reload always. Its only sync a few second/hours after reload. For example, when i close the door, in ewelink app (closed) and home assistant (closed), after a few second/hours when i open the door, in ewelink app (opened) but in home assistant app (closed), then i need to reload sonofflan or restart home assistant to sync back between ewelink app and homeassistant app. And it happened over and over again. sorry for my bad english.

Jellybabz commented 1 year ago

I have a similar issue. Home assistant does not update only when i reload the integration. alle my temperatures and humidity sensors does only pull data from ewelink app when i reload the intergration.

i have attach an image with the time and date when it stopped working. Skærmbillede 2022-11-17 kl  11 50 35

JKSniper1 commented 1 year ago

Hello! I have exact same problem. If go in settings and switch between "auto/cloud" or "local/cloud", no matter the combination, it will update that moment just fine. But after that there is no more updates.

I pressed that button 9h ago... and before that a day...etc. values are not refreshing. image

Also when I press a button to turn on/off a switch. It will turn it on, but the icon and state won't get refreshed.

scordier1 commented 1 year ago

I have the same issue all my devices hanging off my zigbee bridge only responds for a few minutes after a restart of HA or a reload of the sonoff integration

H-B-C commented 1 year ago

I have the same problem. All my Sonoff devices WiFi and Zigbee are hanging.

Ceplin82 commented 1 year ago

Same issue. I try to use my Sonoff SNZB-02 sensors to trigger the heating system but they refresh only randomly or after Home assistant restart. The sensors are works porperly: image

BeRGB commented 1 year ago

54FB99ED-071C-40E2-9078-FE3315281CB7 I have same problem with switches, when I toggle switch ON app change state but on HA don’t, only when I do few times on/off it change state on HA but few minutes later same story again. As you see on pic, I toggle switch but noting happens on HA log side

kozaczi commented 1 year ago

I have the same. Zigbee are not rehreshing temp and humidity value. Propably I swap them by esphome +dht22. :(

jan-bee commented 1 year ago

I same problem, its works for seconds after integration reload, than its not renew informations, but eWelink cloud is still functional. After integration reload it is working again for couple of seconds. I hapened after I updated from core 2022.9.5 to 2022.11.5.

sgdva commented 1 year ago

I can confirm this behavior as well for contact sensor connected through the bridge: first read works, then stops afterwards, However, lightbulbs work fine. I tried on version 2022.04 for HA and then updated to the latest 2022.12 thinking this would solve it, but it didn't

danieletognetti01 commented 1 year ago

Same problem with sonoff DW2-L wifi

AlexxIT commented 1 year ago

This problem can happen because some errors from any of your devices. Without error description it can't be fixed.