ADD DDF for Legrand 067755 Wireless Scenes Command #6096
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the @Didier3L help, See #6081
"eval": "Item.val = (ZclFrame.at(0) + 18) * -1000 + 2"
The formula is not realy clean, but it work and don't want to break it (haven't the device to test). And can't use legacy code as legrand reverse the payload.
Something interesting, the device support 0x0020 and 0x0021 attribute on the cluster 0x0001, but it seem only the 0x0020 can use reporting (not investigate)
It seem too the device don't need bind on the cluster 0x0005 (and battery reporting is probably useless too as it have worked using the bad one)
Like some Legrand stuff (all scene switch), group feature are disabled for the moment by security (some device recreate group in loop mode)