there is an issue concerning output_topic

This commit is contained in:
2024-11-05 21:37:41 +01:00
parent 9582790160
commit e2b5eaff6e
3 changed files with 73 additions and 49 deletions

36
env
View File

@ -1,17 +1,7 @@
export MQTT_BROKER="172.23.1.102"
export MQTT_PORT=1883
export MQTT_BOXES='{
"box1": {
"label": "living_room",
"windows": [ "street_side", "garden_side" ]
},
"box2": {
"label": "kitchen",
"windows": [ "street_side", "garden_side", "garden_door" ]
}
}'
export MQTT_CLIENT_PREFIX="MyMQTTClient"
export MQTT_BOX_TOPIC_PREFIXES='{
"window": "heating/sensor/window/",
"high_temp": "heating/config/high_temp/",
"cmd": "heating/command/"
}'
@ -19,5 +9,25 @@ export MQTT_CENTRAL_TOPICS='{
"general_off": "heating/system/general_off",
"maintenance_mode": "heating/system/maintenance_mode"
}'
export MQTT_CLIENT_PREFIX="MyMQTTClient"
export MQTT_PUBLISH_PREFIX="output/"
export OFF_TEMPERATURE="5.0"
export LOW_TEMPERATURE="15.0"
export MAINTENANCE_TEMPERATURE="30.0"
export BOXES='{
"box1": {
"label": "living_room",
"windows": [
{ "topic": "street_side_topic", "label": "street_side" },
{ "topic": "garden_side_topic", "label": "garden_side" }
],
"output_topic": "output/living_room"
},
"box2": {
"label": "kitchen",
"windows": [
{ "topic": "street_side_topic", "label": "street_side" },
{ "topic": "garden_side_topic", "label": "garden_side" },
{ "topic": "garden_door_topic", "label": "garden_door" }
],
"output_topic": "output/kitchen"
}
}'