Free · Open source · For the Victron EV Charging Station

The app for our charging station. Maybe for yours too.

We made it for the Victron station at our office: what is charging, what it cost, which car, and how much you saved compared to petrol. You install it on a computer on your own network, and your data stays with you.

MIT license. No account, no cloud, no subscription. Not affiliated with Victron Energy.

The EV Charger app on desktop and phone, charging, next to the Victron station

What it does

  • Now: what is charging, power, energy, cost, time and a live chart; start, stop and set a limit in kW.
  • Sessions: every charge, from plug-in to unplug, on the right car, with its cost.
  • Cars: energy, cost, estimated km and savings compared to petrol, per car.
  • Statistics: by day, month, car and hour; CO₂ avoided at the tailpipe, explained in plain words.
  • Automations: stop at a target (kWh, km or money), scheduled start, start on plug-in, the car guessed from its phases.
  • Notifications on your phone, installable as an app, English and Romanian, light and dark.
The Now screen on desktop, Done, with the session's energy, cost, time and chart
“Done”: the state is the headline, and below it the answers, in the order the questions come.
The Now screen on a phone
The simple screen on a phone, while charging
The station free, on a phone, with the last charge in grey
The Cars page, with each car's photo, energy, cost and savings
Every car with its photo, what it used and what it saved.

Every decision on the screen, from the word “Done” to which numbers grow with the state, is explained in the case study.

Everything stays with you

The app talks to the station directly, over Modbus TCP, on your network. It sends nothing anywhere: no cloud, no account, no usage tracking. It is one Node.js process with no npm dependencies, and the data lives in a SQLite file on your computer.

It runs on anything that is always on: a Raspberry Pi, a NAS with Docker, a Mac or a Linux server.

What you need

  1. Modbus TCP turned on at the station (in its settings or in VictronConnect).
  2. Manual mode, if you want to start and stop from the app. In auto or scheduled mode the station decides and the app only reads.
  3. An always-on computer on the same network, with Docker or Node.js 25 or newer.

Install

Docker (Raspberry Pi, NAS, any Linux)

git clone https://github.com/rtdesignstudio/ev-charger-app.git ev-charger && cd ev-charger
# in docker-compose.yml: EVCS_HOST = your station's IP, TZ = your time zone
docker compose up -d
docker compose exec ev-charger node set-password.mjs

Linux (systemd)

EVCS_HOST=192.168.1.50 ./install-linux.sh
node set-password.mjs

macOS (starts at login)

EVCS_HOST=192.168.1.50 ./install-macos.sh
node set-password.mjs

Then open http://<that-machine>:8380. In Settings, enter the electricity and petrol prices, then add your cars with their consumption.

Try it without a station

It comes with a simulated station where time runs 60 times faster. Plug and unplug a car with one key and watch the app at work.

node tools/simulator.mjs                # terminal 1 (c = plug/unplug)
EVCS_HOST=127.0.0.1 EVCS_PORT=1502 DATA_DIR=/tmp/ev-demo node server.mjs   # terminal 2

Or look at every screen, with real data from our station.

Security

  • Never expose the station's Modbus port (502) to the internet. The station takes commands from anyone who can reach it, without a password.
  • Set a password (node set-password.mjs). Then choose, also later in Settings: anyone on your network sees the charging but every change asks for the password; or private, where nothing shows without signing in.
  • From outside your home, use a VPN such as Tailscale or WireGuard, or a tunnel with access control. Don't forward port 8380 on your router.
  • Notifications and the installed app need https, a browser rule. Tailscale or a Cloudflare Tunnel gives you that.

Questions

Does it cost anything?

No. It is MIT licensed: use it, change it and pass it on as you like.

Is it made by Victron?

No. It is our own independent project, not affiliated with Victron Energy. “Victron” is their trademark; we use it only to say which station this works with.

Will it work with my station?

We use it on a Victron EV Charging Station with firmware 2.10, with cars charging on one and two phases. It uses the station's public registers, so any recent firmware should work. Scheduled start and start on plug-in have had less real-world testing; any feedback helps.

Can I change it for myself?

Yes. The code is small, with no build step and with comments. And if you want an interface made for your own brand, that is what we do.

Contact

Have a Victron station?

Tell us how it works for you: which station, which firmware, which cars. You can also report problems on GitHub.

Write to us: mail@rt.md