Open basakmurat2005 opened 1 month ago
Yes, it’s the same here. When I restart the integration, it starts working again but stops after a while.
By the way, I have switched to the eWeLink (Original) Add-on instead of Sonoff for now, but I prefer to use the Sonoff integration. I will be following this issue up and switching back to Sonoff when the problem is solved.
By the way, I have switched to the eWeLink (Original) Add-on instead of Sonoff for now, but I prefer to use the Sonoff integration. I will be following this issue up and switching back to Sonoff when the problem is solved.
şu an çalışıyor mu sizin ki
By the way, I have switched to the eWeLink (Original) Add-on instead of Sonoff for now, but I prefer to use the Sonoff integration. I will be following this issue up and switching back to Sonoff when the problem is solved.
şu an çalışıyor mu sizin ki
TR: Dediğim gibi, Sonoff yerine eWeLink Add-on kurarak çalıştırdım ama her restartta tüm sensörlerin state'leri değişiyor, eğer otomasyon kurduysanız hepsi tetikleniyor. Şimdilik işimi görüyor ama Sonoff kullanmayı tercih ederim.
EN: As I said, I started using the eWeLink Add-on, and it works, but not well. All the sensors’ states are triggered after each restart, and the automations are run. I prefer to use the Sonoff integration.
Now I changed the configuration to cloud. (It was at AUTO). Now everything is working
Yes, it’s the same here. When I restart the integration, it starts working again but stops after a while.
I have the same issue. Setting it cloud didn't help.. reverts to stagnant state after sometime
https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues
could you please tell us what to do?
I've been experiencing the same issue for the past two days. Despite trying several solutions, including completely removing and reinstalling the integration, the problem persists. I even attempted the following YAML automation to force an update of the values, but without success.
- id: 'sonoff_temperature_forced_update'
alias: Sonoff Temperature Forced Update
trigger:
- platform: time_pattern
minutes: '/1'
seconds: 30
action:
- service: homeassistant.update_entity
target:
entity_id: sensor.sonoff_a4b001333f_temperature
Here is my diagnostics:
{
"home_assistant": {
"installation_type": "Home Assistant Supervised",
"version": "2024.10.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.4",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Istanbul",
"os_name": "Linux",
"os_version": "6.1.0-25-amd64",
"supervisor": "2024.10.2",
"host_os": "Debian GNU/Linux 12 (bookworm)",
"docker_version": "27.3.1",
"chassis": "laptop",
"run_as_root": true
},
"custom_components": {
"openrgb": {
"documentation": "https://github.com/koying/openrgb_ha",
"version": "2.3",
"requirements": [
"openrgb-python==0.2.10"
]
},
"smart_thermostat": {
"documentation": "https://github.com/ScratMan/HASmartThermostat",
"version": "2024.6.1",
"requirements": []
},
"virtual": {
"documentation": "https://github.com/twrecked/hass-virtual/blob/master/README.md",
"version": "0.8.0.1",
"requirements": []
},
"versatile_thermostat": {
"documentation": "https://github.com/jmcollin78/versatile_thermostat",
"version": "6.3.0",
"requirements": []
},
"xiaomi_miot": {
"documentation": "https://github.com/al-one/hass-xiaomi-miot",
"version": "0.7.20",
"requirements": [
"construct>=2.10.68",
"python-miio>=0.5.12",
"micloud>=0.5"
]
},
"dwd": {
"documentation": "https://github.com/hg1337/homeassistant-dwd#readme",
"version": "2024.9.0",
"requirements": [
"defusedxml==0.7.1"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "2.0.1",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"zenggemesh": {
"documentation": "https://github.com/SleepyNinja0o/home-assistant-zengge",
"version": "0.1.1",
"requirements": [
"pycryptodome>=3.17",
"cryptography"
]
},
"dreame_vacuum": {
"documentation": "https://github.com/Tasshack/dreame-vacuum",
"version": "v1.0.4",
"requirements": [
"pillow",
"numpy",
"pybase64",
"requests",
"pycryptodome",
"python-miio",
"py-mini-racer",
"tzlocal",
"paho-mqtt"
]
},
"sonoff": {
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"version": "3.8.1",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"apparent_temperature": {
"documentation": "https://github.com/Limych/ha-apparent-temperature",
"version": "1.1.1",
"requirements": [
"pip>=21.3.1"
]
}
},
"integration_manifest": {
"domain": "sonoff",
"name": "Sonoff",
"codeowners": [
"AlexxIT"
],
"config_flow": true,
"dependencies": [
"http",
"zeroconf"
],
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"iot_class": "local_push",
"issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
"requirements": [
"pycryptodome>=3.6.6"
],
"version": "3.8.1",
"is_built_in": false
},
"setup_times": {
"null": {
"setup": 0.00011195382103323936
},
"01JAK1TRYW3G9V720EF2TPGQ6G": {
"wait_import_platforms": -9.721401147544384e-05,
"wait_base_component": -0.005892415996640921,
"config_entry_setup": 7.056326744845137
}
},
"data": {
"version": "ffa7e22",
"cloud_auth": true,
"config": {
"username": "***",
"password": "***",
"force_update": [
"power",
"temperature",
"humidity",
"motion",
"sensor",
"switch"
],
"scan_interval": "00:00:30"
},
"options": {
"mode": "cloud",
"debug": false
},
"errors": [],
"devices": {
"ac0c00149d": {
"uiid": 20008,
"params": {
"bindInfos": "***",
"uniqueID": "2ebb4b368e104db405cbfaec7c7de961",
"parentid": "abfc0009b5",
"switch": "off"
},
"model": "NON-OTA-GL(20008)",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"ac0c00149c": {
"uiid": 20008,
"params": {
"bindInfos": "***",
"uniqueID": "215a6d7ab4df8fee0fc5fd080406ea8b",
"parentid": "abfc0009b5",
"switch": "off",
"colorMode": "cct",
"cctBrightness": 31,
"colorTemp": 37
},
"model": "NON-OTA-GL(20008)",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"abfc0009b5": {
"uiid": 20000,
"params": {
"partnerDevice": {
"ezVedioSerial": "9594dd4b-bede-4d13-8a9b-907eb65d6367"
},
"subDevices": [
{
"deviceid": "ac0c00149c"
},
{
"deviceid": "ac0c00149d"
}
]
},
"model": "NON-OTA-GL(20000)",
"online": false,
"local": null,
"localtype": null,
"host": null
},
"a4b001710c": {
"uiid": 3026,
"params": {
"bindInfos": "***",
"subDevId": "a633a12f004b12003026",
"parentid": "10020bb3c0",
"battery": 100,
"trigTime": "1727643153000",
"supportPowConfig": 1,
"lock": 0,
"subDevRssiSetting": {
"active": 60,
"duration": 5
},
"subDevRssi": -56
},
"model": "ZIGBEE_DOOR_AND_WINDOW_SENSOR",
"online": false,
"local": null,
"localtype": null,
"host": null
},
"10020bb3c0": {
"uiid": 168,
"params": {
"bindInfos": "***",
"version": 8,
"sledOnline": "on",
"staMac": "***",
"rssi": -29,
"zled": "on",
"buzzerAlarm": {
"mode": "stop"
},
"hostVersion": "2.0.0",
"coordinatorVersion": "2.7.19",
"subDevMaxNum": 128,
"currentChannel": 11,
"fwVersion": "2.0.0",
"subDevices": [
{
"subDevId": "a633a12f004b12003026",
"deviceid": "a4b001710c",
"uiid": "3026",
"index": 0
}
],
"timeZone": 3,
"addSubDevState": "off",
"addDevTime": 180,
"localScenesLists": [],
"localScenesTimeStamp": "1728409072488",
"localScenes_0": {
"action": "del"
},
"localScenes_1": {
"action": "del"
},
"localScenes_2": {
"action": "del"
},
"only_device": {
"ota": "success",
"ota_fail_reason": 0
},
"resetCode": 1,
"directDevNum": 1,
"routerDevNum": 1,
"nvPanID": 41418,
"panID": 41418
},
"model": "ZBBridge-P",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"100166b425": {
"uiid": 14,
"params": {
"bindInfos": "***",
"version": 8,
"only_device": {
"ota": "success"
},
"sledOnline": "on",
"ssid": "***",
"bssid": "***",
"switch": "off",
"fwVersion": "3.5.1",
"rssi": -58,
"staMac": "***",
"startup": "off",
"init": 1,
"pulse": "off",
"pulseWidth": 500
},
"model": "SV",
"online": false,
"local": null,
"localtype": null,
"host": null
},
"a4b0016c4b": {
"uiid": 7004,
"params": {
"bindInfos": "***",
"subDevId": "57300ffefff410347004",
"parentid": "10020bb138",
"fwVersion": "1.0.14",
"switch": "off",
"subDevRssi": -62,
"subDevRssiSetting": {
"active": 60,
"duration": 5
}
},
"model": "ZBMINIL2",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"a4b0016c30": {
"uiid": 2026,
"params": {
"bindInfos": "***",
"subDevId": "8a6ca32f004b12002026",
"parentid": "10020bb138",
"subDevRssi": -75,
"battery": 100,
"trigTime": "1729372659000",
"supportPowConfig": 1,
"motion": 0,
"subDevRssiSetting": {
"active": 60,
"duration": 5
}
},
"model": "ZIGBEE_MOBILE_SENSOR",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"a4b0013346": {
"uiid": 3026,
"params": {
"bindInfos": "***",
"subDevId": "f90d3329004b12003026",
"parentid": "10020bb138",
"subDevRssi": 127,
"battery": 100,
"trigTime": "1729341312000",
"supportPowConfig": 1,
"lock": 0,
"subDevRssiSetting": {
"active": 60,
"duration": 5
}
},
"model": "ZIGBEE_DOOR_AND_WINDOW_SENSOR",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"a4b001333f": {
"uiid": 7014,
"params": {
"bindInfos": "***",
"subDevId": "047535feff1227847014",
"parentid": "10020bb138",
"timeZone": 3,
"battery": 100,
"trigTime": "1729372131000",
"supportPowConfig": 1,
"temperature": "2400",
"tempComfortStatus": 0,
"fwVersion": "1.0.9",
"humidity": "5000",
"humiComfortStatus": 0,
"subDevRssi": -59,
"tempUnit": 0,
"tempComfortLower": "1900",
"tempComfortUpper": "2700",
"humiComfortLower": "4000",
"humiComfortUpper": "6000",
"subDevRssiSetting": {
"active": 60,
"duration": 5
}
},
"model": "SNZB-02D",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"100166bb64": {
"uiid": 14,
"params": {
"bindInfos": "***",
"version": 8,
"only_device": {
"ota": "success"
},
"sledOnline": "on",
"ssid": "***",
"bssid": "***",
"switch": "off",
"fwVersion": "3.7.6",
"rssi": -57,
"staMac": "***",
"startup": "off",
"init": 1,
"pulse": "off",
"pulseWidth": 500,
"rstReason": 0,
"exccause": 0,
"epc1": 0,
"epc2": 0,
"epc3": 0,
"excvaddr": 0,
"depc": 0,
"longOffline": 1
},
"model": "SV",
"online": true,
"local": null,
"localtype": null,
"host": null
},
"10020bb138": {
"uiid": 168,
"params": {
"bindInfos": "***",
"version": 8,
"sledOnline": "on",
"staMac": "***",
"rssi": -58,
"zled": "on",
"buzzerAlarm": {
"mode": "stop"
},
"hostVersion": "2.1.0",
"coordinatorVersion": "2.7.19",
"subDevMaxNum": 128,
"currentChannel": 20,
"fwVersion": "2.1.0",
"subDevices": [
{
"subDevId": "047535feff1227847014",
"deviceid": "a4b001333f",
"uiid": "7014",
"index": 0
},
{
"subDevId": "f90d3329004b12003026",
"deviceid": "a4b0013346",
"uiid": "3026",
"index": 0
},
{
"subDevId": "8a6ca32f004b12002026",
"deviceid": "a4b0016c30",
"uiid": "2026",
"index": 0
},
{
"subDevId": "57300ffefff410347004",
"deviceid": "a4b0016c4b",
"uiid": "7004",
"index": 0
}
],
"timeZone": 3,
"addSubDevState": "off",
"addDevTime": 180,
"localScenesLists": [
"localScenes_0",
"localScenes_1"
],
"localScenesTimeStamp": "1726959600647",
"localScenes_0": {
"sceneId": "65f395d08a71805079bb36c7",
"action": "add",
"operations": [
{
"buzzerAlarm": {
"test": false,
"mode": "keep",
"volume": 100,
"duration": 300
},
"deviceid": "10020bb138"
},
{
"deviceid": "a4b0016c4b",
"switch": "on"
}
],
"triggers": [
{
"deviceid": "a4b0013346",
"lock": 1
}
],
"effectSection": {
"days": [
0,
1,
2,
3,
4
],
"from": "23:00",
"to": "03:30"
},
"triggersRelation": "or"
},
"localScenes_1": {
"sceneId": "66e61077c0de4243ce933d73",
"action": "add",
"operations": [
{
"buzzerAlarm": {
"test": false,
"mode": "keep",
"volume": 100,
"duration": 300
},
"deviceid": "10020bb138"
},
{
"deviceid": "a4b0016c4b",
"switch": "on"
}
],
"triggers": [
{
"deviceid": "a4b0013346",
"lock": 1
}
],
"effectSection": {
"days": [
5,
6
],
"from": "23:00",
"to": "05:30"
},
"triggersRelation": "or"
},
"localScenes_2": {
"action": "del"
},
"only_device": {
"ota": "success",
"ota_fail_reason": 0
},
"cmd": "getChannelInfo",
"resetCode": 3,
"directDevNum": 4,
"routerDevNum": 1,
"nvPanID": 50816,
"panID": 50816,
"localScenes_3": {
"action": "del"
},
"gatewayBindRelations": [],
"ssid": "***",
"bssid": "***"
},
"model": "ZBBridge-P",
"online": true,
"local": null,
"localtype": null,
"host": null
}
}
}
}
{
"home_assistant": {
"installation_type": "Home Assistant Supervised",
"version": "2024.10.3",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.4",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Istanbul",
"os_name": "Linux",
"os_version": "6.1.0-25-amd64",
"supervisor": "2024.10.2",
"host_os": "Debian GNU/Linux 12 (bookworm)",
"docker_version": "27.3.1",
"chassis": "laptop",
"run_as_root": true
},
"custom_components": {
"openrgb": {
"documentation": "https://github.com/koying/openrgb_ha",
"version": "2.3",
"requirements": [
"openrgb-python==0.2.10"
]
},
"smart_thermostat": {
"documentation": "https://github.com/ScratMan/HASmartThermostat",
"version": "2024.6.1",
"requirements": []
},
"virtual": {
"documentation": "https://github.com/twrecked/hass-virtual/blob/master/README.md",
"version": "0.8.0.1",
"requirements": []
},
"versatile_thermostat": {
"documentation": "https://github.com/jmcollin78/versatile_thermostat",
"version": "6.3.0",
"requirements": []
},
"xiaomi_miot": {
"documentation": "https://github.com/al-one/hass-xiaomi-miot",
"version": "0.7.20",
"requirements": [
"construct>=2.10.68",
"python-miio>=0.5.12",
"micloud>=0.5"
]
},
"dwd": {
"documentation": "https://github.com/hg1337/homeassistant-dwd#readme",
"version": "2024.9.0",
"requirements": [
"defusedxml==0.7.1"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "2.0.1",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"zenggemesh": {
"documentation": "https://github.com/SleepyNinja0o/home-assistant-zengge",
"version": "0.1.1",
"requirements": [
"pycryptodome>=3.17",
"cryptography"
]
},
"dreame_vacuum": {
"documentation": "https://github.com/Tasshack/dreame-vacuum",
"version": "v1.0.4",
"requirements": [
"pillow",
"numpy",
"pybase64",
"requests",
"pycryptodome",
"python-miio",
"py-mini-racer",
"tzlocal",
"paho-mqtt"
]
},
"sonoff": {
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"version": "3.8.1",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"apparent_temperature": {
"documentation": "https://github.com/Limych/ha-apparent-temperature",
"version": "1.1.1",
"requirements": [
"pip>=21.3.1"
]
}
},
"integration_manifest": {
"domain": "sonoff",
"name": "Sonoff",
"codeowners": [
"AlexxIT"
],
"config_flow": true,
"dependencies": [
"http",
"zeroconf"
],
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"iot_class": "local_push",
"issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
"requirements": [
"pycryptodome>=3.6.6"
],
"version": "3.8.1",
"is_built_in": false
},
"setup_times": {
"null": {
"setup": 0.00011195382103323936
},
"01JAK1TRYW3G9V720EF2TPGQ6G": {
"wait_import_platforms": -9.721401147544384e-05,
"wait_base_component": -0.005892415996640921,
"config_entry_setup": 7.056326744845137
}
},
"data": {
"version": "ffa7e22",
"cloud_auth": true,
"config": {
"username": "***",
"password": "***",
"force_update": [
"power",
"temperature",
"humidity",
"motion",
"sensor",
"switch"
],
"scan_interval": "00:00:30"
},
"options": {
"mode": "cloud",
"debug": false
},
"errors": [],
"device": {
"uiid": 7014,
"params": {
"bindInfos": "***",
"subDevId": "047535feff1227847014",
"parentid": "10020bb138",
"timeZone": 3,
"battery": 100,
"trigTime": "1729372131000",
"supportPowConfig": 1,
"temperature": "2400",
"tempComfortStatus": 0,
"fwVersion": "1.0.9",
"humidity": "5000",
"humiComfortStatus": 0,
"subDevRssi": -59,
"tempUnit": 0,
"tempComfortLower": "1900",
"tempComfortUpper": "2700",
"humiComfortLower": "4000",
"humiComfortUpper": "6000",
"subDevRssiSetting": {
"active": 60,
"duration": 5
}
},
"model": "SNZB-02D",
"online": true,
"local": null,
"localtype": null,
"host": null,
"deviceid": "a4b001333f"
}
}
}
Same issue, haven't been able to figure out anything specific from the logs. Even with debugging mode. Also switching cloud/local only doesn't help!
Same scenario. Cloud mode only fixes it for a short while. Thanks for your effort @AlexxIT
@basakmurat2005 @iridyum I don't see anything important in your info. You need to turn on the debug logs and examine them.
@AlexxIT After disabling and re-enabling the integration, all sensors are updated. However, no further updates occur until the integration is restarted again. The eWeLink app itself works without any issues.
The motion sensor functions for 2-3 minutes after each restart.
I have enabled debugging, and here are the log entries containing the "sonoff" keyword:
2024-10-20 19:21:35.793 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=None
2024-10-20 19:25:26.512 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0013346 <= Cloud3 | {'battery': 100, 'trigTime': '1729424108000', 'supportPowConfig': 1} | None
2024-10-20 19:25:55.660 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10020bb138 <= Cloud3 | {'gatewayBindRelations': []} | None
2024-10-20 19:27:01.615 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=True
One thing I’ve noticed is that many people experiencing this particular issue are from Turkey, myself included. It might be related to eWeLink’s regional settings or server configurations.
Let's collect the model identifiers that works and that don't works. Looks like this issue similar to #1510
What about if you downgrade to v3.8.0?
What about if you downgrade to v3.8.0? Tried it just now to no avail.
It's important to get feedback (about v3.8.0) from other users as well.
Unfortunately, I only use simple WiFi relays from Sonoff. Can't test the problem myself.
v3.8.0
Let's collect the model identifiers that works and that don't works. Looks like this issue similar to #1510
- UIID 0174 Sonoff R5 (6-key remote) - works fine (bluetooth device)
- UIID 7002 SNZB-03P - don't (zigbee device)
What about if you downgrade to v3.8.0?
Unfortunately, downgrading to v3.8.0 doesn't make any difference for me either.
Looks like something has been changed in the cloud.
I have some sonoff devices and they are not updating on HA. I'm restarting ever hour the sonoff integration to resolve this problem temporary
One thing I’ve noticed is that many people experiencing this particular issue are from Turkey, myself included. It might be related to eWeLink’s regional settings or server configurations.
Not true. From Singapore. Different country. Same problem :(
Oh BTW, I am on v3.4.0 and it is the same so I think v3.8.0 will not work either.
Here are sonoff debug logs for my devices. Seems like cloud is returning "None" state after some time. Do note that I even reloaded the add-on several times, which fixes the issue for a brief period.
2024-10-20 20:17:13.568 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=None
2024-10-20 20:17:14.080 DEBUG (MainThread) [custom_components.sonoff] 10 devices loaded from Cloud
2024-10-20 20:17:14.089 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10012cd3c0 UIID 0102 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'switch': 'off', 'battery': 2.804, 'fwVersion': '1000.2.925', 'type': 4, 'chipID': 'd0270259a4d0', 'mac': 'd0270259a4d0', 'rssi': -79, 'lastUpdateTime': '2024-10-20T15:11:12.386Z', 'actionTime': '2024-10-20T14:59:29.365Z'}
2024-10-20 20:17:14.090 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177cb UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '2af709feffb6c67c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -74, 'switch': 'off', 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:17:14.092 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177be UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '864a1bfeffa7db287004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'on', 'subDevRssi': -69, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:17:14.093 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a5 UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'd060e9feffdec7b07004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'off', 'subDevRssi': -64, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:17:14.094 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a1 UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '6bb00afeffb6c67c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'off', 'subDevRssi': -74, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:17:14.095 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017671 UIID 2026 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '56bbaa2f004b12002026', 'parentid': '10022be679', 'subDevRssi': -70, 'battery': 100, 'trigTime': '1729435128000', 'supportPowConfig': 1, 'motion': 0, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:17:14.097 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001766e UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'b4b2b8fefff6ef0c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -81, 'switch': 'on', 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:17:14.098 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017548 UIID 7014 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'cb82d9feff5fae0c7014', 'parentid': '10022be679', 'fwVersion': '2.1.0', 'battery': 100, 'trigTime': '1729437429000', 'supportPowConfig': 1, 'subDevRssi': -65, 'tempUnit': 0, 'tempComfortLower': '1900', 'tempComfortUpper': '2700', 'humiComfortLower': '4000', 'humiComfortUpper': '6000', 'temperature': '2990', 'tempComfortStatus': 2, 'timeZone': 5, 'humidity': '7320', 'humiComfortStatus': 2, 'subDevRssiSetting': {'active': 60, 'duration': 5}, 'key': 0}
2024-10-20 20:17:14.099 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 UIID 0168 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 8, 'sledOnline': 'on', 'staMac': 'C82E18572150', 'rssi': -7, 'zled': 'on', 'buzzerAlarm': {'mode': 'stop'}, 'hostVersion': '2.1.0', 'coordinatorVersion': '2.7.19', 'subDevMaxNum': 128, 'currentChannel': 11, 'fwVersion': '2.1.0', 'subDevices': [{'subDevId': 'cb82d9feff5fae0c7014', 'deviceid': 'a4b0017548', 'uiid': '7014', 'index': 0}, {'subDevId': 'b4b2b8fefff6ef0c7004', 'deviceid': 'a4b001766e', 'uiid': '7004', 'index': 0}, {'subDevId': '56bbaa2f004b12002026', 'deviceid': 'a4b0017671', 'uiid': '2026', 'index': 0}, {'subDevId': '6bb00afeffb6c67c7004', 'deviceid': 'a4b00177a1', 'uiid': '7004', 'index': 0}, {'subDevId': 'd060e9feffdec7b07004', 'deviceid': 'a4b00177a5', 'uiid': '7004', 'index': 0}, {'subDevId': '864a1bfeffa7db287004', 'deviceid': 'a4b00177be', 'uiid': '7004', 'index': 0}, {'subDevId': '2af709feffb6c67c7004', 'deviceid': 'a4b00177cb', 'uiid': '7004', 'index': 0}], 'timeZone': 5, 'only_device': {'ota': 'success', 'ota_fail_reason': 0}, 'resetCode': 1, 'cmd': 'getChannelInfo', 'panID': 26604, 'directDevNum': 6, 'routerDevNum': 1, 'addSubDevState': 'off', 'addDevTime': 180, 'nvPanID': 26604, 'gatewayBindRelations': [], 'ssid': 'Protium_IoT', 'bssid': '2A:23:51:6E:12:35'}
2024-10-20 20:17:14.101 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10012bb173 UIID 0104 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 7, 'switch': 'off', 'ltype': 'white', 'white': {'br': 2, 'ct': 0}, 'fwVersion': '1.3.5', 'sequence': '123456789', 'selfApikey': ''}
2024-10-20 20:17:14.103 DEBUG (MainThread) [custom_components.sonoff] AUTO mode start
2024-10-20 20:17:14.271 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 <= Local3 | 192.168.68.69:8081 | {'sledOnline': 'on', 'staMac': 'C82E18572150', 'rssi': -62} | 1
2024-10-20 20:17:14.273 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 <= Local3 | 192.168.68.69:8081 | {'sledOnline': 'on', 'staMac': 'C82E18572150', 'rssi': -62} | 1
2024-10-20 20:17:15.179 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=None, new=True
2024-10-20 20:17:15.180 DEBUG (MainThread) [custom_components.sonoff] Add 21 entities
2024-10-20 20:18:15.364 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 10022be679 => Local4 | 192.168.68.69:8081 | {'switch': 'off', 'subDevId': 'a4b001766e'} <= {'sequence': '1729437495218', 'seq': 2, 'error': 400, 'encrypt': True}
2024-10-20 20:18:15.364 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] a4b001766e => Cloud4 | {'switch': 'off'} | 1729437495218
2024-10-20 20:18:15.653 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] a4b001766e => Cloud4 | 1729437495653
2024-10-20 20:18:15.705 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001766e <= Cloud3 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'b4b2b8fefff6ef0c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -81, 'switch': 'off', 'subDevRssiSetting': {'active': 60, 'duration': 5}} | 1729437495653
2024-10-20 20:18:15.853 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001766e <= Cloud3 | {'switch': 'off'} | None
2024-10-20 20:21:27.988 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 <= Cloud3 | {'gatewayBindRelations': []} | None
2024-10-20 20:24:58.173 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a5 <= Cloud3 | {'online': False} | None
2024-10-20 20:26:32.312 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 <= Cloud3 | {'directDevNum': 5, 'routerDevNum': 1} | None
2024-10-20 20:30:55.409 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177be <= Cloud3 | {'online': True} | None
2024-10-20 20:30:58.709 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177be <= Cloud3 | {'switch': 'on'} | None
2024-10-20 20:32:14.977 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=True
2024-10-20 20:32:59.926 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=None
2024-10-20 20:33:00.268 DEBUG (MainThread) [custom_components.sonoff] 10 devices loaded from Cloud
2024-10-20 20:33:00.273 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10012cd3c0 UIID 0102 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'switch': 'off', 'battery': 2.804, 'fwVersion': '1000.2.925', 'type': 4, 'chipID': 'd0270259a4d0', 'mac': 'd0270259a4d0', 'rssi': -79, 'lastUpdateTime': '2024-10-20T15:11:12.386Z', 'actionTime': '2024-10-20T14:59:29.365Z'}
2024-10-20 20:33:00.273 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177cb UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '2af709feffb6c67c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -74, 'switch': 'off', 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:00.274 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177be UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '864a1bfeffa7db287004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'on', 'subDevRssi': -69, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:00.274 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a5 UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'd060e9feffdec7b07004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'off', 'subDevRssi': -64, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:00.274 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a1 UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '6bb00afeffb6c67c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'off', 'subDevRssi': -74, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:00.274 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017671 UIID 2026 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '56bbaa2f004b12002026', 'parentid': '10022be679', 'subDevRssi': -70, 'battery': 100, 'trigTime': '1729435128000', 'supportPowConfig': 1, 'motion': 0, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:00.275 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001766e UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'b4b2b8fefff6ef0c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -81, 'switch': 'off', 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:00.275 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017548 UIID 7014 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'cb82d9feff5fae0c7014', 'parentid': '10022be679', 'fwVersion': '2.1.0', 'battery': 100, 'trigTime': '1729437429000', 'supportPowConfig': 1, 'subDevRssi': -65, 'tempUnit': 0, 'tempComfortLower': '1900', 'tempComfortUpper': '2700', 'humiComfortLower': '4000', 'humiComfortUpper': '6000', 'temperature': '2990', 'tempComfortStatus': 2, 'timeZone': 5, 'humidity': '7320', 'humiComfortStatus': 2, 'subDevRssiSetting': {'active': 60, 'duration': 5}, 'key': 0}
2024-10-20 20:33:00.275 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 UIID 0168 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 8, 'sledOnline': 'on', 'staMac': 'C82E18572150', 'rssi': -7, 'zled': 'on', 'buzzerAlarm': {'mode': 'stop'}, 'hostVersion': '2.1.0', 'coordinatorVersion': '2.7.19', 'subDevMaxNum': 128, 'currentChannel': 11, 'fwVersion': '2.1.0', 'subDevices': [{'subDevId': 'cb82d9feff5fae0c7014', 'deviceid': 'a4b0017548', 'uiid': '7014', 'index': 0}, {'subDevId': 'b4b2b8fefff6ef0c7004', 'deviceid': 'a4b001766e', 'uiid': '7004', 'index': 0}, {'subDevId': '56bbaa2f004b12002026', 'deviceid': 'a4b0017671', 'uiid': '2026', 'index': 0}, {'subDevId': '6bb00afeffb6c67c7004', 'deviceid': 'a4b00177a1', 'uiid': '7004', 'index': 0}, {'subDevId': 'd060e9feffdec7b07004', 'deviceid': 'a4b00177a5', 'uiid': '7004', 'index': 0}, {'subDevId': '864a1bfeffa7db287004', 'deviceid': 'a4b00177be', 'uiid': '7004', 'index': 0}, {'subDevId': '2af709feffb6c67c7004', 'deviceid': 'a4b00177cb', 'uiid': '7004', 'index': 0}], 'timeZone': 5, 'only_device': {'ota': 'success', 'ota_fail_reason': 0}, 'resetCode': 1, 'cmd': 'getChannelInfo', 'panID': 26604, 'directDevNum': 5, 'routerDevNum': 1, 'addSubDevState': 'off', 'addDevTime': 180, 'nvPanID': 26604, 'gatewayBindRelations': [], 'ssid': 'Protium_IoT', 'bssid': '2A:23:51:6E:12:35'}
2024-10-20 20:33:00.276 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10012bb173 UIID 0104 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 7, 'switch': 'off', 'ltype': 'white', 'white': {'br': 2, 'ct': 0}, 'fwVersion': '1.3.5', 'sequence': '123456789', 'selfApikey': ''}
2024-10-20 20:33:00.276 DEBUG (MainThread) [custom_components.sonoff] CLOUD mode start
2024-10-20 20:33:01.127 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=None, new=True
2024-10-20 20:33:01.129 DEBUG (MainThread) [custom_components.sonoff] Add 21 entities
2024-10-20 20:33:04.723 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=None
2024-10-20 20:33:04.849 DEBUG (MainThread) [custom_components.sonoff] 10 devices loaded from Cloud
2024-10-20 20:33:04.854 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10012cd3c0 UIID 0102 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'switch': 'off', 'battery': 2.804, 'fwVersion': '1000.2.925', 'type': 4, 'chipID': 'd0270259a4d0', 'mac': 'd0270259a4d0', 'rssi': -79, 'lastUpdateTime': '2024-10-20T15:11:12.386Z', 'actionTime': '2024-10-20T14:59:29.365Z'}
2024-10-20 20:33:04.854 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177cb UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '2af709feffb6c67c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -74, 'switch': 'off', 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:04.855 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177be UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '864a1bfeffa7db287004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'on', 'subDevRssi': -69, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:04.855 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a5 UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'd060e9feffdec7b07004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'off', 'subDevRssi': -64, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:04.855 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a1 UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '6bb00afeffb6c67c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'switch': 'off', 'subDevRssi': -74, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:04.858 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017671 UIID 2026 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': '56bbaa2f004b12002026', 'parentid': '10022be679', 'subDevRssi': -70, 'battery': 100, 'trigTime': '1729435128000', 'supportPowConfig': 1, 'motion': 0, 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:04.859 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001766e UIID 7004 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'b4b2b8fefff6ef0c7004', 'parentid': '10022be679', 'fwVersion': '1.0.14', 'subDevRssi': -81, 'switch': 'off', 'subDevRssiSetting': {'active': 60, 'duration': 5}}
2024-10-20 20:33:04.864 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017548 UIID 7014 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'subDevId': 'cb82d9feff5fae0c7014', 'parentid': '10022be679', 'fwVersion': '2.1.0', 'battery': 100, 'trigTime': '1729437429000', 'supportPowConfig': 1, 'subDevRssi': -65, 'tempUnit': 0, 'tempComfortLower': '1900', 'tempComfortUpper': '2700', 'humiComfortLower': '4000', 'humiComfortUpper': '6000', 'temperature': '2990', 'tempComfortStatus': 2, 'timeZone': 5, 'humidity': '7320', 'humiComfortStatus': 2, 'subDevRssiSetting': {'active': 60, 'duration': 5}, 'key': 0}
2024-10-20 20:33:04.865 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 UIID 0168 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 8, 'sledOnline': 'on', 'staMac': 'C82E18572150', 'rssi': -7, 'zled': 'on', 'buzzerAlarm': {'mode': 'stop'}, 'hostVersion': '2.1.0', 'coordinatorVersion': '2.7.19', 'subDevMaxNum': 128, 'currentChannel': 11, 'fwVersion': '2.1.0', 'subDevices': [{'subDevId': 'cb82d9feff5fae0c7014', 'deviceid': 'a4b0017548', 'uiid': '7014', 'index': 0}, {'subDevId': 'b4b2b8fefff6ef0c7004', 'deviceid': 'a4b001766e', 'uiid': '7004', 'index': 0}, {'subDevId': '56bbaa2f004b12002026', 'deviceid': 'a4b0017671', 'uiid': '2026', 'index': 0}, {'subDevId': '6bb00afeffb6c67c7004', 'deviceid': 'a4b00177a1', 'uiid': '7004', 'index': 0}, {'subDevId': 'd060e9feffdec7b07004', 'deviceid': 'a4b00177a5', 'uiid': '7004', 'index': 0}, {'subDevId': '864a1bfeffa7db287004', 'deviceid': 'a4b00177be', 'uiid': '7004', 'index': 0}, {'subDevId': '2af709feffb6c67c7004', 'deviceid': 'a4b00177cb', 'uiid': '7004', 'index': 0}], 'timeZone': 5, 'only_device': {'ota': 'success', 'ota_fail_reason': 0}, 'resetCode': 1, 'cmd': 'getChannelInfo', 'panID': 26604, 'directDevNum': 5, 'routerDevNum': 1, 'addSubDevState': 'off', 'addDevTime': 180, 'nvPanID': 26604, 'gatewayBindRelations': [], 'ssid': 'Protium_IoT', 'bssid': '2A:23:51:6E:12:35'}
2024-10-20 20:33:04.865 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10012bb173 UIID 0104 | {'bindInfos': {'alexa': ['540347d3-23fd-4fff-bab0-f67531ec981a_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 7, 'switch': 'off', 'ltype': 'white', 'white': {'br': 2, 'ct': 0}, 'fwVersion': '1.3.5', 'sequence': '123456789', 'selfApikey': ''}
2024-10-20 20:33:04.866 DEBUG (MainThread) [custom_components.sonoff] CLOUD mode start
2024-10-20 20:33:05.178 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=None, new=True
2024-10-20 20:33:05.179 DEBUG (MainThread) [custom_components.sonoff] Add 21 entities
2024-10-20 20:36:19.917 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0017548 <= Cloud3 | {'battery': 100, 'trigTime': '1729437429000', 'supportPowConfig': 1} | None
2024-10-20 20:36:28.035 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10022be679 <= Cloud3 | {'gatewayBindRelations': []} | None
2024-10-20 20:36:33.329 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a5 <= Cloud3 | {'online': True} | None
2024-10-20 20:36:36.640 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b00177a5 <= Cloud3 | {'switch': 'off'} | None
I have some sonoff devices and they are not updating on HA. I'm restarting ever hour the sonoff integration to resolve this problem temporary Can i please ask what integration your choosing to reload as I'm trying to do the same thing and can't figure out what to choose?
I am having the same problem with my sensors, especially with sonoff r5 scene controller. Although this is a workaround, I am sharing my configurations:
Below is to reload the entity, put this in your configuration.yaml
with the desired entity. The automation triggers every 2 minutes to refresh the entity, thus solving the problem of the unresponsiveness of the scene r5 controller:
automation sonoff_sensors_reload:
trigger:
- platform: time_pattern
minutes: "/2"
action:
- service: input_boolean.turn_off
entity_id: input_boolean.allow_kitchen_light_toggle
- delay: "00:00:05"
- service: homeassistant.update_entity
target:
entity_id: sensor.kitchen_r5
- delay: "00:00:05"
- service: input_boolean.turn_on
entity_id: input_boolean.allow_kitchen_light_toggle
mode: single
The input_boolean
solves the problem of toggling the lights each time the automation triggers.
Below is my another automation to trigger the lights with sonoff r5 scene controller:
automation kitchen_r5_all_lights:
alias: Toggle kitchen lights with a button press
description: ''
trigger:
- platform: state
entity_id: sensor.kitchen_r5
to: 'button_6_single'
condition:
- condition: state
entity_id: input_boolean.allow_kitchen_light_toggle
state: 'on'
action:
- service: light.toggle
target:
entity_id:
- light.kitchen_counter_led
- light.kitchen_coffee
- light.kitchen_coffee_top
- light.kitchen_table
- light.kitchen_ceiling
mode: single
I guess it's a problem on Sonoff's side, because I have the same issue with the official eWeLink add-on.
Sorry for messing up with my messages here, @EboBH83 are you having problems particularly with the sonoff r5 scene controllers (I know that other sensors also problematic)? AFAIK, the scene r5 controller is not supported with the official eWeLink add-on.
This is my code to temporary "reload" the devices. Easier this way because every entity will take too much to write out. And it is not just the temperature. It is the button state, the humidity, etc.
This is working for me as a workaround.
alias: "DEV: TEMP Update Sonoff Devices"
description: ""
trigger:
- platform: time_pattern
minutes: "3"
condition: []
action:
- service: homeassistant.reload_config_entry
data: {}
target:
device_id:
- 123456IHateItWhenThisHappens
- 789000ThisShouldNotHaveHappened
mode: single
Sorry for messing up with my messages here, @EboBH83 are you having problems particularly with the sonoff r5 scene controllers (I know that other sensors also problematic)? AFAIK, the scene r5 controller is not supported with the official eWeLink add-on.
Oh, hey. I don't have the R5, sorry.
I'm having the same problems too
There is no response in home assistant
SONOFF Zigbee Human Presence Sensor | SNZB-06P usage
No workarounds have worked for me yet. The issue persists.
I observed that the sensors become unresponsive to HASS after around 3 minutes.
I observed that the sensors become unresponsive to HASS after around 3 minutes.
Aligned. I have set the sensors to update on their own every 3 minutes and in the chart, there are no gaps. https://github.com/AlexxIT/SonoffLAN/issues/1509#issuecomment-2425871792
What about the mobile app? You can check if it displays changes by device in 3 minutes after opening the device page.
What about the mobile app? You can check if it displays changes by device in 3 minutes after opening the device page.
Do you mean the native eWeLink app ? That app has no problems with the display. It works fine. In fact, I am using that as a reference to how the SONOFF HACS integration is not updating.
What about integration debug logs? Can you see something interesting when you opening device page in ewelink mobile app? Something about subscribe on device updates.
What about the mobile app? You can check if it displays changes by device in 3 minutes after opening the device page.
I left the Ewe-Link Mobile App open for 3 minutes on device page, it keeps updating without any issues even after 3 minutes.
What about integration debug logs? Can you see something interesting when you opening device page in ewelink mobile app? Something about subscribe on device updates.
I enabled debug mode on Addon and went back and forth into device details on my ewelink mobile, triggers nothing on debug log.
I observed that the sensors become unresponsive to HASS after around 3 minutes.
Aligned. I have set the sensors to update on their own every 3 minutes and in the chart, there are no gaps. #1509 (comment)
Unfortunately, that doesn't help for me either.
I noticed that if a sensor's status doesn't change after restarting the integration, it updates to the current status at the first change (and the second change if it occurs immediately after), even if those changes happen 25 minutes later. However, after the first one or two updates, it stops updating until the next restart.
I've just checked the debug logs and seen these:
2024-10-21 17:03:00.394 ERROR (MainThread) [homeassistant.components.automation.dev_temp_update_sonoff_devices] While executing automation automation.dev_temp_update_sonoff_devices
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 742, in async_trigger
return await self.action_script.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-10-21 17:03:00.394 ERROR (MainThread) [homeassistant.components.automation.dev_temp_update_sonoff_devices] While executing automation automation.dev_temp_update_sonoff_devices
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 742, in async_trigger
return await self.action_script.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1795, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 463, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 557, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 525, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 763, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 726, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1099, in _async_admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 319, in async_handle_reload_config_entry
raise ValueError("There were no matching config entries to reload")
ValueError: There were no matching config entries to reload
2024-10-21 17:28:32.512 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 100166bb64 => Local4 | 192.168.2.113:8081 | None <= {'seq': 81, 'sequence': '1729520912389', 'error': 422}
2024-10-21 17:30:02.535 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.local] 100166bb64 => Local4 | 192.168.2.113:8081 | None <= {'seq': 81, 'sequence': '1729521002392', 'error': 422}
2024-10-21 17:30:52.092 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100166bb64 <= Local3 | 192.168.2.113:8081 | {'switch': 'on', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'pulseWidth': 500, 'rssi': -57, 'ssid': '***', 'bssid': '***'} | 81
2024-10-21 17:30:53.959 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100166bb64 <= Local3 | 192.168.2.113:8081 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'pulseWidth': 500, 'rssi': -57, 'ssid': '***', 'bssid': '***'} | 82
2024-10-21 17:41:51.115 DEBUG (MainThread) [custom_components.sonoff] 12 devices loaded from Cloud
2024-10-21 17:54:55.845 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0016c30 <= Cloud3 | {'motion': 1, 'trigTime': '1729522495000'} | None
2024-10-21 17:55:26.147 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001333f <= Cloud3 | {'humidity': '5210', 'trigTime': '1729522525000', 'humiComfortStatus': 0} | None
2024-10-21 17:55:31.190 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001333f <= Cloud3 | {'humidity': '4940', 'trigTime': '1729522530000', 'humiComfortStatus': 0} | None
2024-10-21 17:55:36.230 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001333f <= Cloud3 | {'humidity': '4510', 'trigTime': '1729522535000', 'humiComfortStatus': 0} | None
2024-10-21 17:55:41.263 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001333f <= Cloud3 | {'humidity': '4280', 'trigTime': '1729522540000', 'humiComfortStatus': 0} | None
2024-10-21 17:55:46.323 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001333f <= Cloud3 | {'humidity': '4180', 'trigTime': '1729522545000', 'humiComfortStatus': 0} | None
2024-10-21 17:55:59.662 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0016c30 <= Cloud3 | {'motion': 0, 'trigTime': '1729522558000'} | None
2024-10-21 17:56:06.481 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b001333f <= Cloud3 | {'humidity': '4070', 'trigTime': '1729522565000', 'humiComfortStatus': 0} | None
2024-10-21 17:56:47.636 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 100166bb64 <= Local3 | 192.168.2.113:8081 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'pulseWidth': 500, 'rssi': -57, 'ssid': '**', 'bssid': '***'} | 82
2024-10-21 17:57:11.461 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] a4b0016c30 <= Cloud3 | {'motion': 1, 'trigTime': '1729522630000'} | None
2024-10-21 17:57:27.408 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=True
https://appcms.coolkit.cn/ewelink/hot/19902.html
Not sure if its related but the timing is close
Both my sonoff dw2-wifi also having issue with updating the status. I can see the open/close on ewelink apps but on homeassistant, it just didn't update any status
The same problem. Please help 🙏🏽
hello, how to restore the old version?
Just to share, while this is being resolved. It seems that one can link ewelink app to samsung smart things app then linking smart things to HA to control the affected.
I would wait patiently while this is being resolved but in order to have a happy wife at home, this is what I recommend for less savvy users like myself.
It definitely involves some hard work as I need to rename by adding an identifier for all the devices in smart things so that same devices under ewelink will not appear similar in HA.
Hope this helps fellow users.
any good news? I have 45 sonoff devices and all is useless now :)
any good news? I have 45 sonoff devices and all is useless now :)
Have you tried doing the updates to the device every 3 minutes - see my code snippet above. It works well as if nothing has happened. A good workaround for now.
It can be applicable/acceptable for the sensors until this problem is fixed, but it's not good enough for the buttons/switches, etc.
Here are the logs, I removed some device details and scrambled them as removed_id_x
.
After a couple of minutes, it's writing CLOUD change state old=True, new=True
log. Every 30 minutes Iim reloading the integration then they work for me.
2024-10-23 13:06:14.596 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] removed_id_3 <= Cloud3 | {'gatewayBindRelations': []} | None
2024-10-23 13:07:32.712 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703252712
2024-10-23 13:07:33.574 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=True
2024-10-23 13:07:35.110 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703255110
2024-10-23 13:07:41.277 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703261277
2024-10-23 13:07:43.012 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703263012
2024-10-23 13:07:59.904 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703279904
2024-10-23 13:08:04.043 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703284043
2024-10-23 13:08:04.759 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703284759
2024-10-23 13:08:04.967 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703284967
2024-10-23 13:08:05.234 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703285234
2024-10-23 13:08:05.542 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729703285542
2024-10-23 13:28:42.252 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729704522252
2024-10-23 13:28:43.076 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729704523076
2024-10-23 13:28:43.443 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] removed_id_1 => Cloud4 | {'switch': 'on'} | 1729704523443
2024-10-23 13:28:53.470 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] remmoved_devide_id_2 => Cloud4 | {'switch': 'on'} | 1729704533470
2024-10-23 13:29:06.243 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] remmoved_devide_id_2 => Cloud4 | {'switch': 'on'} | 1729704546243
2024-10-23 13:29:49.505 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] remmoved_devide_id_2 => Cloud4 | {'switch': 'on'} | 1729704589505
2024-10-23 13:30:00.402 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] CLOUD change state old=True, new=None
2024-10-23 13:30:01.533 DEBUG (MainThread) [custom_components.sonoff] 9 devices loaded from Cloud
2024-10-23 13:30:01.535 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] removed_id_4 UIID 7006 | {'bindInfos': {'gaction': ['removed_id_6']}, 'subDevId': 'removed_id_5', 'parentid': 'removed_id_3', 'fwVersion': '2.0.7', 'battery': 94, 'trigTime': '1729696191000', 'supportPowConfig': 1, 'subDevRssi': -81, 'curPercent': 100, 'motorDir': 'reverse', 'motorClb': 'normal', 'subDevRssiSetting': {'active': 60, 'duration': 5}, 'curtainAction': 'close', 'openPercent': 0}
The problem continues with me too, I use it in Türkiye... A solution needs to be found urgently...
I am experiencing the same problem in two different homes, when will it be fixed? I think this problem only exists in Türkiye
Same problem with dw2 wifi door sensor, from Türkiye (Turkey)
Mine started working again.
Benim çalışmıyor halen hatta tüm sensörler çevrimdışı görünüyor home asistant ta artik tekrar yuklesem bile gelmiyor
any good news? I have 45 sonoff devices and all is useless now :)
Have you tried doing the updates to the device every 3 minutes - see my code snippet above. It works well as if nothing has happened. A good workaround for now.
Thank you for the workaround, but it makes the devices unavailable for a second or two while they refresh, which triggers my automations and alarms due to these state changes. Your workaround works well when one wants to manually check if the sensor is open or closed or to view the sensor’s history. However, a fix for this is still required.
Hello, for the last two days my SONOFF sensors have been staying in their last state after starting homeassistance. If they sensed something, it seemed like they continued to sense it. This situation improves after starting homeassistance, but it remains the same afterwards. But in the logbook it works great. but the automations are not working.
Log.pdf