-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.env.example
60 lines (47 loc) · 1.87 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Host of the application
APP_HOST=solectrus.example.com
# Password for login as administrator
ADMIN_PASSWORD=secret
# Optional: Enable SSL redirect (default: false)
# Requires reverse proxy with SSL certificate handling!
# FORCE_SLL=true
# Timezone
TZ=Europe/Berlin
# Date of installation of the PV system (when the first yield was achieved)
INSTALLATION_DATE=2020-11-27
# InfluxDB configuration
INFLUX_HOST=influxdb.example.com
INFLUX_SCHEMA=https
INFLUX_PORT=443
INFLUX_TOKEN=the-secret-token-from-influxdata
INFLUX_ORG=john@example.com
INFLUX_BUCKET=my-bucket-name
# Sensor mapping: Map to Measurement/Field in InfluxDB
INFLUX_SENSOR_INVERTER_POWER=SENEC:inverter_power
INFLUX_SENSOR_HOUSE_POWER=SENEC:house_power
INFLUX_SENSOR_GRID_IMPORT_POWER=SENEC:grid_power_plus
INFLUX_SENSOR_GRID_EXPORT_POWER=SENEC:grid_power_minus
INFLUX_SENSOR_BATTERY_CHARGING_POWER=SENEC:bat_power_plus
INFLUX_SENSOR_BATTERY_DISCHARGING_POWER=SENEC:bat_power_minus
INFLUX_SENSOR_BATTERY_SOC=SENEC:bat_fuel_charge
INFLUX_SENSOR_WALLBOX_POWER=SENEC:wallbox_charge_power
INFLUX_SENSOR_CASE_TEMP=SENEC:case_temp
INFLUX_SENSOR_INVERTER_POWER_FORECAST=Forecast:watt
INFLUX_SENSOR_SYSTEM_STATUS=SENEC:current_state
INFLUX_SENSOR_SYSTEM_STATUS_OK=SENEC:current_state_ok
INFLUX_SENSOR_GRID_EXPORT_LIMIT=SENEC:power_ratio
INFLUX_SENSOR_HEATPUMP_POWER=Consumer:power
# Optional: Exclude sensors from house power calculation
INFLUX_EXCLUDE_FROM_HOUSE_POWER=HEATPUMP_POWER,WALLBOX_POWER
# How often to expect updated data in InfluxDB (in seconds)
INFLUX_POLL_INTERVAL=5
# Optional: Honeybadger.io error tracking
# HONEYBADGER_API_KEY=1234567890
# Optional: RorVsWild API key
# RORVSWILD_API_KEY=987654321
# Optional: Analytics with Plausible
# PLAUSIBLE_URL=https://plausible.example.com
# Optional: Lock app with a password
# LOCKUP_CODEWORD=my-codeword
# Optional: Allow iframe embedding
# FRAME_ANCESTORS=https://example.com