This commit is contained in:
Mateusz Gruszczyński
2026-09-16 16:56:13 +02:00
parent 143ff0d272
commit 1862fed87f
27 changed files with 1368 additions and 178 deletions
+38 -15
View File
@@ -1,22 +1,45 @@
# Serwer HTTP
GREE_BIND=0.0.0.0:8787
GREE_DATABASE=./data/gree-controller.db
# 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
# Pusty token = dostęp bez logowania w zaufanej sieci LAN.
# Ustaw długi losowy token, gdy interfejs jest dostępny poza zaufanym VLAN-em.
GREE_APP_TOKEN=
# 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=
# Tryb symulacji pozwala uruchomić aplikację bez klimatyzatora.
GREE_SIMULATE=true
GREE_AUTO_SEED=true
GREE_POLL_INTERVAL_SECONDS=15
GREE_ZONE_INTERVAL_SECONDS=5
GREE_DISCOVERY_TIMEOUT_MS=3000
GREE_DISCOVERY_BROADCAST=255.255.255.255:7000
# 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=
# Opcjonalny sensor temperatury z Home Assistant.
# 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_ENTITY_ID=
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=...