Register ESP32 / off-the-shelf sensors, link to zones, get API credentials.
X-Aegis-Api-Key: YOUR_KEY_HERE
YOUR_KEY_HERE
Must match the station_id your ESP32 firmware sends
Optional. Can also assign later.
Firmware configuration:
AEGIS_API_KEY
STATION_ID
/api/ingest
Expected ESP32 JSON payload:
{ "station_id": "SPS30-001", "sps30": { "pm1": 0.3, "pm25": 8.2, "pm10": 11.1 }, "mq7": { "co_ppm": 0.8 }, "bme280": { "temp_c": 22.4, "humidity_pct": 51.2, "pressure_hpa": 1013 } }