Language / Sprache: English | Deutsch
This page explains how to control EV charging entities and how to call the integration services reliably.
- Entity pattern:
switch.octopus_<account_number>_<device_name>_smart_control - Purpose: Enable or suspend SmartFlex smart control for a device
Behavior:
- Turn ON:
- Sends unsuspend command
- Smart control can schedule charging again
- Turn OFF:
- Sends suspend command
- Smart control is paused
Requirements:
- Device must be registered in Octopus SmartFlex
- Device must be reachable via provider integration
- Entity pattern:
switch.octopus_germany_<account_number>_<device_name>_boost_charge - Purpose: Trigger immediate charging boost
Behavior:
- Turn ON: Start boost charge
- Turn OFF: Cancel boost charge
Requirements:
- Smart control switch should be ON
- Device must support boost and be LIVE
- Entity pattern:
binary_sensor.octopus_<account_number>_<device_name>_plugged - Purpose: Best-effort plugged state derived from SmartFlex API status
Decision logic:
is_suspended = true->unknownis_suspended = falseandcurrent_state = SMART_CONTROL_NOT_AVAILABLE->offis_suspended = falseand any othercurrent_state->on
Important limitation:
- The SmartFlex API does not provide a dedicated vehicle
isPluggedboolean. - When smart control is suspended, API state is ambiguous, so sensor is intentionally
unknown.
Set target SoC and target time for a specific EV/charge point.
Parameters:
device_id(required): Device UUIDtarget_percentage(required): 20-100 in 5% stepstarget_time(required):HH:MMbetween 04:00 and 17:00
Example:
service: octopus_germany.set_device_preferences
data:
device_id: "00000000-0002-4000-803c-0000000021c7"
target_percentage: 80
target_time: "07:00"Fetch iMSys data for a specific date.
Parameters:
account_number(required):A-xxxxxxxxdate(required):YYYY-MM-DDproperty_id(optional)
Example:
service: octopus_germany.get_smart_meter_readings
data:
account_number: "A-12345678"
date: "2026-06-01"Export meter readings to CSV.
Parameters:
account_number(required)period(required):monthoryearyear(required)month(optional for periodmonth)filename(optional)layout(optional):wideortallsummary(optional):true/false
Submit electricity or gas meter readings to the OE API.
Parameters:
meter_type(required):electricityorgasmeter_id(required): OE meter ID from the meter entity attributesreading_date(required):YYYY-MM-DDreadings_json(optional): JSON array of readings, each containingvalueandregister_obis_codereading_valueandregister_obis_code(optional): helper fields for a single register reading
Example:
service: octopus_germany.submit_meter_readings
data:
meter_type: electricity
meter_id: "1234567890"
reading_date: "2026-06-01"
readings_json: >-
[{"value": 1234.56, "register_obis_code": "1-0:1.8.0"}]Important limitation:
- The OE mutation accepts a date and register values, not per-entry timestamps.
- Only daily values should be submitted here, not 15-minute intervals.
Practical example:
For direct local HAN meter telemetry, use this integration in parallel:
Recommended split:
octopus_germany: account, tariff, dispatch and SmartFlex controls, plus read access to Octopus-stored historical consumption and meter dataha-ppc-smgw-han: direct HAN data from your smart meter gateway