Skip to main content

ActionsHistory

timestampintegerrequired

in UTC Unix epoch (seconds)

action objectrequired
inverters_set_power_percentageinteger
inverters_set_power_timeoutinteger
inverters_set_power_timeout_percentageinteger
battery_set_power_charge_wattsinteger
battery_set_power_discharge_wattsinteger
battery_set_power_timeoutinteger
grid_target_delivery_wattsinteger
grid_target_return_delivery_wattsinteger
grid_target_durationinteger
grid_target_cancelboolean
set_ev_sockets_update object[]
  • Array [
  • sensor_uuidstring<uuid>
    power_charge_wattsinteger
    timeout_secondsinteger
  • ]
  • fcr_planning object
    powerintegerrequired

    Awarded FCR power in watts to be delivered during the scheduled period.

    start_timestampintegerrequired

    in Unix epoch (seconds).

    stop_timestampintegerrequired

    in Unix epoch (seconds).

    enabledbooleanrequired

    Whether the given planning should be enabled or disabled.

    executedbooleanrequired

    False when the Envi.Base received the action but could not execute it.

    statusstringnullablerequired

    Outcome as reported by the Envi.Base: 'executed', or 'not_executed' when it received the action but could not execute it. null for Envi.Base firmware that does not report a status yet; use 'executed' in that case.

    messagestringrequired

    Human-readable message from the Envi.Base, for example 'Action not executed'. Meant for display; use 'status' to check the outcome.

    action_uuidstring<uuid>

    UUID of the action as returned when it was posted, when known.

    ActionsHistory
    {
    "timestamp": 0,
    "action": {
    "inverters_set_power_percentage": 0,
    "inverters_set_power_timeout": 0,
    "inverters_set_power_timeout_percentage": 0,
    "battery_set_power_charge_watts": 0,
    "battery_set_power_discharge_watts": 0,
    "battery_set_power_timeout": 0,
    "grid_target_delivery_watts": 0,
    "grid_target_return_delivery_watts": 0,
    "grid_target_duration": 0,
    "grid_target_cancel": true,
    "set_ev_sockets_update": [
    {
    "sensor_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "power_charge_watts": 0,
    "timeout_seconds": 0
    }
    ],
    "fcr_planning": {
    "power": 0,
    "start_timestamp": 0,
    "stop_timestamp": 0,
    "enabled": true
    }
    },
    "executed": true,
    "status": "string",
    "message": "string",
    "action_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    }