Docker image to fetch data from Nuki Web API and push to influxdb v2 bucket. https://developer.nuki.io/page/nuki-web-api-1-4/3
Optionally also pulls signal strengths from Nuki Bridge on local LAN.
- Go to https://web.nuki.io/
- Generate API Token with scope:
- View devices
- View activity logs
- get API token
Optional
- Setup token for Nuki Bridge
Setup InfluxDBv2, create bucket and create a token with write permissions for bucket.
https://hub.docker.com/repository/docker/dbsqp/nuki-influxdbv2
$ docker run -d \
-e NUKI_WEB_API_TOKEN="<web-api-token>" \
-e NUKI_BRIDGE_IP="<ip-address-of-bridge>" \
-e NUKI_BRIDGE_TOKEN="<bridge-api-token>" \
-e INFLUXDB2_HOST="<INFLUXDBv2 SERVER>" \
-e INFLUXDB2_PORT="8086" \
-e INFLUXDB2_ORG="Home" \
-e INFLUXDB2_TOKEN="" \
-e INFLUXDB2_BUCKET="Staging" \
--name "Influx-Nuki" \
dbsqp/nuki-influxdbv2:latest
Note NUKI_BRIDGE_IP and NUKI_BRIDGE_TOKEN are optional.
-e INFLUXDB2_SSL="True" \
-e INFLUXDB2_SSL_VERIFY="TRUE"
To report out further details in the log enable debug:
-e DEBUG="TRUE"