DEFA Power EV Charger

I think you are right, because the Cloudcharge app shows nothing as well during charging.

I did some testing too. Debug log looks fine:

home-assistant_defa_power_2025-04-21T19-42-01.381Z.log:2025-04-21 22:37:19.452 DEBUG (MainThread) [custom_components.defa_power.coordinator] Finished fetching CloudCharge chargers data in 0.186 seconds (success: True)
home-assistant_defa_power_2025-04-21T19-42-01.381Z.log:2025-04-21 22:37:19.462 DEBUG (MainThread) [custom_components.defa_power.coordinator] Finished fetching CloudCharge operational data data in 0.162 seconds (success: True)
home-assistant_defa_power_2025-04-21T19-42-01.381Z.log:2025-04-21 22:38:19.466 DEBUG (MainThread) [custom_components.defa_power.coordinator] Finished fetching CloudCharge operational data data in 0.167 seconds (success: True)

Wheng charging CloudCharge app shows:

Start/stop charging button: available and works
Status: charging
Charging power: 0 kW
Energy (session): 0 kWh
Total energy: doesn’t change

Your integration shows:

Start/stop button: not available (!)
Charging state: unknown (!)
Charging power: 0 kW
Energy (session): 0 kWh
Total energy: doesn’t change, same value as in CloudCharge

I don’t really need power/energy values, but I would like to use “stop charging” button in automation.

Total energy value updated correctly after I stopped charging session.

The start/stop charging button availability is based on the charging state. You should be able to test them by calling the defa_power.start_charging and stop_charging actions added in v0.5.0-beta, they do not do any additional validations when called so they should work if the api supports it. You need to select the “connector” device when calling it.

I am planning to add diagnostic in the next beta release so then it will be easier to see what api responses people get.

I tested this today and unfortunately I couldn’t stop the charging.

Joining the choir of people thanking you for your efforts! I too have an eRange charger, and the start/stop charging buttons are greyed out for me as well. As @bcg I have tested calling the actions anyway, and they don’t work. This is from the debug log:

  File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/defa_power/services.py", line 128, in handle_stop_charging
    await runtime_data["client"].async_stop_charging(connector_id)
  File "/config/custom_components/defa_power/cloudcharge_api/client.py", line 338, in async_stop_charging
    await self.__async_check_response(response)
  File "/config/custom_components/defa_power/cloudcharge_api/client.py", line 142, in __async_check_response
    raise CloudChargeRequestError
custom_components.defa_power.cloudcharge_api.exceptions.CloudChargeRequestError

If I understand your code correctly, this means we got a response that is neiter 200, 400, 401, or 403. Can I test this endpoint via curl and see what the response is?

I tested a POST to https://prod.cloudcharge.se/services/user/charging/stop with the same headers as above, and the body {“alias”: “[the key from aliasMap]”} and I got 200 OK. I don’t understand, is the passed connector_id wrong?

It seems like the action sends the connector id instead of the alias. So sending the request with the alias manually worked?

Yes, but to be clear, the “alias” is the name of the device in Home Assistant, I don’t know if and if so how it differs from “connector id”. Quoting the response @bcg posted earlier, it’s the “00.21.12.1234” that works, and perhaps the connector id that is passed is the UUID?

"aliasMap": {
                    "00.21.12.1234": {
                        "id": "UUID-REMOVED",

The api wants the “alias” (same as the connector device name) but i accidentally used the id of the connector (UUID) when calling start/stop charging via actions. When using the button entities i do send the alias. I will fix the actions when i have time so they use the alias instead. The next version should also have the buttons enabled all the time when charging state is unknown like it seems to be on eRange chargers.

Nice work! I thought I might try to see if I could do it myself and submit a PR to take some of the work off you, but I’ve never worked with Python before and was unable to get it working. I can’t install the homeassistant dependency, and without it it’s too hard (for me) to figure out what I’m supposed to change. I understand (I think) that it is this part that needs to change, but I don’t know to what, since I can’t see what DeviceEntry looks like:

def get_charger_id_from_device(device: dr.DeviceEntry) -> str | None:
    """Get the charger ID from a device entry."""
    for identifier in device.identifiers:
        if len(identifier) == 3 and identifier[0] == DOMAIN:
            return identifier[2]  # Return the third part (charger ID)

    return None

You should be able to get the alias from the connector id using this: (in services.py)

alias = runtime_data["connectors"][connector_id]["alias"]
await runtime_data["client"].async_start_charging(alias)

I have not tested it.

To run it I have set up a dev container and cloned the ha-defa-power repo inside it and added a symlink to the custom_components folder. This is probably not the best way to do it but it works.

Thanks for the tip, that worked perfectly! I edited the file in the custom_components folder directly and restarted Home Assistant, ran the action and could see the car stopped charging after calling stop charging, and started charging again after calling start charging. Thank you again!

1 Like

I just released version 0.5.0 beta 2.

This version

  • fixes start/stop charging actions not working
  • adds entities for eco mode settings (including per weekday departure time not available in the app)
  • Download integration diagnostics including anonymized API responses

This version should also skip creating entities for things missing in API responses and start/stop charging buttons should be available if charging state in unavailable to improve eRange compability.

Can someone with a eRange charger try this version and post at least the api_responses part of the diagnostics? It should be anonymized but might be good to double check.

1 Like

Sorry, thought I had notifications on new posts, but apparently not. Here’s my full diagnostics (had to manually anonymize done parts under token):

{
  "home_assistant": {
    "installation_type": "Home Assistant Container",
    "version": "2025.5.3",
    "dev": false,
    "hassio": false,
    "virtualenv": false,
    "python_version": "3.13.3",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Stockholm",
    "os_name": "Linux",
    "os_version": "6.12.24-Unraid",
    "run_as_root": true
  },
  "custom_components": {
    "hacs": {
      "documentation": "https://hacs.xyz/docs/use/",
      "version": "2.0.5",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "plejd": {
      "documentation": "https://github.com/thomasloven/hass_plejd",
      "version": "0.14.7",
      "requirements": [
        "pyplejd==0.14.7"
      ]
    },
    "mobile_alerts": {
      "documentation": "https://www.home-assistant.io/integrations/mobile_alerts",
      "version": "0.1.3",
      "requirements": [
        "mobilealerts==0.1.13"
      ]
    },
    "ocpp": {
      "documentation": "https://github.com/lbbrhzn/ocpp/blob/040cd89bf3b779da45cf5e893e41e0371afb414b/README.md",
      "version": "v0.8.4",
      "requirements": [
        "ocpp>=2.0.0",
        "websockets>=14.1"
      ]
    },
    "daikin_onecta": {
      "documentation": "https://github.com/jwillemsen/daikin_onecta",
      "version": "4.2.8",
      "requirements": []
    },
    "defa_power": {
      "documentation": "https://github.com/Bebbssos/ha-defa-power",
      "version": "0.5.0-beta.2",
      "requirements": []
    }
  },
  "integration_manifest": {
    "domain": "defa_power",
    "name": "DEFA Power",
    "codeowners": [
      "Bebbssos"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/Bebbssos/ha-defa-power",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/Bebbssos/ha-defa-power/issues",
    "requirements": [],
    "version": "0.5.0-beta.2",
    "is_built_in": false,
    "overwrites_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 6.561796180903912e-05
    },
    "01JRME3FE8E6B44F13CHS65PEB": {
      "wait_import_platforms": -0.0243263739394024,
      "config_entry_setup": 1.2048906609416008
    }
  },
  "data": {
    "chargepoints": {
      "<anonymized_id_1>": {
        "skipped_entities": []
      }
    },
    "connectors": {
      "<anonymized_id_2>": {
        "chargepoint_id": "<anonymized_id_1>",
        "skipped_entities": [
          "charging_state",
          "ampere"
        ],
        "capabilities": {
          "ecoMode": true
        },
        "alias": "<anonymized_alias_1>"
      }
    },
    "api_responses": {
      "get_private_chargepoints": [],
      "get_private_chargepoints_execution_time": 0.132,
      "get_my_chargers": {
        "timestamp": 1749675567073,
        "receivingAccess": [
          {
            "chargePoint": {
              "id": "<anonymized_id_1>",
              "group": "mychargers",
              "lastHB": 1749675227908,
              "hbTimeout": false,
              "locationDescription": "**REDACTED**",
              "location": null,
              "zipcode": "",
              "postalArea": "",
              "phoneNumber": "",
              "contactPerson": null,
              "owner": null,
              "availableHours": null,
              "information": null,
              "displayName": "",
              "nickname": null,
              "currencyCode": "SEK",
              "lastSuccesfulChargingRate": -1.0,
              "installerName": null,
              "installerCompany": "",
              "installerPhone": null,
              "reservationStartHr": -1,
              "reservationStartMin": -1,
              "reservationStopHr": -1,
              "reservationStopMin": -1,
              "timeZone": "Europe/Stockholm",
              "reservedDays": [],
              "latitude": "**REDACTED**",
              "longitude": "**REDACTED**",
              "transactionCounter": 1020,
              "aliasMap": {
                "<anonymized_alias_1>": {
                  "id": "<anonymized_id_2>",
                  "connector": 1,
                  "smsAlias": "<anonymized_alias_1>",
                  "displayName": null,
                  "nickname": null,
                  "power": 22.0,
                  "maxProfileCurrent": null,
                  "meterValue": 11028.6,
                  "info": null,
                  "connectorType": "TYPE2_SOCKET",
                  "tariff": {
                    "type": "LinearTariff",
                    "fixedCost": 0.0,
                    "pricePerKwh": 0.0,
                    "pricePerHour": 0.0,
                    "hourDivisor": 2.0
                  },
                  "status": "AVAILABLE",
                  "errorCode": "NoError",
                  "errorInfo": "A",
                  "statusUpdated": 1749675415000,
                  "availability": "OPERATIVE",
                  "accessControlEnabled": false,
                  "customerId": null,
                  "isFavorite": false,
                  "ecoMode": false,
                  "ecoModeOverride": null,
                  "ecoModeSavingsPercentage": 0,
                  "ecoModeAutomaticStopDate": null,
                  "automaticStopActive": false,
                  "automaticStopDays": null,
                  "vendor": "DEFA",
                  "model": "homeCLU",
                  "serialNumber": "**REDACTED**",
                  "firmwareVersion": "v3.5.0",
                  "capabilities": {
                    "ecoMode": true,
                    "solar": false,
                    "maxPower": false,
                    "manualSchedules": false,
                    "accessControl": true,
                    "loadBalancing": false,
                    "bluetoothNetworkSetup": false
                  }
                }
              },
              "isFavorite": false,
              "isConnectorFavorite": false,
              "isReservedForYou": false,
              "biddingArea": "SE3",
              "loadBalancingActive": false,
              "isFacility": false
            },
            "token": {
              "status": "ACTIVE_PERMANENT",
              "accessId": "REDACTED",
              "chargePointId": "REDACTED",
              "connectorId": null,
              "endTime": null,
              "startTime": null,
              "role": "OWNER",
              "givingAccess": null,
              "receivingAccess": "REDACTED",
              "metaString": null
            }
          }
        ],
        "givingAccess": []
      },
      "get_my_chargers_execution_time": 0.142,
      "chargepoints": {
        "<anonymized_id_1>": {
          "get_chargepoint": {
            "id": "<anonymized_id_1>",
            "displayName": "",
            "nickname": null,
            "location": null,
            "locationDescription": "**REDACTED**",
            "zipcode": null,
            "postalArea": null,
            "latitude": null,
            "longitude": null,
            "currencyCode": "SEK",
            "connectorProperties": null,
            "isFavorite": false,
            "isConnectorFavorite": false,
            "isReservedForYou": false,
            "isFacility": false,
            "aliasMap": {
              "<anonymized_alias_1>": {
                "id": "<anonymized_id_2>",
                "displayName": null,
                "nickname": null,
                "smsAlias": "<anonymized_alias_1>",
                "power": 22.0,
                "ampere": 0,
                "maxProfileCurrent": null,
                "meterValue": 11028.6,
                "info": null,
                "connectorType": "TYPE2_SOCKET",
                "availability": "OPERATIVE",
                "status": "AVAILABLE",
                "errorCode": "NoError",
                "errorInfo": "A",
                "statusUpdated": 1749675415000,
                "tariff": {
                  "type": "LinearTariff",
                  "fixedCost": 0.0,
                  "pricePerKwh": 0.0,
                  "pricePerHour": 0.0,
                  "hourDivisor": 2.0
                },
                "discountTariff": {
                  "type": "LinearTariff",
                  "fixedCost": 0.0,
                  "pricePerKwh": 0.0,
                  "pricePerHour": 0.0,
                  "hourDivisor": 2.0
                },
                "vendor": "DEFA",
                "model": "homeCLU",
                "serialNumber": "**REDACTED**",
                "firmwareVersion": "v3.5.0",
                "hbTimeout": true,
                "capabilities": {
                  "ecoMode": true,
                  "solar": false,
                  "maxPower": false,
                  "manualSchedules": false,
                  "accessControl": true,
                  "loadBalancing": false,
                  "bluetoothNetworkSetup": false
                },
                "accessControlEnabled": false,
                "loadBalancingActive": false,
                "connectorProperties": null,
                "connector": 1
              }
            },
            "discount": null,
            "billingMethod": "FREE",
            "chargeSystemId": "<anonymized_id_3>"
          },
          "get_chargepoint_execution_time": 0.157
        }
      },
      "connectors": {
        "<anonymized_id_2>": {
          "get_operational_data": {
            "id": "<anonymized_id_2>",
            "ocpp": {
              "chargingState": null,
              "status": "AVAILABLE",
              "version": "OCPP16"
            },
            "errorCode": "NoError",
            "info": "A",
            "hbLastAlive": "Wed Jun 11 20:56:57 GMT 2025",
            "hbTimeout": true,
            "meterValue": 11028.6,
            "transactionMeterValue": 0.0,
            "powerConsumption": 0.0,
            "chargingBlocks": [],
            "chargingBlocksMaxSizeReached": false
          },
          "get_operational_data_execution_time": 0.14,
          "get_eco_mode_configuration": {
            "hoursToCharge": 4,
            "percentageNotToCharge": null,
            "active": false,
            "pickupTimeEnabled": true,
            "dayOfWeekMap": {
              "FRIDAY": 6,
              "TUESDAY": 6,
              "THURSDAY": 6,
              "SATURDAY": 6,
              "MONDAY": 6,
              "WEDNESDAY": 6,
              "SUNDAY": 6
            },
            "schedule": [
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17,
              18,
              19,
              20,
              21,
              22,
              23,
              0,
              1
            ],
            "scheduleOverridden": false
          },
          "get_eco_mode_configuration_execution_time": 0.152,
          "get_load_balancer": "An exception of type CloudChargeRequestError occurred. Arguments:\n()",
          "get_network_configuration": "An exception of type CloudChargeRequestError occurred. Arguments:\n()",
          "get_max_current_alternatives": "An exception of type CloudChargeRequestError occurred. Arguments:\n()"
        }
      }
    }
  }
}

What eRange model do you have?
Does all the entities that have not been skipped (charging_state and ampere) seem to work?

get_load_balancer, get_network_configuration and get_max_current_alternatives all seem to fail for you, I guess it is not possible to change max current or network settings in the app on eRange chargers. You are able to do that on DEFA Power chargers.

Here is my diagnostics (DEFA Power 22kw):

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2025.5.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.13.3",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Helsinki",
    "os_name": "Linux",
    "os_version": "6.6.74-haos-raspi",
    "supervisor": "2025.05.5",
    "host_os": "Home Assistant OS 15.2",
    "docker_version": "28.0.4",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "polestar_api": {
      "documentation": "https://github.com/pypolestar/polestar_api",
      "version": "1.17.0",
      "requirements": [
        "pypolestar==1.8.0",
        "gql[httpx]>=3.5.0",
        "homeassistant>=2025.3.0"
      ]
    },
    "hubitat": {
      "documentation": "https://github.com/jason0x43/hacs-hubitat",
      "version": "0.9.43",
      "requirements": []
    },
    "frigate": {
      "documentation": "https://github.com/blakeblackshear/frigate",
      "version": "5.9.2",
      "requirements": [
        "hass-web-proxy-lib==0.0.7"
      ]
    },
    "nodered": {
      "documentation": "https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/custom_integration/",
      "version": "4.1.2",
      "requirements": []
    },
    "defa_power": {
      "documentation": "https://github.com/Bebbssos/ha-defa-power",
      "version": "0.5.0-beta.2",
      "requirements": []
    },
    "localtuya": {
      "documentation": "https://github.com/rospogrigio/localtuya/",
      "version": "5.2.3",
      "requirements": []
    },
    "grohe_sense": {
      "documentation": "https://github.com/Flo-Schilli/homeassistant-grohe_sense",
      "version": "v0.22.2",
      "requirements": [
        "dataclasses-json==0.6.7",
        "lxml==5.3.0",
        "python-benedict==0.34.0"
      ]
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/use/",
      "version": "2.0.5",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "defa_power",
    "name": "DEFA Power",
    "codeowners": [
      "Bebbssos"
    ],
    "config_flow": true,
    "dependencies": [],
    "documentation": "https://github.com/Bebbssos/ha-defa-power",
    "iot_class": "cloud_polling",
    "issue_tracker": "https://github.com/Bebbssos/ha-defa-power/issues",
    "requirements": [],
    "version": "0.5.0-beta.2",
    "is_built_in": false,
    "overwrites_built_in": false
  },
  "setup_times": {
    "null": {
      "setup": 0.0006196573376655579
    },
    "01JAW7XJ01ZMW6E5FYSK1XCDWR": {
      "wait_import_platforms": -14.37812543194741,
      "wait_base_component": -0.003396315034478903,
      "config_entry_setup": 18.748443842865527
    }
  },
  "data": {
    "chargepoints": {
      "<anonymized_id_1>": {
        "skipped_entities": []
      }
    },
    "connectors": {
      "<anonymized_id_2>": {
        "chargepoint_id": "<anonymized_id_1>",
        "skipped_entities": [],
        "capabilities": {
          "ecoMode": true
        },
        "alias": "<anonymized_alias_1>"
      }
    },
    "api_responses": {
      "get_private_chargepoints": [
        {
          "access": "OWNER",
          "data": {
            "id": "<anonymized_id_1>",
            "displayName": "**REDACTED**",
            "nickname": null,
            "location": "**REDACTED**",
            "locationDescription": "**REDACTED**",
            "zipcode": "**REDACTED**",
            "postalArea": "**REDACTED**",
            "latitude": "**REDACTED**",
            "longitude": "**REDACTED**",
            "currencyCode": "EUR",
            "connectorProperties": null,
            "isFavorite": false,
            "isConnectorFavorite": false,
            "isReservedForYou": false,
            "isFacility": false,
            "aliasMap": {
              "<anonymized_alias_1>": {
                "id": "<anonymized_id_2>",
                "displayName": null,
                "nickname": null,
                "smsAlias": "<anonymized_alias_1>",
                "power": 11.04,
                "ampere": 16,
                "maxProfileCurrent": 16,
                "meterValue": 9475.958,
                "info": null,
                "connectorType": "TYPE2_CABLE",
                "availability": "OPERATIVE",
                "status": "AVAILABLE",
                "errorCode": "NoError",
                "errorInfo": "",
                "statusUpdated": 1749704266000,
                "tariff": {
                  "type": "LinearTariff",
                  "fixedCost": 0.0,
                  "pricePerKwh": 0.153,
                  "pricePerHour": 0.0,
                  "hourDivisor": 2.0
                },
                "discountTariff": {
                  "type": "LinearTariff",
                  "fixedCost": 0.0,
                  "pricePerKwh": 0.15,
                  "pricePerHour": 0.0,
                  "hourDivisor": 2.0
                },
                "vendor": "DEFA",
                "model": "DEFA Power",
                "serialNumber": "**REDACTED**",
                "firmwareVersion": "v3.3.4",
                "hbTimeout": false,
                "capabilities": {
                  "ecoMode": true,
                  "solar": false,
                  "maxPower": true,
                  "manualSchedules": true,
                  "accessControl": true,
                  "loadBalancing": false,
                  "bluetoothNetworkSetup": true
                },
                "accessControlEnabled": false,
                "loadBalancingActive": false,
                "connectorProperties": {
                  "subscriptionCostDestination": null,
                  "publicChargingSettings": null,
                  "privateChargingSettings": null,
                  "privateCharging": null,
                  "publicCharging": null,
                  "visibleInApps": null,
                  "broadcast": null,
                  "biddingArea": "FI"
                },
                "connector": 1
              }
            },
            "discount": null,
            "billingMethod": "FREE",
            "chargeSystemId": "<anonymized_id_3>"
          },
          "type": "CONNECTOR",
          "validFrom": null,
          "validUntil": null
        }
      ],
      "get_private_chargepoints_execution_time": 0.211,
      "get_my_chargers": {
        "timestamp": 1749844727560,
        "receivingAccess": [],
        "givingAccess": []
      },
      "get_my_chargers_execution_time": 0.206,
      "chargepoints": {
        "<anonymized_id_1>": {
          "get_chargepoint": {
            "id": "<anonymized_id_1>",
            "displayName": "**REDACTED**",
            "nickname": null,
            "location": "**REDACTED**",
            "locationDescription": "**REDACTED**",
            "zipcode": "**REDACTED**",
            "postalArea": "**REDACTED**",
            "latitude": "**REDACTED**",
            "longitude": "**REDACTED**",
            "currencyCode": "EUR",
            "connectorProperties": null,
            "isFavorite": false,
            "isConnectorFavorite": false,
            "isReservedForYou": false,
            "isFacility": false,
            "aliasMap": {
              "<anonymized_alias_1>": {
                "id": "<anonymized_id_2>",
                "displayName": null,
                "nickname": null,
                "smsAlias": "<anonymized_alias_1>",
                "power": 11.04,
                "ampere": 16,
                "maxProfileCurrent": 16,
                "meterValue": 9475.958,
                "info": null,
                "connectorType": "TYPE2_CABLE",
                "availability": "OPERATIVE",
                "status": "AVAILABLE",
                "errorCode": "NoError",
                "errorInfo": "",
                "statusUpdated": 1749704266000,
                "tariff": {
                  "type": "LinearTariff",
                  "fixedCost": 0.0,
                  "pricePerKwh": 0.153,
                  "pricePerHour": 0.0,
                  "hourDivisor": 2.0
                },
                "discountTariff": {
                  "type": "LinearTariff",
                  "fixedCost": 0.0,
                  "pricePerKwh": 0.15,
                  "pricePerHour": 0.0,
                  "hourDivisor": 2.0
                },
                "vendor": "DEFA",
                "model": "DEFA Power",
                "serialNumber": "**REDACTED**",
                "firmwareVersion": "v3.3.4",
                "hbTimeout": false,
                "capabilities": {
                  "ecoMode": true,
                  "solar": false,
                  "maxPower": true,
                  "manualSchedules": true,
                  "accessControl": true,
                  "loadBalancing": false,
                  "bluetoothNetworkSetup": true
                },
                "accessControlEnabled": false,
                "loadBalancingActive": false,
                "connectorProperties": {
                  "subscriptionCostDestination": null,
                  "publicChargingSettings": null,
                  "privateChargingSettings": null,
                  "privateCharging": null,
                  "publicCharging": null,
                  "visibleInApps": null,
                  "broadcast": null,
                  "biddingArea": "FI"
                },
                "connector": 1
              }
            },
            "discount": null,
            "billingMethod": "FREE",
            "chargeSystemId": "<anonymized_id_3>"
          },
          "get_chargepoint_execution_time": 0.221
        }
      },
      "connectors": {
        "<anonymized_id_2>": {
          "get_operational_data": {
            "id": "<anonymized_id_2>",
            "ocpp": {
              "chargingState": "Idle",
              "status": "AVAILABLE",
              "version": "OCPP20"
            },
            "errorCode": "NoError",
            "info": null,
            "hbLastAlive": "Fri Jun 13 18:52:30 GMT 2025",
            "hbTimeout": false,
            "meterValue": 9475.958,
            "transactionMeterValue": 0.0,
            "powerConsumption": 0.0,
            "chargingBlocks": [],
            "chargingBlocksMaxSizeReached": false
          },
          "get_operational_data_execution_time": 0.372,
          "get_eco_mode_configuration": {
            "hoursToCharge": 4,
            "percentageNotToCharge": null,
            "active": false,
            "pickupTimeEnabled": true,
            "dayOfWeekMap": {
              "WEDNESDAY": 8,
              "MONDAY": 8,
              "FRIDAY": 8,
              "TUESDAY": 8,
              "THURSDAY": 8,
              "SATURDAY": 10,
              "SUNDAY": null
            },
            "schedule": [
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17,
              18,
              19,
              20,
              21,
              22,
              23,
              0,
              1,
              2
            ],
            "scheduleOverridden": false
          },
          "get_eco_mode_configuration_execution_time": 0.223,
          "get_load_balancer": {
            "serialNumber": "**REDACTED**",
            "brand": "DEFA",
            "available": true,
            "enabled": true,
            "active": true
          },
          "get_load_balancer_execution_time": 0.781,
          "get_network_configuration": {
            "connectionType": "WiFi",
            "ethernet": {
              "active": false,
              "enabled": true
            },
            "wifi": {
              "active": true,
              "enabled": true,
              "SSID": "**REDACTED**",
              "signalStrength": "MEDIUM"
            },
            "mobile": {
              "active": false,
              "enabled": true,
              "signalStrength": "MEDIUM"
            }
          },
          "get_network_configuration_execution_time": 1.057,
          "get_max_current_alternatives": {
            "16": 11.0,
            "15": 10.4,
            "14": 9.7,
            "13": 9.0,
            "12": 8.3,
            "11": 7.6,
            "10": 6.9,
            "9": 6.2,
            "8": 5.5,
            "7": 4.8,
            "6": 4.1
          },
          "get_max_current_alternatives_execution_time": 2.056
        }
      }
    }
  }
}

I think it’s this one: https://www.defa.com/content/uploads/Documentation/EV-Charging/Base-stations/Product-sheets/712759-eRange-IQ-Facility-14kW-22kW-RCCB-2480217.pdf

Charging state and ampere limit are unavailable.

Can comfirm that Defa eRange with firmware 3.5.0 is working

Thank you so much. I can now retire my crappy Futurehome Smarthub hack I have used up until now.

Im still on firmware 3.2.1, how did you upgrade to 3.5.0?
I think I found how… using DEFAs app called “Poser Setup”, connect to same network as the eRange, have bluetooth activated and make sure you are physically close to the charger itself. I will test it tomorrow.

EDIT: my eRanges firmware can not be upgraded using the app. I called DEFA and they did it remotely. The latest firmware is 3.5.1 at this moment.

Hi

Looking at this charger now as an option. Don’t really use or need Home Assistant for anything else, but I have heard that if you do plan on using Smart House tech and want to stay in control of what’s happening it is the way to go.

One quick question I have is can you set the baseline charging current so you don’t have to override it each time? Most of the time I would rather charge slowly, but when I do buy a proper charger having the option to charge faster when I need it is always welcome.

PS: The non-smart alternative, with a button to select charging current, that I’m currently looking at is: Vegglader EV 10-32A 3 fase type 2 - EV Vegglader - thansen.no