23 lines
433 B
Text
23 lines
433 B
Text
# Broker configuration
|
|
MQTT_SERVER=
|
|
MQTT_PORT=
|
|
MQTT_USER=
|
|
MQTT_PASSWORD=
|
|
MQTT_CLIENT_ID=
|
|
|
|
# Topic configuration
|
|
MQTT_SENSOR_NAME=mijia-sensor-1
|
|
|
|
MQTT_TOPIC_PREFIX=r2m
|
|
MQTT_TOPIC=${MQTT_TOPIC_PREFIX}/${MQTT_SENSOR_NAME}
|
|
|
|
MQTT_TELE_PREFIX=home/sensors/tele
|
|
MQTT_TOPIC_STATE=${MQTT_TELE_PREFIX}/${MQTT_SENSOR_NAME}/state
|
|
|
|
MQTT_PUBLISH_DELAY=5
|
|
|
|
# Sensor configuration
|
|
MIJIA_BTLE_ADDRESS=
|
|
|
|
# Ping URL (Uptime Kuma, for example)
|
|
PING_URL=
|