-
Clone this respository;
-
Edit
config.jsto your liking. There are two light types:rgbanddim. The names of the lights must represent light item id that are present in openHAB; -
Generate an openHAB API Token using the Admin 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
OH_TOKEN=your_token12341234123432 node .\
To setup the systemd unit to make this run in the background:
- Copy the
hyperion-oh-bridge.servicefile in this repo to/etc/systemd/system/oh-bridge.service - Adjust the path in
ExecStartpart and the environment variables in theEnvironmentpart of the/etc/systemd/system/oh-bridge.servicefile; - Run
systemctl daemon-reload && systemctl enable --now oh-bridge