Snippets

Peter Scargill LCD Object Experiment for Node-Red Template

Created by Peter Scargill
[{"id":"3a7cb55.60e5f4a","type":"ui_template","z":"c552e8d2.712b48","group":"78bc8c03.fe9694","name":"lcd","order":0,"width":"3","height":"2","format":"<style>\n@font-face {\n    font-family: 'SSEG14';\n    src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAACooABEAAAABbTQAACm+AAEAQQAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGiYGYACDYggwCYRlEQgKhPIUhLQiATYCJAOFNAuCXAAEIAXLYgeEJQyCOz93ZWJmBlu4S3FB5ubkwSvnCWSW1bukZgdqj0OR0mmzERVsHAJorM3s//9vyY2rpwbIS2krLAXGgDFpwUvtdkqxcfhWo/ngwOFZI+vUDm5+YWcHfiS4l8rs8wOFj/7guXHNbvd2lSCh8A47ulBmkHITihy5jiB8mK1QYm2IxdJCZYo0U8soVoNLDsqGjErcnl5YGGpr/rT7PQfcnRu1yPvwtM33gTvgjhIwkgOdQxt10bgujMZctbLAWsAqjHUY6+jbXvdqB/2SvPuSHIepoKtUUgERtiyT5wywTaNZVaLrZDdXgfMOjDqS0+F1lQ3/X/7SftsTjMS/DQDt9ch/TG0cLTJGGGKQn9uvJVVttEk00QbJW6icAmCZamX2MulLd3KtTMn1OlNkwxsQj8COv+sxEFump1b9vb3XdkzJhfjJBUdZ/ue1gOCU4Eg70HxVpv0k3/GIK+I0HlFwowkCCiQpuUUJkyCgFB/xyfb/5lTZe9XtkP8BQBK5CbfBeSEPwImB3/mRNbGnmqrNNUBNateMo/7v+/z/9kstkM6JkGR8IiPVzv2QnX9DNPvCPAEkF5ZxUdEFQlVZI1nqCldbV79aftOQLUagBFbe1Ku+8Kqr9dUQkltSVHT3zPzbv/s5RYgeiREy/d9aq6IpUiLJYzuSJGg0LkITb8v9+YP8ncFkEe8QikkjRFonRAuNRLQ/y967mQVPYJSp2u4e8fI9M1CRdIjoXZQKuXJXCv9PCP8gaOPxoAwoAhZnDFLpASo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di4aDx8ABEmlHEhlTbW+RBTLrX1YZzmZd1kv7jzup/3+428vr1/fH59/9gcIccZr5C52liXAO+EmHKprY+5tv3AkixV+kJCYRNOndiMDFaZzmQ5efrC2XPns125eGkLcszC9avXcr3pJ09/Aw2opfBQ4g0PZ4632SijjVEgn804Yy3DBOPZUYjavMVuQhMxkRApYQhLZEROFERJVMSFqIkGNajFduwgWuJK3OicAflDck1wPneUeOSgvMjI2MhEtD49KjIyUjEpUUq0EqPUU+orDZSGSiNPbI0pco8mJjsvZ+SwrMz04bl9J6oteOqNwL1rtZPwpyHT0KlK0j2umpDp8dVt/+RGd5UqvlOVtmf5xPZ43yo6JCkOVUKuDd9dSOsqEdemRthVENISlPKKdA0VTHENbaSkWuw5llRJnVAupTtS1cK2oyhlo+QN22TrZB5k6tijUMy0G9IJPA5Qjq9R1AVLJb2AkpjpUqcKNNVQ51KHmjq1O7V1GgVda7VsD/FV2hCQuNW7VQAAAA==) format('woff2');\n    font-weight: normal;\n    font-style: normal;\n} \n</style>\n\n<div id=\"newDiv1\"></div>\n\n<script>\n\n(function(scope){\n        scope.$watch('msg', function(msg) {\n            if ((msg.payload.lcdm1!==undefined)&&(msg.payload.lcdm1!==undefined)) lcd2.update(msg.payload.lcdm1,msg.payload.lcdm2);\n            if (msg.payload.colour!==undefined) lcd2.updateCol(msg.payload.colour);\n        });\n})(scope);\n\n \n  // definition \n function myLcd(theDiv)\n { \n        var lcdText1=\"\";\n        var lcdText2=\"\";\n        var lcdColSel=\"blackOnOrange\";\n    \n        var canvas = document.createElement('canvas');\n        canvas.width = 100;\n        canvas.height = 50;\n        body = document.getElementById(theDiv);\n        body.appendChild(canvas);\n        var ctx = canvas.getContext(\"2d\");\n        \n        var cX = Math.floor(canvas.width / 2);\n        var cY = Math.floor(canvas.height / 2);\n  \n         var rectWidth = cX * 1.8;\n        var rectOffset = 3;\n        var rectHeight = cY* 1.8;\n               \n      var lcdColours={\n        \"blackOnOrange\": {items:[\"#222\",\"#fb7c00\"]},    \n        \"blackOnGreen\" : {items:[\"#222\",\"#66ac66\"]},\n        \"blackOnBlue\" : {items:[\"#222\",\"#6688ff\"]},\n        \"blackOnPurple\" : {items:[\"#222\",\"#aa88ff\"]},\n        \"blackOnYellow\" : {items:[\"#222\",\"#bbbb44\"]},\n        \"blackOnWhite\" : {items:[\"#222\",\"#aaaaaa\"]},\n        \"blackOnPink\" : {items:[\"#222\",\"#ff8888\"]},\n        \"yellowOnRed\" : {items:[\"#ccaa22\",\"#aa2222\"]},\n        \"whiteOnCyan\" : {items:[\"#dddddd\",\"#227777\"]},\n        \"orangeOnBlack\" : {items:[\"#ff8800\",\"#000000\"]},  \n        \"limeOnBlack\" : {items:[\"#00cc55\",\"#000000\"]},  \n        };\n \n    function n(n) {\n        if (n >= 0) return n > 9 ? \"\" + n : \"0\" + n;\n        n = -n;\n        return n > 9 ? \"-\" + n : \"-0\" + n;\n    }\n\n  function rRect(ctx, x, y, width, height, radius, fill, filltype, stroke,thick) {\n  if (stroke === \"undefined\" )  stroke = true;\n  if (radius === \"undefined\" ) radius = 5;\n  if (thick === \"undefined\" ) thick = 1;\n  if (filltype === \"undefined\" ) filltype = \"\";\n  ctx.lineWidth = thick;\n  ctx.beginPath();\n  ctx.moveTo(x + radius, y);\n  ctx.lineTo(x + width - radius, y);\n  ctx.quadraticCurveTo(x + width, y, x + width, y + radius);\n  ctx.lineTo(x + width, y + height - radius);\n  ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\n  ctx.lineTo(x + radius, y + height);\n  ctx.quadraticCurveTo(x, y + height, x, y + height - radius);\n  ctx.lineTo(x, y + radius);\n  ctx.quadraticCurveTo(x, y, x + radius, y);\n  ctx.closePath();\n  if (stroke) ctx.stroke();\n  ctx.fillStyle = filltype;\n  if (fill) ctx.fill();      \n}\n\n    this.update=function(l1,l2)\n    {\n\n        lcdText1=l1;\n        lcdText2=l2;\n        updateLCD();\n    }\n    \n    this.updateCol=function(col)\n    {\n        lcdColSel=col;\n        updateLCD();    \n    }\n    \n    function updateLCD()\n    {\n        ctx.save();\n        ctx.beginPath();\n        ctx.rect(3, 3, rectWidth, rectHeight);\n        ctx.lineWidth = 8;\n        ctx.strokeStyle = 'black';\n        ctx.restore();\n        //rRect(ctx,3, 3, rectWidth, rectHeight,cX/20,1,lcdBackground,1,cX/20);\n        rRect(ctx,3, 3, rectWidth, rectHeight,cX/20,1,lcdColours[lcdColSel].items[1],1,cX/20);\n    \n        //ctx.stroke();\n        ctx.restore();\n        ctx.save();\n        \n        ctx.font = \"bold \" + String(Math.floor(cY / 1.1)) + \"px SSEG14\";\n        ctx.textAlign = 'left';\n        ctx.fillStyle = \"rgba(0,0,0,0.1)\";\n        ctx.fillText(\"~~~~~~\", cX-(rectWidth/2.1), cY-2);\n        ctx.fillStyle = lcdColours[lcdColSel].items[0];\n        ctx.fillText(lcdText1, cX-(rectWidth/2.1),cY-2);\n    \n    \n    /** Sub label **/\n        ctx.fillStyle = \"rgba(0,0,0,0.1)\";\n        ctx.fillText(\"~~~~~~\", cX-(rectWidth/2.1), cY+19);\n        ctx.fillStyle = lcdColours[lcdColSel].items[0];\n        ctx.fillText(lcdText2, cX-(rectWidth/2.1), cY+19);\n        \n        ctx.restore();\n    }\n    \n    this.update(\"\",\"\");\n\n}\n\nvar lcd2 = new myLcd(\"newDiv1\");\n\n</script>\n\n\n","storeOutMessages":true,"fwdInMessages":true,"x":1630,"y":1400,"wires":[[]]},{"id":"1fa78302.cc241d","type":"inject","z":"c552e8d2.712b48","name":"A B","topic":"","payload":"{\"lcdm1\":\"A\",\"lcdm2\":\"B\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1340,"wires":[["3a7cb55.60e5f4a"]]},{"id":"7798c744.fb2ec8","type":"inject","z":"c552e8d2.712b48","name":"Line 1 Line 2","topic":"","payload":"{\"lcdm1\":\"Line 1\",\"lcdm2\":\"Line 2\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1430,"y":1380,"wires":[["3a7cb55.60e5f4a"]]},{"id":"a5bde29d.8dc2f","type":"inject","z":"c552e8d2.712b48","name":"green","topic":"","payload":"{ \"colour\":\"blackOnGreen\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1440,"wires":[["3a7cb55.60e5f4a"]]},{"id":"46a309fa.0ffbd8","type":"inject","z":"c552e8d2.712b48","name":"orange","topic":"","payload":"{ \"colour\":\"blackOnOrange\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1480,"wires":[["3a7cb55.60e5f4a"]]},{"id":"f2481a64.78efb8","type":"inject","z":"c552e8d2.712b48","name":"blue","topic":"","payload":"{ \"colour\":\"blackOnBlue\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1520,"wires":[["3a7cb55.60e5f4a"]]},{"id":"fe671aa.48372e8","type":"inject","z":"c552e8d2.712b48","name":"yellow","topic":"","payload":"{ \"colour\":\"blackOnYellow\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1600,"wires":[["3a7cb55.60e5f4a"]]},{"id":"3c2207b8.0edc58","type":"inject","z":"c552e8d2.712b48","name":"white","topic":"","payload":"{ \"colour\":\"blackOnWhite\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1640,"wires":[["3a7cb55.60e5f4a"]]},{"id":"31fa97e8.effb48","type":"inject","z":"c552e8d2.712b48","name":"pink","topic":"","payload":"{ \"colour\":\"blackOnPink\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1680,"wires":[["3a7cb55.60e5f4a"]]},{"id":"450dc657.ea0198","type":"inject","z":"c552e8d2.712b48","name":"red bg with yellow text","topic":"","payload":"{ \"colour\":\"yellowOnRed\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1500,"y":1720,"wires":[["3a7cb55.60e5f4a"]]},{"id":"c7febd6b.a8df2","type":"inject","z":"c552e8d2.712b48","name":"cyan bg with white text","topic":"","payload":"{ \"colour\":\"whiteOnCyan\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1500,"y":1760,"wires":[["3a7cb55.60e5f4a"]]},{"id":"37a9216a.c3723e","type":"inject","z":"c552e8d2.712b48","name":"Black bg with lime text","topic":"","payload":"{ \"colour\":\"limeOnBlack\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1500,"y":1800,"wires":[["3a7cb55.60e5f4a"]]},{"id":"f355dcc6.c50c9","type":"inject","z":"c552e8d2.712b48","name":"Purple","topic":"","payload":"{ \"colour\":\"blackOnPurple\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":1450,"y":1560,"wires":[["3a7cb55.60e5f4a"]]},{"id":"78bc8c03.fe9694","type":"ui_group","z":"","name":"testb","tab":"4d744a10.635354","disp":true,"width":"6"},{"id":"4d744a10.635354","type":"ui_tab","z":"","name":"testb","icon":"dashboard"}]

Comments (0)