docs(poller): test the endpoint with a real inverter id, not TEST

Any id posted becomes a permanent inverter card, and there's no delete yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 09:02:22 +03:00
co-authored by Claude Opus 5.5
parent 9d41c77668
commit 0b0e4b7d6d
+2 -1
View File
@@ -64,7 +64,8 @@ while True:
```bash ```bash
curl -X POST https://solar.bonamin.net/api/readings \ curl -X POST https://solar.bonamin.net/api/readings \
-H "X-API-Key: <key>" -H "Content-Type: application/json" \ -H "X-API-Key: <key>" -H "Content-Type: application/json" \
-d '[{"inverter_id":"TEST","ac_power_total_w":1234}]' -d '[{"inverter_id":"INV1","ac_power_total_w":1234}]'
# use a real inverter id: every id sent shows up as an inverter on the dashboard
# -> {"received":1,"stored":1,"duplicates":0} # -> {"received":1,"stored":1,"duplicates":0}
``` ```