Battery / PV history
GET
/modules/{id}/power Power of the 4G GATEWAY the module is plugged into. Bucketing: an interval of 1 h, 4 h or 12 h gives a one-hour step, 24 h or a week a 4 h step, any other value is taken as is. With no interval, a step of at least one hour, i.e. about sixty points over the period. Default: the last 48 hours.
Path parameters
-
idinteger required
Query parameters
-
startstring date-time -
endstring date-time -
intervalintegerBucket (seconds)
Response
200
Gateway power history
-
module_idinteger always present -
startstring date-time always present -
endstring date-time always present -
interval_secondsinteger nullable always presentRequested interval; the actual step follows the rule described on the route.
null: automatic. -
dataarray of PowerPoint always presentShow 4 attributes Hide attributes
-
timestring date-time always presentStart of the interval.
-
pvnumber always presentSolar panel voltage, V. ⚠️ Not transmitted by the current gateways: reads 0.
-
batnumber always presentMean battery voltage over the interval, V (4.2 V: full). 0 if unknown.
-
chargingboolean always present⚠️ Not yet supplied by the current gateways: reads
false.
-
Errors
- 400
Invalid parameter
invalid_idinvalid_date - 401
Not authenticated
- 403
Insufficient scope, or resource outside your company