Hardware Configuration

Sensor Management

Register ESP32 / off-the-shelf sensors, link to zones, get API credentials.

๐Ÿ”‘
Your API Key (use in ESP32 firmware)
Loading...
Add this to your ESP32 firmware: X-Aegis-Api-Key: YOUR_KEY_HERE in the HTTP header. Replace YOUR_KEY_HERE with the key above.
Registered Sensors
Loading sensors...
Register Sensor

Must match the station_id your ESP32 firmware sends

Optional. Can also assign later.

ESP32 Setup

Firmware configuration:

  1. Set AEGIS_API_KEY in your firmware to the key above
  2. Set STATION_ID to match the Station ID above
  3. POST to /api/ingest as JSON every 3 seconds

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 }
}