Closed mkoppanen closed 1 year ago
Some additional information: I've been running a lot of tests with this device and zha. The behaviour seems to be consistent: When I pair the device it keeps working for a couple of minutes and then the HA switch stops controlling the valve.
After 6 hours of pairing the device becomes unavailable (6 hours is my configured time for battery powered devices to be seen offline).
I don't know whether it's relevant but during the time the device is connected it keeps changing id (Log entries about device changed id).
I've tried to see if there are any debug logging events around the time when the valve becomes unresponsive but I cannot see anything relevant.
Any tips for debugging this issue further?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Hi, Martin here. I know this is a while ago, but... I own three of those valves and am facing the same issue, they are unusable with ZHA. Have you been able to solve this last year, or gave up? Thank you, Martin
@MartinNeurol I switched to zigbee2mqtt and haven't had similar issues since.
oh, I see... thank you...
Bug description
The device is a GiEX irrigation valve QT06_2 variant (as seen here: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/devices/giex.js#LL202C17-L202C23)
When adding the device in ZHA only the on/off switch entity is added and the rest of the values (battery level etc) are not properly displayed. After pairing the device the on/off switch works for about few minutes and then stops controlling the valve. My controller is Sonoff Zigbee 3.0 USB Dongle Plus (e-variant).
In order to exclude device faults I installed a standalone zigbee2mqtt using a separate usb dongle and the device stays connected for several hours (that's as long as I tested).
I've enabled debug logging and tried to isolate relevant parts in the message below. However, if there are any other logs I can produce let me know.
Steps to reproduce
Expected behavior
The valve to work normally and the entities to be added
Screenshots/Video
Screenshots/Video
![Screenshot 2023-04-28 at 17 43 41](https://user-images.githubusercontent.com/90124/235205885-b9367f92-123e-485a-94c6-ff4a162dbaf7.png)Device signature
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.4.6", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.10", "docker": true, "arch": "x86_64", "timezone": "Europe/London", "os_name": "Linux", "os_version": "6.1.25", "supervisor": "2023.04.1", "host_os": "Home Assistant OS 10.1", "docker_version": "23.0.3", "chassis": "vm", "run_as_root": true }, "custom_components": { "sonoff": { "version": "3.5.1", "requirements": [ "pycryptodome>=3.6.6" ] }, "alexa_media": { "version": "4.6.2", "requirements": [ "alexapy==1.26.5", "packaging>=20.3", "wrapt>=1.12.1" ] }, "garbage_collection": { "version": "4.10.2", "requirements": [ "python-dateutil>=2.8.2" ] }, "localtuya": { "version": "5.0.0", "requirements": [] }, "zha_toolkit": { "version": "v0.8.38", "requirements": [ "packaging>=20.8", "pytz" ] }, "tplink_deco": { "version": "3.3.1", "requirements": [ "pycryptodome>=3.12.0" ] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] } }, "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" ], "requirements": [ "bellows==0.35.1", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.97", "zigpy-deconz==0.20.0", "zigpy==0.54.1", "zigpy-xbee==0.17.0", "zigpy-zigate==0.10.3", "zigpy-znp==0.10.0" ], "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": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 26677, "manufacturer": "_TZE200_a7sghmms", "model": "TS0601", "name": "_TZE200_a7sghmms TS0601", "quirk_applied": true, "quirk_class": "zhaquirks.tuya.ts0601_valve.GiexValve", "manufacturer_code": 4417, "power_source": "Battery or Unknown", "lqi": 124, "rssi": -69, "last_seen": "2023-04-28T15:03:13", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Logs
Logs
```python Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=Additional information
No response