mirror of
https://github.com/airgradienthq/arduino.git
synced 2026-06-12 12:11:17 +02:00
d47331c9de
Indoor SPS30 support (a5e3ea2) only covered ONE_INDOOR.
Outdoor needs 1×SPS30, 2×SPS30, or SPS30+PMS5003T mixed configs.
- Rename hasSensorSPS30 → hasSensorSPS30_1, add hasSensorSPS30_2
- Rename sps30 → sps30_1, add sps30_2 instance
- Parameterize updateSPS30() by sensor ref + channel
- Per-port outdoor detection: PMS5003T first, SPS30 fallback
- SGP41 compensation only from PMS5003T T/RH channels;
skipped entirely for 2×SPS30 (uses default 25°C/50%RH)
- buildOutdoor/OpenMetrics: firmware version field only for
PMS5003T channels, PM gating broadened for SPS30