22 lines
No EOL
500 B
Text
22 lines
No EOL
500 B
Text
# Broker configuration
|
|
MQTT_SERVER=
|
|
MQTT_PORT=
|
|
MQTT_USER=
|
|
MQTT_PASSWORD=
|
|
MQTT_CLIENT_ID=
|
|
|
|
# Topic configuration
|
|
MQTT_TOPIC_PREFIX=home/sensor
|
|
MQTT_TELE_PREFIX=home/tele
|
|
|
|
MQTT_SENSOR_NAME=mijia-salon
|
|
|
|
MQTT_TOPIC_HUMIDITY=${MQTT_TOPIC_PREFIX}/humedad
|
|
MQTT_TOPIC_TEMPERATURE=${MQTT_TOPIC_PREFIX}/temperatura
|
|
MQTT_TOPIC_BATTERY=${MQTT_TELE_PREFIX}/${MQTT_SENSOR_NAME}/bateria
|
|
MQTT_TOPIC_STATE=${MQTT_TELE_PREFIX}/${MQTT_SENSOR_NAME}/event
|
|
|
|
MQTT_PUBLISH_DELAY=5
|
|
|
|
# Sensor configuration
|
|
MIJIA_BTLE_ADDRESS= |