Sonoff Sensors do not update in home asisitant.
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.
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
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
- 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?
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