This is a python application that displays data on a Waveshare 7.5" ePaper display. The following data will be displayed:
Example screenshot:
Real life example:
read_station
scope (-> refresh token)$ pip install -r requirements-base.txt
~/.netatmo.credentials
with the following content (filling in your netatmo API credentials):
{
"CLIENT_ID": "xxx",
"CLIENT_SECRET": "xxx",
"REFRESH_TOKEN" : "xxx"
}
example.yaml
to config.yaml
and update the file accordingly.$ python netatmo-epaper/netatmo-epaper.py
$ cd netatmo-epaper
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip3 install -r requirements-base.txt -r requirements-pi.txt
~/.netatmo.credentials
with the following content:
{
"CLIENT_ID": "xxx",
"CLIENT_SECRET": "xxx",
"REFRESH_TOKEN" : "xxx"
}
example.yaml
to config.yaml
and update the file accordingly.$ python3 netatmo-epaper/netatmo-epaper.py
$ pm2 start /home/pi/netatmo-epaper/netatmo-epaper/netatmo-epaper.py --name "netatmo-epaper.py" --interpreter "/home/pi/netatmo-epaper/.venv/bin/python"
$ pm2 save
The following libraries made this project much easier: