Initial commit
This commit is contained in:
commit
4519d1ece8
5 changed files with 205 additions and 0 deletions
22
env_file
Normal file
22
env_file
Normal file
|
@ -0,0 +1,22 @@
|
|||
# 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=
|
Loading…
Add table
Add a link
Reference in a new issue