Simple script to send info to Luftdaten, based on Pimoroni provided example. Modifications:
- Added log file, with memory buffering and daily rotation.
- Modified screen info to show latest status and information sent date.
follow Pimoroni instructions.
Download file and launch with sudo python luftdaten.py
.
You can make it launch on start adding the line
@reboot sudo python <path to your file>luftdaten.py
to the crontab.