You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -507,7 +507,7 @@ Remove all devices. Clears runtime memory and deletes all device configurations
507
507
**Errors**:
508
508
- 500 - Failed to clear devices (e.g. SPIFFS error)
509
509
510
-
### GET /api/devices/{sn}/data/json
510
+
### GET `/api/devices/{sn}/data/json`
511
511
512
512
Latest device data snapshot in JSON format.
513
513
@@ -542,7 +542,7 @@ Latest device data snapshot in JSON format.
542
542
- 204 - No harvest data yet
543
543
- 404 - Device not found
544
544
545
-
### POST /api/devices/{sn}/types
545
+
### POST `/api/devices/{sn}/types`
546
546
547
547
Enable/disable publishing for detected DERs on a device. Only included DERs in the request are modified. Omitted entries remain unchanged.
548
548
@@ -568,7 +568,7 @@ By default, all detected DERs have `enabled = false` on first connection.
568
568
- 404 - Device not found
569
569
- 500 - Failed to persist config
570
570
571
-
### GET /api/devices/{sn}/ders
571
+
### GET `/api/devices/{sn}/ders`
572
572
573
573
Fetch publish state plus configured DER metadata. The fields returned are the user-configurable fields that can be updated via POST.
574
574
@@ -618,7 +618,7 @@ Fetch publish state plus configured DER metadata. The fields returned are the us
618
618
**Errors**:
619
619
- 404 - Device not found
620
620
621
-
### POST /api/devices/{sn}/ders
621
+
### POST `/api/devices/{sn}/ders`
622
622
623
623
Update publish flags and static DER metadata in one request. For PV entries, supply `rated_power` in watts. For battery entries, supply `rated_power` (W) and `capacity` (Wh). For v2x_charger entries, supply `capacity` (Wh); power limits are read-only from the device. `enabled` is optional here; omit it to leave the current publish state untouched. Only the DERs included in the payload are modified.
624
624
@@ -650,7 +650,7 @@ Update publish flags and static DER metadata in one request. For PV entries, sup
650
650
- 404 - Device not found
651
651
- 500 - Failed to persist config
652
652
653
-
### GET /api/devices/{sn}/registers/{address}
653
+
### GET `/api/devices/{sn}/registers/{address}`
654
654
655
655
Read Modbus register(s).
656
656
@@ -697,7 +697,7 @@ Read Modbus register(s).
697
697
- 404 - Device not found
698
698
- 500 - Read failed
699
699
700
-
### POST /api/devices/{sn}/registers/{address}
700
+
### POST `/api/devices/{sn}/registers/{address}`
701
701
702
702
Write single holding register.
703
703
@@ -722,7 +722,7 @@ Write single holding register.
0 commit comments