Skip to content
/ ocpp Public
forked from lbbrhzn/ocpp

Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).

License

Notifications You must be signed in to change notification settings

altserg/ocpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

10db2cc · Jun 26, 2021

History

58 Commits
Jun 26, 2021
Jun 26, 2021
Jun 26, 2021
Jun 26, 2021
Jun 26, 2021
Feb 4, 2021
Jun 26, 2021
Jun 26, 2021
Mar 16, 2021
Jun 18, 2021
Jun 26, 2021
Mar 16, 2021
Jun 26, 2021
Mar 16, 2021
Jun 26, 2021
Jun 26, 2021
Jun 26, 2021
Jun 26, 2021

Repository files navigation

OCPP

This is a home assistant integration for a simple OCPP server (central system) for chargers that support the Open Charge Point Protocol.

Installation

  1. Install HACS in home assistant
  2. Add this repository as a Custom repository in HACS
  3. Search for the ocpp integration and install
  4. Add the ocpp platform configuration (see below) to configuration.yaml
  5. Configure your charger to use the OCPP websocket (e.g. ws://homeassistant.local:9000 )
  6. Restart Home Assistant
  7. Update your home assistant dashboard to include the new OCPP Entities

Example configuration

sensor:
  - platform: ocpp
    name: charger_1
    meter_interval: 60
    monitored_variables:
      - "Current.Export"
      - "Current.Import"
      - "Current.Offered"
      - "Energy.Active.Export.Register"
      - "Energy.Active.Import.Register"
      - "Energy.Reactive.Export.Register"
      - "Energy.Reactive.Import.Register"
      - "Energy.Active.Export.Interval"
      - "Energy.Active.Import.Interval"
      - "Energy.Reactive.Export.Interval"
      - "Energy.Reactive.Import.Interval"
      - "Frequency"
      - "Power.Active.Export"
      - "Power.Active.Import"
      - "Power.Factor"
      - "Power.Offered"
      - "Power.Reactive.Export"
      - "Power.Reactive.Import"
      - "RPM"
      - "SoC"
      - "Temperature"
      - "Voltage"
    port: 9000
    scan_interval:
      seconds: 60

Example dashboard

views:
  - title: Charging
    path: charging
    badges: []
    cards:
      - type: history-graph
        entities:
          - entity: sensor.charger_1_energy_active_import_register
          - entity: sensor.charger_1_current_import
          - entity: sensor.charger_1_status
        hours_to_show: 24
        refresh_interval: 0
      - type: entities
        entities:
          - entity: sensor.charger_1_status
          - entity: sensor.charger_1_energy_active_import_register
          - entity: sensor.charger_1_energy_reactive_import_register
          - entity: sensor.charger_1_power_active_import
          - entity: sensor.charger_1_power_reactive_import
          - entity: sensor.charger_1_current_offered
          - entity: sensor.charger_1_current_import
          - entity: sensor.charger_1_heartbeat
          - entity: sensor.charger_1_soc
        title: OCPP

Screenshot

example

About

Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%