-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (27 loc) · 1.76 KB
/
.env.example
File metadata and controls
34 lines (27 loc) · 1.76 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
# ─── EcoFlow Developer API ────────────────────────────────────────────────────
# Register at https://developer.ecoflow.com, then go to Access Management
# to generate an Access Key and Secret Key.
ECOFLOW_ACCESS_KEY=your_access_key_here
ECOFLOW_SECRET_KEY=your_secret_key_here
# Serial number printed on the device label or visible in the EcoFlow app
# (Settings -> Device Info -> SN)
DEVICE_SN=R331XXXXXXXXXX
# API region — use https://api-e.ecoflow.com if you are in Europe
ECOFLOW_API_HOST=https://api.ecoflow.com
# ─── Discord ──────────────────────────────────────────────────────────────────
# Bot token from https://discord.com/developers/applications -> Bot -> Token
DISCORD_TOKEN=your_discord_bot_token_here
# Right-click the channel you want notifications in -> Copy Channel ID
# (Enable Developer Mode in Discord: Settings -> Advanced -> Developer Mode)
DISCORD_CHANNEL_ID=123456789012345678
# Optional: also send a DM to this user ID (0 = disabled)
DISCORD_DM_USER_ID=0
# ─── Tuning ───────────────────────────────────────────────────────────────────
# Input watts must exceed this value to be counted as "charging"
# Increase if you get false positives from standby draw
CHARGING_WATTS_THRESHOLD=10
# AC output settings used by the /ac command
# Most of the world uses 220–240 V / 50 Hz (freq 1). North America uses 120 V / 60 Hz (freq 2).
AC_OUT_VOLTAGE=230
AC_OUT_FREQ=1
AC_XBOOST=true