Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mrusme/hue2influx
- Owner: mrusme
- License: mit
- Created: 2019-04-18T21:43:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-28T10:14:41.000Z (over 5 years ago)
- Last Synced: 2024-10-18T06:36:21.373Z (3 months ago)
- Topics: grafana-influxdb, hue, hue-bridge, hue-sensors, influx, influxdb, iot, philips-hue, sensors, sync
- Language: Python
- Homepage: https://hub.docker.com/r/mrusme/hue2influx
- Size: 8.79 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```