mijia-sensors/env_file
parra d999f6affa
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Publish sensor info as JSON on the same topic
2023-07-19 18:18:33 +02:00

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=