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

DDF for Develco/frient electricity meter interface 2 EMIZB-141 #7850

Closed SwoopX closed 1 month ago

github-actions[bot] commented 2 months ago

Hey @SwoopX, thanks for your pull request!

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

DDB changes

Modified

Validation

[!TIP] Everything is fine !

:clock530: Updated for commit 6f9ece159c38b952e9e1031bb44e92614fdbe27a

aksdb commented 2 months ago

Since I am an extreme DDF-noob, can you give me a quick hint what part of the definition is the magic so it works with the overlapping IDs in the Simple Meter cluster? Anytime I tried to get or set the config 0x300 (pulse config), 0x301 (current) or 0x302 (interface mode), it instead read (or tried to write) the other 0x300 (unit of measure), 0x301 (multiplier) or 0x302 (divisor).

Is there some other adressing mechanism that can be leveraged when manually writing/adjusting the DDF?

SwoopX commented 2 months ago

I'm afraid it doesn't work as expected. Within deconz GUI, you cannot work with those overlaping IDs since like forever. Unfortunately, there's a distinction between general and manufacturer specific clusters missing. The respective code is, if I recall correctly, part of the deconz library and not so long open source.

DDFs do not care since they just "do" what you tell them. You might want to check the wiki for the DDF cheat sheet to get some more insights

github-actions[bot] commented 1 month ago

This pull request is now merged. The new DDB files have been uploaded to the store.

DDB Files

Modified

:clock5: Updated for commit 3a532053cbeb8df385461e83a4a680683837fdec