-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 1.21 KB
/
Copy path.env.example
File metadata and controls
28 lines (24 loc) · 1.21 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
# === TeslaMate Database (for telemetry + analytics tools) ===
# Required if you want: status, drives, charging history, efficiency, etc.
TESLAMATE_DB_HOST=localhost
TESLAMATE_DB_PORT=5432
TESLAMATE_DB_USER=teslamate
TESLAMATE_DB_PASS=your_password
TESLAMATE_DB_NAME=teslamate
# === Tesla Fleet API (for live data + commands) ===
# Required if you want: live vehicle state, climate, charging, locks, etc.
TESLA_VIN=your_vin_here
TESLA_TOKEN_FILE=/path/to/tokens.json
TESLA_CLIENT_ID=your_client_id
TESLA_CLIENT_SECRET=your_client_secret
# Fleet API proxy (required for commands — not needed for tesla_live)
TESLA_PROXY_URL=https://localhost:4443
# TESLA_VERIFY_SSL=false # Uncomment for self-signed proxy certs
# === Vehicle Configuration ===
# TESLA_CAR_ID=1 # TeslaMate car ID (default: 1)
# TESLA_BATTERY_KWH=75 # Usable battery capacity in kWh (default: 75)
# TESLA_BATTERY_RANGE_KM=525 # EPA range at 100% in km (default: 525)
# === Cost Defaults (overridable per-tool-call) ===
# TESLA_ELECTRICITY_RATE=0.12 # $/kWh (default: 0.12, US average)
# TESLA_GAS_PRICE=3.50 # $/gallon for savings comparison (default: 3.50)
# TESLA_GAS_MPG=28 # Comparable gas vehicle MPG (default: 28)