Closed tim-geier closed 2 years ago
Your device is nearly the same its not having one extra cluster that is missing on some endpoints. https://github.com/zigpy/zha-device-handlers/blob/71c95b76751ada487314eda2bc3bde5246f7dea0/zhaquirks/tuya/ts011f_plug.py#L439 Deleting the missing extra cluster in the signature and replace on the endpoints in one local quirk and testing if ZHA is loading the quirk.
Try with a quirk like this one:
Thank you both for the quick reply, I tried @javicalle quirk, but in the pairing log there is an error
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
@MattWestb with what should I replace on the endpoints? Sorry if I ask stupid questions, this is the first week I am running Home Assistant and I dont really have an idea how all of this works, yet. I need to read a lot more how all of this ZigBee stuff works :)
Endpoint 1, 2 , 3, 4 and 5 put one #
in the beginning if the line and the line is being ignored.
Ouuuuch, I believe that i have fixed it. Can you try again?
Not in endpoint 1
Very true @javicalle !!! Dont forgetting deleting the cluster it in the replacement then its working and making one PR so its not being no not working cluster that confusing user and the system.
Unfortunately still an error with @javicalle edited version
Checking quirks for _TZ3000_cfnprab5 TS011F (a4:c1:38:84:36:44:41:d7)
Considering <class 'ts011f.Plug_4AC_2USB_xenon'>
Fail because input cluster mismatch on at least one endpoint
Is your feature request related to a problem? Please describe. I have bought this power strip from amazon, it should be working with zha (according to https://zigbee.blakadder.com/Xenon_SM-SO306.html but the sockets cannot be controlled. The device can be added to Home Assistant and the setup wizard shows that everything went fine and that the device can be used. The five switches get recognized but the device does not respond at all. The "Last seen" timestamp in Home Assistant also never changes from the time I pair the device. The only difference I could spot is my model has an additional "-EZ". The supported device is model SM-SO306, I received the model SM-SO306-EZ, but I dont know whats the difference (if there is one) and how to get it working. I think it needs to use something like the quirk for "ts011f.Plug_4AC_2USB", since thats basically the device I have, but something does not match. My device looks exactly like the one pictured in #1106.
Describe the solution you'd like Would be nice if my power strip could be controlled like intended or somebody could tell me what I'm doing wrong.
Device signature
```yaml { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
```yaml { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.6.7", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.12", "docker": true, "arch": "x86_64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "5.15.45", "supervisor": "2022.05.3", "host_os": "Home Assistant OS 8.2", "docker_version": "20.10.14", "chassis": "vm", "run_as_root": true }, "custom_components": { "alexa_media": { "version": "4.0.2", "requirements": [ "alexapy==1.26.0", "packaging>=20.3", "wrapt>=1.12.1" ] }, "hacs": { "version": "1.25.5", "requirements": [ "aiogithubapi>=22.2.4" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.30.0", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.75", "zigpy-deconz==0.16.0", "zigpy==0.45.1", "zigpy-xbee==0.14.0", "zigpy-zigate==0.7.4", "zigpy-znp==0.7.0" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" } ], "after_dependencies": [ "usb", "zeroconf" ], "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 17530, "manufacturer": "_TZ3000_cfnprab5", "model": "TS011F", "name": "_TZ3000_cfnprab5 TS011F", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4417, "power_source": "Mains", "lqi": 248, "rssi": -87, "last_seen": "2022-06-24T19:53:44", "available": true, "device_type": "Router", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Additional logs (pairing)
See attached file, body was too long if pasted in here... [Pairing_log.txt](https://github.com/zigpy/zha-device-handlers/files/8979850/Pairing_log.txt)