A way to dynamically control the charging power of an electric vehicle charger based on Photovoltaic panels!
Currently only suppots exact configuration:
- go-eCharger (with following API: https://github.com/goecharger/go-eCharger-API-v2)
- Fronius Inverter (with following API: Fronius Solar API V1)
Branch | Build Status |
---|---|
main | |
dev |
New terminal window
yarn # Install packages
yarn dev # Run frontend
New terminal window
cd ./backend # Change dir to 'backend'
yarn # Install packages
yarn dev # Run backend
docker build --build-arg GIT_COMMITID=$(git rev-parse HEAD) --build-arg GIT_BRANCH=$(git symbolic-ref --short HEAD) -t charge-controller .
version: '3'
services:
charge-controller:
restart: unless-stopped
container_name: charge-controller
image: charge-controller
environment:
- WEBSOCK_PORT=81
ports:
- '2000:80'
- '81:81'
volumes:
- ./config:/app/config
Important
If you want to change the port of the Websocket please change the port everywhere (port mapping & environment).