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.
|
|
1 year ago | |
|---|---|---|
| README.md | 2 years ago | |
| config.js | 2 years ago | |
| env.js | 2 years ago | |
| get-config.js | 2 years ago | |
| hyperion-ha-bridge.service | 2 years ago | |
| index.js | 2 years ago | |
| latest_color.js | 2 years ago | |
| light-loop.js | 1 year ago | |
| package.json | 2 years ago | |
| util.js | 2 years ago | |
README.md
Use any Home Assistant lights with Hyperion
Setup:
-
Clone this respository;
-
Edit
config.jsto your liking. There are two light types:rgbanddim. The names of the lights must represent light entity id that are present in Home Assistant; -
Generate a Home Assistant Token using the /profile view (scroll to the bottom of the view);
-
Setup a new LED instance in Hyperion using the
udprawcontroller. Set the number of lights to the amount of lights you've specified in theconfig.jsfile; -
Run
HA_TOKEN=your_token12341234123432 node .
To setup the systemd unit to make this run in the background:
- Adjust the path in
ExecStartpart ofhyperion-ha-bridge.servicefile in this repo; - Copy this file to
/etc/systemd/system/ha-bridge.service - Run
systemctl daemon-reload && systemctl enable --now ha-bridge