Sign inSign up

sdesbure/netatmo-wind-bucket

By sdesbure

Updated over 7 years ago

Image
0

2.0K

sdesbure/netatmo-wind-bucket repository overview

netatmo wind bucket

Read Netatmo information and store them into bucket in a JSON file

Maintainability | | | |

Installation

prerequisites:
  • python 3
  • pip

OR

  • docker
installation with python
pip install --user requirements.txt

How to use

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

Tag summary

Content type

Image

Digest

Size

32.4 MB

Last updated

over 7 years ago

docker pull sdesbure/netatmo-wind-bucket