Scope: this is the main entry point for pushing collected data to one or more external servers. It’s implemented through a bash script for easily interact with AirSensEUR subsystems and processes. The default behaviour is to:
- turn on power to the GPRS dongle
- start a PPP connection
- push collected data to the external database (see INFLUX Database or 52North SOS server handlers)
- terminate the PPP connection
- turn off the GPRS dongle (to preserve battery)
Users are invited to modify the script to adapt to their needs.
Notes: This script is called periodically by a cron daemon and is used by the Web Management Console to force a data push when required.