-
Notifications
You must be signed in to change notification settings - Fork 752
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
[Device Support Request] TZE200_hvaxb2tc TS0601 Valve #3527
Comments
Did u get this working ?? I have 6 off the same ones cant do anything with them ? |
With the latest merge (#3684), I had no problems getting it work with the custom quirk here: As you can see, the exact model ID is supported as well. |
@jabouchleih I am in the same boat and have just added a few of these to my network but no entities exposed. I did see https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_trv.py#L1803C1-L1804C1 the other day but I am pretty new to Quirks. I believe I followed a setup guide correctly but when I restart the ZHA service it just errors out. If you have time, would you mind posting a quick guide I could follow? Edit: When using the custom quirk I get https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_trv.py#L1803C1-L1804C1
|
@AaronLayton See zigpy/zigpy#1508 There is a bug in zigpy, if you are trying to replace a built-in v2 quirk with a custom one, you need to delete the built-in quirk from the registry first. That said, these were just merged 4 days ago, so there shouldn't be a built-in quirk. Make sure you didn't define it twice or have multiple files with the same model and manufacturer. This will be in the HA release next month. |
Hi @AaronLayton , set up was quite straight forward for me (side note: I'm running HA as a Docker container so this might not work with your setup but should be adaptable). Did you clone the whole ZHA Device Handlers repo into your custom quirks directory? Edit the Home Assistant configuration.yml found inside the root of your HA config directory by SSHing into your HA host:
Edit the file:
Add the following text to your configuration.yml
And create a directory called
Copy the file whole content of the Custom quirk into a file called Download the file from into the custom_zha_quirks/ directory:
Download the file:
Make sure the correct access rights are set to the directory and file, if you're using specific user IDs for the Home Assistant process or container and finally restart Home Assistant. That should be it in all detail :-) |
Thank you for the hint, I will give it a try.StefanVon meinem/meiner Galaxy gesendet
-------- Ursprüngliche Nachricht --------Von: Janes ***@***.***> Datum: 19.01.25 20:35 (GMT+01:00) An: zigpy/zha-device-handlers ***@***.***> Cc: ahimsafantasyname ***@***.***>, Manual ***@***.***> Betreff: Re: [zigpy/zha-device-handlers] [Device Support Request]
TZE200_hvaxb2tc TS0601 Valve (Issue #3527)
Hi @AaronLayton ,
set up was quite straight forward for me (side note: I'm running HA as a Docker container so this might not work with your setup but should be adaptable).
Edit the Home Assistant configuration.yml found inside the root of your HA config directory by SSHing into your HA host:
Docker Compose YML:
volumes:
- /srv/mydisk/homeassistant/config:/config
Edit the file:
nano /srv/mydisk/homeassistant/config/configuration.yml
Add the following text to your configuration.yml
zha:
custom_quirks_path: /config/custom_zha_quirks/
And create a directory called custom_zha_quirks inside the aforementioned configuration directory
mkdir /srv/mydisk/homeassistant/config/custom_zha_quirks/
Copy the file whole content of the Custom quirk into a file called ts0601_trv.py
Download the file from here: https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0601_trv.py
Copy all text into your clipboard (Ctrl + C)
nano /srv/mydisk/homeassistant/config/custom_zha_quirks/ts0601_trv.py
Press right click to paste the content and then Ctrl + O and Ctrl + N to save and exit the file
Make sure the correct access rights are set to the directory and file, if you're using specific user IDs for the Home Assistant process of container
Restart Home Assistant
That should be it in all detail :-)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hiya both, thanks for the quick replies Looking at the link @prairiesnpr posted, I think it is this that I am getting. Hopefully it will all get resolved soon as its merged in, for now I will see if I can delete the built-in quirk from the registry. I have added the below to the custom quirk I am trying to load up. This needs to go underneath the bottom of the other imports. from zigpy.quirks import DEVICE_REGISTRY
del DEVICE_REGISTRY._registry_v2[("_TZE200_hvaxb2tc", "TS0601")] Adding the above has now make the ZHA integration load again. However on initial testing there are still no entities exposed. I will continue to look into it and report back. For anyone else looking at this in the meantime I only have the 1 quirk installed, copied straight from the links mentioned above. |
Did you readd the device? I had to do delete the device from HA, do the pairing again and only then the entities were visible. |
Problem description
I can add the device but there are no Sensors. I have allready try to use existent quirks. Sone of them add sensor but there are all in Status „Unknown“
I'm happy to provide further information or data. Unfortunately, I haven't been here long and therefore don't really know much about it.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]
Device signature
Device signature
[Paste the device signature here]
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]
Logs
Logs
Custom quirk
Custom quirk
Additional information
No response
The text was updated successfully, but these errors were encountered: