I tried to add it to my sonoff zigbee bridge, and it totally wiped everything out, had to reconnect my bridge to the app, then reconnect all my sensors to the bridge
I had a spare sonoff zigbee bridge, so went down the tasmota route, got it integrated into HA with ZHA, added a lidl socket to it (which i had also tried with sonoff) which works fine, then also added the scene switch
ZHA has found the switch, but instead of it showing as 4 switches that i can use to trigger things within HA (like a sonoff switch snzb-01 that i have), it shows up as 4 sockets that can be controlled from within HA
Has anyone got one of these working in ZHA by any chance?
Ive also tried Developer tools / events, and listening to events with * entered, while pressing every button, double clicking and long pressing, and nothing is received
within ZHA i have run âshow logsâ while clicking each button, and got the following
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
[0xd6ba:4:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=85 command_id=253>
[0xd6ba:4:0x0006] Unknown cluster-specific command 253
[0xd6ba:4:0x0006] ZCL request 0x00fd: b'\x00'
[0xd6ba:4:0x0006] No handler for cluster command 253
[0xD6BA:4:0x0006]: received '253' command with b'\x00' args on cluster_id '6' tsn '85'
[0xd6ba:4:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=85 command_id=253>
[0xd6ba:4:0x0006] Unknown cluster-specific command 253
[0xd6ba:4:0x0006] ZCL request 0x00fd: b'\x00'
[0xd6ba:4:0x0006] No handler for cluster command 253
[0xD6BA:4:0x0006]: received '253' command with b'\x00' args on cluster_id '6' tsn '85'
[0xd6ba:3:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=86 command_id=253>
[0xd6ba:3:0x0006] Unknown cluster-specific command 253
[0xd6ba:3:0x0006] ZCL request 0x00fd: b'\x00'
[0xd6ba:3:0x0006] No handler for cluster command 253
[0xD6BA:3:0x0006]: received '253' command with b'\x00' args on cluster_id '6' tsn '86'
[0xd6ba:3:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=86 command_id=253>
[0xd6ba:3:0x0006] Unknown cluster-specific command 253
[0xd6ba:3:0x0006] ZCL request 0x00fd: b'\x00'
[0xd6ba:3:0x0006] No handler for cluster command 253
[0xD6BA:3:0x0006]: received '253' command with b'\x00' args on cluster_id '6' tsn '86'
[0xd6ba:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=87 command_id=Command.Report_Attributes>
[0xd6ba:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=33, value=<TypeValue type=uint8_t, value=200>)]]
[0xd6ba:1:0x0001] Attribute report received: battery_percentage_remaining=200
[0xd6ba:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=88 command_id=253>
[0xd6ba:1:0x0006] Unknown cluster-specific command 253
[0xd6ba:1:0x0006] ZCL request 0x00fd: b'\x00'
[0xd6ba:1:0x0006] No handler for cluster command 253
[0xD6BA:1:0x0006]: received '253' command with b'\x00' args on cluster_id '6' tsn '88'
[0xd6ba:2:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=89 command_id=253>
[0xd6ba:2:0x0006] Unknown cluster-specific command 253
[0xd6ba:2:0x0006] ZCL request 0x00fd: b'\x00'
[0xd6ba:2:0x0006] No handler for cluster command 253
[0xD6BA:2:0x0006]: received '253' command with b'\x00' args on cluster_id '6' tsn '89'
after some googling, and posting on the HA facebook page, ive installed portainer, and downloaded and copied some zha-quirks files, but not too sure that ive done things correctly, as the switches are still not showing as they chould, but now, when i press the switches, im getting info in the error log, so i must be at least half way there
OK, heres how i did it after trying a few different things. This worked for me
Click Supervisor
Click Addon Store
Click the 3 dots at top right
Click repositories
Copy https://github.com/home-assistant/hassio-addons-development
into the âAdd repositoryâ line at the bottom, and click Add
in the Addon Store, search for âCustom deps deploymentâ and install it
Once installed, click on it and click Configuration
Enter the following
pypi:
- zha-quirks==0.0.51
apk: []
Click Save
Click âStart on Bootâ
Restart HA
the switches are now available to use, named first switch, second, etc, and single click, double click or continous press for each one
since updating to 2021.2.1 this switch has stopped working, and the WAF is about to plummet to the point where all switches, sockets and bulbs will need to be ânormalâ again
ive checked everything, and even tried (and failed) to restore a snapshot to get back to a working state
the switch is still there, but all of its entities have vanished
managed to revert to version 2021.1.5 after installing SSH into HA, then using the command
ha core update --version=2021.1.5
i had to do this 3 times before it eventually downgraded. I then restored my last good snapshot from before updating (from 2 nights ago, not sure if this was needed, but did it anyway)
My switch(es) are now working properly as intended
I am on 2021.3.3 but I could not get this to work. I donât want to downgrade to be honest.
Basically only thing coming in is the battery level, not the switches.
For anyone struggling with the 4 Gang Zigbee Switch. check its Device info in Home assistant. if it is a
TS004F than this is the most active discussion on the matter I have found:
I tried this and it completely broke my ZHA. I uninstalled Custom deps deployment, but I get the following errors:
Logger: homeassistant.setup
Source: setup.py:154
First occurred: 3:08:23 PM (1 occurrences)
Last logged: 3:08:23 PM
Setup failed for zha: Unable to import component: cannot import name âsetupâ from âzhaquirksâ (/config/deps/lib/python3.9/site-packages/zhaquirks/init.py)