Read Netatmo information and store them into bucket in a JSON file
OR
pip install --user requirements.txt
you'll need to set some environment variables before using it:
NETATMO_USERNAME: the username on netatmo;NETATMO_PASSWORD: the password on netatmo;NETATMO_CLIENT_ID: the client id of the app created on
https://dev.netatmo.com/;NETATMO_CLIENT_SECRET: the secret of the app;NETATMO_DEVICE_ID: the ID of the main module where you have the wind
module (it's its MAC Address);then you can launch it:
python netatmo-wind-bucket.py
OR
touch buckets.json # only if buckets.json doesn't exist
docker run -d -v ${PWD}/buckets.json:/usr/src/app/buckets.json --env NETATMO_USERNAME=XXX --env NETATMO_PASSWORD=XXX --env NETATMO_CLIENT_ID=XXX --env NETATMO_CLIENT_SECRET=XXX --env NETATMO_DEVICE_ID="70:ee:50:xx:yy:zz" sdesbure/netatmo-wind-bucket:latest
Content type
Image
Digest
Size
32.4 MB
Last updated
over 7 years ago
docker pull sdesbure/netatmo-wind-bucket