Files
gree-controller/.env.example
T
2026-09-16 16:56:13 +02:00

46 lines
1.5 KiB
Bash

# GREE Controller 0.14.15 - standalone environment example
# HTTP / WebSocket
GREE_CONTROLLER_BIND=0.0.0.0:8787
GREE_CONTROLLER_DATABASE=./data/gree-controller.db
GREE_CONTROLLER_BASE_PATH=
RUST_LOG=gree_controller=info,tower_http=info
# Authentication
# Empty = no login in standalone mode (trusted LAN only).
# Set a long random token when the UI/API is reachable outside a trusted LAN/VLAN.
GREE_CONTROLLER_APP_TOKEN=
# Public Custom Chart links
# Leave empty to use the current standalone origin/base path.
# Example behind a reverse proxy:
# GREE_CONTROLLER_PUBLIC_CHART_BASE_URL=https://gree.example.com
GREE_CONTROLLER_PUBLIC_CHART_BASE_URL=
# Controller / discovery
GREE_CONTROLLER_ID=gree-controller
GREE_CONTROLLER_SIMULATE=false
GREE_CONTROLLER_AUTO_SEED=false
GREE_CONTROLLER_POLL_INTERVAL_SECONDS=15
GREE_CONTROLLER_ZONE_INTERVAL_SECONDS=5
GREE_CONTROLLER_DISCOVERY_TIMEOUT_MS=3000
GREE_CONTROLLER_DISCOVERY_BROADCAST=255.255.255.255:7000
# Optional interface name or local IP used only for GREE UDP traffic.
GREE_CONTROLLER_GREE_INTERFACE=
# Compressor protection
GREE_CONTROLLER_COMPRESSOR_PROTECTION_ENABLED=true
GREE_CONTROLLER_COMPRESSOR_PROTECTION_SECONDS=180
# Optional Home Assistant connection for standalone installations.
# Not required inside the Home Assistant add-on; the add-on uses Supervisor API.
HA_URL=
HA_TOKEN=
HA_OUTDOOR_ENTITY_ID=
HA_SENSOR_STALE_AFTER_SECONDS=300
HA_ALLOW_INVALID_TLS=false
# Do not set these manually in standalone mode:
# GREE_CONTROLLER_HA_AUTH=supervisor
# SUPERVISOR_TOKEN=...