mrusme / hue2influx

Sync Philips Hue component states to InfluxDB.

Home Page:https://hub.docker.com/r/mrusme/hue2influx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hue2influx

Docker Hub

Sync Philips Hue component states to InfluxDB.

Environment variables

HUE_BRIDGE="your bridge IP or hostname here"
INFLUXDB_SERVER="your InfluxDB server IP or hostname here"
INFLUXDB_PORT=your InfluxDB port (tcp or udp) here
INFLUXDB_UDP="0" for TCP, "1" for UDP
INFLUXDB_DB="your InfluxDB database here"
INFLUXDB_USER="your InfluxDB username here"
INFLUXDB_PASS="your InfluxDB password here"

Running locally

$ pip3 install influxdb phue
$ python3 ./hue2influx.py

Docker

docker run -it --rm -e HUE_BRIDGE="your bridge IP or hostname here" -e INFLUXDB_SERVER="your InfluxDB server IP or hostname here" -e ... mrusme/hue2influx:latest

About

Sync Philips Hue component states to InfluxDB.

https://hub.docker.com/r/mrusme/hue2influx

License:MIT License


Languages

Language:Python 98.2%Language:Dockerfile 1.8%