Skip to content

DDF for GLEDOPTO RGBW - #6851

Merged
manup merged 3 commits into
dresden-elektronik:masterfrom
ebaauw:gledopto
Apr 13, 2023
Merged

manup merged 3 commits into
dresden-elektronik:masterfrom
ebaauw:gledopto

Conversation

@ebaauw

@ebaauw ebaauw commented Apr 2, 2023 •

Copy link
Copy Markdown
Collaborator

DDF for my GLEDOPTO flood light, to eliminate the need to whitelist this device in Homebridge deCONZ.

The older GLEDOPTO devices all used GLEDOPTO for Manufacturer Name and Model Identifier, but they would expose different endpoints. This is for the RGBW lights, that expose a dimmable light on endpoint 0x0A and an extended color light on endpoint 0x0B, like the flood light that I have on my balcony. I have some other devices (controllers) whitelisted in Homebridge Hue, but I'm not sure if I still have these.

Notes:

  • I want to add a check for SW Build ID of 1.0.2, but that's currently not possible in a DDF.
  • The max/min ct values are assumed; unfortunately, the light does not report the actual ct. Note that ct is emulated using the RGB channels.

@ebaauw
ebaauw requested a review from manup April 2, 2023 10:38
ebaauw added 2 commits April 2, 2023 13:42
Add fake `modelid` or DDF won't match second time (after restart).
Add (assumed) max/min values for `ct`.
@manup

manup commented Apr 3, 2023

Copy link
Copy Markdown
Member

Not sure if it helps here, but what already works with matchexpr ist testing for existing endpoints:

For example one DDF has: "matchexpr": "(R.endpoints.indexOf(0x15) !== -1) && (R.endpoints.indexOf(0x16) !== -1);

@manup manup added this to the v2.22.0-beta milestone Apr 3, 2023
@ebaauw

ebaauw commented Apr 3, 2023

Copy link
Copy Markdown
Collaborator Author

Indeed, that's what I'm already using.

@manup
manup merged commit b5fecdc into dresden-elektronik:master Apr 13, 2023
@ebaauw
ebaauw deleted the gledopto branch April 13, 2023 17:10
@ebaauw
ebaauw restored the gledopto branch April 13, 2023 17:10
@ebaauw
ebaauw deleted the gledopto branch April 13, 2023 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants