-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
116 lines (99 loc) · 2.68 KB
/
env.example
File metadata and controls
116 lines (99 loc) · 2.68 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# ChoreTracker Environment Configuration Template
# Copy this file to .env and update with your actual values
# Never commit .env files to git!
# ======================
# WiFi Configuration
# ======================
WIFI_SSID=YourWiFiNetworkName
WIFI_PASSWORD=YourWiFiPassword
# ======================
# Home Assistant Configuration
# ======================
HA_SERVER=http://homeassistant.local:8123
HA_TOKEN=your_long_lived_access_token_here
HA_DEVICE_ID=choretracker_001
# ======================
# Weather API (Optional)
# ======================
WEATHER_API_KEY=your_openweather_api_key
WEATHER_CITY=London,GB
WEATHER_ENABLED=false
# ======================
# Device Configuration
# ======================
DEVICE_NAME=ChoreTracker
DEVICE_LOCATION=Living Room
# Display configuration - supports 1 to 8 displays
DISPLAY_COUNT=8
DISPLAY_WIDTH=170
DISPLAY_HEIGHT=320
DISPLAY_ROTATION=1
DISPLAY_BRIGHTNESS=200
# ======================
# Hardware Configuration
# ======================
# GPIO Pins for displays (comma-separated, must match DISPLAY_COUNT)
# Example for 4 displays: TFT_CS_PINS=9,10,1,3
TFT_CS_PINS=9,10,1,3,39,36,37,38
# GPIO Pins for switches (comma-separated, must match DISPLAY_COUNT)
# Example for 4 displays: SWITCH_PINS=13,12,14,27
SWITCH_PINS=13,12,14,27,26,33,35,34
# GPIO Pins for LEDs (comma-separated, must match DISPLAY_COUNT)
# Example for 4 displays: LED_PINS=15,2,0,4
LED_PINS=15,2,0,4,5,25,32,21
# Shared TFT pins
TFT_SCK=18
TFT_MOSI=23
TFT_DC=19
TFT_RST=-1
TFT_BACKLIGHT=8
# Button pins
WAKE_BUTTON_PIN=16
SCREEN_BUTTON_PINS=17,22,7
# ======================
# Task Configuration
# ======================
MAX_TASKS_PER_PERSON=6
MAX_PERSONS=4
TASK_TIMEOUT_MS=300000
UPDATE_INTERVAL_MS=60000
# ======================
# Audio Configuration
# ======================
AUDIO_ENABLED=false
AUDIO_PIN=11
AUDIO_VOLUME=128
# ======================
# Debug Configuration
# ======================
DEBUG_MODE=true
SERIAL_SPEED=115200
LOG_LEVEL=INFO
# ======================
# Network Configuration
# ======================
# Timeout settings in milliseconds
WIFI_TIMEOUT_MS=20000
HA_TIMEOUT_MS=5000
WEATHER_TIMEOUT_MS=10000
# ======================
# MQTT Configuration (Optional)
# ======================
MQTT_ENABLED=false
MQTT_SERVER=homeassistant.local
MQTT_PORT=1883
MQTT_USERNAME=your_mqtt_username
MQTT_PASSWORD=your_mqtt_password
MQTT_TOPIC_PREFIX=choretracker
# ======================
# Home Assistant Integration
# ======================
HA_DISCOVERY_PREFIX=homeassistant
HA_ENTITY_PREFIX=choretracker
HA_UPDATE_INTERVAL=30
# ======================
# Security
# ======================
# Device authentication (optional)
DEVICE_AUTH_TOKEN=your_device_specific_token
API_KEY=your_api_key_for_device_access