https://github.com/solectrus/senec-charger
Automated low-cost grid charging for SENEC Home V3 / V2.1 and Tibber dynamic electricity tariff
https://github.com/solectrus/senec-charger
cost-optimization electricity-prices
Last synced: 3 months ago
JSON representation
Automated low-cost grid charging for SENEC Home V3 / V2.1 and Tibber dynamic electricity tariff
- Host: GitHub
- URL: https://github.com/solectrus/senec-charger
- Owner: solectrus
- License: mit
- Created: 2023-11-29T15:58:34.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2026-03-26T00:07:25.000Z (3 months ago)
- Last Synced: 2026-03-26T22:23:40.403Z (3 months ago)
- Topics: cost-optimization, electricity-prices
- Language: Ruby
- Homepage: https://solectrus.de/blog/2024-01-28-preisoptimierte-speicherbeladung-aus-dem-netz/
- Size: 623 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/solectrus/senec-charger/actions/workflows/push.yml)
[](https://wakatime.com/badge/user/697af4f5-617a-446d-ba58-407e7f3e0243/project/018c5239-d626-4755-b81b-a7c7006ebabb)
[](https://qlty.sh/gh/solectrus/projects/senec-charger)
[](https://qlty.sh/gh/solectrus/projects/senec-charger)
# SENEC Charger
Automated low-cost grid charging for SENEC Home V3 / V2.1 and Tibber dynamic electricity tariff
It charges your battery when electricity is cheap and there is no sunshine in sight.
```mermaid
flowchart
BEGIN --> CHA{Battery safe-charging?}
CHA -->|yes| INC{Charge level increased
since last check?}
CHA -->|no| EMPTY{Battery empty?}
INC -->|yes| END1[END]
INC -->|no| STOP[Allow discharging!]
EMPTY -->|yes| SUN{Sunshine ahead?}
EMPTY -->|no| END4[END]
SUN -->|yes| END3[END]
SUN -->|no| CHEAP{Cheap grid power?}
CHEAP -->|yes| START[Start safe-charging!]
CHEAP -->|no| END5[END]
```
## Requirements
- SENEC.Home V3 or V2.1
- Dynamic electricity tariff from [Tibber](https://tibber.com)
## Usage
1. Prepare an `.env` file (see `.env.example`)
2. Run the Docker containers on your Linux box:
```bash
docker compose up
```
This setup uses the following other Docker services:
- [Tibber-Collector](https://github.com/solectrus/tibber-collector)
- [Forecast-Collector](https://github.com/solectrus/forecast-collector)
- [InfluxDB v2](https://hub.docker.com/_/influxdb)
## License
Copyright (c) 2023-2025 Georg Ledermann, released under the MIT License
Sponsored by [EP: Bölsche Frikom GmbH](https://www.ep.de/boelsche)