Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davbauer/chargecontroller
ChargeController controls goE-Charger to charge electric vehicles dynamically based on photovoltaic power
https://github.com/davbauer/chargecontroller
automation chargecontroller docker docker-compose docker-image electric-vehicle fronius fronius-solar-api go-echarger inverter photovoltaic selfhosted
Last synced: 8 days ago
JSON representation
ChargeController controls goE-Charger to charge electric vehicles dynamically based on photovoltaic power
- Host: GitHub
- URL: https://github.com/davbauer/chargecontroller
- Owner: davbauer
- License: other
- Created: 2023-07-20T17:25:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-01T12:17:31.000Z (9 months ago)
- Last Synced: 2024-05-02T08:00:43.873Z (9 months ago)
- Topics: automation, chargecontroller, docker, docker-compose, docker-image, electric-vehicle, fronius, fronius-solar-api, go-echarger, inverter, photovoltaic, selfhosted
- Language: TypeScript
- Homepage:
- Size: 3.76 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# chargeController
## Summary
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**)## Build Status
| Branch | Build Status |
| ------ | -------------------------------------------------------------------------------------------------------------------------------- |
| main | ![Build Status - main](https://github.com/davbauer/chargeController/actions/workflows/main-build-push.yml/badge.svg?branch=main) |
| dev | ![Build Status - dev](https://github.com/davbauer/chargeController/actions/workflows/dev-build-push.yml/badge.svg?branch=dev) |## Developement
### Setting up developement envirement
New terminal window
```bash
yarn # Install packages
yarn dev # Run frontend
```New terminal window
```bash
cd ./backend # Change dir to 'backend'
yarn # Install packages
yarn dev # Run backend
```## Production
### Building the docker image
```bash
docker build --build-arg GIT_COMMITID=$(git rev-parse HEAD) --build-arg GIT_BRANCH=$(git symbolic-ref --short HEAD) -t charge-controller .
```### Using docker-compose.yml
```yml
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**).## Other
### Preview
![preview](./assets/preview.png)