Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "f688d1a0.6e8e8",
- "type": "mqtt in",
- "z": "e94b6576.d50958",
- "name": "",
- "topic": "gleelights/twitterfeed",
- "qos": "2",
- "broker": "c6e3938e.73397",
- "x": 110,
- "y": 160,
- "wires": [
- [
- "da94a4bb.025cd8",
- "f550de5d.e0c2",
- "a2e7757e.66c938"
- ]
- ]
- },
- {
- "id": "da94a4bb.025cd8",
- "type": "debug",
- "z": "e94b6576.d50958",
- "name": "MQTT",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "payload",
- "x": 350,
- "y": 100,
- "wires": []
- },
- {
- "id": "c08c04ea.3c5e28",
- "type": "mqtt in",
- "z": "e94b6576.d50958",
- "name": "",
- "topic": "cheerlights",
- "qos": "2",
- "broker": "c6e3938e.73397",
- "x": 80,
- "y": 40,
- "wires": [
- [
- "f2862be0.b96818"
- ]
- ]
- },
- {
- "id": "f2862be0.b96818",
- "type": "Blockly",
- "z": "e94b6576.d50958",
- "language": "en",
- "func": "node.status({fill:\"blue\", shape:\"ring\", text:(msg['payload'])});\nreturn msg;\n",
- "workspaceXml": "<xml xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"node_status\" id=\"[rb)l|ZDU/5+a#GwQE4r\" inline=\"false\" x=\"13\" y=\"38\"><field name=\"COLOUR\">#0000FF</field><field name=\"SHAPE\">RING</field><value name=\"TEXT_INPUT\"><block type=\"node_object_get\" id=\"eg:8Y:cUHqVxTVY!=s:$\"><value name=\"object\"><shadow type=\"node_msg\" id=\"PhjU4u7CMYwDSGN!uGZ(\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"p;xbHL^u=0~ueFr,m8{7\"><field name=\"TEXT\">payload</field></shadow></value></block></value><next><block type=\"node_return_message\" id=\"CM~U?E@C5MXW:LdY=)3`\"><field name=\"OUTPUT_NR\">1</field><value name=\"MESSAGE_INPUT\"><shadow type=\"node_msg\" id=\"NESVoy1E:CW.=1pgs*O~\"></shadow></value></block></next></block></xml>",
- "outputs": 1,
- "name": "status",
- "x": 230,
- "y": 40,
- "wires": [
- [
- "e569f6d6.a03ab8"
- ]
- ],
- "icon": "node-red/debug.png"
- },
- {
- "id": "f550de5d.e0c2",
- "type": "change",
- "z": "e94b6576.d50958",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "gleetweets",
- "pt": "flow",
- "to": "payload",
- "tot": "msg"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 130,
- "y": 120,
- "wires": [
- []
- ]
- },
- {
- "id": "c8b1e8f.dff0918",
- "type": "change",
- "z": "e94b6576.d50958",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "gleetweets",
- "tot": "flow"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 120,
- "y": 260,
- "wires": [
- [
- "a2e7757e.66c938",
- "da94a4bb.025cd8"
- ]
- ]
- },
- {
- "id": "8b457f55.1dadb",
- "type": "Blockly",
- "z": "e94b6576.d50958",
- "language": "en",
- "func": "var oldPayload, hexByte, hexDigit, chars, colourList, my_1stNibble, i, red, my_2ndNibble, green, tweetWords, blue, rgb, colours, rgbArray, name2, hashHex, word, colourName, rainbow;\n\nfunction subsequenceFromEndLast(sequence, at1) {\n var start = sequence.length - 1 - at1;\n var end = sequence.length - 1 + 1;\n return sequence.slice(start, end);\n}\n\n/**\n * Describe this function...\n */\nfunction hexByteTo3CharDecString(hexByte) {\n my_1stNibble = hexDigitToDecNum(hexByte.slice(0, 1));\n my_2ndNibble = hexDigitToDecNum(hexByte.slice(1, 2));\n return subsequenceFromEndLast((String('000') + String(my_1stNibble * 16 + my_2ndNibble)), 2);\n}\n\n/**\n * Describe this function...\n */\nfunction hexDigitToDecNum(hexDigit) {\n return ('0123456789abcdef'.indexOf(hexDigit.toLowerCase()) + 1) - 1;\n}\n\n\noldPayload = (msg['payload']['twitterTxt']).toLowerCase();\nchars = (Buffer.from(oldPayload, \"utf8\"));\nvar i_end = (chars.length);\nvar i_inc = 1;\nif (0 > i_end) {\n i_inc = -i_inc;\n}\nfor (i = 0; i_inc >= 0 ? i <= i_end : i >= i_end; i += i_inc) {\n if (!(((chars[i] >= 97) && (chars[i] <= 122)) || (chars[i] == 35) || (chars[i] == 64))) { chars[i] = 32 };\n}\noldPayload = (chars.toString(\"utf8\"));\ntweetWords = oldPayload.split(' ');\ncolours = '{\"aqua\":\"#00FFFF\", \"aliceblue\":\"#F0F8FF\", \"antiquewhite\":\"#FAEBD7\", \"black\":\"#000000\", \"off\":\"#000000\", \"blue\":\"#0000FF\", \"cyan\":\"#00FFFF\", \"darkblue\":\"#00008B\", \"darkcyan\":\"#008B8B\", \"darkgreen\":\"#006400\", \"darkturquoise\":\"#00CED1\", \"deepskyblue\":\"#00BFFF\", \"green\":\"#008000\", \"lime\":\"#00FF00\", \"mediumblue\":\"#0000CD\", \"mediumspringgreen\":\"#00FA9A\", \"navy\":\"#000080\", \"springgreen\":\"#00FF7F\", \"teal\":\"#008080\", \"midnightblue\":\"#191970\", \"dodgerblue\":\"#1E90FF\", \"lightseagreen\":\"#20B2AA\", \"forestgreen\":\"#228B22\", \"seagreen\":\"#2E8B57\", \"darkslategray\":\"#2F4F4F\", \"darkslategrey\":\"#2F4F4F\", \"limegreen\":\"#32CD32\", \"mediumseagreen\":\"#3CB371\", \"turquoise\":\"#40E0D0\", \"royalblue\":\"#4169E1\", \"steelblue\":\"#4682B4\", \"darkslateblue\":\"#483D8B\", \"mediumturquoise\":\"#48D1CC\", \"indigo\":\"#4B0082\", \"darkolivegreen\":\"#556B2F\", \"cadetblue\":\"#5F9EA0\", \"cornflowerblue\":\"#6495ED\", \"mediumaquamarine\":\"#66CDAA\", \"dimgray\":\"#696969\", \"dimgrey\":\"#696969\", \"slateblue\":\"#6A5ACD\", \"olivedrab\":\"#6B8E23\", \"slategray\":\"#708090\", \"slategrey\":\"#708090\", \"lightslategray\":\"#778899\", \"lightslategrey\":\"#778899\", \"mediumslateblue\":\"#7B68EE\", \"lawngreen\":\"#7CFC00\", \"aquamarine\":\"#7FFFD4\", \"chartreuse\":\"#7FFF00\", \"gray\":\"#808080\", \"grey\":\"#808080\", \"maroon\":\"#800000\", \"olive\":\"#808000\", \"purple\":\"#800080\", \"lightskyblue\":\"#87CEFA\", \"skyblue\":\"#87CEEB\", \"blueviolet\":\"#8A2BE2\", \"darkmagenta\":\"#8B008B\", \"darkred\":\"#8B0000\", \"saddlebrown\":\"#8B4513\", \"darkseagreen\":\"#8FBC8F\", \"lightgreen\":\"#90EE90\", \"mediumpurple\":\"#9370DB\", \"darkviolet\":\"#9400D3\", \"palegreen\":\"#98FB98\", \"darkorchid\":\"#9932CC\", \"yellowgreen\":\"#9ACD32\", \"sienna\":\"#A0522D\", \"brown\":\"#A52A2A\", \"darkgray\":\"#A9A9A9\", \"darkgrey\":\"#A9A9A9\", \"greenyellow\":\"#ADFF2F\", \"lightblue\":\"#ADD8E6\", \"paleturquoise\":\"#AFEEEE\", \"lightsteelblue\":\"#B0C4DE\", \"powderblue\":\"#B0E0E6\", \"firebrick\":\"#B22222\", \"darkgoldenrod\":\"#B8860B\", \"mediumorchid\":\"#BA55D3\", \"rosybrown\":\"#BC8F8F\", \"darkkhaki\":\"#BDB76B\", \"silver\":\"#C0C0C0\", \"mediumvioletred\":\"#C71585\", \"indianred\":\"#CD5C5C\", \"peru\":\"#CD853F\", \"chocolate\":\"#D2691E\", \"tan\":\"#D2B48C\", \"lightgray\":\"#D3D3D3\", \"lightgrey\":\"#D3D3D3\", \"thistle\":\"#D8BFD8\", \"goldenrod\":\"#DAA520\", \"orchid\":\"#DA70D6\", \"palevioletred\":\"#DB7093\", \"crimson\":\"#DC143C\", \"gainsboro\":\"#DCDCDC\", \"plum\":\"#DDA0DD\", \"burlywood\":\"#DEB887\", \"lightcyan\":\"#E0FFFF\", \"lavender\":\"#E6E6FA\", \"darksalmon\":\"#E9967A\", \"palegoldenrod\":\"#EEE8AA\", \"violet\":\"#EE82EE\", \"azure\":\"#F0FFFF\", \"honeydew\":\"#F0FFF0\", \"khaki\":\"#F0E68C\", \"lightcoral\":\"#F08080\", \"sandybrown\":\"#F4A460\", \"beige\":\"#F5F5DC\", \"mintcream\":\"#F5FFFA\", \"wheat\":\"#F5DEB3\", \"whitesmoke\":\"#F5F5F5\", \"ghostwhite\":\"#F8F8FF\", \"lightgoldenrodyellow\":\"#FAFAD2\", \"linen\":\"#FAF0E6\", \"salmon\":\"#FA8072\", \"oldlace\":\"#FDF5E6\", \"warmwhite\":\"#FDF5E6\", \"bisque\":\"#FFE4C4\", \"blanchedalmond\":\"#FFEBCD\", \"coral\":\"#FF7F50\", \"cornsilk\":\"#FFF8DC\", \"darkorange\":\"#FF8C00\", \"deeppink\":\"#FF1493\", \"floralwhite\":\"#FFFAF0\", \"fuchsia\":\"#FF00FF\", \"gold\":\"#FFD700\", \"hotpink\":\"#FF69B4\", \"ivory\":\"#FFFFF0\", \"lavenderblush\":\"#FFF0F5\", \"lemonchiffon\":\"#FFFACD\", \"lightpink\":\"#FFB6C1\", \"lightsalmon\":\"#FFA07A\", \"lightyellow\":\"#FFFFE0\", \"magenta\":\"#FF00FF\", \"mistyrose\":\"#FFE4E1\", \"moccasin\":\"#FFE4B5\", \"navajowhite\":\"#FFDEAD\", \"orange\":\"#FFA500\", \"orangered\":\"#FF4500\", \"papayawhip\":\"#FFEFD5\", \"peachpuff\":\"#FFDAB9\", \"pink\":\"#FFC0CB\", \"red\":\"#FF0000\", \"seashell\":\"#FFF5EE\", \"snow\":\"#FFFAFA\", \"tomato\":\"#FF6347\", \"white\":\"#FFFFFF\", \"yellow\":\"#FFFF00\", \"amber\":\"#FFD200\"}';\ncolourList = Object.keys((JSON.parse(colours)));\nnode.status({fill:\"blue\", shape:\"ring\", text:tweetWords});\nfor (var word_index in tweetWords) {\n word = tweetWords[word_index];\n for (var colourName_index in colourList) {\n colourName = colourList[colourName_index];\n if (word == colourName) {\n msg['payload'] = word;\n node.status({fill:\"blue\", shape:\"ring\", text:word});\n node.send([RED.util.cloneMessage(msg)]);\n }\n }\n}\nrainbow = 'red,orange,yellow,green,blue,indigo,violet'.split(',');\nfor (var word_index2 in tweetWords) {\n word = tweetWords[word_index2];\n if (word == 'rainbow') {\n for (var colourName_index2 in rainbow) {\n colourName = rainbow[colourName_index2];\n msg['payload'] = colourName;\n node.status({fill:\"blue\", shape:\"ring\", text:'rainbow'});\n node.send([RED.util.cloneMessage(msg)]);\n }\n }\n}\nreturn;\n\nreturn;\n\nmsg['colour']['red'] = (Math.round(red));\nmsg['colour']['green'] = (Math.round(green));\nmsg['colour']['blue'] = (Math.round(blue));\nmsg['colour']['rgbCSV'] = rgb;\nmsg['colour']['rgbArray'] = rgbArray;\nnode.status({fill:\"grey\", shape:\"dot\", text:([name2,' : ',hashHex].join(''))});\nreturn msg;\n",
- "workspaceXml": "<xml xmlns=\"http://www.w3.org/1999/xhtml\"><variables><variable type=\"\" id=\"dt`(]:3ah]e}]=j?O.CB\">oldPayload</variable><variable type=\"\" id=\"!gE0pj/k#1BE$5V;RsFs\">hexByte</variable><variable type=\"\" id=\"s894]`kf}]NvRv#K.0L~\">hexDigit</variable><variable type=\"\" id=\"Z@/+I,dmOljwGn4?XJ0I\">chars</variable><variable type=\"\" id=\"Ue`|?V[E+~J=c|qE^3Q~\">colourList</variable><variable type=\"\" id=\"R(Uiu@S_V+wqU[aMJh{~\">1stNibble</variable><variable type=\"\" id=\")jU4tpD],qwF{9((T=aQ\">i</variable><variable type=\"\" id=\"$e_g4Y/uz)ZjU,6*s(/*\">red</variable><variable type=\"\" id=\"mHC06}`q!/BUO[Q=:1-V\">2ndNibble</variable><variable type=\"\" id=\"Uz!,}O=3EbJ-]1ggQNU/\">green</variable><variable type=\"\" id=\"_{UTZm+2CzN/j:2~KRI3\">tweetWords</variable><variable type=\"\" id=\"f#,pvT7?USbjZv:LcMs=\">blue</variable><variable type=\"\" id=\"0_G*qALs1N@9M+@EKLdi\">rgb</variable><variable type=\"\" id=\"ptAx+d9l9ZbVi)T+/HY@\">colours</variable><variable type=\"\" id=\"7V@r%k+RBrx]Gb].0Fl1\">rgbArray</variable><variable type=\"\" id=\"sxbc%}7nHPn/onSA*Fzy\">name</variable><variable type=\"\" id=\"h!dTA=W;ak3N^tB8)vmj\">hashHex</variable><variable type=\"\" id=\"A-,$O)LJq:9F9`-d{KHW\">word</variable><variable type=\"\" id=\"rHLUPxBP^=KPRWpZzbus\">colourName</variable><variable type=\"\" id=\"P.-3E~|ZPF.,-Z[HW;J~\">rainbow</variable></variables><block type=\"variables_set\" id=\"!(c]r*z5XB(,/UBlb9%x\" x=\"-87\" y=\"-187\"><field name=\"VAR\" id=\"dt`(]:3ah]e}]=j?O.CB\" variabletype=\"\">oldPayload</field><value name=\"VALUE\"><block type=\"text_changeCase\" id=\"%OTx3yvZ8e0WzEc^0S8`\"><field name=\"CASE\">LOWERCASE</field><value name=\"TEXT\"><shadow type=\"text\" id=\"H;%TdtkZ=286ICC=iE-v\"><field name=\"TEXT\">abc</field></shadow><block type=\"node_object_get\" id=\"$upxOWQ2`DhLN46lIZ)+\"><mutation action=\"GET\"></mutation><field name=\"action\">GET</field><value name=\"object\"><shadow type=\"node_msg\" id=\"]lfnC8;3-PH%@Wi!em@*\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\";1i4mqhnFwx@NjLH};|@\"><field name=\"TEXT\">payload.twitterTxt</field></shadow></value></block></value></block></value><next><block type=\"variables_set\" id=\"8uGD5ug!W?q%,k*#2,is\"><field name=\"VAR\" id=\"Z@/+I,dmOljwGn4?XJ0I\" variabletype=\"\">chars</field><value name=\"VALUE\"><block type=\"buffer_from_string\" id=\"`{A6+@P.W7HuyXXGGiE}\"><field name=\"ENCODING\">utf8</field><value name=\"STRING_INPUT\"><shadow type=\"text\" id=\"@L]#rX9F~-tBR),7;YLl\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"tmvDS;;`4~Xt3~GX34AN\"><field name=\"VAR\" id=\"dt`(]:3ah]e}]=j?O.CB\" variabletype=\"\">oldPayload</field></block></value></block></value><next><block type=\"controls_for\" id=\"7`2W^Os8#a(]IlVj1+jT\"><field name=\"VAR\" id=\")jU4tpD],qwF{9((T=aQ\" variabletype=\"\">i</field><value name=\"FROM\"><shadow type=\"math_number\" id=\"i?3V#e$$}/I=-OFV`#I!\"><field name=\"NUM\">0</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"v26dbbrZ_@l%NSSJ_/E4\"><field name=\"NUM\">10</field></shadow><block type=\"buffer_length\" id=\"@uq@R7ZPh2dtP.0z_$^m\"><value name=\"BUFFER_INPUT\"><shadow type=\"buffer_empty\" id=\"T5a[G!R=bDqFkfxGo;?]\"></shadow><block type=\"variables_get\" id=\"J|Z.COZ;1`^gCQ,y*YGK\"><field name=\"VAR\" id=\"Z@/+I,dmOljwGn4?XJ0I\" variabletype=\"\">chars</field></block></value></block></value><value name=\"BY\"><shadow type=\"math_number\" id=\"IlAF2YElS|h!0CYpGX`-\"><field name=\"NUM\">1</field></shadow></value><statement name=\"DO\"><block type=\"misc_javascript\" id=\"UAGC[sVW:P,S3tJvPY{p\"><value name=\"STATEMENT\"><shadow type=\"text\" id=\"jyaB!2*BYqPy3/J|N0Gp\"><field name=\"TEXT\">if (!(((chars[i] >= 97) && (chars[i] <= 122)) || (chars[i] == 35) || (chars[i] == 64))) { chars[i] = 32 }</field></shadow></value></block></statement><next><block type=\"variables_set\" id=\"#[@$mZt]`C6maP(X-YR9\"><field name=\"VAR\" id=\"dt`(]:3ah]e}]=j?O.CB\" variabletype=\"\">oldPayload</field><value name=\"VALUE\"><block type=\"buffer_to_string\" id=\"|I.rRPXBEPHUJskArgVt\"><field name=\"ENCODING\">utf8</field><value name=\"BUFFER_INPUT\"><shadow type=\"buffer_empty\" id=\"z7}:261G(VT!qNSz`1#o\"></shadow><block type=\"variables_get\" id=\"d2cvb}+5/M$ZA{@9NMnP\"><field name=\"VAR\" id=\"Z@/+I,dmOljwGn4?XJ0I\" variabletype=\"\">chars</field></block></value></block></value><next><block type=\"variables_set\" id=\"y7TLvafE@m=z]9;;[2a_\"><field name=\"VAR\" id=\"_{UTZm+2CzN/j:2~KRI3\" variabletype=\"\">tweetWords</field><value name=\"VALUE\"><block type=\"lists_split\" id=\"OTNfyb29SeN~MB=c~kxe\"><mutation mode=\"SPLIT\"></mutation><field name=\"MODE\">SPLIT</field><value name=\"INPUT\"><block type=\"variables_get\" id=\"9j*Kk3?jTR*UQOIhLL3s\"><field name=\"VAR\" id=\"dt`(]:3ah]e}]=j?O.CB\" variabletype=\"\">oldPayload</field></block></value><value name=\"DELIM\"><shadow type=\"text\" id=\"cYEpb)-?h!V*VP_TqZTi\"><field name=\"TEXT\"> </field></shadow></value></block></value><next><block type=\"variables_set\" id=\"$k1},1#s~(L#p`Kcf-0T\"><field name=\"VAR\" id=\"ptAx+d9l9ZbVi)T+/HY@\" variabletype=\"\">colours</field><value name=\"VALUE\"><block type=\"text\" id=\"^XK}/o@n)!UuDbcE^gBh\"><field name=\"TEXT\">{\"aqua\":\"#00FFFF\", \"aliceblue\":\"#F0F8FF\", \"antiquewhite\":\"#FAEBD7\", \"black\":\"#000000\", \"off\":\"#000000\", \"blue\":\"#0000FF\", \"cyan\":\"#00FFFF\", \"darkblue\":\"#00008B\", \"darkcyan\":\"#008B8B\", \"darkgreen\":\"#006400\", \"darkturquoise\":\"#00CED1\", \"deepskyblue\":\"#00BFFF\", \"green\":\"#008000\", \"lime\":\"#00FF00\", \"mediumblue\":\"#0000CD\", \"mediumspringgreen\":\"#00FA9A\", \"navy\":\"#000080\", \"springgreen\":\"#00FF7F\", \"teal\":\"#008080\", \"midnightblue\":\"#191970\", \"dodgerblue\":\"#1E90FF\", \"lightseagreen\":\"#20B2AA\", \"forestgreen\":\"#228B22\", \"seagreen\":\"#2E8B57\", \"darkslategray\":\"#2F4F4F\", \"darkslategrey\":\"#2F4F4F\", \"limegreen\":\"#32CD32\", \"mediumseagreen\":\"#3CB371\", \"turquoise\":\"#40E0D0\", \"royalblue\":\"#4169E1\", \"steelblue\":\"#4682B4\", \"darkslateblue\":\"#483D8B\", \"mediumturquoise\":\"#48D1CC\", \"indigo\":\"#4B0082\", \"darkolivegreen\":\"#556B2F\", \"cadetblue\":\"#5F9EA0\", \"cornflowerblue\":\"#6495ED\", \"mediumaquamarine\":\"#66CDAA\", \"dimgray\":\"#696969\", \"dimgrey\":\"#696969\", \"slateblue\":\"#6A5ACD\", \"olivedrab\":\"#6B8E23\", \"slategray\":\"#708090\", \"slategrey\":\"#708090\", \"lightslategray\":\"#778899\", \"lightslategrey\":\"#778899\", \"mediumslateblue\":\"#7B68EE\", \"lawngreen\":\"#7CFC00\", \"aquamarine\":\"#7FFFD4\", \"chartreuse\":\"#7FFF00\", \"gray\":\"#808080\", \"grey\":\"#808080\", \"maroon\":\"#800000\", \"olive\":\"#808000\", \"purple\":\"#800080\", \"lightskyblue\":\"#87CEFA\", \"skyblue\":\"#87CEEB\", \"blueviolet\":\"#8A2BE2\", \"darkmagenta\":\"#8B008B\", \"darkred\":\"#8B0000\", \"saddlebrown\":\"#8B4513\", \"darkseagreen\":\"#8FBC8F\", \"lightgreen\":\"#90EE90\", \"mediumpurple\":\"#9370DB\", \"darkviolet\":\"#9400D3\", \"palegreen\":\"#98FB98\", \"darkorchid\":\"#9932CC\", \"yellowgreen\":\"#9ACD32\", \"sienna\":\"#A0522D\", \"brown\":\"#A52A2A\", \"darkgray\":\"#A9A9A9\", \"darkgrey\":\"#A9A9A9\", \"greenyellow\":\"#ADFF2F\", \"lightblue\":\"#ADD8E6\", \"paleturquoise\":\"#AFEEEE\", \"lightsteelblue\":\"#B0C4DE\", \"powderblue\":\"#B0E0E6\", \"firebrick\":\"#B22222\", \"darkgoldenrod\":\"#B8860B\", \"mediumorchid\":\"#BA55D3\", \"rosybrown\":\"#BC8F8F\", \"darkkhaki\":\"#BDB76B\", \"silver\":\"#C0C0C0\", \"mediumvioletred\":\"#C71585\", \"indianred\":\"#CD5C5C\", \"peru\":\"#CD853F\", \"chocolate\":\"#D2691E\", \"tan\":\"#D2B48C\", \"lightgray\":\"#D3D3D3\", \"lightgrey\":\"#D3D3D3\", \"thistle\":\"#D8BFD8\", \"goldenrod\":\"#DAA520\", \"orchid\":\"#DA70D6\", \"palevioletred\":\"#DB7093\", \"crimson\":\"#DC143C\", \"gainsboro\":\"#DCDCDC\", \"plum\":\"#DDA0DD\", \"burlywood\":\"#DEB887\", \"lightcyan\":\"#E0FFFF\", \"lavender\":\"#E6E6FA\", \"darksalmon\":\"#E9967A\", \"palegoldenrod\":\"#EEE8AA\", \"violet\":\"#EE82EE\", \"azure\":\"#F0FFFF\", \"honeydew\":\"#F0FFF0\", \"khaki\":\"#F0E68C\", \"lightcoral\":\"#F08080\", \"sandybrown\":\"#F4A460\", \"beige\":\"#F5F5DC\", \"mintcream\":\"#F5FFFA\", \"wheat\":\"#F5DEB3\", \"whitesmoke\":\"#F5F5F5\", \"ghostwhite\":\"#F8F8FF\", \"lightgoldenrodyellow\":\"#FAFAD2\", \"linen\":\"#FAF0E6\", \"salmon\":\"#FA8072\", \"oldlace\":\"#FDF5E6\", \"warmwhite\":\"#FDF5E6\", \"bisque\":\"#FFE4C4\", \"blanchedalmond\":\"#FFEBCD\", \"coral\":\"#FF7F50\", \"cornsilk\":\"#FFF8DC\", \"darkorange\":\"#FF8C00\", \"deeppink\":\"#FF1493\", \"floralwhite\":\"#FFFAF0\", \"fuchsia\":\"#FF00FF\", \"gold\":\"#FFD700\", \"hotpink\":\"#FF69B4\", \"ivory\":\"#FFFFF0\", \"lavenderblush\":\"#FFF0F5\", \"lemonchiffon\":\"#FFFACD\", \"lightpink\":\"#FFB6C1\", \"lightsalmon\":\"#FFA07A\", \"lightyellow\":\"#FFFFE0\", \"magenta\":\"#FF00FF\", \"mistyrose\":\"#FFE4E1\", \"moccasin\":\"#FFE4B5\", \"navajowhite\":\"#FFDEAD\", \"orange\":\"#FFA500\", \"orangered\":\"#FF4500\", \"papayawhip\":\"#FFEFD5\", \"peachpuff\":\"#FFDAB9\", \"pink\":\"#FFC0CB\", \"red\":\"#FF0000\", \"seashell\":\"#FFF5EE\", \"snow\":\"#FFFAFA\", \"tomato\":\"#FF6347\", \"white\":\"#FFFFFF\", \"yellow\":\"#FFFF00\", \"amber\":\"#FFD200\"}</field></block></value><next><block type=\"variables_set\" id=\"V*hs%7W~Ln=xX0l6}@v)\"><field name=\"VAR\" id=\"Ue`|?V[E+~J=c|qE^3Q~\" variabletype=\"\">colourList</field><value name=\"VALUE\"><block type=\"object_keys\" id=\"}U8o9OSH-I,Fg,Nr}M#S\"><value name=\"object_input\"><shadow type=\"node_msg\" id=\"Y+/KnFw8=!3^Jv8t98`u\"></shadow><block type=\"object_from_json\" id=\"mNLU+G^/~eLH{^XUwZ_:\"><value name=\"JSON\"><shadow type=\"text\" id=\"9#xVo#|GrHYt3.l4~G|$\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"Mo^3c)kno=6avWaUtzg.\"><field name=\"VAR\" id=\"ptAx+d9l9ZbVi)T+/HY@\" variabletype=\"\">colours</field></block></value></block></value></block></value><next><block type=\"node_status\" id=\"YtnLmzA%_0{])|}Hw-v+\"><field name=\"COLOUR\">#0000FF</field><field name=\"SHAPE\">RING</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"4Isqq5OB0%y^Q5Ztc}Vf\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"8/pttSC,/83L?(_W7;-]\"><field name=\"VAR\" id=\"_{UTZm+2CzN/j:2~KRI3\" variabletype=\"\">tweetWords</field></block></value><next><block type=\"controls_forEach\" id=\"Wu:/+gE}bIkm`i7iu=X*\"><field name=\"VAR\" id=\"A-,$O)LJq:9F9`-d{KHW\" variabletype=\"\">word</field><value name=\"LIST\"><block type=\"variables_get\" id=\"uq$dPSc1M7USnI/Y#y1i\"><field name=\"VAR\" id=\"_{UTZm+2CzN/j:2~KRI3\" variabletype=\"\">tweetWords</field></block></value><statement name=\"DO\"><block type=\"controls_forEach\" id=\":ogO{e1io_1@rSf,97z,\"><field name=\"VAR\" id=\"rHLUPxBP^=KPRWpZzbus\" variabletype=\"\">colourName</field><value name=\"LIST\"><block type=\"variables_get\" id=\"#AE0d-pJ}nX$1okG/`hb\"><field name=\"VAR\" id=\"Ue`|?V[E+~J=c|qE^3Q~\" variabletype=\"\">colourList</field></block></value><statement name=\"DO\"><block type=\"controls_if\" id=\"]EPRG@8pV%fv+M^zBze+\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"k^jx17.3?W9@.O)BKq@K\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"D64nsZsVyKL;fqc%im}c\"><field name=\"VAR\" id=\"A-,$O)LJq:9F9`-d{KHW\" variabletype=\"\">word</field></block></value><value name=\"B\"><block type=\"variables_get\" id=\"OpVX]{5;m?^eas+,~@A9\"><field name=\"VAR\" id=\"rHLUPxBP^=KPRWpZzbus\" variabletype=\"\">colourName</field></block></value></block></value><statement name=\"DO0\"><block type=\"node_object_set\" id=\"$9DM@w6:oJye9tU@S;qO\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"h*SdIPv)H?*i9*rey.`8\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"4Apc{ZfaEg}uk|,|+68f\"><field name=\"TEXT\">payload</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"AyJR02jMTc?H[gOMqdTt\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"}u7oouR.D?]V|E@Gmt*N\"><field name=\"VAR\" id=\"A-,$O)LJq:9F9`-d{KHW\" variabletype=\"\">word</field></block></value><next><block type=\"node_status\" id=\"cIosmR68DE~N^_^g`DpA\"><field name=\"COLOUR\">#0000FF</field><field name=\"SHAPE\">RING</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"sUO:[%0{,9ONc^gtur!G\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"OdN4U5g@!e5w8wPCQQ|m\"><field name=\"VAR\" id=\"A-,$O)LJq:9F9`-d{KHW\" variabletype=\"\">word</field></block></value><next><block type=\"node_send\" id=\"fK}@jB!:;s9d%vWm:Og_\"><field name=\"OUTPUT_NR\">1</field><value name=\"MESSAGE_INPUT\"><shadow type=\"node_msg\" id=\"Nsd==nk]lMF7=(}!|+TO\"></shadow><block type=\"node_clone\" id=\"%Y+6:49^T4obB9Hj/{89\"><value name=\"OBJECT_INPUT\"><shadow type=\"node_msg\" id=\"U~.vkxfxc^KyPRV+Rw`w\"></shadow></value></block></value></block></next></block></next></block></statement></block></statement></block></statement><next><block type=\"variables_set\" id=\"[NI]Nq(rS%QcA^B12!`!\"><field name=\"VAR\" id=\"P.-3E~|ZPF.,-Z[HW;J~\" variabletype=\"\">rainbow</field><value name=\"VALUE\"><block type=\"lists_split\" id=\"$Pa_DZtMhhasNh//F/+y\"><mutation mode=\"SPLIT\"></mutation><field name=\"MODE\">SPLIT</field><value name=\"INPUT\"><block type=\"text\" id=\"p/nk19-n-N3Gam$uRNoW\"><field name=\"TEXT\">red,orange,yellow,green,blue,indigo,violet</field></block></value><value name=\"DELIM\"><shadow type=\"text\" id=\"#[)-YMoo}b`4Zd/{D0g1\"><field name=\"TEXT\">,</field></shadow></value></block></value><next><block type=\"controls_forEach\" id=\"WV=C?U@N~Gq|s^L@eRg]\"><field name=\"VAR\" id=\"A-,$O)LJq:9F9`-d{KHW\" variabletype=\"\">word</field><value name=\"LIST\"><block type=\"variables_get\" id=\"/PKCU4HzGy5LxE{Ys5q^\"><field name=\"VAR\" id=\"_{UTZm+2CzN/j:2~KRI3\" variabletype=\"\">tweetWords</field></block></value><statement name=\"DO\"><block type=\"controls_if\" id=\"U(cu$n*x468[VjQ=U/P-\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"l?)y))o[0fm.(|NK[.),\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"ZI7e37jGn~clB$%.:e}~\"><field name=\"VAR\" id=\"A-,$O)LJq:9F9`-d{KHW\" variabletype=\"\">word</field></block></value><value name=\"B\"><block type=\"text\" id=\"DQY!U!WOx*o;G)k9;utI\"><field name=\"TEXT\">rainbow</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_forEach\" id=\"^rM0[m~^D;bk]$vjiZlh\"><field name=\"VAR\" id=\"rHLUPxBP^=KPRWpZzbus\" variabletype=\"\">colourName</field><value name=\"LIST\"><block type=\"variables_get\" id=\",0VM,t=0FJ?Z9HKHOJ-f\"><field name=\"VAR\" id=\"P.-3E~|ZPF.,-Z[HW;J~\" variabletype=\"\">rainbow</field></block></value><statement name=\"DO\"><block type=\"node_object_set\" id=\"Hs%uOO4$!o]6vC%A/H_5\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"H-pJ^Y/a!xU;V-D`FY0d\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"~Au$/KRCr+OA.67%.?QX\"><field name=\"TEXT\">payload</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"AyJR02jMTc?H[gOMqdTt\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"k)*0IptP|Xsolqu,P[1S\"><field name=\"VAR\" id=\"rHLUPxBP^=KPRWpZzbus\" variabletype=\"\">colourName</field></block></value><next><block type=\"node_status\" id=\"Jd2(+|-K;;C!C_n2@+Yn\"><field name=\"COLOUR\">#0000FF</field><field name=\"SHAPE\">RING</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"sUO:[%0{,9ONc^gtur!G\"><field name=\"TEXT\">rainbow</field></shadow></value><next><block type=\"node_send\" id=\"4UlDs`,w)/,UO3R-IPs3\"><field name=\"OUTPUT_NR\">1</field><value name=\"MESSAGE_INPUT\"><shadow type=\"node_msg\" id=\"o-q|lrwE6Xq,rKoTAD;m\"></shadow><block type=\"node_clone\" id=\"i?CWrhFjm:,e=d0qKwQK\"><value name=\"OBJECT_INPUT\"><shadow type=\"node_msg\" id=\"}6dmR.+I36u`=XxioO#B\"></shadow></value></block></value></block></next></block></next></block></statement></block></statement></block></statement><next><block type=\"node_return\" id=\"Fc`1Lv9F]fTe-FsKYHYF\"></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"node_status\" id=\"k6`GD^)!g:s#7hE#P4k5\" disabled=\"true\" x=\"32\" y=\"1316\"><field name=\"COLOUR\">#0000FF</field><field name=\"SHAPE\">RING</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"4Isqq5OB0%y^Q5Ztc}Vf\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"X[.c96R%}J)^4:o,HW]J\"><field name=\"VAR\" id=\"Ue`|?V[E+~J=c|qE^3Q~\" variabletype=\"\">colourList</field></block></value></block><block type=\"node_return\" id=\"v9;B8`@pgnVUyf=o!R;M\" x=\"13\" y=\"1363\"></block><block type=\"node_object_set\" id=\"BvI8%/h{;Lj7xfPfXOH^\" inline=\"true\" x=\"13\" y=\"1413\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\";7O5SA]GW,%F?YO9X27V\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"vEE3L1yjx*Tb.72K/C)2\"><field name=\"TEXT\">colour.red</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"math_round\" id=\"+}Q6fBN(QEk]YtWjOilW\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"QrS|KurSZ#?J79oK0GK{\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"_nZn]i7md}hm;FJ*;$+@\"><field name=\"VAR\" id=\"$e_g4Y/uz)ZjU,6*s(/*\" variabletype=\"\">red</field></block></value></block></value><next><block type=\"node_object_set\" id=\"/Oo|?mFOW2[:Xy,uL)GM\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"Fm.n:4%CZs#d=owdXW5$\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"?/l1%lF*Hl?|@_=W=*6l\"><field name=\"TEXT\">colour.green</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"math_round\" id=\"SXH,lXE|L/V@gDyPSwNH\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"j!`,.xV/pt=ii`})hreN\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"BR[qy^0oWgN8S]zv5Zhc\"><field name=\"VAR\" id=\"Uz!,}O=3EbJ-]1ggQNU/\" variabletype=\"\">green</field></block></value></block></value><next><block type=\"node_object_set\" id=\"t_JqamAw~9|OQ.x(2N2t\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"50ng$W#oH{eqc|b:GB_A\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"ZL7-c^2?1|oV9G$6VFKn\"><field name=\"TEXT\">colour.blue</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"math_round\" id=\"_``)L7)}J,%sCiQkz@-.\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"fd6qOOoJ*xR|`zqyo8Zj\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"=vsv6t)gcowm2^|MMKKm\"><field name=\"VAR\" id=\"f#,pvT7?USbjZv:LcMs=\" variabletype=\"\">blue</field></block></value></block></value><next><block type=\"node_object_set\" id=\"xzi?3`*Z?,nic;R?re/I\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"tol+x9wtEQ#?8aB.0J91\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"nG_5P;.{57Pu~,uW96W[\"><field name=\"TEXT\">colour.rgbCSV</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"#$n+5aARPMR(re[)?$84\"><field name=\"VAR\" id=\"0_G*qALs1N@9M+@EKLdi\" variabletype=\"\">rgb</field></block></value><next><block type=\"node_object_set\" id=\"]_mM=;W#qn?#eqt]RFk*\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"Me[{WD^mvQPl`@0(%;tx\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"Kw{]i,|;yUFC-!AL6bY^\"><field name=\"TEXT\">colour.rgbArray</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"Gbwbn~Ne#]|cCYh|dQM}\"><field name=\"VAR\" id=\"7V@r%k+RBrx]Gb].0Fl1\" variabletype=\"\">rgbArray</field></block></value><next><block type=\"node_status\" id=\"dUuF~SvfRR(tp%N=Dj_K\"><field name=\"COLOUR\">#888888</field><field name=\"SHAPE\">DOT</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"?XZjWC.OtJ_2*ivlS8sY\"><field name=\"TEXT\"></field></shadow><block type=\"text_join\" id=\"yRpIKrLU25N}j(#I^k)X\" inline=\"true\"><mutation items=\"3\"></mutation><value name=\"ADD0\"><block type=\"variables_get\" id=\"S={uGkUzk:1UF9H|4rAZ\"><field name=\"VAR\" id=\"sxbc%}7nHPn/onSA*Fzy\" variabletype=\"\">name</field></block></value><value name=\"ADD1\"><block type=\"text\" id=\"j[SRc[^8V:eS.39]80Q)\"><field name=\"TEXT\"> : </field></block></value><value name=\"ADD2\"><block type=\"variables_get\" id=\")Q+(3l6BeuE/Vdj1l13b\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value></block></value><next><block type=\"node_return_message\" id=\"/f*Q[2B2Ql1/:lI?vTw`\"><field name=\"OUTPUT_NR\">1</field><value name=\"MESSAGE_INPUT\"><shadow type=\"node_msg\" id=\"vAfx[tg{PH1lhjWD$#8w\"></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_defreturn\" id=\"p_Uc_dG$pvh;eXI$?.s8\" x=\"13\" y=\"1713\"><mutation><arg name=\"hexByte\" varid=\"!gE0pj/k#1BE$5V;RsFs\"></arg></mutation><field name=\"NAME\">hexByteTo3CharDecString</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"variables_set\" id=\"h:}{s9lAUg#nvj,,l|Yt\"><field name=\"VAR\" id=\"R(Uiu@S_V+wqU[aMJh{~\" variabletype=\"\">1stNibble</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"#eh,Pi`={{9.UHHWN%vA\"><mutation name=\"hexDigitToDecNum\"><arg name=\"hexDigit\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"aWwpByXZR@I*hk!+/PL7\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"*xb~5SI%:n?d)jv$f2`B\"><field name=\"VAR\" id=\"!gE0pj/k#1BE$5V;RsFs\" variabletype=\"\">hexByte</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"31EHD2MDzmi4OBDi6^/o\"><field name=\"NUM\">1</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"}tl??uCG4QW/SmGzyO0e\"><field name=\"NUM\">1</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"48r6xp1+Lzv*G+H1^5+G\"><field name=\"VAR\" id=\"mHC06}`q!/BUO[Q=:1-V\" variabletype=\"\">2ndNibble</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"MP0KriY=Y-jzb/Y#k!jV\"><mutation name=\"hexDigitToDecNum\"><arg name=\"hexDigit\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"q9x9btgsWT{|}1N^]R8Q\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"41+6J)9yU)yba141vGf#\"><field name=\"VAR\" id=\"!gE0pj/k#1BE$5V;RsFs\" variabletype=\"\">hexByte</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"Ya~es2mQbAGycy(Cz[Qj\"><field name=\"NUM\">2</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"+_L$/I}S@c%|5.rJ{$Nd\"><field name=\"NUM\">2</field></block></value></block></value></block></value></block></next></block></statement><value name=\"RETURN\"><block type=\"text_getSubstring\" id=\"^;LZQzjBWJ$yNLs|,+HG\" inline=\"false\"><mutation at1=\"true\" at2=\"false\"></mutation><field name=\"WHERE1\">FROM_END</field><field name=\"WHERE2\">LAST</field><value name=\"STRING\"><block type=\"text_join\" id=\"4J#~.wr:8L6lW]/(L7k|\" inline=\"false\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><block type=\"text\" id=\"K_W|%}(rMlg$jo_Tn5|V\"><field name=\"TEXT\">000</field></block></value><value name=\"ADD1\"><block type=\"math_arithmetic\" id=\"U+CH/6XVL8eE{=SapA9O\"><field name=\"OP\">ADD</field><value name=\"A\"><shadow type=\"math_number\" id=\"d]0xCzwl[mw}X%8%6)PX\"><field name=\"NUM\">1</field></shadow><block type=\"math_arithmetic\" id=\"i;.8EH?^LO;?(lQ=weor\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"bKfMXEAICt}4}7*K);Y_\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"VLG5Q+NuZK`DYHhCrB2P\"><field name=\"VAR\" id=\"R(Uiu@S_V+wqU[aMJh{~\" variabletype=\"\">1stNibble</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"A|qP{ixaTl2v%!@goeH0\"><field name=\"NUM\">16</field></shadow></value></block></value><value name=\"B\"><shadow type=\"math_number\" id=\")Ud!{2E6Ie/TQ,6Mf,2w\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"A/UH+/iE(2X!W|SaHQ:V\"><field name=\"VAR\" id=\"mHC06}`q!/BUO[Q=:1-V\" variabletype=\"\">2ndNibble</field></block></value></block></value></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"SzeCPTS=BZ?Q#E7s$ycw\"><field name=\"NUM\">3</field></block></value></block></value></block><block type=\"procedures_defreturn\" id=\"fg*kMY(Tn:bm1wRys#P1\" x=\"13\" y=\"2013\"><mutation><arg name=\"hexDigit\" varid=\"s894]`kf}]NvRv#K.0L~\"></arg></mutation><field name=\"NAME\">hexDigitToDecNum</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><value name=\"RETURN\"><block type=\"math_arithmetic\" id=\"8n6!nXq4C:T2sK2]#2@I\"><field name=\"OP\">MINUS</field><value name=\"A\"><shadow type=\"math_number\" id=\"ICt7u4/%qEO8nx#WNBPx\"><field name=\"NUM\">1</field></shadow><block type=\"text_indexOf\" id=\"Tb4t$U6B%{t.~c7Bm7$l\"><field name=\"END\">FIRST</field><value name=\"VALUE\"><block type=\"text\" id=\"T%VPjkY1Sdk%/1^0.Q(d\"><field name=\"TEXT\">0123456789abcdef</field></block></value><value name=\"FIND\"><shadow type=\"text\" id=\".P9c@j{sL1A-+TnHo8#*\"><field name=\"TEXT\">abc</field></shadow><block type=\"text_changeCase\" id=\"-:5g_L_JNto5YyuCgF18\"><field name=\"CASE\">LOWERCASE</field><value name=\"TEXT\"><shadow type=\"text\" id=\"_L0PjaAi/TF/@WSCYp~m\"><field name=\"TEXT\">abc</field></shadow><block type=\"variables_get\" id=\"yq^A[K`U`BRk13l#_8$D\"><field name=\"VAR\" id=\"s894]`kf}]NvRv#K.0L~\" variabletype=\"\">hexDigit</field></block></value></block></value></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"~EG@X%Fu5Dg*`H,fv4Lc\"><field name=\"NUM\">1</field></shadow></value></block></value></block></xml>",
- "outputs": 1,
- "name": "parseColours",
- "x": 710,
- "y": 160,
- "wires": [
- [
- "e569f6d6.a03ab8"
- ]
- ]
- },
- {
- "id": "6695b2a0.016dcc",
- "type": "debug",
- "z": "e94b6576.d50958",
- "name": "WORDS",
- "active": false,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "payload",
- "x": 1300,
- "y": 80,
- "wires": []
- },
- {
- "id": "a2e7757e.66c938",
- "type": "json",
- "z": "e94b6576.d50958",
- "name": "",
- "property": "payload",
- "action": "obj",
- "pretty": false,
- "x": 510,
- "y": 160,
- "wires": [
- [
- "8b457f55.1dadb"
- ]
- ]
- },
- {
- "id": "db756cc7.f41cd",
- "type": "mqtt out",
- "z": "e94b6576.d50958",
- "name": "",
- "topic": "gleelights/colour",
- "qos": "2",
- "retain": "true",
- "broker": "b9d6814b.a4e0a",
- "x": 1260,
- "y": 200,
- "wires": []
- },
- {
- "id": "a40fae41.2bf0c",
- "type": "debug",
- "z": "e94b6576.d50958",
- "name": "WORDS",
- "active": false,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "true",
- "x": 1300,
- "y": 40,
- "wires": []
- },
- {
- "id": "c7b9f064.6e697",
- "type": "Blockly",
- "z": "e94b6576.d50958",
- "language": "en",
- "func": "var name2, hexByte, hexDigit, colours, my_1stNibble, hashHex, my_2ndNibble, red, green, blue, rgb, rgbArray;\n\nfunction subsequenceFromEndLast(sequence, at1) {\n var start = sequence.length - 1 - at1;\n var end = sequence.length - 1 + 1;\n return sequence.slice(start, end);\n}\n\n/**\n * Describe this function...\n */\nfunction hexByteTo3CharDecString(hexByte) {\n my_1stNibble = hexDigitToDecNum(hexByte.slice(0, 1));\n my_2ndNibble = hexDigitToDecNum(hexByte.slice(1, 2));\n return subsequenceFromEndLast((String('000') + String(my_1stNibble * 16 + my_2ndNibble)), 2);\n}\n\n/**\n * Describe this function...\n */\nfunction hexDigitToDecNum(hexDigit) {\n return ('0123456789abcdef'.indexOf(hexDigit.toLowerCase()) + 1) - 1;\n}\n\n\nname2 = (msg['payload']);\ncolours = '{\"aqua\":\"#00FFFF\", \"aliceblue\":\"#F0F8FF\", \"antiquewhite\":\"#FAEBD7\", \"blue\":\"#0000FF\", \"cyan\":\"#00FFFF\", \"darkblue\":\"#00008B\", \"darkcyan\":\"#008B8B\", \"darkgreen\":\"#006400\", \"darkturquoise\":\"#00CED1\", \"deepskyblue\":\"#00BFFF\", \"green\":\"#008000\", \"lime\":\"#00FF00\", \"mediumblue\":\"#0000CD\", \"mediumspringgreen\":\"#00FA9A\", \"navy\":\"#000080\", \"springgreen\":\"#00FF7F\", \"teal\":\"#008080\", \"midnightblue\":\"#191970\", \"dodgerblue\":\"#1E90FF\", \"lightseagreen\":\"#20B2AA\", \"forestgreen\":\"#228B22\", \"seagreen\":\"#2E8B57\", \"darkslategray\":\"#2F4F4F\", \"darkslategrey\":\"#2F4F4F\", \"limegreen\":\"#32CD32\", \"mediumseagreen\":\"#3CB371\", \"turquoise\":\"#40E0D0\", \"royalblue\":\"#4169E1\", \"steelblue\":\"#4682B4\", \"darkslateblue\":\"#483D8B\", \"mediumturquoise\":\"#48D1CC\", \"indigo\":\"#4B0082\", \"darkolivegreen\":\"#556B2F\", \"cadetblue\":\"#5F9EA0\", \"cornflowerblue\":\"#6495ED\", \"mediumaquamarine\":\"#66CDAA\", \"dimgray\":\"#696969\", \"dimgrey\":\"#696969\", \"slateblue\":\"#6A5ACD\", \"olivedrab\":\"#6B8E23\", \"slategray\":\"#708090\", \"slategrey\":\"#708090\", \"lightslategray\":\"#778899\", \"lightslategrey\":\"#778899\", \"mediumslateblue\":\"#7B68EE\", \"lawngreen\":\"#7CFC00\", \"aquamarine\":\"#7FFFD4\", \"chartreuse\":\"#7FFF00\", \"gray\":\"#808080\", \"grey\":\"#808080\", \"maroon\":\"#800000\", \"olive\":\"#808000\", \"purple\":\"#800080\", \"lightskyblue\":\"#87CEFA\", \"skyblue\":\"#87CEEB\", \"blueviolet\":\"#8A2BE2\", \"darkmagenta\":\"#8B008B\", \"darkred\":\"#8B0000\", \"saddlebrown\":\"#8B4513\", \"darkseagreen\":\"#8FBC8F\", \"lightgreen\":\"#90EE90\", \"mediumpurple\":\"#9370DB\", \"darkviolet\":\"#9400D3\", \"palegreen\":\"#98FB98\", \"darkorchid\":\"#9932CC\", \"yellowgreen\":\"#9ACD32\", \"sienna\":\"#A0522D\", \"brown\":\"#A52A2A\", \"darkgray\":\"#A9A9A9\", \"darkgrey\":\"#A9A9A9\", \"greenyellow\":\"#ADFF2F\", \"lightblue\":\"#ADD8E6\", \"paleturquoise\":\"#AFEEEE\", \"lightsteelblue\":\"#B0C4DE\", \"powderblue\":\"#B0E0E6\", \"firebrick\":\"#B22222\", \"darkgoldenrod\":\"#B8860B\", \"mediumorchid\":\"#BA55D3\", \"rosybrown\":\"#BC8F8F\", \"darkkhaki\":\"#BDB76B\", \"silver\":\"#C0C0C0\", \"mediumvioletred\":\"#C71585\", \"indianred\":\"#CD5C5C\", \"peru\":\"#CD853F\", \"chocolate\":\"#D2691E\", \"tan\":\"#D2B48C\", \"lightgray\":\"#D3D3D3\", \"lightgrey\":\"#D3D3D3\", \"thistle\":\"#D8BFD8\", \"goldenrod\":\"#DAA520\", \"orchid\":\"#DA70D6\", \"palevioletred\":\"#DB7093\", \"crimson\":\"#DC143C\", \"gainsboro\":\"#DCDCDC\", \"plum\":\"#DDA0DD\", \"burlywood\":\"#DEB887\", \"lightcyan\":\"#E0FFFF\", \"lavender\":\"#E6E6FA\", \"darksalmon\":\"#E9967A\", \"palegoldenrod\":\"#EEE8AA\", \"violet\":\"#EE82EE\", \"azure\":\"#F0FFFF\", \"honeydew\":\"#F0FFF0\", \"khaki\":\"#F0E68C\", \"lightcoral\":\"#F08080\", \"sandybrown\":\"#F4A460\", \"beige\":\"#F5F5DC\", \"mintcream\":\"#F5FFFA\", \"wheat\":\"#F5DEB3\", \"whitesmoke\":\"#F5F5F5\", \"ghostwhite\":\"#F8F8FF\", \"lightgoldenrodyellow\":\"#FAFAD2\", \"linen\":\"#FAF0E6\", \"salmon\":\"#FA8072\", \"oldlace\":\"#FDF5E6\", \"warmwhite\":\"#FDF5E6\", \"bisque\":\"#FFE4C4\", \"blanchedalmond\":\"#FFEBCD\", \"coral\":\"#FF7F50\", \"cornsilk\":\"#FFF8DC\", \"darkorange\":\"#FF8C00\", \"deeppink\":\"#FF1493\", \"floralwhite\":\"#FFFAF0\", \"fuchsia\":\"#FF00FF\", \"gold\":\"#FFD700\", \"hotpink\":\"#FF69B4\", \"ivory\":\"#FFFFF0\", \"lavenderblush\":\"#FFF0F5\", \"lemonchiffon\":\"#FFFACD\", \"lightpink\":\"#FFB6C1\", \"lightsalmon\":\"#FFA07A\", \"lightyellow\":\"#FFFFE0\", \"magenta\":\"#FF00FF\", \"mistyrose\":\"#FFE4E1\", \"moccasin\":\"#FFE4B5\", \"navajowhite\":\"#FFDEAD\", \"orange\":\"#FFA500\", \"orangered\":\"#FF4500\", \"papayawhip\":\"#FFEFD5\", \"peachpuff\":\"#FFDAB9\", \"pink\":\"#FFC0CB\", \"red\":\"#FF0000\", \"seashell\":\"#FFF5EE\", \"snow\":\"#FFFAFA\", \"tomato\":\"#FF6347\", \"white\":\"#FFFFFF\", \"yellow\":\"#FFFF00\", \"amber\":\"#FFD200\"}';\nhashHex = ((JSON.parse(colours))[name2]);\nif (hashHex != null) {\n node.status({fill:\"blue\", shape:\"ring\", text:hashHex});\n red = hexByteTo3CharDecString(hashHex.slice(1, 3));\n green = hexByteTo3CharDecString(hashHex.slice(3, 5));\n blue = hexByteTo3CharDecString(hashHex.slice(5, 7));\n rgb = [red,',',green,',',blue].join('');\n rgbArray = [Math.round(red), Math.round(green), Math.round(blue)];\n msg['colour'] = (JSON.parse('{}'));\n msg['colour']['name'] = name2;\n msg['colour']['hex'] = (hashHex.slice(0, hashHex.length));\n msg['colour']['red'] = (Math.round(red));\n msg['colour']['green'] = (Math.round(green));\n msg['colour']['blue'] = (Math.round(blue));\n msg['colour']['rgbCSV'] = rgb;\n msg['colour']['rgbArray'] = rgbArray;\n node.status({fill:\"grey\", shape:\"dot\", text:([name2,' : ',hashHex].join(''))});\n return msg;\n} else {\n node.status({fill:\"red\", shape:\"dot\", text:'Unrecognised colour'});\n}\nreturn;\n",
- "workspaceXml": "<xml xmlns=\"http://www.w3.org/1999/xhtml\"><variables><variable type=\"\" id=\"sxbc%}7nHPn/onSA*Fzy\">name</variable><variable type=\"\" id=\"!gE0pj/k#1BE$5V;RsFs\">hexByte</variable><variable type=\"\" id=\"s894]`kf}]NvRv#K.0L~\">hexDigit</variable><variable type=\"\" id=\"ptAx+d9l9ZbVi)T+/HY@\">colours</variable><variable type=\"\" id=\"R(Uiu@S_V+wqU[aMJh{~\">1stNibble</variable><variable type=\"\" id=\"h!dTA=W;ak3N^tB8)vmj\">hashHex</variable><variable type=\"\" id=\"mHC06}`q!/BUO[Q=:1-V\">2ndNibble</variable><variable type=\"\" id=\"$e_g4Y/uz)ZjU,6*s(/*\">red</variable><variable type=\"\" id=\"Uz!,}O=3EbJ-]1ggQNU/\">green</variable><variable type=\"\" id=\"f#,pvT7?USbjZv:LcMs=\">blue</variable><variable type=\"\" id=\"0_G*qALs1N@9M+@EKLdi\">rgb</variable><variable type=\"\" id=\"7V@r%k+RBrx]Gb].0Fl1\">rgbArray</variable></variables><block type=\"variables_set\" id=\"y7TLvafE@m=z]9;;[2a_\" x=\"-687\" y=\"-362\"><field name=\"VAR\" id=\"sxbc%}7nHPn/onSA*Fzy\" variabletype=\"\">name</field><value name=\"VALUE\"><block type=\"node_object_get\" id=\"$upxOWQ2`DhLN46lIZ)+\"><mutation action=\"GET\"></mutation><field name=\"action\">GET</field><value name=\"object\"><shadow type=\"node_msg\" id=\"]lfnC8;3-PH%@Wi!em@*\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\";1i4mqhnFwx@NjLH};|@\"><field name=\"TEXT\">payload</field></shadow></value></block></value><next><block type=\"variables_set\" id=\"$k1},1#s~(L#p`Kcf-0T\"><field name=\"VAR\" id=\"ptAx+d9l9ZbVi)T+/HY@\" variabletype=\"\">colours</field><value name=\"VALUE\"><block type=\"text\" id=\"^XK}/o@n)!UuDbcE^gBh\"><field name=\"TEXT\">{\"aqua\":\"#00FFFF\", \"aliceblue\":\"#F0F8FF\", \"antiquewhite\":\"#FAEBD7\", \"blue\":\"#0000FF\", \"cyan\":\"#00FFFF\", \"darkblue\":\"#00008B\", \"darkcyan\":\"#008B8B\", \"darkgreen\":\"#006400\", \"darkturquoise\":\"#00CED1\", \"deepskyblue\":\"#00BFFF\", \"green\":\"#008000\", \"lime\":\"#00FF00\", \"mediumblue\":\"#0000CD\", \"mediumspringgreen\":\"#00FA9A\", \"navy\":\"#000080\", \"springgreen\":\"#00FF7F\", \"teal\":\"#008080\", \"midnightblue\":\"#191970\", \"dodgerblue\":\"#1E90FF\", \"lightseagreen\":\"#20B2AA\", \"forestgreen\":\"#228B22\", \"seagreen\":\"#2E8B57\", \"darkslategray\":\"#2F4F4F\", \"darkslategrey\":\"#2F4F4F\", \"limegreen\":\"#32CD32\", \"mediumseagreen\":\"#3CB371\", \"turquoise\":\"#40E0D0\", \"royalblue\":\"#4169E1\", \"steelblue\":\"#4682B4\", \"darkslateblue\":\"#483D8B\", \"mediumturquoise\":\"#48D1CC\", \"indigo\":\"#4B0082\", \"darkolivegreen\":\"#556B2F\", \"cadetblue\":\"#5F9EA0\", \"cornflowerblue\":\"#6495ED\", \"mediumaquamarine\":\"#66CDAA\", \"dimgray\":\"#696969\", \"dimgrey\":\"#696969\", \"slateblue\":\"#6A5ACD\", \"olivedrab\":\"#6B8E23\", \"slategray\":\"#708090\", \"slategrey\":\"#708090\", \"lightslategray\":\"#778899\", \"lightslategrey\":\"#778899\", \"mediumslateblue\":\"#7B68EE\", \"lawngreen\":\"#7CFC00\", \"aquamarine\":\"#7FFFD4\", \"chartreuse\":\"#7FFF00\", \"gray\":\"#808080\", \"grey\":\"#808080\", \"maroon\":\"#800000\", \"olive\":\"#808000\", \"purple\":\"#800080\", \"lightskyblue\":\"#87CEFA\", \"skyblue\":\"#87CEEB\", \"blueviolet\":\"#8A2BE2\", \"darkmagenta\":\"#8B008B\", \"darkred\":\"#8B0000\", \"saddlebrown\":\"#8B4513\", \"darkseagreen\":\"#8FBC8F\", \"lightgreen\":\"#90EE90\", \"mediumpurple\":\"#9370DB\", \"darkviolet\":\"#9400D3\", \"palegreen\":\"#98FB98\", \"darkorchid\":\"#9932CC\", \"yellowgreen\":\"#9ACD32\", \"sienna\":\"#A0522D\", \"brown\":\"#A52A2A\", \"darkgray\":\"#A9A9A9\", \"darkgrey\":\"#A9A9A9\", \"greenyellow\":\"#ADFF2F\", \"lightblue\":\"#ADD8E6\", \"paleturquoise\":\"#AFEEEE\", \"lightsteelblue\":\"#B0C4DE\", \"powderblue\":\"#B0E0E6\", \"firebrick\":\"#B22222\", \"darkgoldenrod\":\"#B8860B\", \"mediumorchid\":\"#BA55D3\", \"rosybrown\":\"#BC8F8F\", \"darkkhaki\":\"#BDB76B\", \"silver\":\"#C0C0C0\", \"mediumvioletred\":\"#C71585\", \"indianred\":\"#CD5C5C\", \"peru\":\"#CD853F\", \"chocolate\":\"#D2691E\", \"tan\":\"#D2B48C\", \"lightgray\":\"#D3D3D3\", \"lightgrey\":\"#D3D3D3\", \"thistle\":\"#D8BFD8\", \"goldenrod\":\"#DAA520\", \"orchid\":\"#DA70D6\", \"palevioletred\":\"#DB7093\", \"crimson\":\"#DC143C\", \"gainsboro\":\"#DCDCDC\", \"plum\":\"#DDA0DD\", \"burlywood\":\"#DEB887\", \"lightcyan\":\"#E0FFFF\", \"lavender\":\"#E6E6FA\", \"darksalmon\":\"#E9967A\", \"palegoldenrod\":\"#EEE8AA\", \"violet\":\"#EE82EE\", \"azure\":\"#F0FFFF\", \"honeydew\":\"#F0FFF0\", \"khaki\":\"#F0E68C\", \"lightcoral\":\"#F08080\", \"sandybrown\":\"#F4A460\", \"beige\":\"#F5F5DC\", \"mintcream\":\"#F5FFFA\", \"wheat\":\"#F5DEB3\", \"whitesmoke\":\"#F5F5F5\", \"ghostwhite\":\"#F8F8FF\", \"lightgoldenrodyellow\":\"#FAFAD2\", \"linen\":\"#FAF0E6\", \"salmon\":\"#FA8072\", \"oldlace\":\"#FDF5E6\", \"warmwhite\":\"#FDF5E6\", \"bisque\":\"#FFE4C4\", \"blanchedalmond\":\"#FFEBCD\", \"coral\":\"#FF7F50\", \"cornsilk\":\"#FFF8DC\", \"darkorange\":\"#FF8C00\", \"deeppink\":\"#FF1493\", \"floralwhite\":\"#FFFAF0\", \"fuchsia\":\"#FF00FF\", \"gold\":\"#FFD700\", \"hotpink\":\"#FF69B4\", \"ivory\":\"#FFFFF0\", \"lavenderblush\":\"#FFF0F5\", \"lemonchiffon\":\"#FFFACD\", \"lightpink\":\"#FFB6C1\", \"lightsalmon\":\"#FFA07A\", \"lightyellow\":\"#FFFFE0\", \"magenta\":\"#FF00FF\", \"mistyrose\":\"#FFE4E1\", \"moccasin\":\"#FFE4B5\", \"navajowhite\":\"#FFDEAD\", \"orange\":\"#FFA500\", \"orangered\":\"#FF4500\", \"papayawhip\":\"#FFEFD5\", \"peachpuff\":\"#FFDAB9\", \"pink\":\"#FFC0CB\", \"red\":\"#FF0000\", \"seashell\":\"#FFF5EE\", \"snow\":\"#FFFAFA\", \"tomato\":\"#FF6347\", \"white\":\"#FFFFFF\", \"yellow\":\"#FFFF00\", \"amber\":\"#FFD200\"}</field></block></value><next><block type=\"variables_set\" id=\"x.p`ij)5{=]Yeqvqn,!8\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field><value name=\"VALUE\"><block type=\"node_object_get\" id=\"YVPl;teLm[,I-L%cLL{.\"><mutation action=\"GET\"></mutation><field name=\"action\">GET</field><value name=\"object\"><shadow type=\"node_msg\" id=\"z~(zVG@*AhVIq-Qdar8D\"></shadow><block type=\"object_from_json\" id=\"9.{}GqFvm;G,D0ET[3b,\"><value name=\"JSON\"><shadow type=\"text\" id=\"QJZ1d`7s+.Ef{f]lPgj:\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"3h;zLjtN]r9(9hBpwgXC\"><field name=\"VAR\" id=\"ptAx+d9l9ZbVi)T+/HY@\" variabletype=\"\">colours</field></block></value></block></value><value name=\"field_name\"><shadow type=\"text\" id=\"h+K]|}w$`~dyptP4(220\"><field name=\"TEXT\">payload</field></shadow><block type=\"variables_get\" id=\"1bPJQWJCOM7@XDEmpn2E\"><field name=\"VAR\" id=\"sxbc%}7nHPn/onSA*Fzy\" variabletype=\"\">name</field></block></value></block></value><next><block type=\"controls_if\" id=\"9]A8`I%dqI47Fz{-h:f*\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"4`V*c2L)$7[vy{t@QriR\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"variables_get\" id=\"k)?=YLI;9s|Z4ho5jpi@\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value><value name=\"B\"><block type=\"logic_null\" id=\"@1ooH`NlohG:+CHCY1wJ\"></block></value></block></value><statement name=\"DO0\"><block type=\"node_status\" id=\"cIosmR68DE~N^_^g`DpA\"><field name=\"COLOUR\">#0000FF</field><field name=\"SHAPE\">RING</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"sUO:[%0{,9ONc^gtur!G\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"OdN4U5g@!e5w8wPCQQ|m\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value><next><block type=\"variables_set\" id=\"(;jes8T:4}lcz]N[x-[s\"><field name=\"VAR\" id=\"$e_g4Y/uz)ZjU,6*s(/*\" variabletype=\"\">red</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"gK9FfK1~^2XeWl.k^`bL\"><mutation name=\"hexByteTo3CharDecString\"><arg name=\"hexByte\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"cNF?C@nW?D#iTx~%T07I\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"!XupkcDups~g~HIBl,I*\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"]I8eeteI6I6#w@%W,*jW\"><field name=\"NUM\">2</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"r#}OZo-ZJ1.%nSKD5jWk\"><field name=\"NUM\">3</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"CNV1R]#w2-:=o!R:+C%S\"><field name=\"VAR\" id=\"Uz!,}O=3EbJ-]1ggQNU/\" variabletype=\"\">green</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"kneJ6XN`(XpB(ONd7Ipf\"><mutation name=\"hexByteTo3CharDecString\"><arg name=\"hexByte\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"VIPWU|64Z5Ti[y4G)vtW\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"dP+v*YmYcG=mFDz~b!]*\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"^8bNxE2FOAg0GNI^XN@t\"><field name=\"NUM\">4</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"4[H!X%]`VtW$G}W}+8T|\"><field name=\"NUM\">5</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"#xi9@es.]z6NO6uF5n+N\"><field name=\"VAR\" id=\"f#,pvT7?USbjZv:LcMs=\" variabletype=\"\">blue</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"d(u2VpJ~:Tn+2-c?N*t6\"><mutation name=\"hexByteTo3CharDecString\"><arg name=\"hexByte\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"Wz.Wo-*FLb4?eOCnA.sN\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"=sOvU-+%5nK%D+lcXfa{\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"I@z9SzA0+;VN+.ly}]|q\"><field name=\"NUM\">6</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"Q8_GJk+x}MeTa=KSC,`k\"><field name=\"NUM\">7</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"3^]a0pxd5[]CN=#n_+zC\"><field name=\"VAR\" id=\"0_G*qALs1N@9M+@EKLdi\" variabletype=\"\">rgb</field><value name=\"VALUE\"><block type=\"text_join\" id=\"HQ9}2i|4Tfv|7XEEuD[c\"><mutation items=\"5\"></mutation><value name=\"ADD0\"><block type=\"variables_get\" id=\"%~gJR6?Shwu.KpD$I:YM\"><field name=\"VAR\" id=\"$e_g4Y/uz)ZjU,6*s(/*\" variabletype=\"\">red</field></block></value><value name=\"ADD1\"><block type=\"text\" id=\"9vQUYIvx~k1kOh0#O7;N\"><field name=\"TEXT\">,</field></block></value><value name=\"ADD2\"><block type=\"variables_get\" id=\"![=n*lW,?Tv)V3D815F,\"><field name=\"VAR\" id=\"Uz!,}O=3EbJ-]1ggQNU/\" variabletype=\"\">green</field></block></value><value name=\"ADD3\"><block type=\"text\" id=\"$^pC[|Zho8J[+{x5kx-0\"><field name=\"TEXT\">,</field></block></value><value name=\"ADD4\"><block type=\"variables_get\" id=\"@!`]^/c[f52oA_-uuLIS\"><field name=\"VAR\" id=\"f#,pvT7?USbjZv:LcMs=\" variabletype=\"\">blue</field></block></value></block></value><next><block type=\"variables_set\" id=\"E{Z/4Hez1pV+ASW$XK2j\"><field name=\"VAR\" id=\"7V@r%k+RBrx]Gb].0Fl1\" variabletype=\"\">rgbArray</field><value name=\"VALUE\"><block type=\"lists_create_with\" id=\".]]maL7Pj^JwMR|p[,QT\"><mutation items=\"3\"></mutation><value name=\"ADD0\"><block type=\"math_round\" id=\"([i4J|87V_=^_r0=QI|l\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"Gr@4u1TveB0df~kHXZ=E\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"7?ZZZB3h8i7fpv/qlxFt\"><field name=\"VAR\" id=\"$e_g4Y/uz)ZjU,6*s(/*\" variabletype=\"\">red</field></block></value></block></value><value name=\"ADD1\"><block type=\"math_round\" id=\"lXcD]vIp%Lncj!|;$lS}\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"D#wOv~q-^Z,*N@I#SE(f\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"yO7ELArmoEB/RdAU^aO@\"><field name=\"VAR\" id=\"Uz!,}O=3EbJ-]1ggQNU/\" variabletype=\"\">green</field></block></value></block></value><value name=\"ADD2\"><block type=\"math_round\" id=\"D~*EHS1N-42vx?M8jWw`\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"2+.=czT%uuYgX$?z7=*w\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"1BTU$0qV:T}fxENN~kU1\"><field name=\"VAR\" id=\"f#,pvT7?USbjZv:LcMs=\" variabletype=\"\">blue</field></block></value></block></value></block></value><next><block type=\"node_object_set\" id=\"@`%Yhks7tC$mEJIND;rO\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"hS8[aCIK3gJ2.#p?K1w:\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"+Td_%RISB8mH.~{rA]IR\"><field name=\"TEXT\">colour</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"A7;GsvuebC,@0;*qHlKi\"><field name=\"TEXT\"></field></shadow><block type=\"object_from_json\" id=\"=P49qQy3W`Lb;8TSF^!(\"><value name=\"JSON\"><shadow type=\"text\" id=\"q188u}z}Ik#paCXpVSS[\"><field name=\"TEXT\">{}</field></shadow></value></block></value><next><block type=\"node_object_set\" id=\"m}[WYTMtke]Bv)P^@C^A\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"cDoGsU6R$rGp6=MwUu/`\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"Tt+HOGN7|d@Q8SuFFrw}\"><field name=\"TEXT\">colour.name</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"GMD.OKaHmvPre+}cs^K)\"><field name=\"VAR\" id=\"sxbc%}7nHPn/onSA*Fzy\" variabletype=\"\">name</field></block></value><next><block type=\"node_object_set\" id=\"d5QGriqb_}tD|3B`}*Qx\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"Ou/03d$|NkpTspT6sJja\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"r1i!rse.~E{6Si`k6,e8\"><field name=\"TEXT\">colour.hex</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"text_getSubstring\" id=\"d+SV/vY)UEqZD6ZpQmu5\"><mutation at1=\"true\" at2=\"false\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">LAST</field><value name=\"STRING\"><block type=\"variables_get\" id=\"BYi7,i@qd;_6BHTi{0Xe\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"2)cY{Fi[cHm{4-whXL/e\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"node_object_set\" id=\"BvI8%/h{;Lj7xfPfXOH^\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\";7O5SA]GW,%F?YO9X27V\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"vEE3L1yjx*Tb.72K/C)2\"><field name=\"TEXT\">colour.red</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"math_round\" id=\"+}Q6fBN(QEk]YtWjOilW\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"QrS|KurSZ#?J79oK0GK{\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"_nZn]i7md}hm;FJ*;$+@\"><field name=\"VAR\" id=\"$e_g4Y/uz)ZjU,6*s(/*\" variabletype=\"\">red</field></block></value></block></value><next><block type=\"node_object_set\" id=\"/Oo|?mFOW2[:Xy,uL)GM\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"Fm.n:4%CZs#d=owdXW5$\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"?/l1%lF*Hl?|@_=W=*6l\"><field name=\"TEXT\">colour.green</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"math_round\" id=\"SXH,lXE|L/V@gDyPSwNH\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"j!`,.xV/pt=ii`})hreN\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"BR[qy^0oWgN8S]zv5Zhc\"><field name=\"VAR\" id=\"Uz!,}O=3EbJ-]1ggQNU/\" variabletype=\"\">green</field></block></value></block></value><next><block type=\"node_object_set\" id=\"t_JqamAw~9|OQ.x(2N2t\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"50ng$W#oH{eqc|b:GB_A\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"ZL7-c^2?1|oV9G$6VFKn\"><field name=\"TEXT\">colour.blue</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"math_round\" id=\"_``)L7)}J,%sCiQkz@-.\"><field name=\"OP\">ROUND</field><value name=\"NUM\"><shadow type=\"math_number\" id=\"fd6qOOoJ*xR|`zqyo8Zj\"><field name=\"NUM\">3.1</field></shadow><block type=\"variables_get\" id=\"=vsv6t)gcowm2^|MMKKm\"><field name=\"VAR\" id=\"f#,pvT7?USbjZv:LcMs=\" variabletype=\"\">blue</field></block></value></block></value><next><block type=\"node_object_set\" id=\"xzi?3`*Z?,nic;R?re/I\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"tol+x9wtEQ#?8aB.0J91\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"nG_5P;.{57Pu~,uW96W[\"><field name=\"TEXT\">colour.rgbCSV</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"#$n+5aARPMR(re[)?$84\"><field name=\"VAR\" id=\"0_G*qALs1N@9M+@EKLdi\" variabletype=\"\">rgb</field></block></value><next><block type=\"node_object_set\" id=\"]_mM=;W#qn?#eqt]RFk*\" inline=\"true\"><value name=\"object_field\"><shadow type=\"node_msg\" id=\"Me[{WD^mvQPl`@0(%;tx\"></shadow></value><value name=\"field_name\"><shadow type=\"text\" id=\"Kw{]i,|;yUFC-!AL6bY^\"><field name=\"TEXT\">colour.rgbArray</field></shadow></value><value name=\"value_field\"><shadow type=\"text\" id=\"MRyEb/(Z{O0HPdUgm};u\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"Gbwbn~Ne#]|cCYh|dQM}\"><field name=\"VAR\" id=\"7V@r%k+RBrx]Gb].0Fl1\" variabletype=\"\">rgbArray</field></block></value><next><block type=\"node_status\" id=\"dUuF~SvfRR(tp%N=Dj_K\"><field name=\"COLOUR\">#888888</field><field name=\"SHAPE\">DOT</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"?XZjWC.OtJ_2*ivlS8sY\"><field name=\"TEXT\"></field></shadow><block type=\"text_join\" id=\"yRpIKrLU25N}j(#I^k)X\" inline=\"true\"><mutation items=\"3\"></mutation><value name=\"ADD0\"><block type=\"variables_get\" id=\"S={uGkUzk:1UF9H|4rAZ\"><field name=\"VAR\" id=\"sxbc%}7nHPn/onSA*Fzy\" variabletype=\"\">name</field></block></value><value name=\"ADD1\"><block type=\"text\" id=\"j[SRc[^8V:eS.39]80Q)\"><field name=\"TEXT\"> : </field></block></value><value name=\"ADD2\"><block type=\"variables_get\" id=\")Q+(3l6BeuE/Vdj1l13b\"><field name=\"VAR\" id=\"h!dTA=W;ak3N^tB8)vmj\" variabletype=\"\">hashHex</field></block></value></block></value><next><block type=\"node_return_message\" id=\"/f*Q[2B2Ql1/:lI?vTw`\"><field name=\"OUTPUT_NR\">1</field><value name=\"MESSAGE_INPUT\"><shadow type=\"node_msg\" id=\"vAfx[tg{PH1lhjWD$#8w\"></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"node_status\" id=\"1xtemn*(ao$ei.K4y49i\"><field name=\"COLOUR\">#ff0000</field><field name=\"SHAPE\">DOT</field><value name=\"TEXT_INPUT\"><shadow type=\"text\" id=\"v!1=clo4TB.:qdm]Wb.*\"><field name=\"TEXT\">Unrecognised colour</field></shadow></value></block></statement><next><block type=\"node_return\" id=\"x]4T8p8e0*.IYlX0`?qZ\"></block></next></block></next></block></next></block></next></block><block type=\"procedures_defreturn\" id=\"p_Uc_dG$pvh;eXI$?.s8\" x=\"13\" y=\"1438\"><mutation><arg name=\"hexByte\" varid=\"!gE0pj/k#1BE$5V;RsFs\"></arg></mutation><field name=\"NAME\">hexByteTo3CharDecString</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><statement name=\"STACK\"><block type=\"variables_set\" id=\"h:}{s9lAUg#nvj,,l|Yt\"><field name=\"VAR\" id=\"R(Uiu@S_V+wqU[aMJh{~\" variabletype=\"\">1stNibble</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"#eh,Pi`={{9.UHHWN%vA\"><mutation name=\"hexDigitToDecNum\"><arg name=\"hexDigit\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"aWwpByXZR@I*hk!+/PL7\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"*xb~5SI%:n?d)jv$f2`B\"><field name=\"VAR\" id=\"!gE0pj/k#1BE$5V;RsFs\" variabletype=\"\">hexByte</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"31EHD2MDzmi4OBDi6^/o\"><field name=\"NUM\">1</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"}tl??uCG4QW/SmGzyO0e\"><field name=\"NUM\">1</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"48r6xp1+Lzv*G+H1^5+G\"><field name=\"VAR\" id=\"mHC06}`q!/BUO[Q=:1-V\" variabletype=\"\">2ndNibble</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"MP0KriY=Y-jzb/Y#k!jV\"><mutation name=\"hexDigitToDecNum\"><arg name=\"hexDigit\"></arg></mutation><value name=\"ARG0\"><block type=\"text_getSubstring\" id=\"q9x9btgsWT{|}1N^]R8Q\"><mutation at1=\"true\" at2=\"true\"></mutation><field name=\"WHERE1\">FROM_START</field><field name=\"WHERE2\">FROM_START</field><value name=\"STRING\"><block type=\"variables_get\" id=\"41+6J)9yU)yba141vGf#\"><field name=\"VAR\" id=\"!gE0pj/k#1BE$5V;RsFs\" variabletype=\"\">hexByte</field></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"Ya~es2mQbAGycy(Cz[Qj\"><field name=\"NUM\">2</field></block></value><value name=\"AT2\"><block type=\"math_number\" id=\"+_L$/I}S@c%|5.rJ{$Nd\"><field name=\"NUM\">2</field></block></value></block></value></block></value></block></next></block></statement><value name=\"RETURN\"><block type=\"text_getSubstring\" id=\"^;LZQzjBWJ$yNLs|,+HG\" inline=\"false\"><mutation at1=\"true\" at2=\"false\"></mutation><field name=\"WHERE1\">FROM_END</field><field name=\"WHERE2\">LAST</field><value name=\"STRING\"><block type=\"text_join\" id=\"4J#~.wr:8L6lW]/(L7k|\" inline=\"false\"><mutation items=\"2\"></mutation><value name=\"ADD0\"><block type=\"text\" id=\"K_W|%}(rMlg$jo_Tn5|V\"><field name=\"TEXT\">000</field></block></value><value name=\"ADD1\"><block type=\"math_arithmetic\" id=\"U+CH/6XVL8eE{=SapA9O\"><field name=\"OP\">ADD</field><value name=\"A\"><shadow type=\"math_number\" id=\"d]0xCzwl[mw}X%8%6)PX\"><field name=\"NUM\">1</field></shadow><block type=\"math_arithmetic\" id=\"i;.8EH?^LO;?(lQ=weor\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><shadow type=\"math_number\" id=\"bKfMXEAICt}4}7*K);Y_\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"VLG5Q+NuZK`DYHhCrB2P\"><field name=\"VAR\" id=\"R(Uiu@S_V+wqU[aMJh{~\" variabletype=\"\">1stNibble</field></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"A|qP{ixaTl2v%!@goeH0\"><field name=\"NUM\">16</field></shadow></value></block></value><value name=\"B\"><shadow type=\"math_number\" id=\")Ud!{2E6Ie/TQ,6Mf,2w\"><field name=\"NUM\">1</field></shadow><block type=\"variables_get\" id=\"A/UH+/iE(2X!W|SaHQ:V\"><field name=\"VAR\" id=\"mHC06}`q!/BUO[Q=:1-V\" variabletype=\"\">2ndNibble</field></block></value></block></value></block></value><value name=\"AT1\"><block type=\"math_number\" id=\"SzeCPTS=BZ?Q#E7s$ycw\"><field name=\"NUM\">3</field></block></value></block></value></block><block type=\"procedures_defreturn\" id=\"fg*kMY(Tn:bm1wRys#P1\" x=\"13\" y=\"1738\"><mutation><arg name=\"hexDigit\" varid=\"s894]`kf}]NvRv#K.0L~\"></arg></mutation><field name=\"NAME\">hexDigitToDecNum</field><comment pinned=\"false\" h=\"80\" w=\"160\">Describe this function...</comment><value name=\"RETURN\"><block type=\"math_arithmetic\" id=\"8n6!nXq4C:T2sK2]#2@I\"><field name=\"OP\">MINUS</field><value name=\"A\"><shadow type=\"math_number\" id=\"ICt7u4/%qEO8nx#WNBPx\"><field name=\"NUM\">1</field></shadow><block type=\"text_indexOf\" id=\"Tb4t$U6B%{t.~c7Bm7$l\"><field name=\"END\">FIRST</field><value name=\"VALUE\"><block type=\"text\" id=\"T%VPjkY1Sdk%/1^0.Q(d\"><field name=\"TEXT\">0123456789abcdef</field></block></value><value name=\"FIND\"><shadow type=\"text\" id=\".P9c@j{sL1A-+TnHo8#*\"><field name=\"TEXT\">abc</field></shadow><block type=\"text_changeCase\" id=\"-:5g_L_JNto5YyuCgF18\"><field name=\"CASE\">LOWERCASE</field><value name=\"TEXT\"><shadow type=\"text\" id=\"_L0PjaAi/TF/@WSCYp~m\"><field name=\"TEXT\">abc</field></shadow><block type=\"variables_get\" id=\"yq^A[K`U`BRk13l#_8$D\"><field name=\"VAR\" id=\"s894]`kf}]NvRv#K.0L~\" variabletype=\"\">hexDigit</field></block></value></block></value></block></value><value name=\"B\"><shadow type=\"math_number\" id=\"~EG@X%Fu5Dg*`H,fv4Lc\"><field name=\"NUM\">1</field></shadow></value></block></value></block></xml>",
- "outputs": 1,
- "name": "Colour Convert",
- "x": 940,
- "y": 100,
- "wires": [
- [
- "6695b2a0.016dcc",
- "a40fae41.2bf0c",
- "eafad13e.93b69",
- "4d2fc22e.85a05c"
- ]
- ]
- },
- {
- "id": "fd1b5663.797328",
- "type": "mqtt out",
- "z": "e94b6576.d50958",
- "name": "",
- "topic": "gleelights/hex",
- "qos": "2",
- "retain": "true",
- "broker": "b9d6814b.a4e0a",
- "x": 960,
- "y": 240,
- "wires": []
- },
- {
- "id": "eafad13e.93b69",
- "type": "change",
- "z": "e94b6576.d50958",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "colour.name",
- "tot": "msg"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1260,
- "y": 160,
- "wires": [
- [
- "db756cc7.f41cd"
- ]
- ]
- },
- {
- "id": "4d2fc22e.85a05c",
- "type": "change",
- "z": "e94b6576.d50958",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "colour.hex",
- "tot": "msg"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 960,
- "y": 200,
- "wires": [
- [
- "fd1b5663.797328"
- ]
- ]
- },
- {
- "id": "7eb45260.fbc64c",
- "type": "mqtt in",
- "z": "e94b6576.d50958",
- "name": "",
- "topic": "gleelights/#",
- "qos": "2",
- "broker": "b9d6814b.a4e0a",
- "x": 90,
- "y": 740,
- "wires": [
- [
- "2b7de80a.25a828"
- ]
- ]
- },
- {
- "id": "2b7de80a.25a828",
- "type": "debug",
- "z": "e94b6576.d50958",
- "name": "CHEER",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "payload",
- "x": 260,
- "y": 740,
- "wires": []
- },
- {
- "id": "1a1e67b1.08cea8",
- "type": "inject",
- "z": "e94b6576.d50958",
- "name": "",
- "topic": "",
- "payload": "",
- "payloadType": "date",
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": 0.1,
- "x": 100,
- "y": 300,
- "wires": [
- [
- "c8b1e8f.dff0918"
- ]
- ]
- },
- {
- "id": "e569f6d6.a03ab8",
- "type": "delay",
- "z": "e94b6576.d50958",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "5",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "x": 920,
- "y": 40,
- "wires": [
- [
- "c7b9f064.6e697"
- ]
- ]
- },
- {
- "id": "c6e3938e.73397",
- "type": "mqtt-broker",
- "z": "",
- "name": "Win8",
- "broker": "192.168.0.23",
- "port": "1883",
- "clientid": "",
- "usetls": false,
- "compatmode": true,
- "keepalive": "60",
- "cleansession": true,
- "birthTopic": "",
- "birthQos": "0",
- "birthPayload": "",
- "willTopic": "",
- "willQos": "0",
- "willPayload": ""
- },
- {
- "id": "b9d6814b.a4e0a",
- "type": "mqtt-broker",
- "z": "",
- "name": "",
- "broker": "iot.eclipse.org ",
- "port": "1883",
- "clientid": "",
- "usetls": false,
- "compatmode": true,
- "keepalive": "60",
- "cleansession": true,
- "birthTopic": "",
- "birthQos": "0",
- "birthPayload": "",
- "willTopic": "",
- "willQos": "0",
- "willPayload": ""
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement