From 1b313c036c37637a2af8a16d3f45e409480af99c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sun, 3 Mar 2024 22:37:01 -0500 Subject: [PATCH] Pull in some house parameters from MQTT --- flows.json | 226 +++++++++++++++++++++++++++++++++++++++++++++++- flows_cred.json | 2 +- 2 files changed, 226 insertions(+), 2 deletions(-) diff --git a/flows.json b/flows.json index 0637a08..d65154c 100644 --- a/flows.json +++ b/flows.json @@ -1 +1,225 @@ -[] \ No newline at end of file +[ + { + "id": "91324b2dbbd2a883", + "type": "tab", + "label": "Settings", + "disabled": false, + "info": "", + "env": [] + }, + { + "id": "200f284a1171f0a8", + "type": "mqtt-broker", + "name": "", + "broker": "192.168.1.251", + "port": "1883", + "clientid": "", + "autoConnect": true, + "usetls": false, + "protocolVersion": "5", + "keepalive": "60", + "cleansession": true, + "autoUnsubscribe": true, + "birthTopic": "", + "birthQos": "0", + "birthRetain": "false", + "birthPayload": "", + "birthMsg": {}, + "closeTopic": "", + "closeQos": "0", + "closeRetain": "false", + "closePayload": "", + "closeMsg": {}, + "willTopic": "", + "willQos": "0", + "willRetain": "false", + "willPayload": "", + "willMsg": {}, + "userProps": "", + "sessionExpiry": "" + }, + { + "id": "a1c109993f7dd396", + "type": "mqtt in", + "z": "91324b2dbbd2a883", + "name": "", + "topic": "house/time/night_mode", + "qos": "2", + "datatype": "auto-detect", + "broker": "200f284a1171f0a8", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 140, + "y": 60, + "wires": [ + [ + "0ea09d79d6de5c53" + ] + ] + }, + { + "id": "0ea09d79d6de5c53", + "type": "change", + "z": "91324b2dbbd2a883", + "name": "", + "rules": [ + { + "t": "set", + "p": "night_mode", + "pt": "global", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 380, + "y": 60, + "wires": [ + [] + ] + }, + { + "id": "395e101ae9c12369", + "type": "mqtt in", + "z": "91324b2dbbd2a883", + "name": "", + "topic": "house/time/give_me_darkness", + "qos": "2", + "datatype": "auto-detect", + "broker": "200f284a1171f0a8", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 160, + "y": 120, + "wires": [ + [ + "7e79da9ecd800892" + ] + ] + }, + { + "id": "7e79da9ecd800892", + "type": "change", + "z": "91324b2dbbd2a883", + "name": "", + "rules": [ + { + "t": "set", + "p": "give_me_darkness", + "pt": "global", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 440, + "y": 120, + "wires": [ + [] + ] + }, + { + "id": "a67eb32acf21917c", + "type": "mqtt in", + "z": "91324b2dbbd2a883", + "name": "", + "topic": "house/time/early_night_mode", + "qos": "2", + "datatype": "auto-detect", + "broker": "200f284a1171f0a8", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 160, + "y": 180, + "wires": [ + [ + "e183038952420a88" + ] + ] + }, + { + "id": "e183038952420a88", + "type": "change", + "z": "91324b2dbbd2a883", + "name": "", + "rules": [ + { + "t": "set", + "p": "early_night_mode", + "pt": "global", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 440, + "y": 180, + "wires": [ + [] + ] + }, + { + "id": "da24109fa6585678", + "type": "mqtt in", + "z": "91324b2dbbd2a883", + "name": "", + "topic": "house/studio/live", + "qos": "2", + "datatype": "auto-detect", + "broker": "200f284a1171f0a8", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 120, + "y": 240, + "wires": [ + [ + "f7219402165cd674" + ] + ] + }, + { + "id": "f7219402165cd674", + "type": "change", + "z": "91324b2dbbd2a883", + "name": "", + "rules": [ + { + "t": "set", + "p": "studio_live", + "pt": "global", + "to": "payload", + "tot": "msg" + } + ], + "action": "", + "property": "", + "from": "", + "to": "", + "reg": false, + "x": 340, + "y": 240, + "wires": [ + [] + ] + } +] \ No newline at end of file diff --git a/flows_cred.json b/flows_cred.json index 7ac054a..7ff9909 100644 --- a/flows_cred.json +++ b/flows_cred.json @@ -1,3 +1,3 @@ { - "$": "c0f69fe36a0360bf7c11a66c20421d089Zw=" + "$": "dedc4844b17024634c37414e77a00c0cZVRqzrSY/m9SjTWpb+gdDmsN2uHh2bUF7El66/XU+1/IxDhOf/AFxxdhOVnOENd3VuPJfWBzcQLNOcC+A706lls=" } \ No newline at end of file