align .env.template with .env

stragety for client monitoring setup
This commit is contained in:
RobbStarkAustria
2026-03-11 11:40:45 +01:00
parent 2340e698a4
commit 1c445f4ba7
3 changed files with 856 additions and 83 deletions

View File

@@ -1,7 +1,11 @@
# Infoscreen Client configuration template
# Copy this file to .env and fill in values appropriate for your environment.
# Screenshot capture behavior
# Set to 1 to force captures even when no display is active (useful for testing)
# In production, prefer 0 so captures only occur when a presentation/video/webpage is running
SCREENSHOT_ALWAYS=0
# Infoscreen Client Configuration Template
# Copy this file to .env and adjust values for your setup
# Environment
# Environment (set for small prod-like test)
# IMPORTANT: CEC TV control is automatically DISABLED when ENV=development
# to avoid constantly switching the TV on/off during testing.
# Set to 'production' to enable automatic CEC TV control.
@@ -10,21 +14,15 @@ DEBUG_MODE=0 # 1 to enable debug mode
LOG_LEVEL=INFO # DEBUG | INFO | WARNING | ERROR
# MQTT Broker Configuration
# Replace with your MQTT broker hostname or IP. Do NOT commit real credentials.
MQTT_BROKER=<your-mqtt-broker-host-or-ip>
MQTT_BROKER=<your-mqtt-broker-host-or-ip> # Change to your MQTT server IP
MQTT_PORT=1883
# Timing Configuration (seconds)
# Timing Configuration (quieter intervals for productive test)
HEARTBEAT_INTERVAL=60 # Heartbeat frequency in seconds
SCREENSHOT_INTERVAL=180 # Screenshot transmission (simclient)
SCREENSHOT_CAPTURE_INTERVAL=180 # Screenshot capture (display_manager)
DISPLAY_CHECK_INTERVAL=15 # Display Manager event check frequency in seconds
# Screenshot capture behavior
# Set to 1 to force captures even when no display is active (useful for testing)
# In production, prefer 0 so captures only occur when a presentation/video/webpage is running
SCREENSHOT_ALWAYS=0
# File/API Server (used to download presentation files)
# By default, the client rewrites incoming file URLs that point to 'server' to this host.
# If not set, FILE_SERVER_HOST defaults to the same host as MQTT_BROKER.