Skip to content

Commit f53cc0f

Browse files
CopilotMaStr
authored andcommitted
chore: align evcc product name to lowercase throughout code and docs
1 parent c816a8a commit f53cc0f

8 files changed

Lines changed: 21 additions & 21 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ src/batcontrol/
99
core.py # Main orchestrator
1010
logic/ # Battery control decisions (default, next)
1111
inverter/ # Backends: Fronius HTTP, Fronius Modbus, MQTT, Dummy
12-
dynamictariff/ # Tariff providers: Awattar, Tibber, EVCC, EnergyForecast, NetworkFees
13-
forecastsolar/ # Solar forecast: FCSolar, SolarPrognose, EVCC, HA-ML
12+
dynamictariff/ # Tariff providers: Awattar, Tibber, evcc, EnergyForecast, NetworkFees
13+
forecastsolar/ # Solar forecast: FCSolar, SolarPrognose, evcc, HA-ML
1414
forecastconsumption/ # Consumption forecast: CSV, HomeAssistant
1515
fetcher/ # HTTP caching helper
1616
scheduler.py # Main loop
1717
mqtt_api.py # State publishing + runtime config overrides
18-
evcc_api.py # EVCC integration
18+
evcc_api.py # evcc integration
1919
```
2020

2121
## Architecture

docs/development/15-min-transform.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ class Tibber(DynamicTariffBase):
971971
- Fetches data at target resolution (no conversion needed)
972972
- **Action Required**: Verify API parameter for 15-min data
973973

974-
**Evcc** (`evcc.py`):
974+
**evcc** (`evcc.py`):
975975
```python
976976
class EvccTariff(DynamicTariffBase):
977977
def __init__(self, config: dict):
@@ -2203,7 +2203,7 @@ def test_backward_compatibility_60min():
22032203
- Create data collection guide for users
22042204

22052205
**4. Price Forecasts**
2206-
- Evcc: Use native 15-min data when available
2206+
- evcc: Use native 15-min data when available
22072207
- Awattar/Tibber: Replicate hourly prices to quarters
22082208
- Future: Monitor for API updates offering 15-min granularity
22092209

docs/getting-started/how-batcontrol-works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The system validates configuration to prevent problematic behavior:
130130

131131
## External Integrations
132132

133-
### EVCC Integration
133+
### evcc Integration
134134
- **Purpose**: Coordinate with electric vehicle charging
135135
- **Function**: Can lock battery discharge when car is charging
136136
- **Configuration**: Monitors charging status and adjusts battery limits

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ Batcontrol is an intelligent battery management system that optimizes your home
4242
### External Systems
4343
| Integration | Purpose | Documentation |
4444
|-------------|---------|---------------|
45-
| **EVCC** | Electric vehicle charging coordination | [EVCC Connection](integrations/evcc-connection.md) |
45+
| **evcc** | Electric vehicle charging coordination | [evcc Connection](integrations/evcc-connection.md) |
4646
| **MQTT/Home Assistant** | Home automation integration | [MQTT API](integrations/mqtt-api.md) |
4747
| **MQTT Inverter** | Integrate any battery system via MQTT | [MQTT Inverter](integrations/mqtt-inverter.md) |
4848

4949
## 📋 Configuration Reference
5050

5151
### Supported Hardware
5252
- **Inverters**: Fronius GEN24 series, Fronius Modbus TCP, MQTT inverter bridge
53-
- **Dynamic Tariff Providers**: aWATTar, Tibber, EVCC integration, 2 Tariff Providers like Octopus
54-
- **Solar Forecast**: Forecast.Solar, Solar-Prognose.de, EVCC integration
53+
- **Dynamic Tariff Providers**: aWATTar, Tibber, evcc integration, 2 Tariff Providers like Octopus
54+
- **Solar Forecast**: Forecast.Solar, Solar-Prognose.de, evcc integration
5555
- **Consumption Forecast**: CSV-based load profiles
5656

5757
### File Structure

docs/integrations/evcc-connection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EVCC Integration
1+
# evcc Integration
22

33
Batcontrol can integrate with [evcc (Electric Vehicle Charging Controller)](https://evcc.io/) to intelligently manage battery usage during electric vehicle charging. This integration helps prevent unnecessary battery discharge while your EV is charging, optimizing your overall energy management.
44

@@ -87,7 +87,7 @@ The `battery_halt_topic` enables dynamic battery discharge limit management base
8787
### Example Scenario
8888

8989
- Your normal `always_allow_discharge_limit`: `0.20` (20%)
90-
- EVCC `bufferSoc` setting: `50` (50%)
90+
- evcc `bufferSoc` setting: `50` (50%)
9191
- **Result**: While EV charges, battery discharge is blocked above 50% SOC instead of 20%
9292

9393
## MQTT Topics Monitored
@@ -125,7 +125,7 @@ These are used by [peak shaving](../features/peak-shaving.md): peak shaving is a
125125
2. **Limit Restoration**: Original discharge limit is restored
126126
3. **Logging**: Batcontrol logs: `"evcc is not charging, remove block"`
127127

128-
### When EVCC Goes Offline
128+
### When evcc Goes Offline
129129
1. **Safety Mechanism**: If evcc goes offline while charging, blocks are automatically removed
130130
2. **Limit Restoration**: Original settings are restored
131131
3. **Logging**: Batcontrol logs: `"evcc went offline"` and `"evcc was charging, remove block"`

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ nav:
6666
- MQTT API: integrations/mqtt-api.md
6767
- Forecast Metrics: integrations/forecast-metrics.md
6868
- MQTT Inverter: integrations/mqtt-inverter.md
69-
- EVCC Connection: integrations/evcc-connection.md
69+
- evcc Connection: integrations/evcc-connection.md
7070
- Development:
7171
- 15-Minute Interval Transformation: development/15-min-transform.md
7272

scripts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The `scripts` folder is separate from the `tests` folder to avoid interference w
1515

1616
### test_evcc.py
1717

18-
Standalone test script for the EVCC dynamic tariff module.
18+
Standalone test script for the evcc dynamic tariff module.
1919

2020
**Usage:**
2121
```bash
@@ -27,7 +27,7 @@ python scripts/test_evcc.py http://evcc.local/api/tariff/grid
2727
```
2828

2929
**Features:**
30-
- Tests the EVCC API integration
30+
- Tests the evcc API integration
3131
- Shows both raw API data and processed prices
3232
- Provides detailed error information for debugging
3333
- Displays hourly prices with proper formatting

scripts/test_evcc.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env python3
22
"""
3-
Standalone test script for the EVCC dynamic tariff module.
3+
Standalone test script for the evcc dynamic tariff module.
44
5-
This script allows you to test the EVCC API integration by providing a URL
5+
This script allows you to test the evcc API integration by providing a URL
66
and seeing the fetched dynamic pricing data.
77
88
Usage:
@@ -28,20 +28,20 @@
2828

2929

3030
def main():
31-
"""Test the EVCC dynamic tariff functionality"""
31+
"""Test the evcc dynamic tariff functionality"""
3232
if len(sys.argv) != 2:
3333
print("Usage: python scripts/test_evcc.py <url>")
3434
print("Example: python scripts/test_evcc.py http://evcc.lan")
3535
print("Example: python scripts/test_evcc.py https://your-evcc-instance.com/api/tariff/planner")
3636
sys.exit(1)
3737

3838
url = sys.argv[1]
39-
print(f"Testing EVCC API at: {url}")
39+
print(f"Testing evcc API at: {url}")
4040
print("=" * 50)
4141

4242
try:
43-
# Initialize EVCC with Europe/Berlin timezone
44-
print("Initializing EVCC client...")
43+
# Initialize evcc with Europe/Berlin timezone
44+
print("Initializing evcc client...")
4545
evcc = Evcc(pytz.timezone('Europe/Berlin'), url)
4646

4747
# Fetch raw data first

0 commit comments

Comments
 (0)