I’m a big fan off local control and ownership of devices.
Therefore we chose Enelion Wallbox Duo as our EV charger with a local available API to integrate with Home Assistant.
Here is the sensor with a REST call to get part of all available information.
Sensor:
- platform: rest name: Car charger JSON value_template: "OK" json_attributes: - "1" - "2" - "dashboard" scan_interval: 300 method: GET resource: http://x.x.x.x/api/connectors - platform: template sensors: car_charger_connector_1_available_power: friendly_name: Car charger connector 1 available power value_template: "{{ states.sensor.car_charger_json.attributes['1']['available_power'] }}" unit_of_measurement: kW car_charger_connector_1_energy_consumption: friendly_name: Car charger connector 1 energy consumption value_template: "{{ (((states.sensor.car_charger_json.attributes['1']['used_energy']) | float) - (states.sensor.car_charger_json.attributes['1']['transaction_start_energy'] | float) | round(2)) / 1000}}" unit_of_measurement: kWh car_charger_energy_consumption: friendly_name: Car charger energy consumption value_template: "{{ states.sensor.car_charger_json.attributes['1']['used_energy'] | round(2) / 1000}}" unit_of_measurement: kWh car_charger_connector_1_state: friendly_name: Car charger connector 1 state value_template: "{{ states.sensor.car_charger_json.attributes['1']['state'] }}" car_charger_connector_2_available_power: friendly_name: Car charger connector 2 available power value_template: "{{ states.sensor.car_charger_json.attributes['2']['available_power'] }}" unit_of_measurement: kW car_charger_connector_2_energy_consumption: friendly_name: Car charger connector 2 energy consumption value_template: "{{ (((states.sensor.car_charger_json.attributes['2']['used_energy']) | float) - (states.sensor.car_charger_json.attributes['2']['transaction_start_energy'] | float) | round(2)) / 1000}}" unit_of_measurement: kWh car_charger_connector_2_state: friendly_name: Car charger connector 2 state value_template: "{{ states.sensor.car_charger_json.attributes['2']['state'] }}" car_charger_power_consumption: friendly_name: Car charger power consumption value_template: "{{ states.sensor.car_charger_json.attributes['dashboard']['power_usage'] }}" unit_of_measurement: kW