-
Notifications
You must be signed in to change notification settings - Fork 501
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
Battery not reported on DDF for Tuya temperature and humidity sensor (_TZ3210_ncw88jfq) #7908 #7918
Comments
Hello, but on your capture here #7884 (comment) So the problem is from Phoscon ? |
Is it still in the api? |
Hi all, I put this .json in my $HOME/.local/share/deCONZ/devices/ : Now i have the battery status back again. (Also in Domoticz) |
@Smanar , i think there is some confusion here, i apologize. But the problem is the same. This was Domoticz with the installed DDF : This is now Domoticz with the mentioned _TZ3210_ncw88jfq_temp-hum-sensor-RNEEJ.json installed : So the DDF Bundle is wrong , because it does not show the battery. |
Ha ok. And I m seing the line for battery (even lighter than the working version)
So IDK if it's missing or not updated (a null value for exemple) The code is lighter, there is only 1 line, but it need to work too. |
@Smanar , yours isn't working. I did a complete new install on a complete new machine (Rasp 5). (Domoticz ; it took ages...) Battery was NOT reported, not in the deCONZ app nor in Domoticz. I installed my json and battery was reported correct : "schema": "devcap1.schema.json", |
And my presence sensor It does not show battery status. This (by me) changed json does : |
Ha yes, have checked the json
All is managed by legacy code, so can be buggy. BTW do you want to make a PR to correct the 2 files or want I make it ? |
@Smanar thank you for your quick response. please, you can make the PR. 👍 |
I think this is fine ? #7951 Have just increase the refresh of polling at 24h, because on some report the value is smaller. |
Oke , i will test them next week. Thank you! |
Can confirm this works as expected ! Just one thing is not fully oke :
In Domoticz however :
I mean the data is available so why are they not used in the applications ? The ddf is oke, i can live with this , so if you want |
I don't have impact on Phoscon, but on domoticz, the plugin use only the int value, it's perhaps because Domoticz use only int value for humidity (My other domoticz plugin do same), or a choice, temperature move a lot 12 °C is not same than 12.5 °C for regulation, for humidity 53 % or 53.9 %, I don't think it's a big difference. |
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
@Smanar see #7884
I installed the new DDF from the repo.
In the .json i deliverd for this device the battery was reported correctly, now it is missing.
Steps to reproduce the behavior
NA
Expected behavior
report state of battery as before
Screenshots
For before (in original .json) see #7884
Environment
na
deCONZ Logs
na
Additional context
na
The text was updated successfully, but these errors were encountered: