-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (28 loc) · 1.01 KB
/
.env.example
File metadata and controls
37 lines (28 loc) · 1.01 KB
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
# Role: source (Pi), display (VPS), or standalone (default, all-in-one)
# WENDY_ROLE=standalone
# WebSocket upstream URL (required when WENDY_ROLE=source)
# WENDY_UPSTREAM=ws://100.x.y.z:8086/api/ingest
# Shared secret for Pi→VPS WebSocket auth (must match on both sides)
# WENDY_SECRET=
# Victron GX MQTT broker (source + standalone only)
WENDY_MQTT_HOST=192.168.47.6
WENDY_MQTT_PORT=1883
# TriStar 600V Modbus TCP (48V side)
WENDY_MODBUS_HOST=192.168.47.11
WENDY_MODBUS_PORT=502
# Victron GX Modbus TCP (24V Wind Control BMV-700)
WENDY_GX_HOST=192.168.47.6
WENDY_GX_MODBUS_PORT=502
# SQLite database path
WENDY_DB_PATH=./data/wendy.db
# HTTP server port
WENDY_PORT=8086
# Windy Point Forecast API (display + standalone only, fetched hourly server-side)
# WENDY_WINDY_API_KEY=
# WENDY_WINDY_LAT=
# WENDY_WINDY_LON=
# Archive disk pruning (deletes oldest archive_day rows when free disk is low)
WENDY_PRUNE_ENABLED=1
WENDY_PRUNE_MIN_FREE_GB=10
WENDY_PRUNE_MIN_ARCHIVE_RETENTION_DAYS=30
WENDY_PRUNE_CHECK_INTERVAL_MIN=360