dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Help needed: DDF for Ubisys H1 Version 1.7 #7841

Open jan666 opened 2 months ago

jan666 commented 2 months ago

This is for the new Version 1.7 which supports detection of open windows.

I added config/externalsensortemp in another pull request. This is not needed anymore. Ubisys changed it. Now the temperature is reported as external temperature sensor which makes more sense IMO. No need for a second attribute.

Reading works. But writing does not. I know know why, maybe there is something I miss...?

Works fine for me. Tested by cooling down my external sensor.

I wanted to make this a DDF just for Version 1.7. @SwoopX helped me and told me I should add:

"matchexpr": "var v = R.item('attr/otaversion').val; (v != 0 && v < 0x0170044D);"

but when I add this my DDF is not selected but the "stock" one. What's wrong with this?

What about the UUID? Should I just generate a new one?

github-actions[bot] commented 2 months ago

Hey @jan666, thanks for your pull request!

[!TIP] Modified bundles can be downloaded here. Relative expire date

DDB changes

Modified

Validation

[!CAUTION] Some errors have been reported. Please check the error annotations here and the logs here.

:clock11: Updated for commit 7a1bc84283dad48cd0239719e2ac01fa31e0f89b

SwoopX commented 2 months ago

@jan666 can you please read the attributes of the OTA cluster (0x0019) and share a screenshot here? Thanks!

jan666 commented 2 months ago

@jan666 can you please read the attributes of the OTA cluster (0x0019) and share a screenshot here? Thanks!

image
Zehir commented 1 month ago

What about the UUID? Should I just generate a new one?

No it's will be handled by some github action after the merge of the PR