[ { "id": "75ce1f59.90b39", "type": "tab", "label": "Flow 2", "disabled": false, "info": "" }, { "id": "207901fb.27f25e", "type": "Sonoff device", "z": "75ce1f59.90b39", "mode": "0", "broker": "7e92f573.8e571c", "device": "Mysonoff_TH10", "name": "Proofing Box", "onValue": "ON", "offValue": "OFF", "cmdPrefix": "cmnd", "statPrefix": "stat", "telePrefix": "tele", "x": 916, "y": 229, "wires": [ [] ] }, { "id": "1079c413.b6311c", "type": "ui_switch", "z": "75ce1f59.90b39", "name": "DashboardProofBox", "label": "Proofing Box", "group": "dbc5b085.7cbe1", "order": 13, "width": 0, "height": 0, "passthru": true, "decouple": "false", "topic": "cmnd/Mysonoff_TH10/power", "style": "", "onvalue": "ON", "onvalueType": "str", "onicon": "", "oncolor": "", "offvalue": "OFF", "offvalueType": "str", "officon": "", "offcolor": "", "x": 397, "y": 217, "wires": [ [ "207901fb.27f25e" ] ] }, { "id": "78c57e92.12817", "type": "mqtt in", "z": "75ce1f59.90b39", "name": "ReadProofingBox", "topic": "tele/Mysonoff_TH10/SENSOR", "qos": "0", "broker": "7e92f573.8e571c", "x": 99, "y": 148, "wires": [ [ "825527d6.50fcf8" ] ] }, { "id": "825527d6.50fcf8", "type": "json", "z": "75ce1f59.90b39", "name": "", "property": "payload", "action": "", "pretty": false, "x": 254, "y": 148, "wires": [ [ "3f85018a.eac63e" ] ] }, { "id": "3f85018a.eac63e", "type": "change", "z": "75ce1f59.90b39", "name": "Parse Temperature", "rules": [ { "t": "move", "p": "payload.AM2301.Temperature", "pt": "msg", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 422, "y": 147, "wires": [ [ "99c60cf8.d9a06", "710b2441.273b9c" ] ] }, { "id": "99c60cf8.d9a06", "type": "function", "z": "75ce1f59.90b39", "name": "Eval Temp hi lo", "func": "msg.topic=\"cmnd/Mysonoff_TH10/power\";\nif (msg.payload < 78)\n{\n msg.payload = \"ON\" ;\n\n}\nif (msg.payload > 78)\n{\n msg.payload = \"OFF\";\n}\nreturn msg;", "outputs": 1, "noerr": 0, "x": 697, "y": 167, "wires": [ [ "1079c413.b6311c" ] ] }, { "id": "710b2441.273b9c", "type": "ui_gauge", "z": "75ce1f59.90b39", "name": "Proofing Box Temp", "group": "dbc5b085.7cbe1", "order": 14, "width": 0, "height": 0, "gtype": "gage", "title": "Proofing Box Temp", "label": "Degrees F", "format": "{{value}}", "min": "70", "max": "95", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "seg1": "", "seg2": "", "x": 626, "y": 108, "wires": [] }, { "id": "7e92f573.8e571c", "type": "mqtt-broker", "z": "", "name": "", "broker": "localhost", "port": "1883", "clientid": "mqtt", "usetls": false, "compatmode": true, "keepalive": "60", "cleansession": true, "birthTopic": "", "birthQos": "0", "birthPayload": "", "closeTopic": "", "closePayload": "", "willTopic": "", "willQos": "0", "willPayload": "" }, { "id": "dbc5b085.7cbe1", "type": "ui_group", "z": "", "name": "Lights", "tab": "7e5e903.9f0707", "order": 7, "disp": true, "width": "6" }, { "id": "7e5e903.9f0707", "type": "ui_tab", "z": "", "name": "Home", "icon": "home", "order": "1" } ]