CTEK Chargestorm Connected 2 - jonasbkarlsson/ocpp GitHub Wiki
Link to manual, firmware and driver to Windows.
Configure the charging box
-
Open the charging box.
-
Connect a laptop to the charging box and log in. images/ConnectToCCU.jpg
-
Click on Configuration on the left, and turn on Advanced settings.
- As of CTEK firmware r4.4.0, access to Web UI via Ethernet or WiFi can be enabled in Configuration->Advanced->Firewall by turning on "Allow Web UI on ethernet" or "Allow Web UI on wifi".
- In Backend->Backend settings, change "Backend Endpoint" to point to port 9000 of your Home Assistant server, e.g., ws://192.168.178.1:9000 Note the "ws" instead of the default "wss"!
- In Backend->Metering settings, add all measurands that you would like to have. In the following, it is assumed that all measurements have been activated for both the Clock Aligned Measurands and the Sampled Measureands. Set Clock Aligned Interval to 900 and Sample Interval to 60.
Configure the OCPP integration
- See general instructions here.
- In the OCPP Configuration dialog window, it's recommended to keep the default value
chargerfor theCharger point identityand set theMaximum charging currentto the relevant value. - In the OCPP Measurands dialog window, select the measurands according to the picture below. images/ocpp_configuration.jpg images/ocpp_measurands_ctek.jpg
Changing the LED intensity
- Create a Number helper in Home Assistant. Assumed below to be named
input_number.ctek_light_intensity. - Automation to change the LED intensity
alias: CTEK Light Intensity
description: ''
triggers:
- entity_id: input_number.ctek_light_intensity
trigger: state
condition: []
actions:
- data:
ocpp_key: LightIntensity
value: "{{ states('input_number.ctek_light_intensity') | int }}"
action: ocpp.configure
mode: single
Locking the charging cable
- For variants of the charging box that has outlets, it is possible to lock the cable to the charging box.
- NOTE: The charging box needs to be restarted for the change to take effect.
- Create a Toggle helper in Home Assistant. Assumed below to be named
input_boolean.ctek_lock_cable. - Automation to lock the cable of outlet 1. For outlet 2, replace
outlet/1/keep_cable_lockedwithoutlet/2/keep_cable_locked.
alias: CTEK Lock cable
description: ''
triggers:
- entity_id: input_boolean.ctek_lock_cable
from: "off"
to: "on"
trigger: state
condition: []
actions:
- data:
ocpp_key: outlet/1/keep_cable_locked
value: 1
action: ocpp.configure
mode: single
- Automation to unlock the cable of outlet 1. For outlet 2, replace
outlet/1/keep_cable_lockedwithoutlet/2/keep_cable_locked.
alias: CTEK Unlock cable
description: ''
triggers:
- entity_id: input_boolean.ctek_lock_cable
from: "on"
to: "off"
trigger: state
condition: []
actions:
- data:
ocpp_key: outlet/1/keep_cable_locked
value: 0
action: ocpp.configure
mode: single
Updating the firmware
- Download the firmware.
- Extract the bin-file, and place it in a location where the charging box can reach it with an URL.
- In Home Assistant, in Developer Tools -> Services, in YAML mode, call the following service:
action: ocpp.update_firmware
data:
firmware_url: URL_TO_THE_BIN_FILE
-
One way to accomplish this is to run the command
python3 -m http.server 8000in the folder where the bin-file is stored. Assuming that port 8000 is open. -
Alternatively, one can use the firmware locations below. For example, the R4.7.0 becomes the following:
action: ocpp.update_firmware
data:
firmware_url: https://raw.githubusercontent.com/wiki/jonasbkarlsson/ocpp/files/upgrade-ccu-image-ccu-r4.7.0.bin
- Links to CTEK firmwares
- Firmware R4.7.0
- Firmware R3.19.2