From 4e2a5995943118b08ad49682e37c9110bb02307e Mon Sep 17 00:00:00 2001 From: waelkh12 <waelkhlifi12@gmail.com> Date: Fri, 5 Apr 2024 02:24:43 +0100 Subject: [PATCH] Minor_changes_to_nodes_names --- zigbee_node_red.json | 63 ++++++++------------------------------- zigbee_node_red_cred.json | 4 ++- 2 files changed, 15 insertions(+), 52 deletions(-) diff --git a/zigbee_node_red.json b/zigbee_node_red.json index f97c943..465f683 100644 --- a/zigbee_node_red.json +++ b/zigbee_node_red.json @@ -1,12 +1,4 @@ [ - { - "id": "f7a852575a507e30", - "type": "tab", - "label": "Flow 1", - "disabled": false, - "info": "", - "env": [] - }, { "id": "2df1dfd158b253ed", "type": "tab", @@ -46,39 +38,6 @@ "userProps": "", "sessionExpiry": "" }, - { - "id": "8b5eb2f1c770a105", - "type": "pythonshell in", - "z": "f7a852575a507e30", - "name": "humidity", - "pyfile": "/home/waelkh12/ble_esp32.py", - "virtualenv": "", - "continuous": true, - "stdInData": false, - "x": 580, - "y": 320, - "wires": [ - [ - "beb41cc912f41cc6" - ] - ] - }, - { - "id": "beb41cc912f41cc6", - "type": "debug", - "z": "f7a852575a507e30", - "name": "debug 1", - "active": true, - "tosidebar": true, - "console": false, - "tostatus": false, - "complete": "false", - "statusVal": "", - "statusType": "auto", - "x": 750, - "y": 320, - "wires": [] - }, { "id": "5504d7e57750a247", "type": "mqtt in", @@ -105,7 +64,7 @@ "id": "fe464b47c0eff2b8", "type": "function", "z": "2df1dfd158b253ed", - "name": "function 1", + "name": "get_humidity_from_mqtt", "func": "msg.payload= msg.payload.humidity;\nreturn msg;", "outputs": 1, "timeout": 0, @@ -113,7 +72,7 @@ "initialize": "", "finalize": "", "libs": [], - "x": 360, + "x": 410, "y": 320, "wires": [ [ @@ -125,15 +84,16 @@ "id": "e4a68ecef4f0edcc", "type": "debug", "z": "2df1dfd158b253ed", - "name": "debug 3", + "name": "temp_humidity_vals", "active": true, "tosidebar": true, "console": false, "tostatus": false, - "complete": "false", + "complete": "payload", + "targetType": "msg", "statusVal": "", "statusType": "auto", - "x": 1000, + "x": 1040, "y": 240, "wires": [] }, @@ -141,7 +101,7 @@ "id": "7a219abcac0d9d02", "type": "function", "z": "2df1dfd158b253ed", - "name": "function 2", + "name": "get_temp_from_mqtt", "func": "msg.payload= msg.payload.temperature;\nreturn msg;", "outputs": 1, "timeout": 0, @@ -149,7 +109,7 @@ "initialize": "", "finalize": "", "libs": [], - "x": 380, + "x": 420, "y": 200, "wires": [ [ @@ -250,15 +210,16 @@ "id": "e0289d94ffdc6595", "type": "debug", "z": "2df1dfd158b253ed", - "name": "debug 7", + "name": "global variables array", "active": true, "tosidebar": true, "console": false, "tostatus": false, - "complete": "false", + "complete": "payload", + "targetType": "msg", "statusVal": "", "statusType": "auto", - "x": 700, + "x": 740, "y": 440, "wires": [] }, diff --git a/zigbee_node_red_cred.json b/zigbee_node_red_cred.json index 9e26dfe..0366bba 100644 --- a/zigbee_node_red_cred.json +++ b/zigbee_node_red_cred.json @@ -1 +1,3 @@ -{} \ No newline at end of file +{ + "9355c4bbb1adc9e0": {} +} \ No newline at end of file -- GitLab