diff --git a/flows.json b/flows.json index 1117c82..6ad6258 100644 --- a/flows.json +++ b/flows.json @@ -615,6 +615,19 @@ ] ] }, + { + "id": "b7d4c57c6f1289c9", + "type": "junction", + "z": "5bea18a0180b611e", + "x": 1420, + "y": 1120, + "wires": [ + [ + "44743756141dc419", + "c2f380015ed469c4" + ] + ] + }, { "id": "c46833d59903b816", "type": "mqtt-broker", @@ -4045,7 +4058,7 @@ "y": 1120, "wires": [ [ - "44743756141dc419" + "b7d4c57c6f1289c9" ] ] }, @@ -4072,7 +4085,7 @@ "y": 1260, "wires": [ [ - "44743756141dc419" + "b7d4c57c6f1289c9" ] ] }, @@ -4291,6 +4304,13 @@ "pt": "msg", "to": "payload.humidity", "tot": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "feuchte", + "tot": "str" } ], "action": "", @@ -4319,6 +4339,13 @@ "pt": "msg", "to": "payload.temperature", "tot": "msg" + }, + { + "t": "set", + "p": "topic", + "pt": "msg", + "to": "Temperatur", + "tot": "str" } ], "action": "", @@ -4636,11 +4663,11 @@ "topic": "", "payload": "0", "payloadType": "num", - "x": 1380, + "x": 1300, "y": 1240, "wires": [ [ - "44743756141dc419" + "b7d4c57c6f1289c9" ] ] }, @@ -4665,11 +4692,11 @@ "topic": "", "payload": "1", "payloadType": "num", - "x": 1380, + "x": 1300, "y": 1000, "wires": [ [ - "44743756141dc419" + "b7d4c57c6f1289c9" ] ] }, @@ -4838,7 +4865,7 @@ "group": "1d0cfd7b0bb56a24", "name": "Licht_aus", "label": "Licht AUS", - "order": 7, + "order": 8, "width": 0, "height": 0, "emulateClick": false, @@ -4877,7 +4904,7 @@ "group": "1d0cfd7b0bb56a24", "name": "Licht_ein", "label": "Licht EIN", - "order": 6, + "order": 7, "width": 0, "height": 0, "emulateClick": false, @@ -4916,7 +4943,7 @@ "group": "1d0cfd7b0bb56a24", "name": "Lüfter_ein", "label": "Lüfter EIN", - "order": 4, + "order": 5, "width": 0, "height": 0, "emulateClick": false, @@ -4955,7 +4982,7 @@ "group": "1d0cfd7b0bb56a24", "name": "Lüfter_aus", "label": "Lüfter AUS", - "order": 5, + "order": 6, "width": 0, "height": 0, "emulateClick": false, @@ -5091,13 +5118,13 @@ "xAxisPropertyType": "timestamp", "xAxisType": "time", "xAxisFormat": "", - "xAxisFormatType": "auto", + "xAxisFormatType": "{HH}:{mm}", "xmin": "", "xmax": "", "yAxisLabel": "", "yAxisProperty": "payload", "yAxisPropertyType": "msg", - "ymin": "40", + "ymin": "0", "ymax": "100", "bins": 10, "action": "append", @@ -5175,6 +5202,49 @@ ] ] }, + { + "id": "b543ca2dfd61dd85", + "type": "ui-text", + "z": "5bea18a0180b611e", + "group": "1d0cfd7b0bb56a24", + "order": 4, + "width": "6", + "height": "1", + "name": "Lüfter EIN/AUS", + "label": "Lüfter ist ", + "format": "{{msg.payload}}", + "layout": "row-center", + "style": false, + "font": "", + "fontSize": 16, + "color": "#717171", + "wrapText": false, + "className": "", + "value": "payload", + "valueType": "msg", + "x": 1900, + "y": 1220, + "wires": [] + }, + { + "id": "c2f380015ed469c4", + "type": "function", + "z": "5bea18a0180b611e", + "name": "function 70", + "func": "msg.payload = msg.payload == 0 ? \"AUS\" : \"EIN\"\nreturn msg;", + "outputs": 1, + "noerr": 0, + "initialize": "", + "finalize": "", + "libs": [], + "x": 1630, + "y": 1220, + "wires": [ + [ + "b543ca2dfd61dd85" + ] + ] + }, { "id": "43631c7945a1a3d4", "type": "finite-state-machine", @@ -6582,7 +6652,6 @@ "id": "f6eb416d29c11459", "type": "cronplus", "z": "85bb16dbe6fb391c", - "d": true, "name": "", "outputField": "payload", "timeZone": "Europe/Berlin", @@ -9270,7 +9339,7 @@ "type": "debug", "z": "0f906ba2e4239518", "name": "debug 126", - "active": true, + "active": false, "tosidebar": true, "console": false, "tostatus": false, @@ -11482,7 +11551,6 @@ "id": "70ffcc45ee8d6609", "type": "mqtt in", "z": "cada61fae691e52f", - "d": true, "name": "Bewegung", "topic": "hm/status/BW_und_Licht_Computer_BW:3/MOTION", "qos": "0",