Created
November 25, 2023 01:53
-
-
Save RamonBell/b34679599e7fa1b298719f7ca17eedcb to your computer and use it in GitHub Desktop.
ecowitt weather node red flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "a0016b1c.68e518", | |
"type": "tab", | |
"label": "Weather Station", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "cb8de379.0b5f4", | |
"type": "debug", | |
"z": "a0016b1c.68e518", | |
"name": "", | |
"active": true, | |
"tosidebar": true, | |
"console": true, | |
"tostatus": true, | |
"complete": "true", | |
"targetType": "full", | |
"statusVal": "payload", | |
"statusType": "auto", | |
"x": 490, | |
"y": 60, | |
"wires": [] | |
}, | |
{ | |
"id": "c942f3890b4d6c83", | |
"type": "mqtt in", | |
"z": "a0016b1c.68e518", | |
"name": "", | |
"topic": "weather/station", | |
"qos": "2", | |
"datatype": "auto-detect", | |
"broker": "8dfd2fcf649687fc", | |
"nl": false, | |
"rap": true, | |
"rh": 0, | |
"inputs": 0, | |
"x": 120, | |
"y": 80, | |
"wires": [ | |
[ | |
"cb8de379.0b5f4", | |
"08ba5c8c51f03994", | |
"47ed177020cda8a5", | |
"cbc593c869a91c21", | |
"2c884c055a4a77c4" | |
] | |
] | |
}, | |
{ | |
"id": "08ba5c8c51f03994", | |
"type": "change", | |
"z": "a0016b1c.68e518", | |
"name": "Temp inside", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.tempinf", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 610, | |
"y": 200, | |
"wires": [ | |
[ | |
"0d354db4ab8d584a" | |
] | |
] | |
}, | |
{ | |
"id": "47ed177020cda8a5", | |
"type": "change", | |
"z": "a0016b1c.68e518", | |
"name": "Outside Temperature", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.tempf", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 640, | |
"y": 280, | |
"wires": [ | |
[ | |
"19b84ff2c7585e81" | |
] | |
] | |
}, | |
{ | |
"id": "0d354db4ab8d584a", | |
"type": "ha-sensor", | |
"z": "a0016b1c.68e518", | |
"name": "inside temperature", | |
"entityConfig": "baefe5b0a3ac4d58", | |
"version": 0, | |
"state": "payload", | |
"stateType": "msg", | |
"attributes": [], | |
"inputOverride": "allow", | |
"outputProperties": [], | |
"x": 810, | |
"y": 200, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "19b84ff2c7585e81", | |
"type": "ha-sensor", | |
"z": "a0016b1c.68e518", | |
"name": "Outside temperarure", | |
"entityConfig": "2b7ac793efa88f11", | |
"version": 0, | |
"state": "payload", | |
"stateType": "msg", | |
"attributes": [], | |
"inputOverride": "allow", | |
"outputProperties": [], | |
"x": 900, | |
"y": 280, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "1d9f8084decfb1b6", | |
"type": "comment", | |
"z": "a0016b1c.68e518", | |
"name": "", | |
"info": "https://community.home-assistant.io/t/ecowitt2mqtt-beginners-setup/371127/8\n\nset WS view app to node red ip and port\npath /weather. then setup up hhtp node to post and to the path", | |
"x": 140, | |
"y": 280, | |
"wires": [] | |
}, | |
{ | |
"id": "83115792e99416a1", | |
"type": "http in", | |
"z": "a0016b1c.68e518", | |
"name": "", | |
"url": "/weather", | |
"method": "post", | |
"upload": false, | |
"swaggerDoc": "", | |
"x": 140, | |
"y": 220, | |
"wires": [ | |
[ | |
"4c7ca7422c1899f5" | |
] | |
] | |
}, | |
{ | |
"id": "be87c7ef1162616b", | |
"type": "http in", | |
"z": "a0016b1c.68e518", | |
"name": "Incoming Weather Data", | |
"url": "/weather", | |
"method": "post", | |
"upload": false, | |
"swaggerDoc": "", | |
"x": 140, | |
"y": 380, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "4c7ca7422c1899f5", | |
"type": "mqtt out", | |
"z": "a0016b1c.68e518", | |
"name": "", | |
"topic": "weather/station", | |
"qos": "", | |
"retain": "", | |
"respTopic": "", | |
"contentType": "", | |
"userProps": "", | |
"correl": "", | |
"expiry": "", | |
"broker": "8dfd2fcf649687fc", | |
"x": 340, | |
"y": 220, | |
"wires": [] | |
}, | |
{ | |
"id": "cbc593c869a91c21", | |
"type": "change", | |
"z": "a0016b1c.68e518", | |
"name": "Garage temp", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.temp2f", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 610, | |
"y": 140, | |
"wires": [ | |
[ | |
"7c30731768b8ad85" | |
] | |
] | |
}, | |
{ | |
"id": "7c30731768b8ad85", | |
"type": "ha-sensor", | |
"z": "a0016b1c.68e518", | |
"name": "garage temperature", | |
"entityConfig": "0bcac2c5c3cce47a", | |
"version": 0, | |
"state": "payload", | |
"stateType": "msg", | |
"attributes": [], | |
"inputOverride": "allow", | |
"outputProperties": [], | |
"x": 830, | |
"y": 140, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "2c884c055a4a77c4", | |
"type": "change", | |
"z": "a0016b1c.68e518", | |
"name": "Fridge temperature", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.temp1f", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 630, | |
"y": 360, | |
"wires": [ | |
[ | |
"281753f2ba77520d" | |
] | |
] | |
}, | |
{ | |
"id": "281753f2ba77520d", | |
"type": "ha-sensor", | |
"z": "a0016b1c.68e518", | |
"name": "Fridge temperature", | |
"entityConfig": "41c9b4763f5287e0", | |
"version": 0, | |
"state": "payload", | |
"stateType": "msg", | |
"attributes": [], | |
"inputOverride": "allow", | |
"outputProperties": [], | |
"x": 890, | |
"y": 360, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "8dfd2fcf649687fc", | |
"type": "mqtt-broker", | |
"name": "main mqtt", | |
"broker": "192.168.1.56", | |
"port": "1883", | |
"clientid": "", | |
"autoConnect": true, | |
"usetls": false, | |
"protocolVersion": "4", | |
"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": "baefe5b0a3ac4d58", | |
"type": "ha-entity-config", | |
"server": "c234f9a6c5d8f09c", | |
"deviceConfig": "556280ba91d3c4f7", | |
"name": "Inside humidity", | |
"version": "6", | |
"entityType": "sensor", | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "Inside humidity" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
}, | |
{ | |
"property": "entity_category", | |
"value": "" | |
}, | |
{ | |
"property": "entity_picture", | |
"value": "" | |
}, | |
{ | |
"property": "device_class", | |
"value": "humidity" | |
}, | |
{ | |
"property": "unit_of_measurement", | |
"value": "%" | |
}, | |
{ | |
"property": "state_class", | |
"value": "" | |
} | |
], | |
"resend": false, | |
"debugEnabled": false | |
}, | |
{ | |
"id": "2b7ac793efa88f11", | |
"type": "ha-entity-config", | |
"server": "c234f9a6c5d8f09c", | |
"deviceConfig": "c8f8d5c1998596dc", | |
"name": "Outside temperature", | |
"version": "6", | |
"entityType": "sensor", | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "Outside temperature" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
}, | |
{ | |
"property": "entity_category", | |
"value": "" | |
}, | |
{ | |
"property": "entity_picture", | |
"value": "" | |
}, | |
{ | |
"property": "device_class", | |
"value": "temperature" | |
}, | |
{ | |
"property": "unit_of_measurement", | |
"value": "°F" | |
}, | |
{ | |
"property": "state_class", | |
"value": "" | |
} | |
], | |
"resend": false, | |
"debugEnabled": false | |
}, | |
{ | |
"id": "0bcac2c5c3cce47a", | |
"type": "ha-entity-config", | |
"server": "c234f9a6c5d8f09c", | |
"deviceConfig": "d5975ef71928a083", | |
"name": "Garage temperature", | |
"version": "6", | |
"entityType": "sensor", | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "Garage temperature" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
}, | |
{ | |
"property": "entity_category", | |
"value": "" | |
}, | |
{ | |
"property": "entity_picture", | |
"value": "" | |
}, | |
{ | |
"property": "device_class", | |
"value": "temperature" | |
}, | |
{ | |
"property": "unit_of_measurement", | |
"value": "°F" | |
}, | |
{ | |
"property": "state_class", | |
"value": "" | |
} | |
], | |
"resend": false, | |
"debugEnabled": false | |
}, | |
{ | |
"id": "41c9b4763f5287e0", | |
"type": "ha-entity-config", | |
"server": "c234f9a6c5d8f09c", | |
"deviceConfig": "2b845a4bb2665305", | |
"name": "Fridge temperature", | |
"version": "6", | |
"entityType": "sensor", | |
"haConfig": [ | |
{ | |
"property": "name", | |
"value": "Fridge temp" | |
}, | |
{ | |
"property": "icon", | |
"value": "" | |
}, | |
{ | |
"property": "entity_category", | |
"value": "" | |
}, | |
{ | |
"property": "entity_picture", | |
"value": "" | |
}, | |
{ | |
"property": "device_class", | |
"value": "temperature" | |
}, | |
{ | |
"property": "unit_of_measurement", | |
"value": "°F" | |
}, | |
{ | |
"property": "state_class", | |
"value": "" | |
} | |
], | |
"resend": false, | |
"debugEnabled": false | |
}, | |
{ | |
"id": "c234f9a6c5d8f09c", | |
"type": "server", | |
"name": "Home Assistant", | |
"version": 5, | |
"addon": false, | |
"rejectUnauthorizedCerts": true, | |
"ha_boolean": "y|yes|true|on|home|open", | |
"connectionDelay": true, | |
"cacheJson": true, | |
"heartbeat": false, | |
"heartbeatInterval": "30", | |
"areaSelector": "friendlyName", | |
"deviceSelector": "friendlyName", | |
"entitySelector": "friendlyName", | |
"statusSeparator": ": ", | |
"statusYear": "hidden", | |
"statusMonth": "short", | |
"statusDay": "numeric", | |
"statusHourCycle": "default", | |
"statusTimeFormat": "h:m", | |
"enableGlobalContextStore": false | |
}, | |
{ | |
"id": "556280ba91d3c4f7", | |
"type": "ha-device-config", | |
"name": "Inside humidity", | |
"hwVersion": "", | |
"manufacturer": "Node-RED", | |
"model": "", | |
"swVersion": "" | |
}, | |
{ | |
"id": "c8f8d5c1998596dc", | |
"type": "ha-device-config", | |
"name": "Outside temperature", | |
"hwVersion": "", | |
"manufacturer": "Node-RED", | |
"model": "", | |
"swVersion": "" | |
}, | |
{ | |
"id": "d5975ef71928a083", | |
"type": "ha-device-config", | |
"name": "Garage temperature", | |
"hwVersion": "", | |
"manufacturer": "Node-RED", | |
"model": "", | |
"swVersion": "" | |
}, | |
{ | |
"id": "2b845a4bb2665305", | |
"type": "ha-device-config", | |
"name": "Fridge temp", | |
"hwVersion": "", | |
"manufacturer": "Node-RED", | |
"model": "", | |
"swVersion": "" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment