Research Labs

2026-09-17 20:38 UTCopen field data · live

cron/clients/weatherlink.php

Snapshot 2026.09.17-a2894de (current) · 11 lines · 548 bytes · tree · plain text

SHA-256 3a1d3cd46e1a4dfa39f938aa2230c495d60faa0ee7ba015849cc04ec7e279351
1<?php
2require_once __DIR__.'/_base.php';
3/* WeatherLink v2 API (weather station) */
4if(API_WEATHERLINK_KEY===''){ log_activity('cron','skip_weatherlink','no credentials; placeholder mode'); }
5else {
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: ['wx_temp','wx_wind','wx_rain','wx_light'] */
9 log_activity('cron','poll_weatherlink','credentials present; client stub awaiting field wiring');
10}
11

Lines can be cited as cron/clients/weatherlink.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.