A tiny client which measures the ground water level by ultrasonic
- Raspberry Pi (all models supported)
- Ultrasonic sensor (e.g. HC-SR04)
- PHP > 7.0
- Python
- PHP curl extension
- Ready HWM server
Copy .env.dist to .env Fill .env variables
Variable | Description |
---|---|
SERVER_URL | Full HWM server URL |
AUTH_TOKEN | Authentication token of HWM server |
php run.php start [--interval=60]
Short | Long | Description | Default |
---|---|---|---|
i | interval | Interval in seconds of measurement cycles | 60 |
c | correctionDelta | Value which is subtracted from each measurement value | 0 |
n | normalizationDeepness | Number of measurements from the past used for normalization | 5 |