-
-
Notifications
You must be signed in to change notification settings - Fork 403
Add Home Assistant Lights support #1763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello, Took the time to test the new “HomeAssistant” build. My short conclusion: I can select all the lamps I have set up in Home Assistant and set them up in an instance. I have added another instance to an existing Ambilight instance of HyperHDR on “adalight” LED controllers with HyperSerial and set up two Home Assistant IDs. You can specify in the LED layout which position the lamps should have. I only have a simple Hue Bridge for the ZigBee lamps and via this, I have also integrated the Hue and other ZigBee compatible lamps into my Home Assistant. In any case, it is a super addition to the already extensive LED control of the Hyperion.NG. I hope @popy2k14 and other supporters will also test this project and share their experiences. |
@satgit62 Just note, that currently the HA Light IDs will map only to the first LED in the layout. |
Yes, I know that, I found out. |
Yes, the current way gives most flexibility. |
I would like to test your PR - however when I issue the command: I get this: Would you mind recreating the artifacts? Thank you very much! 😄 |
https://github.com/hyperion-project/hyperion.ng/actions/runs/9997312040?pr=1763 Once the workflow is complete, the artifacts should be available again. |
Installation worked - thank you! |
How do I install this on Hyperbian? |
@kylewhirl I followed this: https://docs.hyperion-project.org/user/advanced/Testing.html |
Guys, thanks for your efforts and sorry that i found not more time to test this. |
@popy2k14 You can still do testing and provide feedback, even the PR was merged. 😃 |
@Lord-Grey i will, but dont know when i find time |
Hi there @Lord-Grey |
You need to install the nightly build |
@Lord-Grey Is there any docker image, which has the nightly/dev builds? |
Unfortunately, I do not know. |
@flayzer Did you solve the issue with your Tapo lights? |
@Lord-Grey Yep, I managed to solve it! I just had to enable the advanced settings toggle. 😅 Thanks for all your hard work on this. It's working perfectly now. 🙌 |
@flayzer Could you do me a favour and test how the Tapo lights behave with different color/brightness combinations? Would you be able to run the following commands against your "overhead_light_bulb" bulb?
I think we should go for 4. but I would like to validate... |
Yeah, sure. Happy to help. I noticed my bulb doesn't handle full black colour well, so I've opted for the "Switch off on black" option. 1. Full brightness / Black (Current Misbehaviour)Behaviour: Bright white light
2. Full Brightness / Slightly Lighter BlackBehaviour: Bright white light 3. No Brightness / BlackBehaviour: Bright white light 4. Brightness / Black (Expected Behaviour: Switch Off)Behaviour: Light switches off as expected. Note: If the goal is to offer an alternative to turning the light off on black, perhaps allowing users to set a static RGB/brightness value (like a dim off-white) could be a viable solution. However, I’m unsure if this would be feasible to implement. I experimented with the backlight threshold options, but they didn’t quite achieve the effect I was aiming for. Let me know if there’s anything else I can try. |
@flayzer Thanks for your very quick feedback!!! Would be great, if you could test the PR. |
@Lord-Grey I've tested the PR, and it's working as expected with my Tapo lights :) |
Summary
A list of HA Lights can be mapped to one layout area currently.
For another capture areas an additional instance would be required.
It is recommended to set the latchtime to ensure that a certain time passes between two updates.
The solution cannot run with high fps and should only used for solitary lights, i.e. not the main ones.
Configure the device
4.Put the long lived token generated before in "Authorization Token"
See the screenshot below for reference
What kind of change does this PR introduce? (check at least one)
If changing the UI of web configuration, please provide the before/after screenshot:
Screen in default settings mode

Screen in Expert settings mode

Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:
Fixes: #xxx[,#xxx]
, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
Fixes #1703