Preparation of a cocktail
After many adventures and weather incidents today, I managed to start the preparation of a chilled cocktail!
Here is a video that shows the service of a rum-pineapple:
I will improve the thing by making a beak (bent pipe) wider and higher.
I am also doing support for the LED matrix and the touch screen. The day was difficult but I'm still happy with the result! We note that I am able to serve a very fresh cocktail between 4.3 and 5.9 ° C!
Here is the code for the "distribution" part :
[
{
"id": "2d5b5f5a.3f623",
"type": "ui_button",
"z": "88fe036.c4c23",
"name": "",
"group": "82b4dd32.05812",
"order": 1,
"width": 0,
"height": 0,
"passthru": true,
"label": "Whisky - coca",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "num",
"topic": "",
"x": 280,
"y": 340,
"wires": [
[
"3b7def2.c60e21",
"eba4cf1e.3a1ae",
"a3185b3f.99a738"
]
]
},
{
"id": "69a5d399.858e5c",
"type": "ui_button",
"z": "88fe036.c4c23",
"name": "",
"group": "82b4dd32.05812",
"order": 3,
"width": 0,
"height": 0,
"passthru": true,
"label": "Off",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "1",
"payloadType": "str",
"topic": "",
"x": 990,
"y": 200,
"wires": [
[
"5ce0dd6d.54b354",
"f4da9e2d.11d0c",
"96158808.bbe668",
"eba4cf1e.3a1ae",
"a3185b3f.99a738",
"93051868.9f8418",
"66954404.fe730c",
"d1fede17.a6567",
"b686a825.2d7c88",
"6211c60a.3697a8",
"caad9dad.7e93d",
"e7da72b3.24d35",
"cf54403a.ebe7a",
"212f10dd.427ea",
"b188b997.fb2a58",
"a7604181.6381c",
"d82251b1.0751",
"cfc2e377.924ce",
"20803280.c2acfe",
"3b57e0cc.e6f0e",
"78268a9d.07c304"
]
]
},
{
"id": "eba4cf1e.3a1ae",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "15",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 240,
"wires": [
[
"a7604181.6381c"
]
]
},
{
"id": "a3185b3f.99a738",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "15",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 300,
"wires": [
[
"78268a9d.07c304"
]
]
},
{
"id": "e7da72b3.24d35",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "15",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 780,
"wires": [
[
"212f10dd.427ea"
]
]
},
{
"id": "cf54403a.ebe7a",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "30",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 840,
"wires": [
[
"f4da9e2d.11d0c"
]
]
},
{
"id": "f4da9e2d.11d0c",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "1 Ananas PIN 35",
"pin": "35",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1630,
"y": 340,
"wires": []
},
{
"id": "5ce0dd6d.54b354",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "7",
"pin": "19",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1570,
"y": 700,
"wires": []
},
{
"id": "caad9dad.7e93d",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "12",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 720,
"wires": [
[
"5ce0dd6d.54b354"
]
]
},
{
"id": "6211c60a.3697a8",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "6",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1260,
"y": 660,
"wires": [
[
"b188b997.fb2a58"
]
]
},
{
"id": "53394d1.d7899b4",
"type": "ui_button",
"z": "88fe036.c4c23",
"name": "",
"group": "82b4dd32.05812",
"order": 2,
"width": 0,
"height": 0,
"passthru": true,
"label": "Rhum - Pineapple",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "num",
"topic": "",
"x": 290,
"y": 580,
"wires": [
[
"b686a825.2d7c88",
"d1fede17.a6567",
"d9b8905a.b09d9"
]
]
},
{
"id": "b686a825.2d7c88",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "2",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1260,
"y": 580,
"wires": [
[
"212f10dd.427ea"
]
]
},
{
"id": "96158808.bbe668",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "8 Perrier",
"pin": "19",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1580,
"y": 760,
"wires": []
},
{
"id": "d1fede17.a6567",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "10",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1270,
"y": 460,
"wires": [
[
"f4da9e2d.11d0c"
]
]
},
{
"id": "31785e12.8176f2",
"type": "ui_button",
"z": "88fe036.c4c23",
"name": "",
"group": "82b4dd32.05812",
"order": 2,
"width": 0,
"height": 0,
"passthru": true,
"label": "Wodka - Orange",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "num",
"topic": "",
"x": 280,
"y": 420,
"wires": [
[
"93051868.9f8418",
"66954404.fe730c",
"1307fa7c.caba76"
]
]
},
{
"id": "93051868.9f8418",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "12",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 360,
"wires": [
[
"3b57e0cc.e6f0e"
]
]
},
{
"id": "66954404.fe730c",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "48",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1270,
"y": 420,
"wires": [
[
"212f10dd.427ea"
]
]
},
{
"id": "212f10dd.427ea",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "2 Rhum PIN 36",
"pin": "36",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1600,
"y": 400,
"wires": []
},
{
"id": "75d60f85.2ba59",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 100,
"y": 340,
"wires": [
[
"2d5b5f5a.3f623"
]
]
},
{
"id": "f2ba56ab.dcc408",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 100,
"y": 420,
"wires": [
[
"31785e12.8176f2"
]
]
},
{
"id": "70456bd1.e3a854",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 100,
"y": 580,
"wires": [
[
"53394d1.d7899b4"
]
]
},
{
"id": "fa333c63.8f9b",
"type": "inject",
"z": "88fe036.c4c23",
"name": "OFF",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 750,
"y": 200,
"wires": [
[
"69a5d399.858e5c"
]
]
},
{
"id": "c7b48ded.5403e",
"type": "ui_button",
"z": "88fe036.c4c23",
"name": "",
"group": "82b4dd32.05812",
"order": 2,
"width": 0,
"height": 0,
"passthru": true,
"label": "Whisky",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "num",
"topic": "",
"x": 260,
"y": 760,
"wires": [
[
"cfc2e377.924ce",
"e45f8f9c.db36b"
]
]
},
{
"id": "6c4b5325.614d0c",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 100,
"y": 760,
"wires": [
[
"c7b48ded.5403e"
]
]
},
{
"id": "cfc2e377.924ce",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "5",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1260,
"y": 900,
"wires": [
[
"a7604181.6381c"
]
]
},
{
"id": "b4df0617.86a4b8",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "10",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1270,
"y": 540,
"wires": [
[
"b188b997.fb2a58"
]
]
},
{
"id": "b188b997.fb2a58",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "4 Sirop de canne PIN 38",
"pin": "38",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1630,
"y": 520,
"wires": []
},
{
"id": "20803280.c2acfe",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "4",
"extend": false,
"units": "s",
"reset": "1",
"name": "",
"x": 1260,
"y": 960,
"wires": [
[
"78268a9d.07c304"
]
]
},
{
"id": "e1ae27bf.297398",
"type": "ui_button",
"z": "88fe036.c4c23",
"name": "",
"group": "82b4dd32.05812",
"order": 2,
"width": 0,
"height": 0,
"passthru": true,
"label": "Coca",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "num",
"topic": "",
"x": 250,
"y": 820,
"wires": [
[
"20803280.c2acfe",
"dc1a29d8.782dc8"
]
]
},
{
"id": "d0878bd8.d40fa8",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 100,
"y": 820,
"wires": [
[
"e1ae27bf.297398"
]
]
},
{
"id": "78268a9d.07c304",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "3 Coca PIN 37",
"pin": "37",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1600,
"y": 460,
"wires": []
},
{
"id": "a7604181.6381c",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "5 Whisky PIN 40",
"pin": "40",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1600,
"y": 580,
"wires": []
},
{
"id": "6d09744a.43445c",
"type": "rpi-sensehat out",
"z": "88fe036.c4c23",
"name": "",
"x": 1230,
"y": 1040,
"wires": []
},
{
"id": "f8294e1f.52e9e",
"type": "function",
"z": "88fe036.c4c23",
"name": "Rotate 180 Text Red Background Blue Speed 5",
"func": "msg.color = \"red\";\nmsg.background =\"0\" ;\nmsg.speed = \"1\";\nmsg.payload = \"R180\\n\"+msg.payload;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 820,
"y": 1040,
"wires": [
[
"6d09744a.43445c"
]
]
},
{
"id": "1bf63723.858a39",
"type": "delay",
"z": "88fe036.c4c23",
"name": "",
"pauseType": "delay",
"timeout": "20",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"x": 700,
"y": 1080,
"wires": [
[
"475515ca.ff164c"
]
]
},
{
"id": "475515ca.ff164c",
"type": "function",
"z": "88fe036.c4c23",
"name": "Rotate 180 Text Red Background Blue Speed 5",
"func": "msg.background = \"off\";\nmsg.colour = \"off\";\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 960,
"y": 1080,
"wires": [
[
"6d09744a.43445c"
]
]
},
{
"id": "3b7def2.c60e21",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Whisky - Coca",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 340,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"19f74352.0bcfbd"
]
]
},
{
"id": "1307fa7c.caba76",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Wodka - Orange",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 420,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"2030e354.3dceac"
]
]
},
{
"id": "d82251b1.0751",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Off",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 520,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"df71088b.d30778"
]
]
},
{
"id": "d9b8905a.b09d9",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Rhum - pineapple",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 620,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"cc7f893e.35fd28"
]
]
},
{
"id": "5a9ce853.77a8c8",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Tout y mettre",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 720,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"f4590969.5a0ef8"
]
]
},
{
"id": "e45f8f9c.db36b",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Whisky",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 800,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"e04c8304.b8e49"
]
]
},
{
"id": "dc1a29d8.782dc8",
"type": "change",
"z": "88fe036.c4c23",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "Coca",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 860,
"wires": [
[
"f8294e1f.52e9e",
"1bf63723.858a39",
"a2771b1.21f5ee8"
]
]
},
{
"id": "a2771b1.21f5ee8",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 940,
"wires": [
[
"dd85c058.ede4e"
]
]
},
{
"id": "dd85c058.ede4e",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 940,
"y": 940,
"wires": []
},
{
"id": "e04c8304.b8e49",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 800,
"wires": [
[
"a7da009e.21883"
]
]
},
{
"id": "a7da009e.21883",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 940,
"y": 800,
"wires": []
},
{
"id": "f4590969.5a0ef8",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 720,
"wires": [
[
"656047b1.2ba218"
]
]
},
{
"id": "656047b1.2ba218",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 940,
"y": 720,
"wires": []
},
{
"id": "cc7f893e.35fd28",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 640,
"wires": [
[
"5acc13e.6d2a8ec"
]
]
},
{
"id": "5acc13e.6d2a8ec",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 960,
"y": 640,
"wires": []
},
{
"id": "df71088b.d30778",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 480,
"wires": [
[
"ba6ae0b6.f0d2"
]
]
},
{
"id": "ba6ae0b6.f0d2",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 960,
"y": 480,
"wires": []
},
{
"id": "c9ab0645.08e4c8",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 960,
"y": 420,
"wires": []
},
{
"id": "22d38eb4.a47652",
"type": "play audio",
"z": "88fe036.c4c23",
"name": "",
"voice": "0",
"x": 960,
"y": 340,
"wires": []
},
{
"id": "1980d322.2f73fd",
"type": "watson-speech-to-text",
"z": "88fe036.c4c23",
"name": "",
"alternatives": "2",
"speakerlabels": true,
"smartformatting": false,
"lang": "en-GB",
"langhidden": "en-GB",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "NoCustomisationSetting",
"band": "BroadbandModel",
"bandhidden": "BroadbandModel",
"password": "q0NxQYnJ0RxA",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/speech-to-text/api",
"x": 640,
"y": 140,
"wires": [
[
"35b9804.815c48"
]
]
},
{
"id": "c13a50a8.94aa7",
"type": "microphone",
"z": "88fe036.c4c23",
"name": "",
"x": 330,
"y": 140,
"wires": [
[
"1980d322.2f73fd"
]
]
},
{
"id": "35b9804.815c48",
"type": "debug",
"z": "88fe036.c4c23",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 910,
"y": 140,
"wires": []
},
{
"id": "19f74352.0bcfbd",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 340,
"wires": [
[
"22d38eb4.a47652"
]
]
},
{
"id": "2030e354.3dceac",
"type": "watson-text-to-speech",
"z": "88fe036.c4c23",
"name": "Justin_iTender",
"lang": "fr-FR",
"langhidden": "fr-FR",
"langcustom": "NoCustomisationSetting",
"langcustomhidden": "",
"voice": "fr-FR_ReneeVoice",
"voicehidden": "",
"format": "audio/wav",
"password": "ti3XDHqn07I1",
"payload-response": false,
"default-endpoint": true,
"service-endpoint": "https://stream.watsonplatform.net/text-to-speech/api",
"x": 720,
"y": 420,
"wires": [
[
"c9ab0645.08e4c8"
]
]
},
{
"id": "3d23835e.21512c",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1290,
"y": 180,
"wires": [
[
"f5036de3.b2e26"
]
]
},
{
"id": "f26d61a4.58a1f",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1450,
"y": 240,
"wires": [
[
"91ee2b56.811cf8"
]
]
},
{
"id": "359eb0b4.704cb",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1430,
"y": 460,
"wires": [
[
"78268a9d.07c304"
]
]
},
{
"id": "cdc55ffd.66a7",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1430,
"y": 520,
"wires": [
[
"b188b997.fb2a58"
]
]
},
{
"id": "da5d5b9e.b33d88",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1430,
"y": 580,
"wires": [
[
"a7604181.6381c"
]
]
},
{
"id": "3b57e0cc.e6f0e",
"type": "rpi-gpio out",
"z": "88fe036.c4c23",
"name": "6 Wodka",
"pin": "19",
"set": true,
"level": "1",
"freq": "",
"out": "out",
"x": 1580,
"y": 640,
"wires": []
},
{
"id": "5e9507fc.a3b178",
"type": "arduino out",
"z": "88fe036.c4c23",
"name": "",
"pin": "12",
"state": "OUTPUT",
"arduino": "46fbe67a.260e78",
"x": 1640,
"y": 160,
"wires": []
},
{
"id": "7122d3c3.19744c",
"type": "inject",
"z": "88fe036.c4c23",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1450,
"y": 160,
"wires": [
[
"5e9507fc.a3b178"
]
]
},
{
"id": "f5036de3.b2e26",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "10",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1450,
"y": 340,
"wires": [
[
"f4da9e2d.11d0c"
]
]
},
{
"id": "91ee2b56.811cf8",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "2",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1440,
"y": 400,
"wires": [
[
"212f10dd.427ea"
]
]
},
{
"id": "238e5774.2d04e8",
"type": "trigger",
"z": "88fe036.c4c23",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "1",
"extend": false,
"units": "min",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1550,
"y": 280,
"wires": [
[
"f4da9e2d.11d0c"
]
]
},
{
"id": "87d69bd.d682b68",
"type": "inject",
"z": "88fe036.c4c23",
"name": "Rinçage",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1220,
"y": 120,
"wires": [
[
"238e5774.2d04e8"
]
]
},
{
"id": "82b4dd32.05812",
"type": "ui_group",
"z": "",
"name": "Cocktail",
"tab": "477bd088.4ab9e",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "46fbe67a.260e78",
"type": "arduino-board",
"z": "",
"device": "/dev/ttyAMA0"
},
{
"id": "477bd088.4ab9e",
"type": "ui_tab",
"z": "",
"name": "iTender",
"icon": "dashboard",
"order": 1
}
]And for the "Cooling" part :
[
{
"id": "a4acdf77.02859",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1510,
"y": 840,
"wires": [
[
"acbac500.2d7ec8"
]
]
},
{
"id": "55b2c8d3.508148",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1510,
"y": 760,
"wires": [
[
"7e08f4ff.0d439c"
]
]
},
{
"id": "a4e5c789.77fcc8",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1710,
"y": 360,
"wires": [
[
"95754ecb.f9c71"
]
]
},
{
"id": "34e07a29.41dac6",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1710,
"y": 440,
"wires": [
[
"f31f7d33.6d6d1"
]
]
},
{
"id": "9d4fadac.8b2b5",
"type": "comment",
"z": "756ed309.7d647c",
"name": "Check Temperature",
"info": "",
"x": 127.04545593261719,
"y": 40,
"wires": []
},
{
"id": "e1df1b28.d3d948",
"type": "comment",
"z": "756ed309.7d647c",
"name": "PID Control For CPU Temperature of Raspberry PI",
"info": "",
"x": 1170,
"y": 40,
"wires": []
},
{
"id": "afc1c923.2fbc88",
"type": "ui_chart",
"z": "756ed309.7d647c",
"name": "Chart: PWM Output Data",
"group": "1f56d09a.bdef1f",
"order": 1,
"width": 0,
"height": 0,
"label": "PID",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "PID Output",
"dot": false,
"ymin": "0",
"ymax": "100",
"removeOlder": "10",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": "",
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": true,
"x": 1490,
"y": 180,
"wires": [
[],
[]
]
},
{
"id": "b8d2c427.5ab2b8",
"type": "ui_gauge",
"z": "756ed309.7d647c",
"name": "Gauge: PWM Output",
"group": "1f56d09a.bdef1f",
"order": 2,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "PID",
"label": "units",
"format": "{{value}}",
"min": 0,
"max": "100",
"colors": [
"#08f508",
"#e6e600",
"#ca3838"
],
"seg1": "80",
"seg2": "95",
"x": 1480,
"y": 120,
"wires": []
},
{
"id": "97134fa1.a5481",
"type": "ui_chart",
"z": "756ed309.7d647c",
"name": "Temperature cold circuit",
"group": "98a60638.d33a68",
"order": 1,
"width": 0,
"height": 0,
"label": "Temperature cold circuit",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "Temperature cold circuit",
"dot": false,
"ymin": "4",
"ymax": "20",
"removeOlder": "10",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": "",
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": true,
"x": 812.7597503662109,
"y": 248.5714569091797,
"wires": [
[],
[]
]
},
{
"id": "355645b.a2631ba",
"type": "ui_gauge",
"z": "756ed309.7d647c",
"name": "Temperature cold circuit",
"group": "a2c986a9.a857d8",
"order": 1,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Temperature cold circuit [°C]",
"label": "°C",
"format": "{{value}}",
"min": "4",
"max": "22",
"colors": [
"#00e1e1",
"#3c01e9",
"#f90404"
],
"seg1": "10",
"seg2": "15",
"x": 812.7597503662109,
"y": 188.5714569091797,
"wires": []
},
{
"id": "43a62275.a3565c",
"type": "comment",
"z": "756ed309.7d647c",
"name": "PID - PLANT",
"info": "",
"x": 1570,
"y": 40,
"wires": []
},
{
"id": "e0f1a9bf.f19ab8",
"type": "comment",
"z": "756ed309.7d647c",
"name": "Transformation de la consigne chaud en consigne froid",
"info": "",
"x": 740,
"y": 40,
"wires": []
},
{
"id": "1ab0bd04.4274e3",
"type": "function",
"z": "756ed309.7d647c",
"name": "Calcul froid",
"func": "var TC = msg.payload;\nvar consigne = 3.5;\n\nvar tfroid1 = parseFloat(TC) - parseFloat(consigne);\nvar tfroid = parseFloat(consigne) - parseFloat(tfroid1);\n\nmsg.payload=tfroid;\nreturn msg;\n\n",
"outputs": 1,
"noerr": 0,
"x": 770,
"y": 120,
"wires": [
[]
]
},
{
"id": "2f4f0303.c0280c",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "FFBEE0841605",
"payload": "",
"payloadType": "date",
"repeat": "3",
"crontab": "",
"once": false,
"x": 177.6645278930664,
"y": 481.7936153411865,
"wires": [
[
"b0766c6c.a502"
]
]
},
{
"id": "83939c1.af9006",
"type": "function",
"z": "756ed309.7d647c",
"name": "PLANT (Cycle * 100)",
"func": "var PID = msg.payload; // PID Value\nvar cycle; // PWM duty cycle\nvar adjustment = 0; // duty cycle adjustment\n\nvar cycle = (parseFloat(adjustment) + parseFloat(PID))*100;\n\nif(cycle<0){\n msg.payload=0;\n return msg;\n}\n\nelse if(cycle>100){\n msg.payload=100;\n return msg;\n}\n\nelse\n{\n msg.payload = parseFloat(cycle); \n // 0 - 100\n return msg;\n}\n\nreturn null;",
"outputs": 1,
"noerr": 0,
"x": 1220,
"y": 120,
"wires": [
[
"b8d2c427.5ab2b8",
"afc1c923.2fbc88",
"8c086ae0.547ca8",
"c342d689.0b4bc8",
"f966a460.9539f8",
"7447a34d.085efc"
]
]
},
{
"id": "4274a120.26e91",
"type": "ui_chart",
"z": "756ed309.7d647c",
"name": "Temperature hot circuit",
"group": "98a60638.d33a68",
"order": 2,
"width": 0,
"height": 0,
"label": "Temperature hot circuit",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "Temperature hot circuit",
"dot": false,
"ymin": "16",
"ymax": "44",
"removeOlder": "10",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": "",
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": true,
"x": 801.8788223266602,
"y": 517.7222194671631,
"wires": [
[],
[]
]
},
{
"id": "669bcca0.e50024",
"type": "ui_gauge",
"z": "756ed309.7d647c",
"name": "Temperature hot circuit",
"group": "a2c986a9.a857d8",
"order": 2,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Temperature hot circuit [°C]",
"label": "°C",
"format": "{{value}}",
"min": "20",
"max": "45",
"colors": [
"#80ffff",
"#2801e4",
"#f90404"
],
"seg1": "30",
"seg2": "34",
"x": 800,
"y": 440,
"wires": []
},
{
"id": "8c086ae0.547ca8",
"type": "switch",
"z": "756ed309.7d647c",
"name": "0%",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "0",
"vt": "num"
},
{
"t": "lt",
"v": "0.1",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1030,
"y": 320,
"wires": [
[
"60ea699b.9efc78"
],
[
"696fc765.ffef68"
]
]
},
{
"id": "c342d689.0b4bc8",
"type": "switch",
"z": "756ed309.7d647c",
"name": "25%",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "25",
"vt": "num"
},
{
"t": "lt",
"v": "25",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1030,
"y": 400,
"wires": [
[
"bb25bfe1.bf763"
],
[
"efac9124.7057f"
]
]
},
{
"id": "60ea699b.9efc78",
"type": "change",
"z": "756ed309.7d647c",
"name": "0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 300,
"wires": [
[
"95754ecb.f9c71",
"ad456b61.ec5778",
"14d13dc3.b644c2"
]
]
},
{
"id": "aa060ce.2415df",
"type": "rpi-ds18b20",
"z": "756ed309.7d647c",
"topic": "FF4D0B851605",
"array": false,
"name": "",
"x": 490,
"y": 120,
"wires": [
[
"355645b.a2631ba",
"97134fa1.a5481",
"1ab0bd04.4274e3"
]
]
},
{
"id": "b0766c6c.a502",
"type": "rpi-ds18b20",
"z": "756ed309.7d647c",
"topic": "",
"array": false,
"name": "",
"x": 481.7360153198242,
"y": 480.4364376068115,
"wires": [
[
"669bcca0.e50024",
"4274a120.26e91"
]
]
},
{
"id": "ba70db56.3060d8",
"type": "PID",
"z": "756ed309.7d647c",
"name": "",
"setpoint": "3.5",
"pb": "16",
"ti": "10",
"td": "3",
"integral_default": 0.5,
"smooth_factor": 3,
"max_interval": "5",
"enable": "100",
"disabled_op": 0,
"x": 1010,
"y": 120,
"wires": [
[
"83939c1.af9006"
]
]
},
{
"id": "63d9da9.22a4424",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "FF4D0B851605",
"payload": "",
"payloadType": "date",
"repeat": "3",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 200,
"y": 120,
"wires": [
[
"aa060ce.2415df"
]
]
},
{
"id": "f966a460.9539f8",
"type": "switch",
"z": "756ed309.7d647c",
"name": "50%",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "50",
"vt": "num"
},
{
"t": "lt",
"v": "50",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1030,
"y": 480,
"wires": [
[
"43ac6c00.586824"
],
[
"8a1baf02.fd5a6"
]
]
},
{
"id": "7447a34d.085efc",
"type": "switch",
"z": "756ed309.7d647c",
"name": "75%",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "75",
"vt": "num"
},
{
"t": "lt",
"v": "75",
"vt": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1030,
"y": 560,
"wires": [
[
"77bdc1dd.ad571"
],
[
"9a8d7b63.ab8738"
]
]
},
{
"id": "bd960c56.d2c2f",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1710,
"y": 520,
"wires": [
[
"dd8473da.694ae"
]
]
},
{
"id": "d9c86e91.adf5f",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1710,
"y": 600,
"wires": [
[
"72bf64b.51a629c"
]
]
},
{
"id": "95754ecb.f9c71",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "TEC 1 PIN 12",
"pin": "12",
"set": "",
"level": "0",
"freq": "",
"out": "out",
"x": 1920,
"y": 320,
"wires": []
},
{
"id": "f31f7d33.6d6d1",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "TEC 2 PIN 26",
"pin": "26",
"set": "",
"level": "0",
"freq": "",
"out": "out",
"x": 1920,
"y": 400,
"wires": []
},
{
"id": "dd8473da.694ae",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "TEC 3 PIN 29",
"pin": "29",
"set": "",
"level": "0",
"freq": "",
"out": "out",
"x": 1920,
"y": 480,
"wires": []
},
{
"id": "72bf64b.51a629c",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "TEC 4 PIN 33",
"pin": "33",
"set": false,
"level": "1",
"freq": "",
"out": "out",
"x": 1920,
"y": 560,
"wires": []
},
{
"id": "8a28820a.4861",
"type": "inject",
"z": "756ed309.7d647c",
"name": "Off",
"topic": "",
"payload": "1",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 1290,
"y": 620,
"wires": [
[
"95754ecb.f9c71",
"dd8473da.694ae",
"f31f7d33.6d6d1",
"72bf64b.51a629c",
"ad456b61.ec5778",
"835cf523.43f228",
"14d13dc3.b644c2",
"3f96e7f6.2be8a8",
"7e08f4ff.0d439c",
"acbac500.2d7ec8"
]
]
},
{
"id": "ad456b61.ec5778",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "Circulateur chaud PIN 31",
"pin": "31",
"set": false,
"level": "1",
"freq": "",
"out": "out",
"x": 1950,
"y": 640,
"wires": []
},
{
"id": "835cf523.43f228",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "Amorce circuit chaud PIN 32",
"pin": "32",
"set": false,
"level": "1",
"freq": "",
"out": "out",
"x": 1960,
"y": 720,
"wires": []
},
{
"id": "7e08f4ff.0d439c",
"type": "trigger",
"z": "756ed309.7d647c",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "25",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1710,
"y": 720,
"wires": [
[
"835cf523.43f228"
]
]
},
{
"id": "14d13dc3.b644c2",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "Circulateur Froid PIN 8",
"pin": "8",
"set": false,
"level": "1",
"freq": "",
"out": "out",
"x": 1940,
"y": 880,
"wires": []
},
{
"id": "3f96e7f6.2be8a8",
"type": "rpi-gpio out",
"z": "756ed309.7d647c",
"name": "Amorce circuit froid PIN 10",
"pin": "10",
"set": false,
"level": "1",
"freq": "",
"out": "out",
"x": 1960,
"y": 800,
"wires": []
},
{
"id": "acbac500.2d7ec8",
"type": "trigger",
"z": "756ed309.7d647c",
"op1": "0",
"op2": "1",
"op1type": "str",
"op2type": "str",
"duration": "25",
"extend": false,
"units": "s",
"reset": "1",
"bytopic": "all",
"name": "",
"x": 1710,
"y": 800,
"wires": [
[
"3f96e7f6.2be8a8"
]
]
},
{
"id": "1461f94b.d876f7",
"type": "ui_button",
"z": "756ed309.7d647c",
"name": "",
"group": "a2c986a9.a857d8",
"order": 3,
"width": 0,
"height": 0,
"passthru": false,
"label": "Amorce circuit Froid",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "str",
"topic": "",
"x": 1480,
"y": 800,
"wires": [
[
"acbac500.2d7ec8"
]
]
},
{
"id": "32138aac.785f26",
"type": "ui_button",
"z": "756ed309.7d647c",
"name": "",
"group": "a2c986a9.a857d8",
"order": 4,
"width": 0,
"height": 0,
"passthru": false,
"label": "Amorce circuit Chaud",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "0",
"payloadType": "str",
"topic": "",
"x": 1480,
"y": 720,
"wires": [
[
"7e08f4ff.0d439c"
]
]
},
{
"id": "8b83ff25.96996",
"type": "rpi-sensehat out",
"z": "756ed309.7d647c",
"name": "",
"x": 1010,
"y": 920,
"wires": []
},
{
"id": "f05fddd1.88f6f",
"type": "function",
"z": "756ed309.7d647c",
"name": "Rotate 180 Text Red Background No Speed 1",
"func": "msg.color = \"red\";\nmsg.background =\"0\" ;\nmsg.speed = \"1\";\nmsg.payload = \"R180\\n\"+msg.payload;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 720,
"y": 920,
"wires": [
[
"8b83ff25.96996"
]
]
},
{
"id": "13713ce2.a9cfc3",
"type": "delay",
"z": "756ed309.7d647c",
"name": "",
"pauseType": "delay",
"timeout": "8",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"x": 600,
"y": 980,
"wires": [
[
"7ad546f5.031758"
]
]
},
{
"id": "7ad546f5.031758",
"type": "function",
"z": "756ed309.7d647c",
"name": "OFF",
"func": "msg.background = \"off\";\nmsg.colour = \"off\";\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 830,
"y": 980,
"wires": [
[
"8b83ff25.96996"
]
]
},
{
"id": "7606b20e.1900cc",
"type": "rpi-ds18b20",
"z": "756ed309.7d647c",
"topic": "FF4D0B851605",
"array": false,
"name": "",
"x": 430,
"y": 920,
"wires": [
[
"f05fddd1.88f6f",
"13713ce2.a9cfc3"
]
]
},
{
"id": "7e4fa775.acd498",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "FF4D0B851605",
"payload": "",
"payloadType": "date",
"repeat": "25",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 180,
"y": 920,
"wires": [
[
"7606b20e.1900cc"
]
]
},
{
"id": "b967622b.29659",
"type": "rpi-sensehat out",
"z": "756ed309.7d647c",
"name": "",
"x": 1090,
"y": 700,
"wires": []
},
{
"id": "5fe5ecaf.bcba54",
"type": "function",
"z": "756ed309.7d647c",
"name": "Rotate 180 Text Red Background Blue Speed 5",
"func": "msg.color = \"red\";\nmsg.background =\"0\" ;\nmsg.speed = \"1\";\nmsg.payload = \"R0\\n\"+msg.payload;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 647.8203582763672,
"y": 699.8717937469482,
"wires": [
[
"b967622b.29659"
]
]
},
{
"id": "57f36e23.23d9f",
"type": "delay",
"z": "756ed309.7d647c",
"name": "",
"pauseType": "delay",
"timeout": "12",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"x": 527.8203544616699,
"y": 758.7606706619263,
"wires": [
[
"71f3feb2.b9433"
]
]
},
{
"id": "71f3feb2.b9433",
"type": "function",
"z": "756ed309.7d647c",
"name": "Rotate 180 Text Red Background Blue Speed 5",
"func": "msg.background = \"off\";\nmsg.colour = \"off\";\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 787.8203544616699,
"y": 758.7606706619263,
"wires": [
[
"b967622b.29659"
]
]
},
{
"id": "535e2998.3dd8a8",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": " ",
"payload": "iTender",
"payloadType": "str",
"repeat": "120",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 160,
"y": 700,
"wires": [
[
"5fe5ecaf.bcba54",
"57f36e23.23d9f"
]
]
},
{
"id": "273ab74b.419948",
"type": "comment",
"z": "756ed309.7d647c",
"name": "Launching the program every 25 seconds",
"info": "",
"x": 160,
"y": 880,
"wires": []
},
{
"id": "2cf48ba3.2ccee4",
"type": "comment",
"z": "756ed309.7d647c",
"name": "Reading the probe",
"info": "",
"x": 430,
"y": 880,
"wires": []
},
{
"id": "a2e3f705.45e9c8",
"type": "comment",
"z": "756ed309.7d647c",
"name": "Setting the display on Sense-Hat",
"info": "",
"x": 710,
"y": 880,
"wires": []
},
{
"id": "9253c3c6.c494e",
"type": "comment",
"z": "756ed309.7d647c",
"name": "View on Sense-Hat",
"info": "",
"x": 1010,
"y": 880,
"wires": []
},
{
"id": "742381b7.45898",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1710,
"y": 680,
"wires": [
[
"ad456b61.ec5778"
]
]
},
{
"id": "696fc765.ffef68",
"type": "change",
"z": "756ed309.7d647c",
"name": "1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 340,
"wires": [
[
"95754ecb.f9c71",
"ad456b61.ec5778",
"14d13dc3.b644c2"
]
]
},
{
"id": "bb25bfe1.bf763",
"type": "change",
"z": "756ed309.7d647c",
"name": "0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 380,
"wires": [
[
"f31f7d33.6d6d1"
]
]
},
{
"id": "efac9124.7057f",
"type": "change",
"z": "756ed309.7d647c",
"name": "1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 420,
"wires": [
[
"f31f7d33.6d6d1"
]
]
},
{
"id": "43ac6c00.586824",
"type": "change",
"z": "756ed309.7d647c",
"name": "0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 460,
"wires": [
[
"dd8473da.694ae"
]
]
},
{
"id": "8a1baf02.fd5a6",
"type": "change",
"z": "756ed309.7d647c",
"name": "1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 500,
"wires": [
[
"dd8473da.694ae"
]
]
},
{
"id": "77bdc1dd.ad571",
"type": "change",
"z": "756ed309.7d647c",
"name": "0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 540,
"wires": [
[
"72bf64b.51a629c"
]
]
},
{
"id": "9a8d7b63.ab8738",
"type": "change",
"z": "756ed309.7d647c",
"name": "1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1270,
"y": 580,
"wires": [
[
"72bf64b.51a629c"
]
]
},
{
"id": "b5fc21e0.b6ca8",
"type": "inject",
"z": "756ed309.7d647c",
"name": "",
"topic": "",
"payload": "0",
"payloadType": "num",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "",
"x": 1730,
"y": 880,
"wires": [
[
"14d13dc3.b644c2"
]
]
},
{
"id": "1f56d09a.bdef1f",
"type": "ui_group",
"z": "",
"name": "Pilotage PID",
"tab": "ffe7e50c.0687a8",
"order": 3,
"disp": true,
"width": "8"
},
{
"id": "98a60638.d33a68",
"type": "ui_group",
"z": "",
"name": "Temperature",
"tab": "ffe7e50c.0687a8",
"order": 1,
"disp": true,
"width": "8"
},
{
"id": "a2c986a9.a857d8",
"type": "ui_group",
"z": "",
"name": "Cooling",
"tab": "ffe7e50c.0687a8",
"order": 2,
"disp": true,
"width": "4"
},
{
"id": "ffe7e50c.0687a8",
"type": "ui_tab",
"z": "",
"name": "Cooling system",
"icon": "dashboard",
"order": 5
}
]
This system is really simple to use, and functional.
iTender #1 Presentation of the project
iTender #2 The cooling unit
iTender #3 Communication with the real world
iTender #4 Drawing up the plans
iTender #5 Building of the electrical part
iTender #6 Finishing building of the electrical part
iTender #7 Building of the cabinet
Top Comments