Integrate EVCC charger into Victron Venus OS
This script supports reading EV charger values from EVCC. Writing values is not supported right now
Just grab a copy of the main branche and copy them to a folder under /data/
e.g. /data/dbus-evcc
.
After that call the install.sh script.
The following script should do everything for you:
wget https://github.com/SamuelBrucksch/dbus-evcc/archive/refs/heads/main.zip
unzip main.zip "dbus-evcc-main/*" -d /data
mv /data/dbus-evcc-main /data/dbus-evcc
chmod a+x /data/dbus-evcc/install.sh
/data/dbus-evcc/install.sh
rm main.zip
Within the project there is a file /data/dbus-evcc/config.ini
- just change the values - most important is the deviceinstance under "DEFAULT" and host in section "ONPREMISE". More details below:
Section | Config value | Explanation |
---|---|---|
DEFAULT | AccessType | Fixed value 'OnPremise' |
DEFAULT | SignOfLifeLog | Time in minutes how often a status is added to the log-file current.log with log-level INFO |
DEFAULT | Deviceinstance | Unique ID identifying the charger in Venus OS |
ONPREMISE | Host | IP or hostname of EVCC |
- Follow the installation instructions above, but change the commands as follows:
(Count up
wget https://github.com/SamuelBrucksch/dbus-evcc/archive/refs/heads/main.zip unzip main.zip "dbus-evcc-main/*" -d /data mv /data/dbus-evcc-main /data/dbus-evcc-1 chmod a+x /data/dbus-evcc-1/install.sh /data/dbus-evcc-1/install.sh rm main.zip
dbus-evcc-1
for each loadpoint) - Update the
dbus-evcc-1/config.ini
:- The
deviceinstance
should be different for each loadpoint: Use43
for the first. Use44
for the second loadpoint...
- The
- Update the
dbus-evcc.py
: Search for["loadpoints"][0]
and replace it with["loadpoints"][1]
.
If you have more than two loadpoints, the procedure is the same, but the index should be counted up.
Many thanks. @vikt0rm, @fabian-lauer, @trixing and @JuWorkshop project: