latest version is 0.3.0
docker pull manabuishii/docker-netatmo-influxdb-python:0.3.0
If you don't have InfluxDB, you need to prepare.
mkdir influxdbdata
docker run -p 8083:8083 -p 8086:8086 \
-v $PWD/influxdbdata:/var/lib/influxdb \
--name influxdb influxdb:1.0.2-alpine
Create Database on the web
http://localhost:8083
Fill your value of netatmo and influxdb environment.
docker run --rm \
-link influxdb:influxdb \
-e NETATMO_CLIENT_ID="" \
-e NETATMO_CLIENT_SECRET="" \
-e NETATMO_USERNAME="" \
-e NETATMO_PASSWORD="" \
-e INFLUXDB_HOST="" \
-e INFLUXDB_PORT="" \
-e INFLUXDB_USERNAME="" \
-e INFLUXDB_PASSWORD="" \
-e INFLUXDB_DATABASE="" \
--name YOURDOCKERHOSTNAME \
manabuishii/docker-netatmo-influxdb-python:0.3.0
Polling 1 per 60 seconds.
From Web.
Select your database
Pass environment value DEBUG
is set 'True'
-e DEBUG=true
select value,host from CO2 order by time DESC limit 5;
select value,host from CO2 where host='YOURMODULEID' order by time DESC limit 5;