hyperion-project / hyperion.ng

The successor to Hyperion aka Hyperion Next Generation
https://hyperion-project.org/
MIT License
2.95k stars 370 forks source link

Add Home Assistant support #1703

Open popy2k14 opened 4 months ago

popy2k14 commented 4 months ago

Feature request

It would be a nice addition if an native home assistant api could be implemented as an led hardware.

What problem does this feature solve?

This solves the issue of doing workarounds like emulate hue bridge in home assistant or something like this: https://community.home-assistant.io/t/use-home-assistant-lights-with-hyperion/678249/2

What does the proposed API look like?

See here, it's well documentated.: https://developers.home-assistant.io/docs/api/rest/

How should this be implemented in your opinion?

You could choose an entity for a single led on the led hardware setup.

Are you willing to work on this yourself?

No, sadly not.

Lord-Grey commented 4 months ago

What LED types are you addressing via HA?

I do not yet understand why an extra hop via HA is required or seem to be beneficial? Running some LED updates directly and some others via HA will ensure that both updates are not on sync. (Unless you run with very low fps).

popy2k14 commented 4 months ago

I want address single ambient light bulbs, which are connected this way HA -> Zigbee2MQTT -> Zigbee network -> bulb.

The benefit of implementing HA is that you can address any HA supported "lights" which are a lot. So with the middleware HA, hyperion is compatible with much much more lights. Sure it's not realtime streaming, but on single ambient light bulbs (not strips with dozends of leds), the update intervall must not be so high (in my case also a rgb wled strip (no daisy chain leds)) i have set "smoothing" in hyperion to 2000ms. So on single light bulbs update's could happen every 2000ms. The dimming/transition (in my case) is happaning on the bulbs itself.

Lord-Grey commented 4 months ago

Thank you that clarifies.

popy2k14 commented 4 months ago

Thanks. Looking forward to this, so the whole HA community can benefit from this.

kuba-orlik commented 4 months ago

Another benefit of going through Home Assistant is that you can use the RGB lights both with hyperion, and with any other automations you might have set up in Home Assistant

kuba-orlik commented 4 months ago

As the author of the bridge I can say that most of the logic has been implemented here - but I assume in order to be part of Hyperion, that would have to be implemented in c++, right?

satgit62 commented 3 days ago

Hello, I also find this project very useful and would be delighted if HA were implemented. It will expand the possibilities enormously.

thueringer01 commented 11 hours ago

Hello, There are so many Homeassistant users worldwide. Many of them also use HyperHDR. I would also like to control my Zigbee lights with HyperHDR via Homeassistant. An integration of the kuba-orlik bridge into HyperHDR would be a major expansion for many users