-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(inputs.huebridge): Add plugin #16352
Conversation
… and test logging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hdecarne for your contribution and sorry for this taking so long! I do have a very first comments in the code.
Additionally, I suggest splitting the code into some more files to make the plugin code more readable. How about defining a bridge
type for handling all the discovery stuff, resource gathering and actual data gathering and keep the plugin code to manage the calls to the different bridges? The new type could then more to an own file for readability...
72ba9a1
to
ed96fe9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update @hdecarne! Here are some more comments on the structure...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hdecarne we are getting closer... Some more comments...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @hdecarne! Just some small style/naming comments and a request to merge the metadata stuff into the bridge
type as I feel it should belong there...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hdecarne for your contribution and quick updates! Could you please resolve the merge conflict?
@srebhan, I did a dependency update after your review to remove some no longer needed dependencies. |
@hdecarne Could you resolve the merge conflict on this PR? Thanks! |
Summary
This PR provides the inputs.huebridge plugin for collecting Smart Home statistics.
It gathers status from Hue Bridge devices using the device's CLIP API.
I previously contributed this plugin as an external one. As part of the latest reworks I also converted it into an internal one.
Checklist
Related issues
resolves #16351