Use any Home Assistant lights with Hyperion
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Kuba Orlik e8525f76ac Add support for specifying custom config using env variable 5 months ago
README.md Mention systemd unit in README 5 months ago
config.js Initial commit 6 months ago
env.js Add support for specifying custom config using env variable 5 months ago
get-config.js Add support for specifying custom config using env variable 5 months ago
hyperion-ha-bridge.service Example systemd unit 6 months ago
index.js Add support for specifying custom config using env variable 5 months ago
latest_color.js Add support for specifying custom config using env variable 5 months ago
light-loop.js Add support for specifying custom config using env variable 5 months ago
package.json Initial commit 6 months ago
util.js Initial commit 6 months ago

README.md

Use any Home Assistant lights with Hyperion

Setup:

  1. Clone this respository;

  2. Edit config.js to your liking. There are two light types: rgb and dim. The names of the lights must represent light entity id that are present in Home Assistant;

  3. Generate a Home Assistant Token using the /profile view (scroll to the bottom of the view);

  4. Setup a new LED instance in Hyperion using the udpraw controller. Set the number of lights to the amount of lights you've specified in the config.js file;

  5. Run HA_TOKEN=your_token12341234123432 node .

To setup the systemd unit to make this run in the background:

  1. Adjust the path in ExecStart part of hyperion-ha-bridge.service file in this repo;
  2. Copy this file to /etc/systemd/system/ha-bridge.service
  3. Run systemctl daemon-reload && systemctl enable --now ha-bridge