mijia-sensors/env_file

24 lines
433 B
Text
Raw Normal View History

2022-08-11 18:12:20 +02:00
# Broker configuration
MQTT_SERVER=
MQTT_PORT=
MQTT_USER=
MQTT_PASSWORD=
MQTT_CLIENT_ID=
# Topic configuration
MQTT_SENSOR_NAME=mijia-sensor-1
2022-08-11 18:12:20 +02:00
MQTT_TOPIC_PREFIX=r2m
MQTT_TOPIC=${MQTT_TOPIC_PREFIX}/${MQTT_SENSOR_NAME}
2022-08-11 18:12:20 +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
MIJIA_BTLE_ADDRESS=
# Ping URL (Uptime Kuma, for example)
PING_URL=