Closed vaasu117 closed 9 months ago
upload the Diagnostics,I can try to fix it.
upload the Diagnostics,I can try to fix it.
I'm also having problems with my ZBMINIs.
The enitity is light.sonoff_a4800XXXXX
Is there a way to change it from a light to a switch from a config file?
Show device diagnostics
HI!我是邵磊,您的邮件我已经收到啦,我会在第一时间给您回复哦。
Hi,
I have several ZBMINI and S26R2ZB sockets and all of them are not working properly via HA. I can turn on/off the switch but the state is not displayed correctly. For example, if I turn them "on" via Ewelink app, state in HA will show correctly as "on", then I can turn them off via HA, but state in HA returns back to "on" 1-2 seconds later, while the physically switch is still turned off and shows as "off" in the Ewelink app. Now since the state is displayed incorrectly in HA, I can't turn them back on via HA because they are already in the "on" state in HA (while physically is turned off), the only way to turn them "on" now is through the Ewelink app or if I quickly toggle it off->on via HA.
Diagnostic:
"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": "/api/sonoff/4a132910-bf18-4e7e-9eae-6e2b0067cc42",
"requirements": [
"pycryptodome>=3.6.6"
],
"version": "3.5.4",
"is_built_in": false
},
"data": {
"version": "a4a8c5f",
"cloud_auth": true,
"config": {
"reload": "always"
},
"options": {
"mode": "cloud",
"debug": true,
"homes": 1
},
"errors": [],
"device": {
"uiid": 1256,
"params": {
"bindInfos": "***",
"subDevId": "cb8ebbfeff8d79e01256",
"parentid": "1001f810c6",
"switch": "off"
},
"model": "ZCL_HA_DEVICEID_ON_OFF_LIGHT",
"online": true,
"local": null,
"localtype": null,
"host": null,
"deviceid": "a48007dbda"
}
}
Logs when device is turned on and on/off via HA:
2024-01-08 11:50:33 [D] a48007dbda => Cloud4 | {'switch': 'on'} | 1704711033000
2024-01-08 11:50:34 [D] a48007dbda => Cloud4 | 1704711034000
2024-01-08 11:50:37 [D] a48007dbda => Cloud4 | {'switch': 'on'} | DDoS | DDoS | DDoS | 1704711037005
2024-01-08 11:50:38 [D] a48007dbda => Cloud4 | {'switch': 'off'} | 1704711038000
2024-01-08 11:50:38 [D] a48007dbda => Cloud4 | DDoS | 1704711038001
2024-01-08 11:50:38 [D] a48007dbda => Cloud4 | 1704711038002
And logs when manually switched on/off via Ewelink mobile app:
2024-01-08 11:40:05 [D] a48007dbda <= Cloud3 | {'switch': 'on'} | 1704710404547
2024-01-08 11:40:09 [D] a48007dbda <= Cloud3 | {'switch': 'off'} | 1704710408414
The same is for Sonoff Socket Plug Zigbee device (S26R2ZB DE): Diagnostic:
"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": "/api/sonoff/4a132910-bf18-4e7e-9eae-6e2b0067cc42",
"requirements": [
"pycryptodome>=3.6.6"
],
"version": "3.5.4",
"is_built_in": false
},
"data": {
"version": "a4a8c5f",
"cloud_auth": true,
"config": {
"reload": "always"
},
"options": {
"mode": "cloud",
"debug": true,
"homes": 1
},
"errors": [],
"device": {
"uiid": 1009,
"params": {
"bindInfos": "***",
"subDevId": "3a5be729004b12001009",
"parentid": "1001f810c6",
"fwVersion": "2.0.1",
"switch": "off"
},
"model": "ZCL_HA_DEVICEID_MAINS_POWER_OUTLET",
"online": true,
"local": null,
"localtype": null,
"host": null,
"deviceid": "a48007c4ff"
}
}
Logs when device is turned on and on/off via HA:
2024-01-08 11:44:34 [D] a48007c4ff => Cloud4 | {'switch': 'on'} | 1704710674000
2024-01-08 11:44:35 [D] a48007c4ff => Cloud4 | 1704710675000
2024-01-08 11:44:38 [D] a48007c4ff => Cloud4 | {'switch': 'on'} | 1704710678000
2024-01-08 11:44:38 [D] a48007c4ff => Cloud4 | 1704710678001
2024-01-08 11:44:39 [D] a48007c4ff => Cloud4 | {'switch': 'off'} | 1704710679000
2024-01-08 11:44:39 [D] a48007c4ff => Cloud4 | 1704710679001
And logs when device is turned on/off via Ewelink mobile app:
2024-01-08 11:43:52 [D] a48007c4ff <= Cloud3 | {'switch': 'on'} | 1704710631519
2024-01-08 11:43:53 [D] a48007c4ff <= Cloud3 | {'switch': 'off'} | 1704710632687
HI!我是邵磊,您的邮件我已经收到啦,我会在第一时间给您回复哦。
@MironJajtic some cloud bug. I don't know how to fix it.
2024-01-08 11:50:34 [D] a48007dbda => Cloud4 | 1704711034000
is query for new device state. But without response.
HI!我是邵磊,您的邮件我已经收到啦,我会在第一时间给您回复哦。
Hi, I have two ZBmini which are showing up as light in Home Assistant. Also, control toggle for this light entity is flaky. However, when I use Homekit Bridge and use it in Apple Home, controls are perfect. I think the issue rests with the device being recognised as a light instead of a switch.
Many Thanks.