|
[ |
|
{ |
|
"id": "e93d07e3f8f4822c", |
|
"type": "tab", |
|
"label": "Plant display", |
|
"disabled": false, |
|
"info": "", |
|
"env": [] |
|
}, |
|
{ |
|
"id": "32c7220ebb992e9b", |
|
"type": "mqtt in", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"topic": "24:6f:28:44:cc:9c/plants/environment", |
|
"qos": "2", |
|
"datatype": "json", |
|
"broker": "6c71a0de59e0bc04", |
|
"nl": false, |
|
"rap": true, |
|
"rh": 0, |
|
"inputs": 0, |
|
"x": 280, |
|
"y": 80, |
|
"wires": [ |
|
[ |
|
"ff1813a155151191", |
|
"811cfee4fcc0d266", |
|
"f558e0e57f219170", |
|
"92fdf2692e0e7611" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "4685e7481caac262", |
|
"type": "ui_chart", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "3e90c18ba5ed5691", |
|
"order": 1, |
|
"width": 0, |
|
"height": 0, |
|
"label": "Temperature", |
|
"chartType": "line", |
|
"legend": "false", |
|
"xformat": "HH:mm:ss", |
|
"interpolate": "bezier", |
|
"nodata": "", |
|
"dot": false, |
|
"ymin": "0", |
|
"ymax": "", |
|
"removeOlder": 1, |
|
"removeOlderPoints": "", |
|
"removeOlderUnit": "3600", |
|
"cutout": 0, |
|
"useOneColor": false, |
|
"useUTC": false, |
|
"colors": [ |
|
"#1f77b4", |
|
"#aec7e8", |
|
"#ff7f0e", |
|
"#2ca02c", |
|
"#98df8a", |
|
"#d62728", |
|
"#ff9896", |
|
"#9467bd", |
|
"#c5b0d5" |
|
], |
|
"outputs": 1, |
|
"useDifferentColor": false, |
|
"className": "", |
|
"x": 750, |
|
"y": 80, |
|
"wires": [ |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "ff1813a155151191", |
|
"type": "change", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"rules": [ |
|
{ |
|
"t": "set", |
|
"p": "payload", |
|
"pt": "msg", |
|
"to": "payload.temp", |
|
"tot": "msg" |
|
} |
|
], |
|
"action": "", |
|
"property": "", |
|
"from": "", |
|
"to": "", |
|
"reg": false, |
|
"x": 540, |
|
"y": 80, |
|
"wires": [ |
|
[ |
|
"4685e7481caac262", |
|
"093ddff722115f6a" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "65ececa8f8504d11", |
|
"type": "ui_chart", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "3e90c18ba5ed5691", |
|
"order": 2, |
|
"width": 0, |
|
"height": 0, |
|
"label": "Humidity", |
|
"chartType": "line", |
|
"legend": "false", |
|
"xformat": "HH:mm:ss", |
|
"interpolate": "bezier", |
|
"nodata": "", |
|
"dot": false, |
|
"ymin": "0", |
|
"ymax": "100", |
|
"removeOlder": 1, |
|
"removeOlderPoints": "", |
|
"removeOlderUnit": "3600", |
|
"cutout": 0, |
|
"useOneColor": false, |
|
"useUTC": false, |
|
"colors": [ |
|
"#1f77b4", |
|
"#aec7e8", |
|
"#ff7f0e", |
|
"#2ca02c", |
|
"#98df8a", |
|
"#d62728", |
|
"#ff9896", |
|
"#9467bd", |
|
"#c5b0d5" |
|
], |
|
"outputs": 1, |
|
"useDifferentColor": false, |
|
"className": "", |
|
"x": 760, |
|
"y": 260, |
|
"wires": [ |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "811cfee4fcc0d266", |
|
"type": "change", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"rules": [ |
|
{ |
|
"t": "set", |
|
"p": "payload", |
|
"pt": "msg", |
|
"to": "payload.humidity", |
|
"tot": "msg" |
|
} |
|
], |
|
"action": "", |
|
"property": "", |
|
"from": "", |
|
"to": "", |
|
"reg": false, |
|
"x": 540, |
|
"y": 260, |
|
"wires": [ |
|
[ |
|
"65ececa8f8504d11", |
|
"3dee2ee40ec39973" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "ed3fd1b670587441", |
|
"type": "ui_led", |
|
"z": "e93d07e3f8f4822c", |
|
"order": 6, |
|
"group": "3e90c18ba5ed5691", |
|
"width": "3", |
|
"height": "1", |
|
"label": "Reservoir Water", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "#ff0000", |
|
"value": "1", |
|
"valueType": "num" |
|
}, |
|
{ |
|
"color": "#008000", |
|
"value": "0", |
|
"valueType": "num" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"shape": "circle", |
|
"showGlow": true, |
|
"name": "", |
|
"x": 750, |
|
"y": 380, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "f558e0e57f219170", |
|
"type": "change", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"rules": [ |
|
{ |
|
"t": "set", |
|
"p": "payload", |
|
"pt": "msg", |
|
"to": "payload.water_quantity", |
|
"tot": "msg" |
|
} |
|
], |
|
"action": "", |
|
"property": "", |
|
"from": "", |
|
"to": "", |
|
"reg": false, |
|
"x": 540, |
|
"y": 380, |
|
"wires": [ |
|
[ |
|
"ed3fd1b670587441" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "becc4251c9462313", |
|
"type": "ui_chart", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "3e90c18ba5ed5691", |
|
"order": 3, |
|
"width": 0, |
|
"height": 0, |
|
"label": "Soil Moisture", |
|
"chartType": "line", |
|
"legend": "false", |
|
"xformat": "HH:mm:ss", |
|
"interpolate": "bezier", |
|
"nodata": "", |
|
"dot": false, |
|
"ymin": "0", |
|
"ymax": "100", |
|
"removeOlder": 1, |
|
"removeOlderPoints": "", |
|
"removeOlderUnit": "3600", |
|
"cutout": 0, |
|
"useOneColor": false, |
|
"useUTC": false, |
|
"colors": [ |
|
"#1f77b4", |
|
"#aec7e8", |
|
"#ff7f0e", |
|
"#2ca02c", |
|
"#98df8a", |
|
"#d62728", |
|
"#ff9896", |
|
"#9467bd", |
|
"#c5b0d5" |
|
], |
|
"outputs": 1, |
|
"useDifferentColor": false, |
|
"className": "", |
|
"x": 770, |
|
"y": 560, |
|
"wires": [ |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "8dac352f7abdee13", |
|
"type": "change", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"rules": [ |
|
{ |
|
"t": "set", |
|
"p": "payload", |
|
"pt": "msg", |
|
"to": "payload.moisture", |
|
"tot": "msg" |
|
} |
|
], |
|
"action": "", |
|
"property": "", |
|
"from": "", |
|
"to": "", |
|
"reg": false, |
|
"x": 540, |
|
"y": 560, |
|
"wires": [ |
|
[ |
|
"becc4251c9462313", |
|
"61a643561f6e6d7b" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "e3e174d93b82c968", |
|
"type": "mqtt in", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"topic": "24:6f:28:44:cc:9c/plants/soil", |
|
"qos": "2", |
|
"datatype": "json", |
|
"broker": "6c71a0de59e0bc04", |
|
"nl": false, |
|
"rap": true, |
|
"rh": 0, |
|
"inputs": 0, |
|
"x": 300, |
|
"y": 560, |
|
"wires": [ |
|
[ |
|
"8dac352f7abdee13" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "d480d89acb23621d", |
|
"type": "ui_button", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "3e90c18ba5ed5691", |
|
"order": 5, |
|
"width": "3", |
|
"height": "1", |
|
"passthru": false, |
|
"label": "Water", |
|
"tooltip": "", |
|
"color": "", |
|
"bgcolor": "", |
|
"className": "", |
|
"icon": "", |
|
"payload": "planter1_water_time", |
|
"payloadType": "global", |
|
"topic": "topic", |
|
"topicType": "msg", |
|
"x": 550, |
|
"y": 720, |
|
"wires": [ |
|
[ |
|
"d106f4a7f82e665a" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "c243c5837f72b374", |
|
"type": "mqtt out", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"topic": "24:6f:28:44:cc:9c/plants/water", |
|
"qos": "", |
|
"retain": "", |
|
"respTopic": "", |
|
"contentType": "", |
|
"userProps": "", |
|
"correl": "", |
|
"expiry": "", |
|
"broker": "6c71a0de59e0bc04", |
|
"x": 970, |
|
"y": 720, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "cc465904ddba90fc", |
|
"type": "ui_numeric", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"label": "", |
|
"tooltip": "", |
|
"group": "3e90c18ba5ed5691", |
|
"order": 4, |
|
"width": "3", |
|
"height": "1", |
|
"wrap": false, |
|
"passthru": true, |
|
"topic": "topic", |
|
"topicType": "msg", |
|
"format": "{{value}} Seconds", |
|
"min": 0, |
|
"max": "60", |
|
"step": 1, |
|
"className": "", |
|
"x": 260, |
|
"y": 800, |
|
"wires": [ |
|
[ |
|
"10f8ba74b6ee1caf" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "92fdf2692e0e7611", |
|
"type": "countdown", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"topic": "", |
|
"payloadTimerStart": "true", |
|
"payloadTimerStartType": "bool", |
|
"payloadTimerStop": "false", |
|
"payloadTimerStopType": "bool", |
|
"timer": "10", |
|
"resetWhileRunning": true, |
|
"setTimeToNewWhileRunning": true, |
|
"startCountdownOnControlMessage": false, |
|
"x": 530, |
|
"y": 440, |
|
"wires": [ |
|
[ |
|
"b68fa5e5a9163ec6" |
|
], |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "b68fa5e5a9163ec6", |
|
"type": "ui_led", |
|
"z": "e93d07e3f8f4822c", |
|
"order": 6, |
|
"group": "3e90c18ba5ed5691", |
|
"width": "3", |
|
"height": "1", |
|
"label": "Connected", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "#ff0000", |
|
"value": "false", |
|
"valueType": "bool" |
|
}, |
|
{ |
|
"color": "#008000", |
|
"value": "true", |
|
"valueType": "bool" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"shape": "circle", |
|
"showGlow": true, |
|
"name": "", |
|
"x": 750, |
|
"y": 440, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "d106f4a7f82e665a", |
|
"type": "template", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"field": "payload", |
|
"fieldType": "msg", |
|
"format": "handlebars", |
|
"syntax": "mustache", |
|
"template": "{\"time\":{{global.planter1_water_time}}}", |
|
"output": "str", |
|
"x": 720, |
|
"y": 720, |
|
"wires": [ |
|
[ |
|
"c243c5837f72b374" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "10f8ba74b6ee1caf", |
|
"type": "change", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"rules": [ |
|
{ |
|
"t": "set", |
|
"p": "planter1_water_time", |
|
"pt": "global", |
|
"to": "payload", |
|
"tot": "msg" |
|
} |
|
], |
|
"action": "", |
|
"property": "", |
|
"from": "", |
|
"to": "", |
|
"reg": false, |
|
"x": 470, |
|
"y": 800, |
|
"wires": [ |
|
[] |
|
] |
|
}, |
|
{ |
|
"id": "5339d39b6f7b220c", |
|
"type": "ui_chart", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "458af0d74e442447", |
|
"order": 1, |
|
"width": 0, |
|
"height": 0, |
|
"label": "Temperature", |
|
"chartType": "line", |
|
"legend": "false", |
|
"xformat": "HH:mm:ss", |
|
"interpolate": "bezier", |
|
"nodata": "", |
|
"dot": false, |
|
"ymin": "0", |
|
"ymax": "", |
|
"removeOlder": "3000", |
|
"removeOlderPoints": "", |
|
"removeOlderUnit": "604800", |
|
"cutout": 0, |
|
"useOneColor": false, |
|
"useUTC": false, |
|
"colors": [ |
|
"#1f77b4", |
|
"#aec7e8", |
|
"#ff7f0e", |
|
"#2ca02c", |
|
"#98df8a", |
|
"#d62728", |
|
"#ff9896", |
|
"#9467bd", |
|
"#c5b0d5" |
|
], |
|
"outputs": 1, |
|
"useDifferentColor": false, |
|
"className": "", |
|
"x": 950, |
|
"y": 120, |
|
"wires": [ |
|
[ |
|
"9c28897ab8b72a19" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "b63ca732e05d8c54", |
|
"type": "ui_chart", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "458af0d74e442447", |
|
"order": 2, |
|
"width": 0, |
|
"height": 0, |
|
"label": "Humidity", |
|
"chartType": "line", |
|
"legend": "false", |
|
"xformat": "dd HH:mm", |
|
"interpolate": "bezier", |
|
"nodata": "", |
|
"dot": false, |
|
"ymin": "0", |
|
"ymax": "100", |
|
"removeOlder": "3000", |
|
"removeOlderPoints": "", |
|
"removeOlderUnit": "604800", |
|
"cutout": 0, |
|
"useOneColor": false, |
|
"useUTC": false, |
|
"colors": [ |
|
"#1f77b4", |
|
"#aec7e8", |
|
"#ff7f0e", |
|
"#2ca02c", |
|
"#98df8a", |
|
"#d62728", |
|
"#ff9896", |
|
"#9467bd", |
|
"#c5b0d5" |
|
], |
|
"outputs": 1, |
|
"useDifferentColor": false, |
|
"className": "", |
|
"x": 960, |
|
"y": 320, |
|
"wires": [ |
|
[ |
|
"e71657bc43ef1fd7" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "1dc99a85a38a3df2", |
|
"type": "ui_chart", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"group": "458af0d74e442447", |
|
"order": 3, |
|
"width": 0, |
|
"height": 0, |
|
"label": "Soil Moisture", |
|
"chartType": "line", |
|
"legend": "false", |
|
"xformat": "HH:mm:ss", |
|
"interpolate": "bezier", |
|
"nodata": "", |
|
"dot": false, |
|
"ymin": "0", |
|
"ymax": "100", |
|
"removeOlder": "3000", |
|
"removeOlderPoints": "", |
|
"removeOlderUnit": "604800", |
|
"cutout": 0, |
|
"useOneColor": false, |
|
"useUTC": false, |
|
"colors": [ |
|
"#99c1f1", |
|
"#1c71d8", |
|
"#ff7f0e", |
|
"#2ca02c", |
|
"#98df8a", |
|
"#d62728", |
|
"#ff9896", |
|
"#9467bd", |
|
"#c5b0d5" |
|
], |
|
"outputs": 1, |
|
"useDifferentColor": false, |
|
"className": "", |
|
"x": 970, |
|
"y": 620, |
|
"wires": [ |
|
[ |
|
"ae620b1014d01950" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "e71657bc43ef1fd7", |
|
"type": "persist in", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "humidity", |
|
"storageNode": "3e3c4026ab6b3227", |
|
"x": 1120, |
|
"y": 320, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "e12d7f60fbf4ade3", |
|
"type": "persist out", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "humidity", |
|
"storageNode": "3e3c4026ab6b3227", |
|
"x": 960, |
|
"y": 260, |
|
"wires": [ |
|
[ |
|
"b63ca732e05d8c54" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "fd95369f9ae32593", |
|
"type": "inject", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"props": [ |
|
{ |
|
"p": "payload" |
|
}, |
|
{ |
|
"p": "topic", |
|
"vt": "str" |
|
} |
|
], |
|
"repeat": "", |
|
"crontab": "", |
|
"once": false, |
|
"onceDelay": 0.1, |
|
"topic": "", |
|
"payload": "", |
|
"payloadType": "date", |
|
"x": 960, |
|
"y": 220, |
|
"wires": [ |
|
[ |
|
"e12d7f60fbf4ade3" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "ae620b1014d01950", |
|
"type": "persist in", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "soil-moisture", |
|
"storageNode": "3e3c4026ab6b3227", |
|
"x": 1149, |
|
"y": 622, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "dbc1eb5db8302d4c", |
|
"type": "persist out", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "soil-moisture", |
|
"storageNode": "3e3c4026ab6b3227", |
|
"x": 970, |
|
"y": 560, |
|
"wires": [ |
|
[ |
|
"1dc99a85a38a3df2" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "41b326100ece18c0", |
|
"type": "inject", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"props": [ |
|
{ |
|
"p": "payload" |
|
}, |
|
{ |
|
"p": "topic", |
|
"vt": "str" |
|
} |
|
], |
|
"repeat": "", |
|
"crontab": "", |
|
"once": false, |
|
"onceDelay": 0.1, |
|
"topic": "", |
|
"payload": "", |
|
"payloadType": "date", |
|
"x": 960, |
|
"y": 520, |
|
"wires": [ |
|
[ |
|
"dbc1eb5db8302d4c" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "84d453482f622626", |
|
"type": "persist out", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "temperature", |
|
"storageNode": "3e3c4026ab6b3227", |
|
"x": 970, |
|
"y": 60, |
|
"wires": [ |
|
[ |
|
"5339d39b6f7b220c" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "5733ea3c10e358db", |
|
"type": "inject", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"props": [ |
|
{ |
|
"p": "payload" |
|
}, |
|
{ |
|
"p": "topic", |
|
"vt": "str" |
|
} |
|
], |
|
"repeat": "", |
|
"crontab": "", |
|
"once": false, |
|
"onceDelay": 0.1, |
|
"topic": "", |
|
"payload": "", |
|
"payloadType": "date", |
|
"x": 960, |
|
"y": 20, |
|
"wires": [ |
|
[ |
|
"84d453482f622626" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "9c28897ab8b72a19", |
|
"type": "persist in", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "temperature", |
|
"storageNode": "3e3c4026ab6b3227", |
|
"x": 1150, |
|
"y": 120, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "3dee2ee40ec39973", |
|
"type": "rate-avg", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"windowtype": "time", |
|
"timewindow": "6", |
|
"timeunits": "minutes", |
|
"countwindow": "10", |
|
"round": "1", |
|
"x": 760, |
|
"y": 320, |
|
"wires": [ |
|
[ |
|
"b63ca732e05d8c54" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "093ddff722115f6a", |
|
"type": "rate-avg", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"windowtype": "time", |
|
"timewindow": "6", |
|
"timeunits": "minutes", |
|
"countwindow": "10", |
|
"round": "1", |
|
"x": 760, |
|
"y": 140, |
|
"wires": [ |
|
[ |
|
"5339d39b6f7b220c" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "61a643561f6e6d7b", |
|
"type": "rate-avg", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"windowtype": "time", |
|
"timewindow": "6", |
|
"timeunits": "minutes", |
|
"countwindow": "10", |
|
"round": "1", |
|
"x": 760, |
|
"y": 620, |
|
"wires": [ |
|
[ |
|
"1dc99a85a38a3df2" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "74dbb1bab4874123", |
|
"type": "mqtt in", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"topic": "24:6f:28:44:cc:9c/plants/water", |
|
"qos": "2", |
|
"datatype": "json", |
|
"broker": "6c71a0de59e0bc04", |
|
"nl": false, |
|
"rap": true, |
|
"rh": 0, |
|
"inputs": 0, |
|
"x": 300, |
|
"y": 620, |
|
"wires": [ |
|
[ |
|
"f0364f4de8363bf3" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "f0364f4de8363bf3", |
|
"type": "change", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"rules": [ |
|
{ |
|
"t": "set", |
|
"p": "payload", |
|
"pt": "msg", |
|
"to": "payload.status = \"pending\" ? 100 : 0 ", |
|
"tot": "jsonata" |
|
} |
|
], |
|
"action": "", |
|
"property": "", |
|
"from": "", |
|
"to": "", |
|
"reg": false, |
|
"x": 540, |
|
"y": 620, |
|
"wires": [ |
|
[ |
|
"becc4251c9462313", |
|
"61a643561f6e6d7b", |
|
"ffde034e27195fcf" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "a201c1058fd6c9b0", |
|
"type": "inject", |
|
"z": "e93d07e3f8f4822c", |
|
"name": "", |
|
"props": [ |
|
{ |
|
"p": "payload" |
|
}, |
|
{ |
|
"p": "topic", |
|
"v": "false", |
|
"vt": "bool" |
|
} |
|
], |
|
"repeat": "", |
|
"crontab": "", |
|
"once": true, |
|
"onceDelay": 0.1, |
|
"topic": "", |
|
"payload": "", |
|
"payloadType": "date", |
|
"x": 530, |
|
"y": 500, |
|
"wires": [ |
|
[ |
|
"b68fa5e5a9163ec6" |
|
] |
|
] |
|
}, |
|
{ |
|
"id": "ffde034e27195fcf", |
|
"type": "ui_led", |
|
"z": "e93d07e3f8f4822c", |
|
"order": 7, |
|
"group": "3e90c18ba5ed5691", |
|
"width": 0, |
|
"height": 0, |
|
"label": "Pump on", |
|
"labelPlacement": "left", |
|
"labelAlignment": "left", |
|
"colorForValue": [ |
|
{ |
|
"color": "#63452c", |
|
"value": "0", |
|
"valueType": "num" |
|
}, |
|
{ |
|
"color": "#008000", |
|
"value": "100", |
|
"valueType": "num" |
|
} |
|
], |
|
"allowColorForValueInMessage": false, |
|
"shape": "circle", |
|
"showGlow": true, |
|
"name": "", |
|
"x": 750, |
|
"y": 660, |
|
"wires": [] |
|
}, |
|
{ |
|
"id": "6c71a0de59e0bc04", |
|
"type": "mqtt-broker", |
|
"name": "built-in broker", |
|
"broker": "localhost", |
|
"port": "1883", |
|
"clientid": "", |
|
"autoConnect": true, |
|
"usetls": false, |
|
"protocolVersion": "4", |
|
"keepalive": "60", |
|
"cleansession": true, |
|
"birthTopic": "", |
|
"birthQos": "0", |
|
"birthPayload": "", |
|
"birthMsg": {}, |
|
"closeTopic": "", |
|
"closeQos": "0", |
|
"closePayload": "", |
|
"closeMsg": {}, |
|
"willTopic": "", |
|
"willQos": "0", |
|
"willPayload": "", |
|
"willMsg": {}, |
|
"sessionExpiry": "" |
|
}, |
|
{ |
|
"id": "3e90c18ba5ed5691", |
|
"type": "ui_group", |
|
"name": "Planter 1", |
|
"tab": "ac65656392cf4fca", |
|
"order": 1, |
|
"disp": true, |
|
"width": "6", |
|
"collapse": false, |
|
"className": "" |
|
}, |
|
{ |
|
"id": "458af0d74e442447", |
|
"type": "ui_group", |
|
"name": "Planter 1 historical", |
|
"tab": "ac65656392cf4fca", |
|
"order": 2, |
|
"disp": true, |
|
"width": "6", |
|
"collapse": false, |
|
"className": "" |
|
}, |
|
{ |
|
"id": "3e3c4026ab6b3227", |
|
"type": "persist-store", |
|
"filename": "planter-1-data.json", |
|
"interval": "60" |
|
}, |
|
{ |
|
"id": "ac65656392cf4fca", |
|
"type": "ui_tab", |
|
"name": "Plants", |
|
"icon": "fa-leaf", |
|
"order": 1, |
|
"disabled": false, |
|
"hidden": false |
|
} |
|
] |
Love it. I will look perhaps to modify Eduponics APP and make it compatible if it doesn't work out-of-the-box already.