Use Home Assistant lights with Hyperion

I’ve coded a small adapter that lets you use Home Assistant lights with Hyperion. You can use both rgb (for full color) and non-rgb lights (just for dimming). This way I can control lights both through HA as well as from Hyperion

I’ve tried using ha-bridge before, but it was just awfully inconvenient to configure.

Here’s the demo:

You can see it in motion here:

Here’s the code for the adapter - the README contains installation instructions:

6 Likes

Thx a lot for your efforts!
That’s exactly what I was looking for.

Sadly I have supervised Hass OS install and can’t use it.

Any chance to get custom integration in hacs?

Thx

1 Like

@kuba-orlik when i got you right this is an npm (node.js) package, right?

How can I use it on an supervised HASS.OS install?

PS: sorry, not so deep in this kind of development.

Thx

I have now installed your script on my openwrt install but sadly it takes q lot of cpu power (http requests overhead and so on…).

I think i will go the direct way of using hyperion → wled. Rather than hyperion → ha-bridge → home assistant → esphome/hue.

Thanks for your efforts.

PS.:
Made an feature request on the hyperion.ng github here: Add Home Assistant support · Issue #1703 · hyperion-project/hyperion.ng · GitHub

1 Like

Not sure about a supervised HASS.OS install, didn’t try it exactly because of how limiting it is.

But I see you have Hyperion installed, I assume it’s not installed within HASS.OS, just on some other machine? You can run my bridge on that other machine and it will connect to Home Assistant over the network. The bridge requires no changes or config on Home Assistant side, it just uses the API that is already there

hi, congratulations for your work. I would be really interested in installing the project in my hassio but I don’t understand how to do it. can you give a step by step guide please? I would be deeply grateful

Hello,
I am trying to understand your instructions for “Use any Home Assistant lights with Hyperion”. Does Hyperion have to be installed within HASS.OS or can it be on a separate machine as well?

When and where to run the HA_TOKEN=your_token12341234123432 node, where “your_token12341234123432” has been replaced by the token newly created in HA and the config.js and hyperion-ha-bridge.service have been edited.

By “Clone this respository” do you mean on GitHub or would a Linux environment be enough? With a little instruction, you would make several people happy!

Guys you can not install this node.js project directly into supervised HASS.OS installation (or don’t have found a way :sweat_smile:).

You must install it on another device (in my case on an openwrt router).
But it was way to cpu heavy.

So please vote here for an native hyperion → HA support: Add Home Assistant support · Issue #1703 · hyperion-project/hyperion.ng · GitHub

thx

Okay, you’re right, but there is no mention of the README.md of “Hyperion-home-assistant-bridge”. Hopefully the Hyperion team will look into this issue. Because, as I saw today, LordGrey last spoke on February 19th of this year.
Maybe the guys at HyperHDR are more interested in this “Hyperion-home-assistant-bridge”.

Yeah i am also hoping this get’s picked up someday.

Maybe it helps when you also post on the github issue.

Yes, I will do that and also ask on the HyperHDR GitHub page.

1 Like

Hi Kuba,

First of all, I would like to thank you for your great efforts creating this bridge! I’ve taken the time to wrap your project into a home assistant addon, making use of the internal home assistant api proxy. Would you mind if I release this addon, of course mentioning your project?

I would like to hear from you!

Mels

6 Likes

Hi, is there any way i can test this HA addon?

Guys, native implementation in hyperion-ng is on it’s way :slight_smile:
See: Add Home Assistant support · Issue #1703 · hyperion-project/hyperion.ng · GitHub
Just a few tests to go an then it will be merged and available in the next builds.

2 Likes

hi, did you finally release the addon?

Are there any updates regarding this implementation? I imagine that the bridge should run on the computer running Home Assistant and Hyperion at the same time, not on separate computers, as is my case, but how do you configure the IPs that the bridge should point to if this is not the case? I have a Raspberry running Hyperion connected directly to a TV Box, and Home Assistant OS running on a Proxmox VM

Please look two posts above.
Hyperion.ng has native HA implementation.

1 Like

But it does not deliver the predominant colors or similar if you are using video capture, it only shows “V4L2” and no color attributes, so you cannot use it in automations to change the color of Home Assistant lights

Sorry, i am not so deep into this nor i currently have such an setup.
Hope anyone else in here can help you out :slight_smile:

It can be on two separate machines - the apps connect through the network via UDP

You have to clone the bridge repository and run the command in there

Run git clone https://git.kuba-orlik.name/kuba/hyperion-home-assistant-bridge.git in your linux terminal - no need to use GitHub :slight_smile:

The module is not published on npm - it’s just a bunch of JS files you can run with node


Sorry for the delayed response. Hyperion now supports connecting with HA natively, so I guess my project is obsolete now :sweat_smile: