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

Battery not reported on DDF for Tuya temperature and humidity sensor (_TZ3210_ncw88jfq) #7908 #7918

Open
2 tasks done
RneeJ opened this issue Sep 8, 2024 · 7 comments
Open
2 tasks done

Comments

@RneeJ
Copy link

RneeJ commented Sep 8, 2024

Does the issue really belong here?

  • I definitively want to report a bug within deCONZ or its REST-API

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for the bug at hand

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

afbeelding

For before (in original .json) see #7884

Environment

na

deCONZ Logs

na

Additional context

na

@Smanar
Copy link
Collaborator

Smanar commented Sep 8, 2024

Hello, but on your capture here #7884 (comment)
The battery is here too ? We can see config/battery = 100%

So the problem is from Phoscon ?

@RneeJ
Copy link
Author

RneeJ commented Sep 8, 2024

Hoi Smanar.

Before the battery was reported correctly (at date 30.08.2024):
2024-08-30 17-36-12
then i send in the my working .json.

You made some changes to the .json, it was pulled in and a new DDF was created.

I downloaded the new DDF to my " production" machine and now the battery status is gone.

(But a version is shown correctly)

@Mimiix
Copy link
Collaborator

Mimiix commented Sep 8, 2024

Is it still in the api?

@RneeJ
Copy link
Author

RneeJ commented Sep 8, 2024

Hi all,

I put this .json in my $HOME/.local/share/deCONZ/devices/ :
_TZ3210_ncw88jfq_temp-hum-sensor-RNEEJ.json

Now i have the battery status back again.

(Also in Domoticz)

@Smanar
Copy link
Collaborator

Smanar commented Sep 8, 2024

But we can see the battery level on the API
afbeelding

So if it's not visible in phoscon, the problem is from it.

But it was missing in domoticz too ? Domoticz use direclty the api, so if you can see it using Phoscon/help/API Information/sensor and not in domoticz it 's more problematic. But take care it can take some hours for the battery is updated.
Or you can restart the Domoticz plugin to resynchronise Domoticz and deconz (Hardware panel / deconz / update)

@RneeJ
Copy link
Author

RneeJ commented Sep 8, 2024

@Smanar , i think there is some confusion here, i apologize.
I have a seperate full size "test" and a headless Pi "production" machine.
I used my " test" machine for setting up Zigbee/Phoscon/deCONZ.
I don't want to mess up Domoticz ;-)

But the problem is the same.
This new DDF does not show battery for this device :
afbeelding

This was Domoticz with the installed DDF :
domo_voor

This is now Domoticz with the mentioned _TZ3210_ncw88jfq_temp-hum-sensor-RNEEJ.json installed :
afbeelding

So the DDF Bundle is wrong , because it does not show the battery.

@Smanar
Copy link
Collaborator

Smanar commented Sep 16, 2024

Ha ok.
But I have checked the DDF https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZ3210_ncw88jfq_temp-hum-sensor.json
It's the good one "uuid": "f490468c-83c1-4367-9168-4043f59e23cc",

And I m seing the line for battery (even lighter than the working version)

        {
          "name": "config/battery"
        },

So IDK if it's missing or not updated (a null value for exemple)
Can you take a look on your "not working" version how it look direclty in the API ? (the json for the ZHATemperature for exemple) from Domoticz (on the Front end) or Phoscon (Help/API Information/sensor).

The code is lighter, there is only 1 line, but it need to work too.

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

No branches or pull requests

3 participants