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:
@@ -64,7 +64,8 @@ while True:
|
||||
```bash
|
||||
curl -X POST https://solar.bonamin.net/api/readings \
|
||||
-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}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user