@@ -36,18 +36,35 @@ Use this for standalone EMS operation without Home Assistant.
3636 "max_device_power" : 800 ,
3737 "deadband" : 10 ,
3838 "runtime_state_path" : " runtime-state.json" ,
39- "min_output_limit" : 30 ,
40- "loop_interval" : 5 ,
39+ "min_output_limit" : 35 ,
40+ "loop_interval" : 3 ,
4141 "redistribute_clamped_power" : true ,
4242 "pv_kwp_weighting" : true ,
4343 "pv_charge_balance_enabled" : true ,
44- "pv_charge_balance_deadband_percent" : 5 ,
44+ "pv_charge_balance_deadband_percent" : 1 ,
4545 "pv_charge_balance_full_bias_percent" : 15 ,
46- "pv_charge_balance_strength" : 1.0 ,
46+ "pv_charge_balance_strength" : 0.7 ,
4747 "battery_kwh_weighting" : true ,
4848 "soc_reconcile_interval" : 10
4949 },
5050
51+ "dashboard" : {
52+ "enabled" : true ,
53+ "host" : " 0.0.0.0" ,
54+ "port" : 8080 ,
55+ "database_path" : " data/ems_dashboard.sqlite" ,
56+ "history_hours" : 48 ,
57+ "write_interval_seconds" : 5
58+ },
59+
60+ "energy_savings" : {
61+ "enabled" : true ,
62+ "price_per_kwh" : 0.0 ,
63+ "currency" : " EUR" ,
64+ "max_sample_delta_seconds" : 20 ,
65+ "timezone" : " Europe/Berlin"
66+ },
67+
5168 "winter" : {
5269 "enabled" : false ,
5370 "months" : [10 , 11 , 12 , 1 , 2 , 3 ],
@@ -86,6 +103,10 @@ Change:
86103- ` shelly.ip `
87104- ` pv_kwp `
88105- ` battery_kwh `
106+ - ` dashboard.port ` or ` dashboard.database_path ` only when needed
107+ - ` energy_savings.price_per_kwh `
108+ - ` energy_savings.currency `
109+ - ` energy_savings.timezone ` only when you do not want Europe/Berlin calendar days
89110
90111Run:
91112
@@ -97,7 +118,8 @@ python3 -B ems-solarflow-api-control.py --preflight
97118## Example 2: Two Zendure Devices With Home Assistant
98119
99120Use this when Home Assistant should receive EMS sensors and optionally provide
100- runtime helper controls.
121+ runtime helper controls. The values below intentionally override some
122+ single-device template values for a two-inverter installation.
101123
102124``` json
103125{
@@ -119,8 +141,8 @@ runtime helper controls.
119141 "max_total_power" : 1600 ,
120142 "max_device_power" : 800 ,
121143 "runtime_state_path" : " runtime-state.json" ,
122- "min_output_limit" : 30 ,
123- "loop_interval" : 5
144+ "min_output_limit" : 35 ,
145+ "loop_interval" : 3
124146 },
125147
126148 "devices" : [
0 commit comments