Skip to content

Latest commit

 

History

History
35 lines (34 loc) · 1.26 KB

ShellEnvVariables.md

File metadata and controls

35 lines (34 loc) · 1.26 KB

Wattpilot Shell Environment Variables

Environment Variable Default Value
HA_DISABLED_ENTITIES false
HA_ENABLED false
HA_PROPERTIES
HA_TOPIC_CONFIG homeassistant/{component}/{uniqueId}/config
HA_WAIT_INIT_S 0
HA_WAIT_PROPS_MS 0
MQTT_AVAILABLE_PAYLOAD online
MQTT_CLIENT_ID wattpilot2mqtt
MQTT_ENABLED false
MQTT_HOST
MQTT_MESSAGES
MQTT_NOT_AVAILABLE_PAYLOAD offline
MQTT_PORT 1883
MQTT_PROPERTIES
MQTT_PUBLISH_MESSAGES false
MQTT_PUBLISH_PROPERTIES true
MQTT_TOPIC_AVAILABLE {baseTopic}/available
MQTT_TOPIC_BASE wattpilot
MQTT_TOPIC_MESSAGES {baseTopic}/messages/{messageType}
MQTT_TOPIC_PROPERTY_BASE {baseTopic}/properties/{propName}
MQTT_TOPIC_PROPERTY_SET ~/set
MQTT_TOPIC_PROPERTY_STATE ~/state
WATTPILOT_AUTOCONNECT true
WATTPILOT_AUTO_RECONNECT true
WATTPILOT_CONNECT_TIMEOUT 30
WATTPILOT_HOST
WATTPILOT_INIT_TIMEOUT 30
WATTPILOT_LOGLEVEL INFO
WATTPILOT_PASSWORD
WATTPILOT_RECONNECT_INTERVAL 30
WATTPILOT_SPLIT_PROPERTIES true