feat: v0.1.3 — fleet management endpoints

- GET /sensors/<hostname>/config: query sensor STATUS, parse response
- PUT /sensors/<hostname>/config: update rate, power, adaptive, etc.
- POST /sensors/<hostname>/ota: trigger OTA update with URL
- POST /sensors/<hostname>/calibrate: trigger baseline calibration

Added 14 new tests for fleet management endpoints.
This commit is contained in:
user
2026-02-05 21:21:35 +01:00
parent 58c974b535
commit 4b72b3293e
5 changed files with 367 additions and 11 deletions

View File

@@ -24,12 +24,12 @@
- [x] Device profile enrichment
- [x] Export endpoints (CSV, JSON)
## v0.1.3 - Fleet Management
## v0.1.3 - Fleet Management [DONE]
- [ ] Sensor config endpoint (GET/PUT)
- [ ] OTA trigger endpoint
- [ ] Calibration trigger endpoint
- [ ] Sensor history/metrics
- [x] Sensor config endpoint (GET/PUT)
- [x] OTA trigger endpoint
- [x] Calibration trigger endpoint
- [ ] Sensor history/metrics (moved to v0.1.4)
## v0.1.4 - Zones & Presence