Skip to content
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

Tuya Siren (new) TS0601 by _TZE284_nlrfgpny #3667

Open
cibermike20 opened this issue Jan 3, 2025 · 6 comments · May be fixed by #3697
Open

Tuya Siren (new) TS0601 by _TZE284_nlrfgpny #3667

cibermike20 opened this issue Jan 3, 2025 · 6 comments · May be fixed by #3697

Comments

@cibermike20
Copy link

cibermike20 commented Jan 3, 2025

Problem description
I have a tuya zigbee siren. It is a new model i guess. How can i get this working with ZHA?
I can only see it in home assistant but it has no entities (just LQI/RSSI) and can not be controlled (alarm fired).

TS0601
by _TZE284_nlrfgpny

Bought here: https://aliexpress.com/item/1005007022197993.html

Solution description
That i can start and stop the alarm in home assistant and read it's status.

Screenshots/Video

Device signature

Diagnostic information

Logs

Custom quirk

Additional information

Thanks!

@prairiesnpr
Copy link
Contributor

I'll probably regret it, but ordered one, maybe that will get the woodpecker to leave my house alone. Once it's here I'll add the quirk for it.

@cibermike20
Copy link
Author

I'll probably regret it, but ordered one, maybe that will get the woodpecker to leave my house alone. Once it's here I'll add the quirk for it.

That would be great. Even if at the end we can just use it as woodpeckers house. : ))
I will wait for that quirk.

Thanks a lot!

@prairiesnpr prairiesnpr linked a pull request Jan 10, 2025 that will close this issue
3 tasks
@prairiesnpr
Copy link
Contributor

prairiesnpr commented Jan 11, 2025

@cibermike20 the siren came today, added PR but it will take some work to use as a custom quirk since this has to be enchanted or it will just flash continuously on join. If you do want to test, you will need to subclass TuyaQuirkBuilder and add the tuya_enchantment method.

@cibermike20
Copy link
Author

@cibermike20 the siren came today, added PR but it will take some work to use as a custom quirk since this has to be enchanted or it will just flash continuously on join. If you do want to test, you will need to subclass TuyaQuirkBuilder and add the tuya_enchantment method.

Thanks a lot. I will check it out.
I'm not an expert in custom quirks but I will have a look at one I have and try to use the subclass/method mentioned.

Keep in touch!

@cibermike20
Copy link
Author

@cibermike20 the siren came today, added PR but it will take some work to use as a custom quirk since this has to be enchanted or it will just flash continuously on join. If you do want to test, you will need to subclass TuyaQuirkBuilder and add the tuya_enchantment method.

Hi,
I had some time to try the custom quirk. I had to replace "TuyaPowerConfigurationClusterOther" by "TuyaPowerConfigurationCluster". Otherwise, it gave me an error when importing.

Anyway, after doing so, I get now the following error:
File "/config/custom_components/zha_quirks/TS0601_TZE284_nlrfgpny.py", line 85, in
.tuya_enchantment()
^^^^^^^^^^^^^^^^
AttributeError: 'TuyaQuirkBuilder' object has no attribute 'tuya_enchantment'

I guess that I should probably do what you mentioned to subclass TuyaQuirkBuilder and add the tuya_enchantment but, honestly, I don't know how to do that.

Best regards,

@prairiesnpr
Copy link
Contributor

It's probably easier to wait for the next release, you need to implement everything in #3661 for the quirk to work.

You could also try deleting tuya_enchantment maybe it will work without it for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants