# Environment configuration for plugd (/etc/default/plugd) # Installed with 0600 root:root permissions if Kasa credentials are set. # Comma-separated list of Kasa plug IP addresses or hostnames. # When empty, autodiscovery is enabled by default. #PLUGD_PLUGS=192.0.2.10,192.0.2.11 # Enable UDP broadcast autodiscovery of Kasa plugs (default: true when PLUGD_PLUGS is empty). #PLUGD_AUTODISCOVER=true # Comma-separated list of target IPs, broadcast addresses, or CIDRs to probe. # When empty, broadcasts on all attached IPv4 interfaces. #PLUGD_DISCOVER_TARGETS=192.0.2.0/24 # Cadence for periodic UDP broadcast rediscovery (default: 5m). #PLUGD_DISCOVER_INTERVAL=5m # TP-Link / Kasa cloud credentials (required for newer KLAP-authenticated firmware). #PLUGD_KASA_USERNAME=user@example.com #PLUGD_KASA_PASSWORD= # Riemann TCP/UDP endpoint (default: 127.0.0.1:5555). #PLUGD_RIEMANN_ENDPOINT=127.0.0.1:5555 # Riemann transport protocol: tcp or udp (default: tcp). #PLUGD_RIEMANN_TRANSPORT=tcp # Riemann event TTL (default: 60s). #PLUGD_RIEMANN_TTL=60s # Riemann Web Server HTTP/SSE endpoint for command subscription (default: http://127.0.0.1:5556). #PLUGD_RIEMANN_WEB_ENDPOINT=http://127.0.0.1:5556 # Riemann query for subscribing to plug control commands (default: tagged "plug-command"). #PLUGD_COMMAND_QUERY='tagged "plug-command"' # Cadence for polling plug telemetry (default: 15s). #PLUGD_POLL_INTERVAL=15s # Prefix for Riemann service names (default: kasa/). #PLUGD_SERVICE_PREFIX=kasa/ # Model or group tag added to Riemann events (default: kp303). #PLUGD_TAG=kp303 # Enable verbose debug logging (default: false). #PLUGD_VERBOSE=false