mijia-sensors/env_file
parra db6b256853
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
Added URL ping to notify when scripts finish OK
2022-10-07 18:01:50 +02:00

25 lines
550 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=
# Ping URL (Uptime Kuma, for example)
PING_URL=