2022-08-11 18:12:20 +02:00
|
|
|
# Broker configuration
|
|
|
|
MQTT_SERVER=
|
|
|
|
MQTT_PORT=
|
|
|
|
MQTT_USER=
|
|
|
|
MQTT_PASSWORD=
|
|
|
|
MQTT_CLIENT_ID=
|
|
|
|
|
|
|
|
# Topic configuration
|
2023-07-19 18:18:33 +02:00
|
|
|
MQTT_SENSOR_NAME=mijia-sensor-1
|
2022-08-11 18:12:20 +02:00
|
|
|
|
2023-07-19 18:18:33 +02:00
|
|
|
MQTT_TOPIC_PREFIX=r2m
|
|
|
|
MQTT_TOPIC=${MQTT_TOPIC_PREFIX}/${MQTT_SENSOR_NAME}
|
2022-08-11 18:12:20 +02:00
|
|
|
|
2023-07-19 18:18:33 +02:00
|
|
|
MQTT_TELE_PREFIX=home/sensors/tele
|
|
|
|
MQTT_TOPIC_STATE=${MQTT_TELE_PREFIX}/${MQTT_SENSOR_NAME}/state
|
2022-08-11 18:12:20 +02:00
|
|
|
|
|
|
|
MQTT_PUBLISH_DELAY=5
|
|
|
|
|
|
|
|
# Sensor configuration
|
2022-10-07 18:01:50 +02:00
|
|
|
MIJIA_BTLE_ADDRESS=
|
|
|
|
|
|
|
|
# Ping URL (Uptime Kuma, for example)
|
|
|
|
PING_URL=
|