cron/clients/hydrovu.php
Snapshot 2026.09.17-a2894de (current) · 11 lines · 533 bytes · tree · plain text
SHA-256
3e02364b1a3c4fb34230138fb70f27ee687ff7bcfc93f12779054e1e78269de0| 1 | <?php |
| 2 | require_once __DIR__.'/_base.php'; |
| 3 | /* HydroVu API (lagoon sonde) */ |
| 4 | if(API_HYDROVU_CLIENT===''){ log_activity('cron','skip_hydrovu','no credentials; placeholder mode'); } |
| 5 | else { |
| 6 | /* TODO wire live pull: authenticate, fetch latest observations, then per metric: |
| 7 | ingest_reading('<stream_code>', '<Y-m-d H:i:s>', <value>, '', $rawJson, $sourceUrl); |
| 8 | Streams handled here: ['lg_temp','lg_sal','lg_ph','lg_do','lg_turb'] */ |
| 9 | log_activity('cron','poll_hydrovu','credentials present; client stub awaiting field wiring'); |
| 10 | } |
| 11 | |
Lines can be cited as cron/clients/hydrovu.php L120-L140, platform code 2026.09.17-a2894de; add #L120-L140 to this page's address to highlight them. Source shown for scrutiny of the research platform. All rights reserved. Not offered as installable software.