EcoWatt Technologies Logo

[Beta] Trader

Minimal Status Report

  • Topic: ${v1prefix}/${DEVICE}/minimal/report/post

  • Direction: EMS → Platform (EMS pushes)

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value minimal_report
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
data[]objectYesMinimal status timeseries (see data fields)

data fields

FieldTypeRequiredDescription
socfloatYesState of charge (averaged over modules), 0 = empty, 1 = full
instant_powerintYesInstantaneous active power (combined grid-connection output, W)
operation_modestringCond.operational / prequalification / soc_control (asset-level SoC control). Mandatory if Capalo does prequalification
test_namestringCond.Prequalification test name (see Appendix). Mandatory if Capalo does prequalification
target_powerobjectYesQuantities for power calculation (see data.target_power fields)
power_dataobjectYesActivated & maintained reserve-market capacity (see data.power_data fields)
ler_dataobjectCond.Extra data for LER assets. Included when classified as Limited Energy Reservoir (max energy / max power < 4h)
datetimestringYesMeasurement timestamp, UTC, ISO 8601

data.target_power fields

FieldTypeDescription
grid_frequencyfloatGrid frequency (Hz), at least 3 decimals
afrr_coefficientfloataFRR activation coefficient (-1 to 1) from the aFRR topic
mfrr_coefficientfloatmFRR activation coefficient (-1 to 1) from the mFRR topic
max_grid_powerintCalculated max power at grid connection point (W, optional)
min_grid_powerintCalculated min power at grid connection point (W, optional)
applied_frequencyfloatSimulated frequency during prequalification (Hz). Mandatory if Capalo does prequalification
applied_afrr_coefficientfloatSimulated aFRR coefficient during prequalification. Mandatory if Capalo does prequalification
applied_mfrr_coefficientfloatSimulated mFRR coefficient during prequalification. Mandatory if Capalo does prequalification

data.power_data fields

FCR fields are split into up/down directions; assets with symmetric FCR only (symmetric_fcr=true in metadata) report the same maintained value for both directions. All units in W.

FieldTypeDescription
baseline_activatedintActivated baseline power
mfrr_up_maintainedintMaintained power for mFRR up
mfrr_up_activatedintActivated power for mFRR up
mfrr_down_maintainedintMaintained power for mFRR down
mfrr_down_activatedintActivated power for mFRR down
afrr_up_maintainedintMaintained power for aFRR up
afrr_up_activatedintActivated power for aFRR up
afrr_down_maintainedintMaintained power for aFRR down
afrr_down_activatedintActivated power for aFRR down
fcr_up_maintainedintMaintained power for asymmetrical FCR up; equals fcr_down_maintained if symmetric
fcr_up_activatedintActivated power for asymmetrical FCR up
fcr_down_maintainedintMaintained power for asymmetrical FCR down; equals fcr_up_maintained if symmetric
fcr_down_activatedintActivated power for asymmetrical FCR down
frequency_support_activatedintActivated power for frequency support

data.ler_data fields

FieldTypeDescription
aem_statusboolWhether the asset is in Reserve mode (equivalent to AEM mode)

Example

{
  "mid": "3e681859-6917-4b9a-9afd-3f162cd185bd",
  "type": "minimal_report",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "trace_id": "085be8f4-2f7b-488d-8a93-d0c7dcd7f033",
  "data": [
    {
      "soc": 0.534,
      "instant_power": 55100,
      "datetime": "2023-12-31T12:34:56.789Z",
      "target_power": {
        "grid_frequency": 49.908,
        "afrr_coefficient": 0.201,
        "mfrr_coefficient": -0.234
      },
      "power_data": {
        "baseline_activated": 0,
        "mfrr_up_maintained": 20000,
        "mfrr_up_activated": 0,
        "mfrr_down_maintained": 60000,
        "mfrr_down_activated": -1000,
        "afrr_up_maintained": 10000,
        "afrr_up_activated": 100,
        "afrr_down_maintained": 60000,
        "afrr_down_activated": 0,
        "fcr_up_maintained": 50000,
        "fcr_up_activated": 4000,
        "fcr_down_maintained": 100000,
        "fcr_down_activated": 0,
        "frequency_support_activated": 0
      },
      "ler_data": {
        "aem_status": false
      }
    }
  ]
}

Battery Status Report

  • Topic: ${v1prefix}/${DEVICE}/battery/report/post

  • Direction: EMS → Platform (EMS pushes)

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value battery_report
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
data[]objectYesBattery status timeseries (see data fields)

data fields

FieldTypeRequiredDescription
asset_stateintYesCategorical operational-state variable
asset_state_messagestringNoText description of operational state or warnings
ups_statusboolNoUPS mode: true = active, false = inactive
available_energy_fractionfloatNoFraction of max energy capacity available (0–1); crucial for cycle-restricted assets
available_power_fraction_upfloatNoFraction of nominal up power available (0–1)
available_power_fraction_downfloatNoFraction of nominal down power available (0–1)
battery_powerintYesTotal instantaneous power (sum of inverters, W). Positive = discharging, negative = charging
datetimestringYesMeasurement timestamp, UTC, ISO 8601

Example

{
  "mid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "type": "battery_report",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": [
    {
      "asset_state": 1,
      "asset_state_message": "Overheating detected in battery cells",
      "ups_status": false,
      "available_energy_fraction": 1.0,
      "available_power_fraction_up": 1.0,
      "available_power_fraction_down": 0.96,
      "battery_power": 10000,
      "datetime": "2023-12-31T12:34:56.789Z"
    }
  ]
}

Energy Totals Report

  • Topic: ${v1prefix}/${DEVICE}/energy/report/post

  • Direction: EMS → Platform (EMS pushes)

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value energy_report
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
dataobjectYesEnergy totals (see data fields)

data fields

FieldTypeRequiredDescription
meter_imported_energyintYesCumulative energy imported from the grid (Wh)
meter_exported_energyintYesCumulative energy exported to the grid (Wh)
battery_imported_energyintNoCumulative energy imported to the battery (Wh)
battery_exported_energyintNoCumulative energy exported from the battery (Wh)
datetimestringYesMeasurement timestamp, UTC, ISO 8601

Example

{
  "mid": "11223344-5566-7788-99aa-bbccddeeff00",
  "type": "energy_report",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": {
    "meter_imported_energy": 5000,
    "meter_exported_energy": 70000,
    "battery_imported_energy": 600,
    "battery_exported_energy": 70000,
    "datetime": "2023-12-31T12:34:56.789Z"
  }
}

Prosumption Report

  • Topic: ${v1prefix}/${DEVICE}/prosumption/report/post

  • Direction: EMS → Platform (EMS pushes)

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value prosumption_report
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
dataobjectYesProsumption data (see data fields)

data fields

FieldTypeRequiredDescription
production_0intNoProduction at installation point 0 (W)
consumption_0intNoConsumption at installation point 0 (W)
production_1intNoProduction at installation point 1 (W)
consumption_1intNoConsumption at installation point 1 (W)
production_2intNoProduction at installation point 2 (W)
consumption_2intNoConsumption at installation point 2 (W)
datetimestringYesMeasurement timestamp, UTC, ISO 8601

Example

{
  "mid": "aabb1122-ccdd-3344-eeff-5566778899aa",
  "type": "prosumption_report",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": {
    "production_0": 4000,
    "consumption_2": 1000,
    "datetime": "2023-12-31T12:34:56.789Z"
  }
}

Allocated Power Command

  • Topic: ${v1prefix}/${DEVICE}/allocated_power/set/command

  • Direction: Platform → EMS

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value allocated_power_set
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
data[]objectYesAllocated power timeseries (see data fields)

data fields

FieldTypeRequiredDescription
baselineintYesBaseline power at grid connection point (W)
mfrr_upintYesAllocated capacity for mFRR up (W)
mfrr_downintYesAllocated capacity for mFRR down (W)
afrr_upintYesAllocated capacity for aFRR up (W)
afrr_downintYesAllocated capacity for aFRR down (W)
fcr_upintYesAllocated FCR up capacity (W); equals fcr_down if symmetric
fcr_downintYesAllocated FCR down capacity (W); equals fcr_up if symmetric
start_datetimestringYesInterval start timestamp, UTC, ISO 8601
end_datetimestringYesInterval end timestamp, UTC, ISO 8601
updated_atstringYesSchedule publication timestamp, UTC, ISO 8601

Example

{
  "mid": "f1e2d3c4-b5a6-7890-1234-56789abcdef0",
  "type": "allocated_power_set",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": [
    {
      "baseline": 0,
      "mfrr_up": 5000,
      "mfrr_down": 4000,
      "afrr_up": 0,
      "afrr_down": 0,
      "fcr_up": 10000,
      "fcr_down": 10000,
      "start_datetime": "2023-11-28T07:15:00.000Z",
      "end_datetime": "2023-11-28T07:30:00.000Z",
      "updated_at": "2023-11-28T07:11:03.258Z"
    }
  ]
}

aFRR Activation Command

  • Topic: ${v1prefix}/${DEVICE}/afrr_activation/set/command

  • Direction: Platform → EMS

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value afrr_activation
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
dataobjectYesActivation signal (see data fields)

data fields

FieldTypeRequiredDescription
coefficientfloatYesaFRR activation coefficient (-1 to 1); positive = up market, negative = down market
prequalificationboolYesWhether the signal is part of the prequalification process
datetimestringYesTimestamp the signal was received from the TSO, UTC, ISO 8601

Example

{
  "mid": "22334455-6677-8899-aabb-ccddeeff0011",
  "type": "afrr_activation",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": {
    "coefficient": 0.211,
    "prequalification": false,
    "datetime": "2023-11-28T07:15:20.000Z"
  }
}

mFRR Activation Command

  • Topic: ${v1prefix}/${DEVICE}/mfrr_activation/set/command

  • Direction: Platform → EMS

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value mfrr_activation
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
dataobjectYesActivation signal (see data fields)

data fields

FieldTypeRequiredDescription
coefficientfloatYesmFRR activation coefficient (-1 to 1); positive = up market, negative = down market
prequalificationboolYesWhether the signal is part of the prequalification process
datetimestringYesTimestamp the signal was received from the TSO, UTC, ISO 8601

Example

{
  "mid": "33445566-7788-99aa-bbcc-ddeeff001122",
  "type": "mfrr_activation",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": {
    "coefficient": 0.507,
    "prequalification": false,
    "datetime": "2023-11-28T07:15:20.000Z"
  }
}

Prequalification Command

  • Topic: ${v1prefix}/${DEVICE}/prequalification/set/command

  • Direction: Platform → EMS

Message fields

FieldTypeRequiredDescription
midstringYesMessage ID (UUID)
typestringYesFixed value prequalification_set
device_uidstringYesSecond-level EMS device UID
timestampint64YesMessage timestamp (ms)
trace_idstringNoTrace ID (UUID)
dataobjectYesPrequalification test parameters (see data fields)

data fields

FieldTypeRequiredDescription
test_orderintNoTest execution order
test_namestringNoTest name (see Appendix)
powerintNoPower to use for the test (W)
droopstringNoTest droop: low or high
start_soc_minfloatNoMinimum start SoC for the test
start_soc_maxfloatNoMaximum start SoC for the test
datetimestringNoData publication timestamp, UTC, ISO 8601

Example

{
  "mid": "44556677-8899-aabb-ccdd-eeff00112233",
  "type": "prequalification_set",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1696837112000,
  "data": {
    "test_order": 1,
    "test_name": "fcr_static",
    "power": 50000,
    "droop": "low",
    "start_soc_min": 0.4,
    "start_soc_max": 0.6,
    "datetime": "2023-12-31T12:34:56.789Z"
  }
}