Closed nekdo4 closed 1 year ago
This is a curious device.
I think the normal switches (4 left) should be controlled by the TuyaQuadrupleSwitchTO
quirk.
You can enable the local quirks and copy the current ts0601_switch.py
file:
Then update the TuyaQuadrupleSwitchTO
class like this:
class TuyaQuadrupleSwitchTO(TuyaSwitch):
"""Tuya quadruple channel switch time on out cluster device."""
signature = {
MODELS_INFO: [
("_TZE200_aqnazj70", "TS0601"),
("_TZE200_1ozguk6x", "TS0601"),
("_TZE200_fm5yck8a", "TS0601"),
("_TZE200_k6jhsr0q", "TS0601"),
],
ENDPOINTS: {
.../...
Repair the device after enable the local quirk.
You will need to enable the debug logs to know what is reporting the other 2 switches (2 right):
Once we get that info we can see what can be done.
Thank you for your reply, I did as you advised but the left four normal switches on the device do not react and the other two (right) can only turn off first two light switches in home assistant. I am sending diagnostic data and thank you again for your help
Look at the logs for any info from your device (check the Nwk value for your device in the "Zigbee info" option).
Hello, I followed your advice but I do not know how to continue. I am sending you the log and very grateful for your help.
Hello, I am experiencing problems regarding below mentioned item. https://www.aliexpress.com/item/1005004242288793.html?spm=a2g0o.order_detail.0.0.3d66f19cdtUBsi
I can add the device to ZHA but no entities are visible. I have tried custom quirks with no result. I am new it this area.
In case someone else has experienced a similar problem, I would like to know how to solve it.
TY for Help
Device signature
```yaml { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
```yaml { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.9.6", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "x86_64", "timezone": "Europe/Prague", "os_name": "Linux", "os_version": "5.15.67", "supervisor": "2022.09.1", "host_os": "Home Assistant OS 9.0", "docker_version": "20.10.17", "chassis": "vm", "run_as_root": true }, "custom_components": { "xiaomi_miot": { "version": "0.6.12", "requirements": [ "construct==2.10.56", "python-miio>=0.5.6", "micloud>=0.3" ] }, "zha_toolkit": { "version": "v0.8.16", "requirements": [] }, "localtuya": { "version": "4.1.0", "requirements": [] }, "xiaomi_cloud_map_extractor": { "version": "v2.2.0", "requirements": [ "pillow", "pybase64", "python-miio", "requests", "pycryptodome" ] }, "hacs": { "version": "1.27.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "mikrotik_router": { "version": "0.0.0", "requirements": [ "librouteros>=3.2.0", "mac-vendor-lookup>=0.1.12" ] }, "sonoff": { "version": "3.2.0", "requirements": [ "pycryptodome>=3.6.6" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.33.1", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.79", "zigpy-deconz==0.18.1", "zigpy==0.50.3", "zigpy-xbee==0.15.0", "zigpy-zigate==0.9.2", "zigpy-znp==0.8.2" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "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", "@puddly" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" } ], "dependencies": [ "file_upload" ], "after_dependencies": [ "onboarding", "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": 58173, "manufacturer": "_TZE200_fm5yck8a", "model": "TS0601", "name": "_TZE200_fm5yck8a TS0601", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4098, "power_source": "Mains", "lqi": 212, "rssi": -47, "last_seen": "2022-09-25T15:44:45", "available": true, "device_type": "Router", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Additional logs
``` ```