-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] TS0601 _TZE200_yvx5lh6k (Smart Air Box) not finding the quirk #1004
Comments
actually, looks like the signature for this model was added in #954 just need to release new version. |
you may add a
and copy https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/__init__.py and https://github.com/zigpy/zha-device-handlers/tree/dev/zhaquirks/tuya/air to that folder |
Thank you for all the great work.
Regards,
Glenn Byron
From: Alexei Chetroi
Sent: Monday, August 23, 2021 7:12 PM
To: zigpy/zha-device-handlers
Cc: Glenn Byron; Author
Subject: Re: [zigpy/zha-device-handlers] [BUG] TS0601 _TZE200_yvx5lh6k (SmartAir Box) not finding the quirk (#1004)
you may add a my_quirks folder in your /config folder where your configuration is and add to configuration.yaml
zha:
custom_quirks_path: /config/my_quirks
and copy https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/__init__.py and https://github.com/zigpy/zha-device-handlers/tree/dev/zhaquirks/tuya/air to that folder
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
hi @Adminiuga, i have 2 of these devices and one works and the others add with no entities same devices both TS0601 _TZE200_yvx5lh6k. when i look at the log it says 2021-12-28 14:57:21 DEBUG (MainThread) [zigpy.application] Device a4:c1:38:64:4f:63:d7:00 changed id (0xca81 => 0xca81) Do you have any idea what did go wrong and how to fix it? thanks Kind Regards, Pim here is the device signature of the faling device and here from the one that works great |
Nevermind, it has a different device type and an additional ZGP endpoint. This would require a new quirk to match this signature. |
Thanks for you answer could you please tell me how i can get it added two the quirk or could i add it as a custom quirk? And how can you see they are different are the not both from the same manufacturer the both _TZE200_yvx5lh6 one device works fine all 5 sensors but the other one not show any. Thanks for helping |
Copying over the ts0601_air_quality.py and adding the following section to the ENDPOINTS dictionary of the TuyaCO2Sensor device allowed me to have it operational:
As debugging hint, check out the HA page especially the debug logging section. If the zhaquirks loglevel is set to debug, you can see in the log during the device interrogation why it is matching or not matching a device to a quirk file. |
ZGPP is added in #1066 so likely only need adding the device ID in: zha-device-handlers/zhaquirks/tuya/air/ts0601_air_quality.py Lines 83 to 85 in d65fd8d
|
Yes, that works! |
Adds model "_TZE200_yvx5lh6k" to Tuya Air quality device with GPP
I purchased a Tuya Smart Air Box with a Zigbee ID of: "_TZE200_8ygsuhe1" and it is working as expected. I purchased a second and it came with a Zigbee ID of: "_TZE200_yvx5lh6k" and it is not working as expected. The Zigbee Device Compatibility Repository claims that both of the Zigbee IDs should be working.
Here is the Zigbee device signature from the Smart Air box that is working correctly (_TZE200_8ygsuhe1).
Here is the Zigbee device signature from the Smart Air Box that is not working (_TZE200_yvx5lh6k)
Here is an interesting excerpt from the logs:
The text was updated successfully, but these errors were encountered: