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

Help & guidance in implementing the Tuya FE00 cluster for TS0601 devices #406

Open
dmsherazi opened this issue Nov 1, 2022 · 5 comments

Comments

@dmsherazi
Copy link

I am trying to add a thermostat and some curtains that are implemented by the tuya generaic devies with cluster FE00.
Are the FE00 clusters commands supported? Kindly guide me in how to implement them for me to get started!

@tcharp38
Copy link

tcharp38 commented Nov 5, 2022

Hello @dmsherazi
I can just give you my point of view:

Supporting private cluster is really time consuming.
Good luck.

@dmsherazi
Copy link
Author

@tcharp38 Thanks alot for your response on the topic.

Your plugin has to handle this itself by decoding it and doing custom stuff

Can you guide me to the starting steps. As far as the link you provided is corncerned I am having some confusions:
1- What is the relation of tuya DP with attributes?
2- How Can I read diffrent DPs?

@tcharp38
Copy link

Hi
Please refer to tuya.developer link I put above and specifically this https://developer.tuya.com/en/docs/iot/tuya-zigbee-universal-docking-access-standard?id=K9ik6zvofpzql#subtitle-5-Private%20cluster

Not sure about attributes but I see mainly commands sent or received by Tuya device and containing 1 to several datapoints.

You can also look into Abeille's code to see how it is currently handled but.. not a reference.

@dmsherazi
Copy link
Author

You can also look into Abeille's code to see how it is currently handled but.. not a reference.
Can you provide a link?

I see that zigpy-zigate works with zigate and they support tuya devices reading the DP and sending commands. Is there any serial commands for zigate to request it to send the custom tuya commands ?
Looking at this list I dont see anything except Requête APS
image
that can send any custom commands? Do I have to use this to send the tuya commands?

@tcharp38
Copy link

I can only talk how it is currently handled in Abeille but as I said probably not the cleanest code
So yes, Abeille is using 0530 too

https://github.com/KiwiHC16/Abeille/blob/dd6367914a0a3314867c76794ee3375b1a284e38/core/class/AbeilleCmdProcess.class.php#L4517
and
https://github.com/KiwiHC16/Abeille/blob/master/core/php/AbeilleCmd.php

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

No branches or pull requests

2 participants