Closed cvocvo closed 1 year ago
Hmm, maybe they need to have the "Tuya spell" cast on them. So a quirk changing the device to an EnchantedDevice
and using an "Enchantable Tuya" cluster.
Can you also attach ZHA integration diagnostics? Also, what coordinator are you using?
Hmm, maybe they need to have the "Tuya spell" cast on them. So a quirk changing the device to an EnchantedDevice and using an "Enchantable Tuya" cluster.
How can I configure that?
Edit2: OOPS I got my wires crossed. I actually moved to a SONOFF ZBDongle-E for Zigbee.
Here are the diagnostics logs:
Edit: Apologies, the formatting on those logs are config_entry-zha-2e20f551eb95a9d3ed9aef96ebc222c8.json (1).txt terrible. Tried a few ways and no dice. I'll attach the file.
I mentioned it here in https://github.com/zigpy/zha-device-handlers/issues/2588 first, but today I updated the firmware on my SONOFF ZBDongle-E from 6.10.3 to 7.3.1.
If anyone stumbles across this, it seems https://www.aliexpress.us/item/3256805415172258.html is a bit slower to update for temperature than the other circular one. However, depending on what you're monitoring +/- 10ish minutes per reading may not be too bad.
Bug description
I recently bought two Tuya temperature / humidity zigbee sensors and both of them are detected but and initially report data but then become unresponsive, stop reporting data, and are marked as unavailable in Home Assistant moments after adding.
The two sensors:
Steps to reproduce
Expected behavior
Screenshots/Video
Screenshots/Video
![image](https://github.com/zigpy/zha-device-handlers/assets/355711/fe84e16d-0a3b-4a6c-8bba-d8cf403fdc72) ![image](https://github.com/zigpy/zha-device-handlers/assets/355711/842e1508-2ace-4fa0-b880-87d5e5170c7d)Device signature
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "x86_64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.45", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "dyson_cloud": { "version": "0.15.0", "requirements": [ "libdyson==0.8.7" ] }, "owlet": { "version": "1.0.0", "requirements": [ "PyJWT", "gcloud", "sseclient", "requests_toolbelt" ] }, "deepstack_face": { "version": "0.9.0", "requirements": [ "pillow", "deepstack-python==0.8" ] }, "weatheralerts": { "version": "0.1.5", "requirements": [] }, "dlink_hnap": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "dyson_local": { "version": "0.16.4-4", "requirements": [ "libdyson==0.8.11" ] }, "babybuddy": { "version": "v0.0.0", "requirements": [] }, "zha_toolkit": { "version": "v0.9.9", "requirements": [ "pytz" ] }, "simple_wyze_vac": { "version": "1.8.8", "requirements": [ "https://github.com/romedtino/wyze-sdk/archive/refs/tags/10.4.1.zip#wyze-sdk==10.4.1" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.3", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.103", "zigpy-deconz==0.21.1", "zigpy==0.57.1", "zigpy-xbee==0.18.2", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4", "universal-silabs-flasher==0.0.13" ], "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" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 45936, "manufacturer": "_TZ3000_xr3htd96", "model": "TS0201", "name": "_TZ3000_xr3htd96 TS0201", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4417, "power_source": "Battery or Unknown", "lqi": 255, "rssi": -35, "last_seen": "2023-09-16T11:20:00", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Logs
Logs
```python [Paste the logs here] ```Not sure why but my log file is 200MB and I can't easily upload it.
Additional information
No response