Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrusme/hue2influx

Sync Philips Hue component states to InfluxDB.
https://github.com/mrusme/hue2influx

grafana-influxdb hue hue-bridge hue-sensors influx influxdb iot philips-hue sensors sync

Last synced: 13 days ago
JSON representation

Sync Philips Hue component states to InfluxDB.

Awesome Lists containing this project

README

        

hue2influx
----------

[![Docker Hub](https://img.shields.io/docker/cloud/build/mrusme/hue2influx.svg?style=popout-square)](https://hub.docker.com/r/mrusme/hue2influx)

Sync Philips Hue component states to InfluxDB.

## Environment variables

```sh
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

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

## Docker

```sh
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
```