idoodler / openrgb-loxone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenRGB Client for Loxone


Control your OpenRGB devices with a Loxone LightController

Usage

Run this on a device which is always up and running (I intended it for a Raspberry Pi)

Features

  • Easy to use
  • Live color preview in terminal (if supported)
  • alt text
  • Automatic recovery if the PC is offline

How will you run it?

Node.js

Using Node.js

  • Clone or download this repo
  • enter the directory
  • execute npm i to install all dependencies

Automatically keep this script allive

To archive this I am using pm2

  • npm i pm2 -g
  • enter this project directory
  • pm2 start index.js --name OpenRGBLoxone --watch -- --listening-port YOUR_PORT --open-rgb-host YOUR_OPEN_RGB_HOST --open-rgb-port YOUR_OPEN_RGB_PORT
  • --watch will automatically restart the script whenever a file changes in the directory
  • pm2 startup
  • Follow the commands output
  • pm2 save

Mandatory arguments

  • --listening-port
  • --open-rgb-host
  • --open-rgb-port

Check -h for more informations is required

Docker

Using Docker

Build it

  • Clone or download this repo
  • enter the directory
  • execute docker build . -t idoodler/openrgbloxone to install all dependencies

Pull it

  • docker pull ghcr.io/idoodler/openrgb-loxone:latest

Run it

  • docker run -p 7777:7777 -e PORT=7777 -e OPEN_RGB_HOST=192.168.0.173 -e OPEN_RGB_PORT=6742 --name openrgbLoxone idoodler/ghcr.io/idoodler/openrgb-loxone:latest

Mandatory environmental variables

  • PORT
  • OPEN_RGB_HOST
  • OPEN_RGB_PORT


Requires the following Loxone Library Plugin

alt text

About


Languages

Language:JavaScript 91.0%Language:Dockerfile 9.0%