Skip to content

Commit b9ccd69

Browse files
authored
feat: switch to DB config and new healthcheck (#306)
1 parent 2a73a62 commit b9ccd69

2 files changed

Lines changed: 1 addition & 114 deletions

File tree

templates/docker-compose-ha.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ services:
4545
depends_on:
4646
- mosquitto
4747
healthcheck:
48-
test: ["CMD", "wget", "-O", "/dev/null", "http://localhost:7070/api/health"]
48+
test: ["CMD", "wget", "-O", "/dev/null", "http://localhost:7070/"]
4949
interval: 10s
5050
timeout: 5s
5151
retries: 5

templates/evcc.yaml.j2

Lines changed: 0 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -9,116 +9,3 @@ levels:
99

1010
# unique installation id
1111
plant: "{{ homestack_ha_evcc_installation_id }}"
12-
13-
interval: 30s # control cycle interval
14-
15-
meters:
16-
- type: template
17-
template: kostal-plenticore
18-
id: 71
19-
host: sol
20-
port: 1502
21-
usage: pv
22-
modbus: tcpip
23-
name: plenticore
24-
- type: template
25-
template: kostal-plenticore
26-
id: 71
27-
host: sol
28-
port: 1502
29-
usage: battery
30-
modbus: tcpip
31-
name: byd
32-
33-
- type: template
34-
template: kostal-ksem
35-
id: 71
36-
host: korvan
37-
port: 502
38-
usage: grid
39-
modbus: tcpip
40-
name: ksem
41-
42-
chargers:
43-
- type: template
44-
template: tinkerforge-warp3
45-
host: tls://mosquitto.{{ homestack_ha_base_domain }}
46-
port: 8883
47-
topic: warp
48-
timeout: 30s
49-
name: warp3
50-
user: "{{ homestack_ha_evcc_mqtt_user }}"
51-
password: "{{ homestack_ha_evcc_mqtt_password }}"
52-
53-
vehicles:
54-
- type: template
55-
template: vw
56-
user: "{{ homestack_ha_evcc_vw_user }}"
57-
password: "{{ homestack_ha_evcc_vw_password }}"
58-
vin: "{{ homestack_ha_evcc_vw_vin }}"
59-
title: ID.3
60-
capacity: 58
61-
timeout: 10s
62-
name: id3
63-
cache: 5m
64-
65-
loadpoints:
66-
- title: Fahrradhäuschen
67-
charger: warp3
68-
vehicle: id3
69-
mode: pv
70-
enable:
71-
threshold: 0 # minimum export power (W)
72-
delay: 1m
73-
disable:
74-
threshold: 200 # maximum import power (W)
75-
delay: 3m
76-
phases: 0
77-
minCurrent: 5
78-
maxCurrent: 16
79-
80-
site:
81-
title: Zuhause
82-
residualPower: 200
83-
meters:
84-
grid: ksem
85-
pv:
86-
- plenticore
87-
battery:
88-
- byd
89-
90-
messaging:
91-
events:
92-
start:
93-
title: ⚡️ Charge started
94-
msg: Started charging in "${mode}" mode
95-
stop:
96-
title: ✅ Charge finished
97-
msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
98-
connect:
99-
title: 🔌 Car connected
100-
msg: "Car connected at ${pvPower:%.1fk}kW PV"
101-
disconnect:
102-
title: 🔌 Car disconnected
103-
msg: Car disconnected after ${connectedDuration}
104-
soc:
105-
title: 🔋 SOC updated
106-
msg: Battery charged to ${vehicleSoc:%.0f}%
107-
guest:
108-
title: ❓ Unknown vehicle
109-
msg: Unknown vehicle, guest connected?
110-
111-
services:
112-
- type: ntfy
113-
uri: "{{ homestack_ha_evcc_ntfy_uri }}"
114-
priority: default
115-
tags: id3
116-
117-
tariffs:
118-
currency: EUR
119-
grid:
120-
type: fixed
121-
price: {{ homestack_ha_evcc_grid_costs }} # EUR/kWh
122-
feedin:
123-
type: fixed
124-
price: {{ homestack_ha_evcc_feedin_revenue }} # EUR/kWh

0 commit comments

Comments
 (0)