-
Notifications
You must be signed in to change notification settings - Fork 506
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 Request: TY0201 _TZ3000_bjawzodf #7684
Comments
I modify some existing file and it works. |
Ha yes there is already a DDF, but not for the same model
If it's the one you have modified, can you submit a PR ? |
Ha yes, one DDF work with tuya cluster, the second one with classics clusters. Lol, so impossible to guess without the device. Thx for tests. Do you want to make a PR to add it officially ? |
hi @Smanar , what is the progress on this? |
Nothing was done as I dn't have answer. You can try this DDF to see if it work
|
Ok, I will try it later tonight |
Yep, the battery status can need some time. |
Can try to fix the batrtery first, perhaps this device need something not standard. On the DDF, can try replace
by
|
The adjusted part is in place, waiting for updated data. |
@Smanar after 24H the battery is still not updated. Fyi in the gui it show simply 76 |
76 ? Another thing, when you read a value in the GUI, it update the value in the API too, so you need to have a 76/2 value for battery now. Else can you enable log in deconz with only flag "DDF", will be not too much talkative and try to read this value again ? |
So fisrt bug, it seem sometime deconz show hexa value instead of decimal, what is your deconz version ? So the battery level is good on the API, but not on Phoscon ? |
I went back to 2.22 recently as aqara sensors were reporting very sporadically, sometimes for 4-6hours no updates at all. Correct, good in API but not in phoscon. Ps.: I can change to any version you prefer to check. I am on docker |
It's definied on the DDF
You have put the DDF on the "tuya" folder ? there is a relative path.
So it work for an entry and not the other ? Here I don't understand, same code mean same result.
Or you are using the modified code only on one of them ?
|
You're right, adjusted only one of the batteries (however in the latest stable it is picked and shown properly) The file is in the |
Lol, yes I think we can, it's the same code on ALL tuya DDF. So do you want to submit a PR or want I make it ? |
Let's accept it should work :) If you don't mind, I would leave the pr for you to avoid that I screw up something accidentally |
Done > #7993 |
Thank you! |
Is there already an existing issue for this?
Product name
TY0201
Manufacturer
Tuya
Model identifier
_TZ3000_bjawzodf
Device type to add
Sensor
Node info
Endpoints and clusters
25 46" src="https://github.521000.bestbcd-5074-434f-9563-95d7daac512c"> /dresden-elektronik/deconz-rest-plugin/assets/53448222/af7bd224-799c-47a0-b114-7c80c22060cd">
Basic
Further relevant clusters
Power Configuration
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest
The text was updated successfully, but these errors were encountered: