Allows you to connect the ABL EMH1 charger over RS485 modbus connection to homeassistant and update the max charging current, read sensors and enable or disable the charger. The RS485 connection typically can happen over a USB or any other serial signal converter.
Add the files to your /custom_components/ folder or use the "+" in the integrations tabs
- Use HACS, in
HACS > Integrations > Explore & Add Repositories
search for "ev charger". After adding thishttps://github.com/matfroh/abl_emh1_modbus
as a custom repository, go to 7. - If you do not have HACS, use the tool of choice to open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledev_charger_modbus
. - Download the files from the
custom_components/ev_charger_modbus/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant.
- Add the integration:
or in the HA UI go to "Settings" -> "Devices & Services" then click "+" and search for "EV charger Modbus".
- Input the right parameter
and restart home assistant.
You should now be able to have a new device in the integration. From there, you can set the charging rate to 0 or between 5 and 16 Amperes, read the current from the device and completely switch it off and on again.
Find the service and send the update!
Select either 0 Amps or any value between 5 and 16
A switch has been created and can be found in the entities. This enables disabling the charger or enable the charger if it was previously disabled.
The switch scans the state of the charger to be in the right position.
Disabling the charger and setting to 0 amperes has some nuances where depending on your use case, one is better fitted.
As well, one can set the charging current with the slider. The default value is 16 amperes. In case of errors, it stays on 16 amperes.
The charger will only accept values between 5 and 16 and will stop charging on 0.