An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Continuous integration](https://github.com/solectrus/senec-charger/actions/workflows/push.yml/badge.svg)](https://github.com/solectrus/senec-charger/actions/workflows/push.yml)
[![wakatime](https://wakatime.com/badge/user/697af4f5-617a-446d-ba58-407e7f3e0243/project/018c5239-d626-4755-b81b-a7c7006ebabb.svg)](https://wakatime.com/badge/user/697af4f5-617a-446d-ba58-407e7f3e0243/project/018c5239-d626-4755-b81b-a7c7006ebabb)
[![Maintainability](https://qlty.sh/badges/e025af69-1920-48b8-942e-18436af375f9/maintainability.svg)](https://qlty.sh/gh/solectrus/projects/senec-charger)
[![Code Coverage](https://qlty.sh/badges/e025af69-1920-48b8-942e-18436af375f9/coverage.svg)](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)