91 lines
3.1 KiB
YAML
91 lines
3.1 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: heating-controller-config
|
|
namespace: homea
|
|
data:
|
|
MQTT_BROKER: "emqx01-anonymous-cluster-internal.broker.svc.cluster.local"
|
|
MQTT_PORT: "1883"
|
|
MQTT_CLIENT_PREFIX: "HeatingController"
|
|
MQTT_BOX_TOPIC_PREFIXES: |
|
|
{
|
|
"high_temp": "heating/config/high_temp/",
|
|
"cmd": "heating/command/"
|
|
}
|
|
MQTT_CENTRAL_TOPICS: |
|
|
{
|
|
"general_off": "heating/system/general_off",
|
|
"maintenance_mode": "heating/system/maintenance_mode",
|
|
"status": "heating/system/status"
|
|
}
|
|
MQTT_STATUS_TOPIC: "heating/status"
|
|
OFF_TEMPERATURE: "5.0"
|
|
LOW_TEMPERATURE: "15.0"
|
|
DEFAULT_HIGH_TEMPERATURE: "21.0"
|
|
MAINTENANCE_TEMPERATURE: "30.0"
|
|
BOXES: |
|
|
{
|
|
"box1": {
|
|
"label": "patty",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/18/1/STATE", "label": "Garten rechts" },
|
|
{ "topic": "homegear/instance1/plain/22/1/STATE", "label": "Garten links" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/39/1/SET_TEMPERATURE"
|
|
},
|
|
"box2": {
|
|
"label": "kueche",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/37/1/STATE", "label": "Garten Fenster" },
|
|
{ "topic": "homegear/instance1/plain/36/1/STATE", "label": "Garten Tuer" },
|
|
{ "topic": "homegear/instance1/plain/38/1/STATE", "label": "Strasse rechts" },
|
|
{ "topic": "homegear/instance1/plain/13/1/STATE", "label": "Strasse links" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/40/1/SET_TEMPERATURE"
|
|
},
|
|
"box3": {
|
|
"label": "bad_oben",
|
|
"windows": [
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/41/1/SET_TEMPERATURE"
|
|
},
|
|
"box4": {
|
|
"label": "schlafzimmer",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/52/1/STATE", "label": "Strasse" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/42/1/SET_TEMPERATURE"
|
|
},
|
|
"box5": {
|
|
"label": "wolfgang",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/24/1/STATE", "label": "Garten" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/43/1/SET_TEMPERATURE"
|
|
},
|
|
"box6": {
|
|
"label": "esszimmer",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/26/1/STATE", "label": "Strasse rechts" },
|
|
{ "topic": "homegear/instance1/plain/27/1/STATE", "label": "Strasse links" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/45/1/SET_TEMPERATURE"
|
|
},
|
|
"box7": {
|
|
"label": "wohnzimmer",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/28/1/STATE", "label": "Garten rechts" },
|
|
{ "topic": "homegear/instance1/plain/29/1/STATE", "label": "Garten links" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/46/1/SET_TEMPERATURE"
|
|
},
|
|
"box8": {
|
|
"label": "bad_unten",
|
|
"windows": [
|
|
{ "topic": "homegear/instance1/plain/44/1/STATE", "label": "Strasse" }
|
|
],
|
|
"output_topic": "heating/homegear/instance1/set/48/1/SET_TEMPERATURE"
|
|
}
|
|
}
|
|
|