Feel free to enable all tabs. as the issue with scaled buttons is resolved, I think (and I tried to do the template buttons in the way that all other things don't break them) It will be OK
The screen:
Code:
[{"id":"1969e391.5d6a3c","type":"ui_template","z":"1781e581.31721a","group":"61a7310a.16f18","name":"1","order":3,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">1</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":2120,"y":320,"wires":[[]]},{"id":"4c4f4cbc.92a10c","type":"ui_template","z":"1781e581.31721a","group":"61a7310a.16f18","name":"Play Pause","order":2,"width":"2","height":"1","format":"<md-button class=\"vibrate filled touched bigfont rounded\" style=\"background-color:#000000\" ng-click=\"send({payload: 'X'})\">\n <i class=\"material-icons\">\n <span style=\"color:{{msg.payload.pause}}\">pause</span> / <span style=\"color:{{msg.payload.play}}\">play_arrow</span>\n </i>\n</md-button> ","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","x":1920,"y":370,"wires":[["825d187.68424e8","dc9f1b5d.01f06"]]},{"id":"61a7310a.16f18","type":"ui_group","z":"","name":"Playback Ctl","tab":"b128eb09.9f681","order":5,"disp":true,"width":"6","collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
Screen:
Code:
[{"id":"be790d3d.b6a97","type":"ui_template","z":"1781e581.31721a","group":"4a387253.a6300c","name":"V Up","order":9,"width":2,"height":1,"format":"<button ng-mousedown=\"send({payload: 'Down'})\"> <i class=\"material-icons\"> <span style=\"color:{{msg.colour}}\"> volume_up </i> </button>","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","x":3950,"y":550,"wires":[["f7f4b8dc.83a9"]]},{"id":"ebf66bc7.d09df8","type":"ui_template","z":"1781e581.31721a","group":"fefa8817.8dc6c8","name":"1","order":2,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">1</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":4260,"y":550,"wires":[[]]},{"id":"4a387253.a6300c","type":"ui_group","z":"","name":"SPARE","tab":"de5134a7.f0a0d","order":3,"disp":true,"width":"6","collapse":false},{"id":"fefa8817.8dc6c8","type":"ui_group","z":"","name":"Audio","tab":"b128eb09.9f681","order":4,"disp":true,"width":"4","collapse":false},{"id":"de5134a7.f0a0d","type":"ui_tab","name":"Tab 6","icon":"dashboard","order":4},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
The led
is actually also a good point of reference as they are used a bit on my screens.
I may be hitting the sack soon.
So no pressure.
I also understand you have your own things to do.
Thanks.
Let's unify the project state to continue.
Show your buttons how they look currently
See red rectangles with the buttons of interest.
The two remote units.
The left one is good in that I can get the icons. But it is using button
nodes.
I want the icons on the newer remote.
I think that covers all that needs to be done at this stage.
(Reply 102 has the codes too)
The right one is the new as I understand? Share the flow with all of them included.
(That's going to be difficult.
It is a multi multi part flow.
The original flow with a lot of buttons and the new part.
Hang on while I try to get it worked out)
Do you want ALL of it or just the parts on which we are working?
Here is the flow.
All.
Entire tab.
Sorry, it is a bit of a dog's breakfast but it is work in progress.
Ok, this is the two remote control parts. (The two Main parts.)
(Attempt #3)
This is only the new remote control panel.
[{"id":"e0ae5420.51199","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"1","order":1,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">1</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1370,"wires":[["1cf586b3.c22e71"]]},{"id":"b885b736.259778","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"2","order":2,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">2</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1370,"wires":[["65209bf1.63524c"]]},{"id":"fa5496b7.143f98","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"3","order":3,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">3</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1370,"wires":[["80b64ca.c7a903"]]},{"id":"9af0e4db.a5cb4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"4","order":4,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">4</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1420,"wires":[["a97c8331.4a4d88"]]},{"id":"fd331539.a14a6","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"5","order":5,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">5</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1420,"wires":[["57e01527.528f84"]]},{"id":"d184c0d5.3972a","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"6","order":6,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">6</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1420,"wires":[["4debbbe1.4993ec"]]},{"id":"78b8623b.ecf5b4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"7","order":7,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">7</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1470,"wires":[["6580d2cf.bea1a4"]]},{"id":"5174c4fd.559be4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"8","order":8,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">8</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1470,"wires":[["caf00dda.129a28"]]},{"id":"1dda2bc9.6fe0f4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"9","order":9,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">9</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1470,"wires":[["ee449d92.abff6"]]},{"id":"58762fb7.48a7f","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Info","order":10,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Info</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1520,"wires":[["6d970c11.6d158c"]]},{"id":"1569d05e.fbafe8","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"0","order":11,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">0</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1520,"wires":[["da55f79c.415fe8"]]},{"id":"141ea09d.fe0b6f","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Prev","order":12,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Prev</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1520,"wires":[["988671af.8646b"]]},{"id":"49c90517.811d94","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Mute","order":15,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Mute</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1570,"wires":[["9d7f3cad.d7b8f"]]},{"id":"eb8c4d0f.450498","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Ch +","order":16,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Ch +</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1570,"wires":[["db5e3233.c9fad"]]},{"id":"3c59f1a8.559ede","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"ChLst","order":18,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">ChLst</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1620,"wires":[["ea7d6c1f.e4e118"]]},{"id":"bc2c5a14.193ee8","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Ch -","order":19,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Ch -</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1620,"wires":[["9451d6b2.cb6948"]]},{"id":"246a2951.92dc26","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"NetFlix","order":20,"width":"1","height":"1","format":"<style>\n/* Best so far to fit 1x1 area */\n.buttonX {\n border: none;\n border-radius: 8px;\n text-align: center;\n background-color: black;\n color: white; /* \"Font\" colour */\n padding: 15px 0px;\n text-decoration: none;\n display: inline-block;\n font-size: 14px;\n margin: 0px 0px; /* Was 0 20 */\n cursor: pointer;\n}\n</style>\n<button class=\"buttonX\" ng-click=\"send({payload: 'bar'})\">x-x</button>\n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":260,"y":1670,"wires":[["afbd4673.5e049"]]},{"id":"718d5dc3.56cb84","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Home","order":21,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Home</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1670,"wires":[["c9b4cef1.46fa28"]]},{"id":"970717bb.7c1bc","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Vid","order":22,"width":"1","height":"1","format":"<style>\n/* Best so far to fit 1x1 area */\n.buttonX {\n border: none;\n border-radius: 8px;\n text-align: center;\n background-color: black;\n color: white; /* \"Font\" colour */\n padding: 15px 0px;\n text-decoration: none;\n display: inline-block;\n font-size: 14px;\n margin: 0px 0px; /* Was 0 20 */\n cursor: pointer;\n}\n</style>\n<button class=\"buttonX\" ng-click=\"send({payload: 'bar'})\">x-x</button>\n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1670,"wires":[["11932257.837916"]]},{"id":"54c0bac.5f5fac4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"WWW","order":23,"width":"1","height":"1","format":"<style>\n/* Best so far to fit 1x1 area */\n.buttonX {\n border: none;\n border-radius: 8px;\n text-align: center;\n background-color: black;\n color: white; /* \"Font\" colour */\n padding: 15px 0px;\n text-decoration: none;\n display: inline-block;\n font-size: 14px;\n margin: 0px 0px; /* Was 0 20 */\n cursor: pointer;\n}\n</style>\n<button class=\"buttonX\" ng-click=\"send({payload: 'bar'})\">x-x</button>\n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1720,"wires":[["60092350.bb50d4"]]},{"id":"89495b4f.be569","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"^","order":24,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">^</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1720,"wires":[["4f16229f.83e86c"]]},{"id":"9e8e8f5d.65f848","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Guide","order":25,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Guide</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1720,"wires":[[]]},{"id":"2cf79a2f.996f2e","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"<","order":26,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\"> < </button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1770,"wires":[["d7b7d5f2.3a5e48"]]},{"id":"7f0678e0.82d7","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Sel","order":27,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Sel</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1770,"wires":[["e14e9d65.fb77e"]]},{"id":"3a190f7d.487938","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":">","order":28,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\"> > </button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1770,"wires":[["1118a5c4.a7ae2a"]]},{"id":"c99f1ee5.f417b","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Rtn","order":29,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Rtn</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1820,"wires":[["e4e3b572.b2fb08"]]},{"id":"d332ca70.a1d1c8","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"V","order":30,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">V</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1820,"wires":[["62e24409.42ea94"]]},{"id":"7bf90b0f.0b4e74","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Exit","order":31,"width":"1","height":"1","format":"<button class=\"RCButtons1\" ng-click=\"send({payload: 'bar'})\">Exit</button>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1820,"wires":[["b43ccc1f.bf4aa"]]},{"id":"b11b2dfa.681818","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"","order":32,"width":0,"height":0,"format":"<style>\n/* Best so far to fit 1x1 area */\n.RCButtons1 {\n border: none;\n border-radius: 10px;\n text-align: center;\n background-color: black; /* Backfound colour */\n color: white;\n padding: 15px 0px;\n text-decoration: none;\n display: inline-block;\n font-size: 14px;\n margin: 0px 0px;\n cursor: pointer;\n}\n</style>\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"global","x":500,"y":1330,"wires":[[]]},{"id":"d1c0666c.015a5","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Vol +","order":14,"width":1,"height":1,"format":"<style>\n.button {/*button styles*/}\n.B{ color: grey;}\n.A{ color: white;}\n</style>\n\n<button class=\"RCButtons1 {{msg.payload}}\" ng-mousedown=\"send({payload: 'Down'})\" \nng-mouseup=\"send({payload: 'Up'})\">Vol +</button>\n","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1570,"wires":[["69848a07.c10464"]]},{"id":"40429ed0.0fb288","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-250","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":260,"y":1880,"wires":[["11e3968c.d6de51"]]},{"id":"baa7b104.5ae088","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":1920,"wires":[[],["11e3968c.d6de51"]]},{"id":"11e3968c.d6de51","type":"function","z":"1781e581.31721a","name":"toggle","func":"let msg1 = {};\nlet y = context.get(\"pressed\") || 0;\nvar x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.payload = \"A\";\n context.set(\"pressed\",0); // Wipe count.\n// msg1.colour = \"lime\";\n\n return [msg,null];\n}\n\nif (x === 0)\n{\n if (y === 0)\n {\n // Send pressed message.\n y = y + 1;\n context.set(\"pressed\",y);\n // msg1 = {payload:\"Goo\"};\n msg1 = {payload:\"Pressed\"};\n node.send([null,msg1]);\n //node.send([null,msg1]);\n \n }\n msg.payload = \"B\";\n msg1.colour = \"red\";\n} else\nif (x === 1)\n{\n msg.payload = \"A\";\n msg1.colour = \"lime\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn [msg,null];","outputs":2,"noerr":0,"x":410,"y":1880,"wires":[["b2f939.032cc6c8","5d923460.8e55c4"],[]]},{"id":"8f960c13.389b9","type":"link in","z":"1781e581.31721a","name":"","links":["b2f939.032cc6c8"],"x":165,"y":1570,"wires":[["d1c0666c.015a5"]]},{"id":"b2f939.032cc6c8","type":"link out","z":"1781e581.31721a","name":"","links":["8f960c13.389b9"],"x":505,"y":1860,"wires":[]},{"id":"5f10d2a2.d7607c","type":"link in","z":"1781e581.31721a","name":"","links":["69848a07.c10464"],"x":135,"y":1890,"wires":[["40429ed0.0fb288","baa7b104.5ae088"]]},{"id":"69848a07.c10464","type":"link out","z":"1781e581.31721a","name":"","links":["5f10d2a2.d7607c"],"x":364,"y":1570,"wires":[]},{"id":"f9f71044.da6698","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Vol -","order":17,"width":1,"height":1,"format":"<style>\n.button {/*button styles*/}\n.B{ color: grey;}\n.A{ color: white;}\n</style>\n\n<button class=\"RCButtons1 {{msg.payload}}\" ng-mousedown=\"send({payload: 'Down'})\" \nng-mouseup=\"send({payload: 'Up'})\">Vol -</button>\n","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1620,"wires":[["8b474223.183d08"]]},{"id":"9e39294d.72df48","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-250","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":260,"y":1960,"wires":[["79e65e72.c79b18"]]},{"id":"440a65f9.36b08c","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":2000,"wires":[[],["79e65e72.c79b18"]]},{"id":"79e65e72.c79b18","type":"function","z":"1781e581.31721a","name":"toggle","func":"let msg1 = {};\nlet y = context.get(\"pressed\") || 0;\nvar x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.payload = \"A\";\n context.set(\"pressed\",0); // Wipe count.\n// msg1.colour = \"lime\";\n\n return [msg,null];\n}\n\nif (x === 0)\n{\n if (y === 0)\n {\n // Send pressed message.\n y = y + 1;\n context.set(\"pressed\",y);\n // msg1 = {payload:\"Goo\"};\n msg1 = {payload:\"Pressed\"};\n node.send([null,msg1]);\n //node.send([null,msg1]);\n \n }\n msg.payload = \"B\";\n msg1.colour = \"red\";\n} else\nif (x === 1)\n{\n msg.payload = \"A\";\n msg1.colour = \"lime\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn [msg,null];","outputs":2,"noerr":0,"x":410,"y":1960,"wires":[["2b8f290.2f6af58","91535c08.8eb8a"],[]]},{"id":"38632cf8.1416c4","type":"link in","z":"1781e581.31721a","name":"","links":["2b8f290.2f6af58"],"x":165,"y":1620,"wires":[["f9f71044.da6698"]]},{"id":"2b8f290.2f6af58","type":"link out","z":"1781e581.31721a","name":"","links":["38632cf8.1416c4"],"x":505,"y":1940,"wires":[]},{"id":"46de1438.358a4c","type":"link in","z":"1781e581.31721a","name":"","links":["8b474223.183d08"],"x":135,"y":1970,"wires":[["9e39294d.72df48","440a65f9.36b08c"]]},{"id":"8b474223.183d08","type":"link out","z":"1781e581.31721a","name":"","links":["46de1438.358a4c"],"x":364,"y":1620,"wires":[]},{"id":"530c8cf7.a70744","type":"link in","z":"1781e581.31721a","name":"","links":["1fd3690f.639d27"],"x":295,"y":1320,"wires":[[]]},{"id":"1fd3690f.639d27","type":"link out","z":"1781e581.31721a","name":"","links":["530c8cf7.a70744"],"x":220,"y":1320,"wires":[]},{"id":"e4e3b572.b2fb08","type":"link out","z":"1781e581.31721a","name":"","links":["f04eb47e.d2faf8"],"x":359,"y":1820,"wires":[]},{"id":"62e24409.42ea94","type":"link out","z":"1781e581.31721a","name":"","links":["b82f0da4.35205"],"x":585,"y":1820,"wires":[]},{"id":"b43ccc1f.bf4aa","type":"link out","z":"1781e581.31721a","name":"","links":["ca1fbb11.f219"],"x":825,"y":1820,"wires":[]},{"id":"d7b7d5f2.3a5e48","type":"link out","z":"1781e581.31721a","name":"","links":["45f4a2aa.8efdcc"],"x":359,"y":1770,"wires":[]},{"id":"e14e9d65.fb77e","type":"link out","z":"1781e581.31721a","name":"","links":["de1c545e.70ada8"],"x":585,"y":1770,"wires":[]},{"id":"1118a5c4.a7ae2a","type":"link out","z":"1781e581.31721a","name":"","links":["5cfe822d.9e1814"],"x":825,"y":1770,"wires":[]},{"id":"60092350.bb50d4","type":"link out","z":"1781e581.31721a","name":"","links":["2f133be1.7092bc"],"x":360,"y":1720,"wires":[]},{"id":"afbd4673.5e049","type":"link out","z":"1781e581.31721a","name":"","links":["177e6a72.ada5ae"],"x":365,"y":1670,"wires":[]},{"id":"c9b4cef1.46fa28","type":"link out","z":"1781e581.31721a","name":"","links":["8209bb9e.3e47a"],"x":585,"y":1670,"wires":[]},{"id":"4f16229f.83e86c","type":"link out","z":"1781e581.31721a","name":"","links":["161ffc66.196564"],"x":585,"y":1720,"wires":[]},{"id":"11932257.837916","type":"link out","z":"1781e581.31721a","name":"","links":["7a3f6d20.ee6adc"],"x":825,"y":1670,"wires":[]},{"id":"95ce3b1e.0f93b8","type":"link out","z":"1781e581.31721a","name":"","links":["9e84443f.413328"],"x":825,"y":1720,"wires":[]},{"id":"ea7d6c1f.e4e118","type":"link out","z":"1781e581.31721a","name":"","links":["1ec1e50a.666ddb"],"x":585,"y":1620,"wires":[]},{"id":"9451d6b2.cb6948","type":"link out","z":"1781e581.31721a","name":"","links":["b934ec01.a8adf8"],"x":825,"y":1620,"wires":[]},{"id":"db5e3233.c9fad","type":"link out","z":"1781e581.31721a","name":"","links":["21eebe73.5057da"],"x":825,"y":1570,"wires":[]},{"id":"9d7f3cad.d7b8f","type":"link out","z":"1781e581.31721a","name":"","links":["1ab9b028.28f328"],"x":585,"y":1570,"wires":[]},{"id":"da55f79c.415fe8","type":"link out","z":"1781e581.31721a","name":"","links":["fb43d543.5faef"],"x":585,"y":1520,"wires":[]},{"id":"988671af.8646b","type":"link out","z":"1781e581.31721a","name":"","links":["a9d0f3df.54ccd"],"x":825,"y":1520,"wires":[]},{"id":"6d970c11.6d158c","type":"link out","z":"1781e581.31721a","name":"","links":["260e6c63.8bb99c"],"x":364,"y":1520,"wires":[]},{"id":"1cf586b3.c22e71","type":"link out","z":"1781e581.31721a","name":"","links":["b1c885a8.159018"],"x":365,"y":1370,"wires":[]},{"id":"a97c8331.4a4d88","type":"link out","z":"1781e581.31721a","name":"","links":["12a841e3.f25696"],"x":365,"y":1420,"wires":[]},{"id":"6580d2cf.bea1a4","type":"link out","z":"1781e581.31721a","name":"","links":["1b9c3393.0843dc"],"x":365,"y":1470,"wires":[]},{"id":"65209bf1.63524c","type":"link out","z":"1781e581.31721a","name":"","links":["8173943f.2c6a"],"x":585,"y":1370,"wires":[]},{"id":"57e01527.528f84","type":"link out","z":"1781e581.31721a","name":"","links":["9baf35a8.7bdd78"],"x":585,"y":1420,"wires":[]},{"id":"caf00dda.129a28","type":"link out","z":"1781e581.31721a","name":"","links":["4b242414.764014"],"x":585,"y":1470,"wires":[]},{"id":"80b64ca.c7a903","type":"link out","z":"1781e581.31721a","name":"","links":["c6055e4.7791fa"],"x":825,"y":1370,"wires":[]},{"id":"4debbbe1.4993ec","type":"link out","z":"1781e581.31721a","name":"","links":["e9ca8a9c.7a84b8"],"x":825,"y":1420,"wires":[]},{"id":"ee449d92.abff6","type":"link out","z":"1781e581.31721a","name":"","links":["d7c8f004.b43d08"],"x":825,"y":1470,"wires":[]},{"id":"5d923460.8e55c4","type":"link out","z":"1781e581.31721a","name":"","links":["936a51e9.cde21"],"x":505,"y":1900,"wires":[]},{"id":"91535c08.8eb8a","type":"link out","z":"1781e581.31721a","name":"","links":["9ac1a592.01dc8"],"x":505,"y":1980,"wires":[]},{"id":"e5ef09d7.3e8818","type":"ui_template","z":"1781e581.31721a","group":"48d9dd9c.267f3c","name":"","order":32,"width":0,"height":0,"format":"<style>\n .nr-dashboard-cardtitle {\n text-align:center;\n }\n body {\n background-image: url(\"/Pictures/metal_4.jpg\");\n background-repeat: repeat;\n }\n #HDMI_TV_control_Full_Remote,#HDMI_TV_control_Full_Remote2,#HDMI_TV_control_Audio,#HDMI_TV_control_Navigation,#HDMI_TV_control_Playback_Ctl,#HDMI_TV_control_POWER{\n background-image: url(\"/Pictures/metal_2.jpg\");\n}\n</style>\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":740,"y":140,"wires":[[]]},{"id":"eabe7d43.b23f48","type":"ui_group","z":"","name":"Full_Remote2","tab":"b128eb09.9f681","order":3,"disp":false,"width":"3","collapse":false},{"id":"48d9dd9c.267f3c","type":"ui_group","z":"","name":"Full_Remote","tab":"b128eb09.9f681","order":1,"disp":false,"width":"3","collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
This is the Original remote control panel.
It also has the samsung
node/s.
[{"id":"8d0ce25f.42dfb","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"1","key":"KEY_1","x":380,"y":360,"wires":[[]]},{"id":"2b933f36.54b38","type":"comment","z":"1781e581.31721a","name":"Remote control","info":"","x":550,"y":160,"wires":[]},{"id":"22ea193d.41613e","type":"ui_button","z":"1781e581.31721a","name":"1","group":"48d9dd9c.267f3c","order":1,"width":"1","height":"1","passthru":false,"label":"1","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"1","payloadType":"str","topic":"","x":260,"y":360,"wires":[["8d0ce25f.42dfb"]]},{"id":"8c08f276.2b4ba","type":"ui_button","z":"1781e581.31721a","name":"2","group":"48d9dd9c.267f3c","order":2,"width":"1","height":"1","passthru":false,"label":"2","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"2","payloadType":"str","topic":"","x":500,"y":360,"wires":[["a7837517.83c79"]]},{"id":"a7837517.83c79","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"2","key":"KEY_2","x":620,"y":360,"wires":[[]]},{"id":"73ba531d.ec99b4","type":"ui_button","z":"1781e581.31721a","name":"3","group":"48d9dd9c.267f3c","order":3,"width":"1","height":"1","passthru":false,"label":"3","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"3","payloadType":"str","topic":"","x":740,"y":360,"wires":[["46435313.1a510c"]]},{"id":"46435313.1a510c","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"3","key":"KEY_3","x":860,"y":360,"wires":[[]]},{"id":"3999b8ac.d89c08","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"4","key":"KEY_4","x":380,"y":440,"wires":[[]]},{"id":"90389622.f03a28","type":"ui_button","z":"1781e581.31721a","name":"4","group":"48d9dd9c.267f3c","order":4,"width":"1","height":"1","passthru":false,"label":"4","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"4","payloadType":"str","topic":"","x":260,"y":440,"wires":[["3999b8ac.d89c08"]]},{"id":"e3079d37.34766","type":"ui_button","z":"1781e581.31721a","name":"5","group":"48d9dd9c.267f3c","order":5,"width":"1","height":"1","passthru":false,"label":"5","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"5","payloadType":"str","topic":"","x":500,"y":440,"wires":[["818558fc.3f6fd8"]]},{"id":"818558fc.3f6fd8","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"5","key":"KEY_5","x":620,"y":440,"wires":[[]]},{"id":"4dc8177.5320568","type":"ui_button","z":"1781e581.31721a","name":"6","group":"48d9dd9c.267f3c","order":6,"width":"1","height":"1","passthru":false,"label":"6","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"6","payloadType":"str","topic":"","x":740,"y":440,"wires":[["75cf14.de5b78ec"]]},{"id":"75cf14.de5b78ec","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"6","key":"KEY_6","x":860,"y":440,"wires":[[]]},{"id":"42e643d2.677004","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"7","key":"KEY_7","x":380,"y":520,"wires":[[]]},{"id":"aaf0f665.88e55","type":"ui_button","z":"1781e581.31721a","name":"7","group":"48d9dd9c.267f3c","order":7,"width":"1","height":"1","passthru":false,"label":"7","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"7","payloadType":"str","topic":"","x":260,"y":520,"wires":[["42e643d2.677004"]]},{"id":"1dec44e7.9adb43","type":"ui_button","z":"1781e581.31721a","name":"8","group":"48d9dd9c.267f3c","order":8,"width":"1","height":"1","passthru":false,"label":"8","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"8","payloadType":"str","topic":"","x":500,"y":520,"wires":[["7fb37d19.148cb4"]]},{"id":"7fb37d19.148cb4","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"8","key":"KEY_8","x":620,"y":520,"wires":[[]]},{"id":"ec3a6fa2.07ee","type":"ui_button","z":"1781e581.31721a","name":"9","group":"48d9dd9c.267f3c","order":9,"width":"1","height":"1","passthru":false,"label":"9","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"9","payloadType":"str","topic":"","x":740,"y":520,"wires":[["72ad45e.599363c"]]},{"id":"72ad45e.599363c","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"9","key":"KEY_9","x":860,"y":520,"wires":[[]]},{"id":"1f00539f.b43cac","type":"ui_button","z":"1781e581.31721a","name":"0","group":"48d9dd9c.267f3c","order":12,"width":"1","height":"1","passthru":false,"label":"0","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"0","payloadType":"str","topic":"","x":500,"y":600,"wires":[["61b35f9d.7b2a2"]]},{"id":"61b35f9d.7b2a2","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"0","key":"KEY_0","x":620,"y":600,"wires":[[]]},{"id":"f079c1f2.ca032","type":"ui_button","z":"1781e581.31721a","name":"Prev","group":"48d9dd9c.267f3c","order":13,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> replay </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Prev","payloadType":"str","topic":"","x":740,"y":600,"wires":[["e0156063.d2a55"]]},{"id":"e0156063.d2a55","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Prev","key":"KEY_PRECH","x":860,"y":600,"wires":[[]]},{"id":"8ba33011.dceef8","type":"ui_button","z":"1781e581.31721a","name":"PWR","group":"9f39f988.dac9","order":1,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> power_settings_new </span>","tooltip":"","color":"{{msg.colour}}","bgcolor":"black","icon":"","payload":"PWR","payloadType":"str","topic":"","x":250,"y":240,"wires":[["4ab2a748.754758"]]},{"id":"a683b183.ad40d8","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"PWR","key":"KEY_POWER","x":380,"y":280,"wires":[[]]},{"id":"208c3faa.06cf5","type":"ui_button","z":"1781e581.31721a","name":"SRC","group":"9f39f988.dac9","order":3,"width":"1","height":"1","passthru":false,"label":"SRC","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"SRC","payloadType":"str","topic":"","x":740,"y":280,"wires":[["39e78ca2.6883b4"]]},{"id":"39e78ca2.6883b4","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"SRC","key":"KEY_SOURCE","x":860,"y":280,"wires":[[]]},{"id":"cc3124a9.83ce08","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Vol +","key":"KEY_VOLUP","x":380,"y":680,"wires":[[]]},{"id":"ebfb4fe.1f5293","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Mute","key":"KEY_MUTE","x":620,"y":680,"wires":[[]]},{"id":"7e61a7c.18a7e58","type":"ui_button","z":"1781e581.31721a","name":"Mute","group":"48d9dd9c.267f3c","order":15,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> volume_off </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Mute","payloadType":"str","topic":"","x":500,"y":680,"wires":[["ebfb4fe.1f5293"]]},{"id":"7ae72098.d7ee7","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Vol -","key":"KEY_VOLDOWN","x":380,"y":760,"wires":[[]]},{"id":"321d92d6.868726","type":"ui_button","z":"1781e581.31721a","name":"ChLst","group":"48d9dd9c.267f3c","order":18,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> library_books </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"ChLst","payloadType":"str","topic":"","x":500,"y":760,"wires":[["940d76a.a98b308"]]},{"id":"940d76a.a98b308","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"ChLst","key":"KEY_CH_LIST","x":620,"y":760,"wires":[[]]},{"id":"6b25ff79.605418","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Ch +","key":"KEY_CHUP","x":860,"y":680,"wires":[[]]},{"id":"38de5db2.45062a","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Ch -","key":"KEY_CHDOWN","x":860,"y":760,"wires":[[]]},{"id":"bee1247.7fa7958","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"NetFlx","key":"KEY_MAGIC_CHANNEL","x":380,"y":840,"wires":[[]]},{"id":"6d1d1b31.57ab14","type":"ui_button","z":"1781e581.31721a","name":"NetFlx","group":"48d9dd9c.267f3c","order":20,"width":"1","height":"1","passthru":false,"label":"NetFlx","tooltip":"","color":"red","bgcolor":"white","icon":"","payload":"NetFlx","payloadType":"str","topic":"","x":260,"y":840,"wires":[["bee1247.7fa7958"]]},{"id":"7ec60814.30a14","type":"ui_button","z":"1781e581.31721a","name":"Home","group":"48d9dd9c.267f3c","order":21,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> home </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Home","payloadType":"str","topic":"","x":500,"y":840,"wires":[["77684ce6.eb83a4"]]},{"id":"77684ce6.eb83a4","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Home","key":"KEY_HOME","x":620,"y":840,"wires":[[]]},{"id":"fe509f48.31ba28","type":"ui_button","z":"1781e581.31721a","name":"Vid","group":"48d9dd9c.267f3c","order":22,"width":"1","height":"1","passthru":false,"label":"Vid","tooltip":"","color":"blue","bgcolor":"white","icon":"","payload":"Vid","payloadType":"str","topic":"","x":740,"y":840,"wires":[["121dca56.d6aeae"]]},{"id":"121dca56.d6aeae","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Video","key":"KEY_VCR_MODE","x":860,"y":840,"wires":[[]]},{"id":"b949c904.23d5d","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"<","key":"KEY_LEFT","x":380,"y":1000,"wires":[[]]},{"id":"8e7737ad.a47428","type":"ui_button","z":"1781e581.31721a","name":"<","group":"48d9dd9c.267f3c","order":26,"width":"1","height":"1","passthru":false,"label":"<","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"<","payloadType":"str","topic":"","x":260,"y":1000,"wires":[["b949c904.23d5d"]]},{"id":"559b75fc.47a634","type":"ui_button","z":"1781e581.31721a","name":"Sel","group":"48d9dd9c.267f3c","order":27,"width":"1","height":"1","passthru":false,"label":"Sel","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Sel","payloadType":"str","topic":"","x":500,"y":1000,"wires":[["efef9850.b289"]]},{"id":"efef9850.b289","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Sel","key":"KEY_ENTER","x":620,"y":1000,"wires":[[]]},{"id":"9cd5ea54.99d078","type":"ui_button","z":"1781e581.31721a","name":">","group":"48d9dd9c.267f3c","order":28,"width":"1","height":"1","passthru":false,"label":">","tooltip":"","color":"","bgcolor":"black","icon":"","payload":">","payloadType":"str","topic":"","x":740,"y":1000,"wires":[["c73b9c5f.250c88"]]},{"id":"c73b9c5f.250c88","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":">","key":"KEY_RIGHT","x":860,"y":1000,"wires":[[]]},{"id":"501a5a08.9e205c","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Rtn","key":"KEY_RETURN","x":380,"y":1080,"wires":[[]]},{"id":"b99a7f9a.b32398","type":"ui_button","z":"1781e581.31721a","name":"Rtn","group":"48d9dd9c.267f3c","order":29,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> replay </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Rtn","payloadType":"str","topic":"","x":260,"y":1080,"wires":[["501a5a08.9e205c"]]},{"id":"b0dc5e71.33fbe","type":"ui_button","z":"1781e581.31721a","name":"V","group":"48d9dd9c.267f3c","order":30,"width":"1","height":"1","passthru":false,"label":"V","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"V","payloadType":"str","topic":"","x":500,"y":1080,"wires":[["8613647.063d118"]]},{"id":"8613647.063d118","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"V","key":"KEY_DOWN","x":620,"y":1080,"wires":[[]]},{"id":"e5288f3.9852df","type":"ui_button","z":"1781e581.31721a","name":"Exit","group":"48d9dd9c.267f3c","order":31,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> input </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Exit","payloadType":"str","topic":"","x":740,"y":1080,"wires":[["226043c0.fcbd34"]]},{"id":"226043c0.fcbd34","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Exit","key":"KEY_BACK_MHP","x":860,"y":1080,"wires":[[]]},{"id":"39dad2b2.79ff56","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"WWW","key":"KEY_W_LINK","x":380,"y":920,"wires":[[]]},{"id":"d2c4ad1f.c3e99","type":"ui_button","z":"1781e581.31721a","name":"WWW","group":"48d9dd9c.267f3c","order":23,"width":"1","height":"1","passthru":false,"label":"WWW","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"WWW","payloadType":"str","topic":"","x":260,"y":920,"wires":[["39dad2b2.79ff56"]]},{"id":"81c20f81.a8d6f8","type":"ui_button","z":"1781e581.31721a","name":"^","group":"48d9dd9c.267f3c","order":24,"width":"1","height":"1","passthru":false,"label":"^","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"^","payloadType":"str","topic":"","x":500,"y":920,"wires":[["212c9402.996b1c"]]},{"id":"212c9402.996b1c","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"^","key":"KEY_UP","x":620,"y":920,"wires":[[]]},{"id":"dcf7f9d3.795d5","type":"ui_button","z":"1781e581.31721a","name":"Guide","group":"48d9dd9c.267f3c","order":25,"width":"1","height":"1","passthru":false,"label":"","tooltip":"","color":"","bgcolor":"black","icon":"fa-list fa-2x","payload":"Guide","payloadType":"str","topic":"","x":740,"y":920,"wires":[["bafbcc11.fb2c"]]},{"id":"bafbcc11.fb2c","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Guide","key":"KEY_GUIDE","x":860,"y":920,"wires":[[]]},{"id":"1a0a2059.6b4f78","type":"ui_button","z":"1781e581.31721a","name":"Vol +","group":"48d9dd9c.267f3c","order":14,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> add </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Vol +","payloadType":"str","topic":"","x":260,"y":680,"wires":[["cc3124a9.83ce08"]]},{"id":"cae6b487.0682e","type":"ui_button","z":"1781e581.31721a","name":"Vol -","group":"48d9dd9c.267f3c","order":17,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> remove </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Vol -","payloadType":"str","topic":"","x":260,"y":760,"wires":[["7ae72098.d7ee7"]]},{"id":"9e61f18e.f83538","type":"ui_button","z":"1781e581.31721a","name":"Ch +","group":"48d9dd9c.267f3c","order":16,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> keyboard_arrow_up </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Ch +","payloadType":"str","topic":"","x":740,"y":680,"wires":[["6b25ff79.605418"]]},{"id":"71f6565d.32228","type":"ui_button","z":"1781e581.31721a","name":"Ch -","group":"48d9dd9c.267f3c","order":19,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> keyboard_arrow_down </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Ch -","payloadType":"str","topic":"","x":740,"y":760,"wires":[["38de5db2.45062a"]]},{"id":"ab113ee3.d074d8","type":"inject","z":"1781e581.31721a","name":"Background","topic":"","payload":"black","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":160,"wires":[["2a2e640c.8113bc"]]},{"id":"2a2e640c.8113bc","type":"change","z":"1781e581.31721a","name":"Settings","rules":[{"t":"set","p":"background","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":160,"wires":[[]]},{"id":"e1cf7fd.54c678","type":"ui_button","z":"1781e581.31721a","name":"i","group":"48d9dd9c.267f3c","order":10,"width":"1","height":"1","passthru":false,"label":"","tooltip":"","color":"","bgcolor":"black","icon":"fa-info-circle fa-2x","payload":"i","payloadType":"str","topic":"","x":260,"y":600,"wires":[["4d74506f.7cf048"]]},{"id":"4d74506f.7cf048","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Info","key":"KEY_INFO","x":380,"y":600,"wires":[[]]},{"id":"505c2f68.87286","type":"link in","z":"1781e581.31721a","name":"","links":["a8644e58.952668"],"x":295,"y":320,"wires":[[]]},{"id":"a8644e58.952668","type":"link out","z":"1781e581.31721a","name":"","links":["505c2f68.87286"],"x":220,"y":320,"wires":[]},{"id":"97056e47.8255d8","type":"link in","z":"1781e581.31721a","name":"","links":["dafe873d.463ae"],"x":775,"y":320,"wires":[["39e78ca2.6883b4"]]},{"id":"dafe873d.463ae","type":"link out","z":"1781e581.31721a","name":"","links":["97056e47.8255d8"],"x":700,"y":320,"wires":[]},{"id":"b1c885a8.159018","type":"link in","z":"1781e581.31721a","name":"","links":["fdf28629.590758","1cf586b3.c22e71"],"x":295,"y":400,"wires":[["8d0ce25f.42dfb"]]},{"id":"8173943f.2c6a","type":"link in","z":"1781e581.31721a","name":"","links":["6ab848f8.122608","65209bf1.63524c"],"x":535,"y":400,"wires":[["a7837517.83c79"]]},{"id":"c6055e4.7791fa","type":"link in","z":"1781e581.31721a","name":"","links":["1b5d33cd.d67094","80b64ca.c7a903"],"x":775,"y":400,"wires":[["46435313.1a510c"]]},{"id":"12a841e3.f25696","type":"link in","z":"1781e581.31721a","name":"","links":["dfaffa1a.803288","a97c8331.4a4d88"],"x":295,"y":480,"wires":[["3999b8ac.d89c08"]]},{"id":"9baf35a8.7bdd78","type":"link in","z":"1781e581.31721a","name":"","links":["c8764b64.b97c2","57e01527.528f84"],"x":535,"y":480,"wires":[["818558fc.3f6fd8"]]},{"id":"e9ca8a9c.7a84b8","type":"link in","z":"1781e581.31721a","name":"","links":["b1636887.2768d8","4debbbe1.4993ec"],"x":775,"y":480,"wires":[["75cf14.de5b78ec"]]},{"id":"1b9c3393.0843dc","type":"link in","z":"1781e581.31721a","name":"","links":["b16b8bc0.6a416","6580d2cf.bea1a4"],"x":295,"y":560,"wires":[["42e643d2.677004"]]},{"id":"4b242414.764014","type":"link in","z":"1781e581.31721a","name":"","links":["38ddc91c.ee22ee","caf00dda.129a28"],"x":535,"y":560,"wires":[["7fb37d19.148cb4"]]},{"id":"d7c8f004.b43d08","type":"link in","z":"1781e581.31721a","name":"","links":["52796825.3b67c8","ee449d92.abff6"],"x":775,"y":560,"wires":[["72ad45e.599363c"]]},{"id":"260e6c63.8bb99c","type":"link in","z":"1781e581.31721a","name":"","links":["7467e851.5d0978","6d970c11.6d158c"],"x":295,"y":640,"wires":[["4d74506f.7cf048"]]},{"id":"fb43d543.5faef","type":"link in","z":"1781e581.31721a","name":"","links":["e7065a9b.dd54c8","da55f79c.415fe8"],"x":535,"y":640,"wires":[["61b35f9d.7b2a2"]]},{"id":"a9d0f3df.54ccd","type":"link in","z":"1781e581.31721a","name":"","links":["c2963771.ef829","988671af.8646b"],"x":775,"y":640,"wires":[["e0156063.d2a55"]]},{"id":"21eebe73.5057da","type":"link in","z":"1781e581.31721a","name":"","links":["86dd9e3b.a6dda","db5e3233.c9fad"],"x":775,"y":720,"wires":[["6b25ff79.605418"]]},{"id":"1ab9b028.28f328","type":"link in","z":"1781e581.31721a","name":"","links":["bfe2231f.12056","9d7f3cad.d7b8f"],"x":535,"y":720,"wires":[["ebfb4fe.1f5293"]]},{"id":"936a51e9.cde21","type":"link in","z":"1781e581.31721a","name":"","links":["1f728a36.ac1226","af7fdfa0.a5416","5d923460.8e55c4"],"x":295,"y":720,"wires":[["cc3124a9.83ce08","db5560b4.c1ced8"]]},{"id":"9ac1a592.01dc8","type":"link in","z":"1781e581.31721a","name":"","links":["98938b02.0a76f8","19a705b2.612422","91535c08.8eb8a"],"x":295,"y":800,"wires":[["7ae72098.d7ee7","8a6ee1ad.c90888"]]},{"id":"1ec1e50a.666ddb","type":"link in","z":"1781e581.31721a","name":"","links":["814fd891.26bcb","ea7d6c1f.e4e118"],"x":535,"y":800,"wires":[["940d76a.a98b308"]]},{"id":"b934ec01.a8adf8","type":"link in","z":"1781e581.31721a","name":"","links":["56769b2b.2cd684","9451d6b2.cb6948"],"x":775,"y":800,"wires":[["38de5db2.45062a"]]},{"id":"177e6a72.ada5ae","type":"link in","z":"1781e581.31721a","name":"","links":["ce928908.fff97","afbd4673.5e049"],"x":295,"y":880,"wires":[[]]},{"id":"8209bb9e.3e47a","type":"link in","z":"1781e581.31721a","name":"","links":["d280c6fe.0600a","c9b4cef1.46fa28"],"x":535,"y":880,"wires":[[]]},{"id":"7a3f6d20.ee6adc","type":"link in","z":"1781e581.31721a","name":"","links":["2f0e9f68.082d78","11932257.837916"],"x":775,"y":880,"wires":[["121dca56.d6aeae"]]},{"id":"9e84443f.413328","type":"link in","z":"1781e581.31721a","name":"","links":["d442172d.567ee","95ce3b1e.0f93b8"],"x":775,"y":960,"wires":[["bafbcc11.fb2c"]]},{"id":"161ffc66.196564","type":"link in","z":"1781e581.31721a","name":"","links":["ca537853.7e4b1","4f16229f.83e86c"],"x":535,"y":960,"wires":[["212c9402.996b1c"]]},{"id":"2f133be1.7092bc","type":"link in","z":"1781e581.31721a","name":"","links":["18d1c192.0914a6","60092350.bb50d4"],"x":295,"y":960,"wires":[["39dad2b2.79ff56"]]},{"id":"45f4a2aa.8efdcc","type":"link in","z":"1781e581.31721a","name":"","links":["19a258cf.2ebe0f","d7b7d5f2.3a5e48"],"x":295,"y":1040,"wires":[["b949c904.23d5d"]]},{"id":"de1c545e.70ada8","type":"link in","z":"1781e581.31721a","name":"","links":["51f0a400.a775a4","e14e9d65.fb77e"],"x":535,"y":1040,"wires":[["efef9850.b289"]]},{"id":"5cfe822d.9e1814","type":"link in","z":"1781e581.31721a","name":"","links":["8d131868.24b88","1118a5c4.a7ae2a"],"x":775,"y":1040,"wires":[["c73b9c5f.250c88"]]},{"id":"f04eb47e.d2faf8","type":"link in","z":"1781e581.31721a","name":"","links":["240cc143.85cfde","e4e3b572.b2fb08"],"x":295,"y":1120,"wires":[["501a5a08.9e205c"]]},{"id":"b82f0da4.35205","type":"link in","z":"1781e581.31721a","name":"","links":["67c2c3b1.a5d15c","62e24409.42ea94"],"x":535,"y":1120,"wires":[["8613647.063d118"]]},{"id":"ca1fbb11.f219","type":"link in","z":"1781e581.31721a","name":"","links":["67249505.c3f704","b43ccc1f.bf4aa"],"x":775,"y":1120,"wires":[["226043c0.fcbd34"]]},{"id":"db5560b4.c1ced8","type":"debug","z":"1781e581.31721a","name":"V +","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":380,"y":720,"wires":[]},{"id":"8a6ee1ad.c90888","type":"debug","z":"1781e581.31721a","name":"V -","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":380,"y":800,"wires":[]},{"id":"4ab2a748.754758","type":"samsung-tv-isalive","z":"1781e581.31721a","device":"f8686d01.926b4","name":"On?","x":380,"y":240,"wires":[["c80c5ef4.b6abe8","a683b183.ad40d8"],["7218578.6be5fa8","a683b183.ad40d8","98bc60af.d7a708"]]},{"id":"7218578.6be5fa8","type":"change","z":"1781e581.31721a","name":"On","rules":[{"t":"set","p":"colour","pt":"msg","to":"lime","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":110,"y":260,"wires":[["8ba33011.dceef8"]]},{"id":"c80c5ef4.b6abe8","type":"change","z":"1781e581.31721a","name":"Off","rules":[{"t":"set","p":"colour","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":110,"y":220,"wires":[["8ba33011.dceef8"]]},{"id":"98bc60af.d7a708","type":"link out","z":"1781e581.31721a","name":"","links":["352c1eb1.100bd2","e600188a.f9b7"],"x":475,"y":280,"wires":[]},{"id":"e600188a.f9b7","type":"link in","z":"1781e581.31721a","name":"","links":["98bc60af.d7a708"],"x":655,"y":1160,"wires":[["1ee8cb96.f6238c"]]},{"id":"1ee8cb96.f6238c","type":"delay","z":"1781e581.31721a","name":"Delay","pauseType":"delay","timeout":".5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":740,"y":1160,"wires":[["226043c0.fcbd34"]]},{"id":"f8686d01.926b4","type":"samsung-tv","z":"","name":"","ip":"192.168.0.9","mac":"00:C3:F4:A9:CF:DE","token":"34217597"},{"id":"48d9dd9c.267f3c","type":"ui_group","z":"","name":"Full_Remote","tab":"b128eb09.9f681","order":1,"disp":false,"width":"3","collapse":false},{"id":"9f39f988.dac9","type":"ui_group","z":"","name":"POWER","tab":"b128eb09.9f681","order":2,"disp":true,"width":"2","collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
This is the transport control
part:
[{"id":"d0eb827e.83055","type":"comment","z":"1781e581.31721a","name":"Playback CTL","info":"","x":1480,"y":110,"wires":[]},{"id":"fb9af480.7a422","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Rewind","key":"KEY_REWIND","x":1510,"y":200,"wires":[[]]},{"id":"673b18b7.fd88","type":"ui_button","z":"1781e581.31721a","name":"Rew","group":"61a7310a.16f18","order":1,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> fast_rewind </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Rew","payloadType":"str","topic":"","x":1380,"y":200,"wires":[["fb9af480.7a422"]]},{"id":"4c4f4cbc.92a10c","type":"ui_template","z":"1781e581.31721a","group":"61a7310a.16f18","name":"Play Pause","order":2,"width":"2","height":"1","format":"<md-button class=\"vibrate filled touched bigfont rounded\" style=\"background-color:#000000\" ng-click=\"send({payload: 'X'})\">\n <i class=\"material-icons\">\n <span style=\"color:{{msg.payload.pause}}\">pause</span> / <span style=\"color:{{msg.payload.play}}\">play_arrow</span>\n </i>\n</md-button> ","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","x":1920,"y":370,"wires":[["825d187.68424e8","dc9f1b5d.01f06"]]},{"id":"79904945.5e0d4","type":"inject","z":"1781e581.31721a","name":"{\"play\":\"#ff9900\",\"pause\":\"#00ff33\"}","topic":"","payload":"{\"play\":\"#ff9900\",\"pause\":\"#00ff33\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1580,"y":550,"wires":[["4c4f4cbc.92a10c"]]},{"id":"cc03101e.ffe4d8","type":"inject","z":"1781e581.31721a","name":"{\"play\":\"#ffffff\",\"pause\":\"ffffff\"}","topic":"","payload":"{\"play\":\"#ffffff\",\"pause\":\"ffffff\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1608,"y":598,"wires":[["4c4f4cbc.92a10c"]]},{"id":"f7f508ab.689ea8","type":"inject","z":"1781e581.31721a","name":"Start up signal","topic":"","payload":"SIGNAL","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":"1","x":1690,"y":90,"wires":[["da6a6f9d.c96f38","6413c4e6.8b5a1c"]]},{"id":"cd734660.6da8f8","type":"link out","z":"1781e581.31721a","name":"Delayed Start Signal","links":["458881fe.926b18","891f4ab1.f9b728","a972d321.345fb8"],"x":2080,"y":90,"wires":[],"l":true},{"id":"408a84d7.90cf24","type":"ui_button","z":"1781e581.31721a","name":"Ffw","group":"61a7310a.16f18","order":4,"width":"1","height":"1","passthru":false,"label":"<span class=\"material-icons\"> fast_forward </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Ffw","payloadType":"str","topic":"","x":1750,"y":200,"wires":[["512f7cac.c018ec"]]},{"id":"512f7cac.c018ec","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"FFwd","key":"KEY_FF","x":1870,"y":200,"wires":[[]]},{"id":"91bdbe5e.d132d","type":"ui_button","z":"1781e581.31721a","name":"Rec","group":"61a7310a.16f18","order":6,"width":"2","height":"1","passthru":false,"label":"","tooltip":"","color":"red","bgcolor":"black","icon":"fa-play-circle fa-2x","payload":"Rec","payloadType":"str","topic":"","x":1380,"y":250,"wires":[["1004b72a.519e31"]]},{"id":"1004b72a.519e31","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Stop","key":"KEY_REC","x":1500,"y":250,"wires":[[]]},{"id":"aaafbf68.18dee","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"str"},{"t":"eq","v":"1","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1520,"y":380,"wires":[["a0d6d0c4.153158","11757267.a4c15e"],["12daf648.2b9002","22c233b9.ca5c1c"]]},{"id":"a0d6d0c4.153158","type":"change","z":"1781e581.31721a","name":"Grey White","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"play\":\"grey\",\"pause\":\"white\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1710,"y":320,"wires":[["4c4f4cbc.92a10c","97f60b07.14927"]]},{"id":"12daf648.2b9002","type":"change","z":"1781e581.31721a","name":"White grey","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"play\":\"white\",\"pause\":\"grey\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1710,"y":430,"wires":[["4c4f4cbc.92a10c","36443ed0.cceeda"]]},{"id":"dfeecb8b.7f5058","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"0","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":"1","x":1380,"y":300,"wires":[["aaafbf68.18dee"]]},{"id":"82815143.a5559","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1380,"y":430,"wires":[["aaafbf68.18dee"]]},{"id":"825d187.68424e8","type":"function","z":"1781e581.31721a","name":"Push Button","func":"var x = context.get(\"counter\") || 0;\n\nif (x === 0)\n{\n msg.payload = \"0\";\n} else\nif (x === 1)\n{\n msg.payload = \"1\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn msg;","outputs":1,"noerr":0,"x":1540,"y":500,"wires":[["aaafbf68.18dee"]]},{"id":"345370b8.f15718","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"X","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1380,"y":500,"wires":[["825d187.68424e8"]]},{"id":"69db4a8b.a644d4","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":2100,"y":620,"wires":[["32c16b6d.add9bc"]]},{"id":"458881fe.926b18","type":"link in","z":"1781e581.31721a","name":"Delayed Start Signal","links":["cd734660.6da8f8"],"x":1710,"y":750,"wires":[["89a13e04.431c9"]],"l":true},{"id":"89a13e04.431c9","type":"delay","z":"1781e581.31721a","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1910,"y":750,"wires":[["4dd2974d.d3efc8"]]},{"id":"4dd2974d.d3efc8","type":"change","z":"1781e581.31721a","name":"Open","rules":[{"t":"set","p":"payload","pt":"msg","to":"open","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"xcontrol","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1900,"y":690,"wires":[["69db4a8b.a644d4","1f74cc2.793b934"]]},{"id":"c940de56.c67e98","type":"inject","z":"1781e581.31721a","name":"Close","topic":"xcontrol","payload":"close","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1900,"y":720,"wires":[["69db4a8b.a644d4","1f74cc2.793b934"]]},{"id":"e6bd6718.81131","type":"debug","z":"1781e581.31721a","name":"0","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":1950,"y":490,"wires":[]},{"id":"4a922e35.9ceb38","type":"debug","z":"1781e581.31721a","name":"1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":1950,"y":580,"wires":[]},{"id":"11757267.a4c15e","type":"link out","z":"1781e581.31721a","name":"","links":["7d069e6b.1e8be8"],"x":1655,"y":350,"wires":[]},{"id":"7d069e6b.1e8be8","type":"link in","z":"1781e581.31721a","name":"","links":["11757267.a4c15e"],"x":1865,"y":530,"wires":[["e6bd6718.81131","1f74cc2.793b934"]]},{"id":"22c233b9.ca5c1c","type":"link out","z":"1781e581.31721a","name":"","links":["ef0151ff.a92e5"],"x":1655,"y":400,"wires":[]},{"id":"ef0151ff.a92e5","type":"link in","z":"1781e581.31721a","name":"","links":["22c233b9.ca5c1c"],"x":1865,"y":620,"wires":[["4a922e35.9ceb38","cd873645.c1e41"]]},{"id":"b975d2c1.1166f8","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Pause","key":"KEY_PAUSE","x":2240,"y":530,"wires":[[]]},{"id":"32c16b6d.add9bc","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Play","key":"KEY_PLAY","x":2240,"y":620,"wires":[[]]},{"id":"fbd8e241.ce83c8","type":"inject","z":"1781e581.31721a","name":"Open","topic":"xcontrol","payload":"open","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1900,"y":780,"wires":[["69db4a8b.a644d4","1f74cc2.793b934"]]},{"id":"cd873645.c1e41","type":"change","z":"1781e581.31721a","name":"Del","rules":[{"t":"delete","p":"topic","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1950,"y":620,"wires":[["69db4a8b.a644d4"]]},{"id":"71111c2.84ffa64","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2130,"y":770,"wires":[["32c16b6d.add9bc"]]},{"id":"a0ca80aa.4c83e8","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2130,"y":470,"wires":[["b975d2c1.1166f8"]]},{"id":"1f74cc2.793b934","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":2100,"y":530,"wires":[["b975d2c1.1166f8"]]},{"id":"97f60b07.14927","type":"debug","z":"1781e581.31721a","name":"Into button TOP","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1930,"y":320,"wires":[]},{"id":"36443ed0.cceeda","type":"debug","z":"1781e581.31721a","name":"Into button BOTTOM","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1950,"y":430,"wires":[]},{"id":"dc9f1b5d.01f06","type":"debug","z":"1781e581.31721a","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":2120,"y":370,"wires":[]},{"id":"a972d321.345fb8","type":"link in","z":"1781e581.31721a","name":"Delayed Start Signal","links":["cd734660.6da8f8"],"x":1340,"y":470,"wires":[["825d187.68424e8"]],"l":true},{"id":"7d5c7c89.021ed4","type":"inject","z":"1781e581.31721a","name":"grey white","topic":"","payload":"{\"play\":\"grey\",\"pause\":\"white\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1550,"y":640,"wires":[["4c4f4cbc.92a10c"]]},{"id":"f2635cd7.bdf52","type":"inject","z":"1781e581.31721a","name":"white grey","topic":"","payload":"{\"play\":\"white\",\"pause\":\"grey\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1550,"y":680,"wires":[["4c4f4cbc.92a10c"]]},{"id":"776c51cf.fe0278","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Stop","key":"KEY_STOP","x":1870,"y":250,"wires":[[]]},{"id":"c996071.7321678","type":"ui_button","z":"1781e581.31721a","name":"Stop","group":"61a7310a.16f18","order":7,"width":"2","height":"1","passthru":false,"label":"<span class=\"material-icons\"> stop </span>","tooltip":"","color":"","bgcolor":"black","icon":"","payload":"Stop","payloadType":"str","topic":"","x":1750,"y":250,"wires":[["776c51cf.fe0278"]]},{"id":"da6a6f9d.c96f38","type":"delay","z":"1781e581.31721a","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1870,"y":90,"wires":[["cd734660.6da8f8"]]},{"id":"6413c4e6.8b5a1c","type":"link out","z":"1781e581.31721a","name":"Start Signal","links":["303daf27.51a3d8","2a8507bf.b1c788","d39b1a50.5c654"],"x":1880,"y":130,"wires":[],"l":true},{"id":"d39b1a50.5c654","type":"link in","z":"1781e581.31721a","name":"Start Signal","links":["6413c4e6.8b5a1c"],"x":1360,"y":330,"wires":[["aaafbf68.18dee"]],"l":true},{"id":"f8686d01.926b4","type":"samsung-tv","z":"","name":"","ip":"192.168.0.9","mac":"00:C3:F4:A9:CF:DE","token":"34217597"},{"id":"61a7310a.16f18","type":"ui_group","z":"","name":"Playback Ctl","tab":"b128eb09.9f681","order":5,"disp":true,"width":"6","collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
The Audio control
part.
[{"id":"41cba5fa.913b04","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Mute","key":"KEY_MUTE","x":3380,"y":430,"wires":[[]]},{"id":"9d4160df.0deec8","type":"ui_template","z":"1781e581.31721a","group":"fefa8817.8dc6c8","name":"V Up","order":1,"width":2,"height":1,"format":"<button ng-mousedown=\"send({payload: 'Down'})\" ng-mouseup=\"send({payload: 'Up'})\"> <i class=\"material-icons\"> <span style=\"color:{{msg.colour}}\"> volume_up </i> </button>","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","x":2670,"y":240,"wires":[["53946f22.c5712","38469634.7c0eea"]]},{"id":"53946f22.c5712","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-140","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":2910,"y":240,"wires":[["3a6edce2.c85564"]]},{"id":"d627066f.de17d8","type":"comment","z":"1781e581.31721a","name":"Audio","info":"","x":2900,"y":170,"wires":[]},{"id":"568d350d.14111c","type":"ui_led","z":"1781e581.31721a","group":"fefa8817.8dc6c8","order":3,"width":"1","height":"1","label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"lime","value":"lime","valueType":"str"},{"color":"red","value":"red","valueType":"str"}],"allowColorForValueInMessage":false,"name":"","x":3370,"y":280,"wires":[]},{"id":"7d8bd5ab.f42364","type":"debug","z":"1781e581.31721a","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"colour","targetType":"msg","x":3390,"y":320,"wires":[]},{"id":"57244f4a.6bc47","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"Down","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2670,"y":280,"wires":[["53946f22.c5712","38469634.7c0eea"]]},{"id":"37a4198b.9f3df6","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"Up","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2670,"y":200,"wires":[["53946f22.c5712","38469634.7c0eea"]]},{"id":"91554637.5a1898","type":"function","z":"1781e581.31721a","name":"toggle","func":"var x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.colour = \"black\";\n msg.payload = \"black\";\n return msg;\n}\n\nif (x === 0)\n{\n msg.colour = \"lime\";\n msg.payload = \"lime\";\n} else\nif (x === 1)\n{\n msg.colour = \"black\";\n msg.payload = \"black\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn msg;","outputs":1,"noerr":0,"x":3200,"y":280,"wires":[["568d350d.14111c","7d8bd5ab.f42364","9d4160df.0deec8"]]},{"id":"d3420d1c.81d2e8","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Vol +","key":"KEY_VOLUP","x":3370,"y":240,"wires":[[]]},{"id":"c5a49f99.74c43","type":"samsung-tv-send","z":"1781e581.31721a","device":"f8686d01.926b4","name":"Vol -","key":"KEY_VOLDOWN","x":3380,"y":640,"wires":[[]]},{"id":"38469634.7c0eea","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":2900,"y":280,"wires":[[],["797ca1fa.62732"]]},{"id":"4be3713d.e8cd18","type":"function","z":"1781e581.31721a","name":"toggle","func":"var x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.colour = \"black\";\n msg.payload = \"black\";\n return msg;\n}\n\nif (x === 0)\n{\n msg.colour = \"lime\";\n msg.payload = \"lime\";\n} else\nif (x === 1)\n{\n msg.colour = \"black\";\n msg.payload = \"black\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn msg;","outputs":1,"noerr":0,"x":3210,"y":680,"wires":[["292e1a8c.a759fe","d145337a.9c773","ced87406.b0a318"]]},{"id":"d44b40e6.dd3b6","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-140","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":2890,"y":640,"wires":[["c1bc76a0.0f1eb"]]},{"id":"292e1a8c.a759fe","type":"ui_led","z":"1781e581.31721a","group":"fefa8817.8dc6c8","order":8,"width":"1","height":"1","label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"lime","value":"lime","valueType":"str"},{"color":"red","value":"red","valueType":"str"}],"allowColorForValueInMessage":false,"name":"","x":3380,"y":680,"wires":[]},{"id":"d145337a.9c773","type":"debug","z":"1781e581.31721a","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":3400,"y":720,"wires":[]},{"id":"5f7f697e.383358","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":2880,"y":680,"wires":[[],["bcf7476b.db653"]]},{"id":"ced87406.b0a318","type":"ui_template","z":"1781e581.31721a","group":"fefa8817.8dc6c8","name":"V Down","order":7,"width":2,"height":1,"format":"<button ng-mousedown=\"send({payload: 'Down'})\" ng-mouseup=\"send({payload: 'Up'})\"> <i class=\"material-icons\"> <span style=\"color:{{msg.colour}}\"> volume_down </i> </button>","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","x":2640,"y":640,"wires":[["d44b40e6.dd3b6","5f7f697e.383358"]]},{"id":"2fa19d68.e77e9a","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"Up","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2650,"y":600,"wires":[["d44b40e6.dd3b6","5f7f697e.383358"]]},{"id":"5c298c9c.7a77a4","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"Down","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2650,"y":680,"wires":[["d44b40e6.dd3b6","5f7f697e.383358"]]},{"id":"891f4ab1.f9b728","type":"link in","z":"1781e581.31721a","name":"Delayed Start Signal","links":["cd734660.6da8f8"],"x":2430,"y":470,"wires":[["69d15c58.21d254"]],"l":true},{"id":"c447bcdf.42569","type":"change","z":"1781e581.31721a","name":"Open","rules":[{"t":"set","p":"payload","pt":"msg","to":"open","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"xcontrol","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2900,"y":470,"wires":[["1d1ee51a.c6c7cb","c1bc76a0.0f1eb","3a6edce2.c85564","bcf7476b.db653","797ca1fa.62732"]]},{"id":"1d1ee51a.c6c7cb","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":3060,"y":430,"wires":[["41cba5fa.913b04"]]},{"id":"a216b1e1.bcd1a","type":"function","z":"1781e581.31721a","name":"Push Button","func":"var state = context.get(\"STATE\")||0;\n\n// Look for a !X message to get values.\nif (msg.payload != \"X\") //Do this if the message is NOT \"X\"\n{\n //\n //node.warn(\"Setting up\");\n // Background colours first.\n //\n context.set(\"ABGC\", msg.colourA);\n context.set(\"BBGC\", msg.colourB);\n //\n // Now do text.\n //\n context.set(\"Atxt\", msg.txtA);\n context.set(\"Btxt\", msg.txtB);\n //\n // Font colours.\n //\n context.set(\"AFC\",msg.txtclrA);\n context.set(\"BFC\",msg.txtclrB);\n //\n // Payloads.\n //\n context.set(\"PayloadA\", msg.payloadA);\n context.set(\"PayloadB\", msg.payloadB);\n //\n // Topic.\n //\n if (msg.topicSET !== null)\n {\n context.set(\"Topic\",msg.topicSET);\n } else\n {\n context.set(\"Topic\",\"~\");\n }\n msg.colour = msg.colourA;\n msg.fontclr = msg.txtclrA;\n msg.txt = msg.txtA;\n msg.topic = msg.topicSET;\n msg.payload = msg.payloadA;\n return msg;\n}\n// Now on to the real stuff.\nif (msg.payload == \"X\")\n{\n state = (state + 1)% 2;\n //node.warn(state);\n context.set(\"STATE\",state);\n}\nif (state === 0)\n{\n // Condition A state == 0\n msg.payload = context.get(\"PayloadA\");\n msg.colour = context.get(\"ABGC\");\n msg.txt = context.get(\"Atxt\");\n msg.fontclr = context.get(\"AFC\");\n} else\n{\n // Condition B state == 1\n msg.payload = context.get(\"PayloadB\");\n msg.colour = context.get(\"BBGC\");\n msg.txt = context.get(\"Btxt\");\n msg.fontclr = context.get(\"BFC\");\n}\nif (context.get(\"Topic\") == \"~\")\n{\n msg.topic = \"\";\n} else\n{\n msg.topic = context.get(\"Topic\");\n}\nreturn msg;\n","outputs":1,"noerr":0,"x":2650,"y":430,"wires":[["69cc8758.473348","b403f00e.da2be8","1d1ee51a.c6c7cb","88e79106.48cca8"]]},{"id":"69cc8758.473348","type":"ui_button","z":"1781e581.31721a","name":"Mute","group":"fefa8817.8dc6c8","order":6,"width":"2","height":"1","passthru":false,"label":"{{msg.txt}}","tooltip":"","color":"{{msg.fontclr}}","bgcolor":"{{msg.colour}}","icon":"","payload":"X","payloadType":"str","topic":"","x":2630,"y":380,"wires":[["a216b1e1.bcd1a"]]},{"id":"b5bd7eae.7626c","type":"inject","z":"1781e581.31721a","name":"Setup","topic":"","payload":"foo","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":"1","x":2470,"y":300,"wires":[["3fddf989.f8d41e"]]},{"id":"3fddf989.f8d41e","type":"function","z":"1781e581.31721a","name":"Setup","func":"msg = {\n \"colourB\": \"red\",\n \"colourA\": \"green\",\n \"txtA\": '<span class=\"material-icons\">volume_off </span>',\n \"txtB\": '<span class=\"material-icons\">volume_up</span>',\n \"txtclrA\": \"black\",\n \"txtclrB\": \"black\",\n \"payloadB\": 0,\n \"payloadA\": 1,\n \"topicSET\": \"nothing\"\n}\nreturn msg;","outputs":1,"noerr":0,"x":2630,"y":340,"wires":[["a216b1e1.bcd1a","37ae109b.ee69e8"]]},{"id":"37ae109b.ee69e8","type":"debug","z":"1781e581.31721a","name":"Output","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":2900,"y":340,"wires":[]},{"id":"b403f00e.da2be8","type":"debug","z":"1781e581.31721a","name":"Output","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":2900,"y":380,"wires":[]},{"id":"a4ff7575.de2f","type":"inject","z":"1781e581.31721a","name":"","topic":"","payload":"X","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2470,"y":430,"wires":[["a216b1e1.bcd1a"]]},{"id":"2a8507bf.b1c788","type":"link in","z":"1781e581.31721a","name":"Start Signal","links":["6413c4e6.8b5a1c"],"x":2450,"y":340,"wires":[["3fddf989.f8d41e"]],"l":true},{"id":"69d15c58.21d254","type":"delay","z":"1781e581.31721a","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":2640,"y":470,"wires":[["c447bcdf.42569"]]},{"id":"3a6edce2.c85564","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":3060,"y":240,"wires":[["d3420d1c.81d2e8","91554637.5a1898","e40daf83.d87e08"]]},{"id":"c1bc76a0.0f1eb","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":3060,"y":640,"wires":[["c5a49f99.74c43","4be3713d.e8cd18"]]},{"id":"203af629.7c0bba","type":"function","z":"1781e581.31721a","name":"Push Button","func":"var state = context.get(\"STATE\")||0;\n\n// Look for a !X message to get values.\nif (msg.payload != \"X\") //Do this if the message is NOT \"X\"\n{\n //\n //node.warn(\"Setting up\");\n // Background colours first.\n //\n context.set(\"ABGC\", msg.colourA);\n context.set(\"BBGC\", msg.colourB);\n //\n // Now do text.\n //\n context.set(\"Atxt\", msg.txtA);\n context.set(\"Btxt\", msg.txtB);\n //\n // Font colours.\n //\n context.set(\"AFC\",msg.txtclrA);\n context.set(\"BFC\",msg.txtclrB);\n //\n // Payloads.\n //\n context.set(\"PayloadA\", msg.payloadA);\n context.set(\"PayloadB\", msg.payloadB);\n //\n // Topic.\n //\n if (msg.topicSET !== null)\n {\n context.set(\"Topic\",msg.topicSET);\n } else\n {\n context.set(\"Topic\",\"~\");\n }\n msg.colour = msg.colourA;\n msg.fontclr = msg.txtclrA;\n msg.txt = msg.txtA;\n msg.topic = msg.topicSET;\n msg.payload = msg.payloadA;\n return msg;\n}\n// Now on to the real stuff.\nif (msg.payload == \"X\")\n{\n state = (state + 1)% 2;\n //node.warn(state);\n context.set(\"STATE\",state);\n}\nif (state === 0)\n{\n // Condition A\n msg.payload = context.get(\"PayloadA\");\n msg.colour = context.get(\"ABGC\");\n msg.txt = context.get(\"Atxt\");\n msg.fontclr = context.get(\"AFC\");\n} else\n{\n // Condition B\n msg.payload = context.get(\"PayloadB\");\n msg.colour = context.get(\"BBGC\");\n msg.txt = context.get(\"Btxt\");\n msg.fontclr = context.get(\"BFC\");\n}\nif (context.get(\"Topic\") == \"~\")\n{\n msg.topic = \"\";\n} else\n{\n msg.topic = context.get(\"Topic\");\n}\nreturn msg;\n","outputs":1,"noerr":0,"x":2650,"y":820,"wires":[["16f7601f.88c79","9e5facf.d7f10d","71190f2d.713178"]]},{"id":"16f7601f.88c79","type":"ui_button","z":"1781e581.31721a","name":"Enable button","group":"fefa8817.8dc6c8","order":5,"width":"2","height":"1","passthru":false,"label":"{{msg.txt}}","tooltip":"","color":"{{msg.fontclr}}","bgcolor":"{{msg.colour}}","icon":"","payload":"X","payloadType":"str","topic":"","x":2660,"y":770,"wires":[["203af629.7c0bba"]]},{"id":"32b67a5d.231c86","type":"inject","z":"1781e581.31721a","name":"Setup","topic":"","payload":"foo","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":"3","x":2500,"y":730,"wires":[["49d7ad48.0f8b54"]]},{"id":"49d7ad48.0f8b54","type":"function","z":"1781e581.31721a","name":"Setup","func":"msg = {\n \"colourA\": \"red\",\n \"colourB\": \"lime\",\n \"txtA\": \"Disabled\",\n \"txtB\": \"Enabled\",\n \"txtclrA\": \"black\",\n \"txtclrB\": \"black\",\n \"payloadA\": 0,\n \"payloadB\": 1,\n \"topicSET\": \"CONTROL\"\n}\nreturn msg;","outputs":1,"noerr":0,"x":2630,"y":730,"wires":[["203af629.7c0bba","2dc74b3c.896bc4"]]},{"id":"2dc74b3c.896bc4","type":"debug","z":"1781e581.31721a","name":"Output","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":2890,"y":730,"wires":[]},{"id":"9e5facf.d7f10d","type":"debug","z":"1781e581.31721a","name":"Output","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":2890,"y":770,"wires":[]},{"id":"71190f2d.713178","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":2890,"y":820,"wires":[["3c310215.8088ae","8c14281d.12f448","d201d410.30f66"],["fa5896b6.29e148","86f8d704.12553","3c4b99dc.2895e6"]],"outputLabels":["open","closed"]},{"id":"675f6a73.9753c4","type":"change","z":"1781e581.31721a","name":"Close","rules":[{"t":"set","p":"payload","pt":"msg","to":"close","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"xcontrol","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2900,"y":510,"wires":[["3a6edce2.c85564","1d1ee51a.c6c7cb","c1bc76a0.0f1eb","bcf7476b.db653","797ca1fa.62732"]]},{"id":"3c310215.8088ae","type":"link out","z":"1781e581.31721a","name":"","links":["3f506e65.c70fc2"],"x":3055,"y":820,"wires":[]},{"id":"3f506e65.c70fc2","type":"link in","z":"1781e581.31721a","name":"","links":["3c310215.8088ae"],"x":2785,"y":510,"wires":[["c447bcdf.42569"]]},{"id":"fa5896b6.29e148","type":"link out","z":"1781e581.31721a","name":"","links":["96b5d38a.49958"],"x":3055,"y":860,"wires":[]},{"id":"96b5d38a.49958","type":"link in","z":"1781e581.31721a","name":"","links":["fa5896b6.29e148"],"x":2785,"y":550,"wires":[["675f6a73.9753c4"]]},{"id":"f9fda9d5.d3a6b","type":"inject","z":"1781e581.31721a","name":"Open","topic":"xcontrol","payload":"open","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2890,"y":870,"wires":[["3c310215.8088ae"]]},{"id":"7014a468.063bdc","type":"inject","z":"1781e581.31721a","name":"Close","topic":"xcontrol","payload":"close","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":2886.666748046875,"y":906.6666870117188,"wires":[["fa5896b6.29e148"]]},{"id":"86f8d704.12553","type":"change","z":"1781e581.31721a","name":"red","rules":[{"t":"set","p":"colour","pt":"msg","to":"red","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":3060,"y":780,"wires":[["292e1a8c.a759fe","ced87406.b0a318","63f82338.5971bc"]]},{"id":"bcf7476b.db653","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":3060,"y":690,"wires":[["4be3713d.e8cd18"]]},{"id":"8c14281d.12f448","type":"change","z":"1781e581.31721a","name":"black","rules":[{"t":"set","p":"colour","pt":"msg","to":"black","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"black","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":3060,"y":740,"wires":[["292e1a8c.a759fe","f8659853.c656d","ced87406.b0a318"]]},{"id":"797ca1fa.62732","type":"gate","z":"1781e581.31721a","name":"","controlTopic":"xcontrol","defaultState":"closed","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":3060,"y":290,"wires":[["91554637.5a1898"]]},{"id":"3c4b99dc.2895e6","type":"change","z":"1781e581.31721a","name":"red","rules":[{"t":"set","p":"colour","pt":"msg","to":"red","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":3060,"y":370,"wires":[["568d350d.14111c","9d4160df.0deec8"]]},{"id":"d201d410.30f66","type":"change","z":"1781e581.31721a","name":"black","rules":[{"t":"set","p":"colour","pt":"msg","to":"black","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"black","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":3060,"y":330,"wires":[["568d350d.14111c","9d4160df.0deec8"]]},{"id":"f8659853.c656d","type":"change","z":"1781e581.31721a","name":"En","rules":[{"t":"set","p":"enabled","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":3210,"y":740,"wires":[["8616f242.62aea8","f4a9cb85.32756"]]},{"id":"63f82338.5971bc","type":"change","z":"1781e581.31721a","name":"Dis","rules":[{"t":"set","p":"enabled","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":3210,"y":780,"wires":[["8616f242.62aea8","f4a9cb85.32756"]]},{"id":"8616f242.62aea8","type":"link out","z":"1781e581.31721a","name":"","links":["b10c7237.e214c8"],"x":3340,"y":760,"wires":[]},{"id":"f4a9cb85.32756","type":"debug","z":"1781e581.31721a","name":"Enable CTL Output","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":3240,"y":580,"wires":[]},{"id":"88e79106.48cca8","type":"change","z":"1781e581.31721a","name":"Save *","rules":[{"t":"set","p":"MuteStatusColour","pt":"flow","to":"colour","tot":"msg"},{"t":"set","p":"MuteStateTxt","pt":"flow","to":"txt","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":2630,"y":510,"wires":[[]],"info":"`red` means normal\n`green` means audio is muted"},{"id":"922e0536.f2cf98","type":"change","z":"1781e581.31721a","name":"Restore","rules":[{"t":"set","p":"colour","pt":"msg","to":"MuteStatusColour","tot":"flow"},{"t":"set","p":"txt","pt":"msg","to":"MuteStateTxt","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":2460,"y":380,"wires":[["69cc8758.473348"]]},{"id":"e40daf83.d87e08","type":"debug","z":"1781e581.31721a","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":3350,"y":180,"wires":[]},{"id":"b10c7237.e214c8","type":"link in","z":"1781e581.31721a","name":"","links":["8616f242.62aea8"],"x":2285,"y":380,"wires":[["922e0536.f2cf98"]]},{"id":"cd734660.6da8f8","type":"link out","z":"1781e581.31721a","name":"Delayed Start Signal","links":["458881fe.926b18","891f4ab1.f9b728","a972d321.345fb8"],"x":2080,"y":90,"wires":[],"l":true},{"id":"f7f508ab.689ea8","type":"inject","z":"1781e581.31721a","name":"Start up signal","topic":"","payload":"SIGNAL","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":"1","x":1690,"y":90,"wires":[["da6a6f9d.c96f38","6413c4e6.8b5a1c"]]},{"id":"6413c4e6.8b5a1c","type":"link out","z":"1781e581.31721a","name":"Start Signal","links":["303daf27.51a3d8","2a8507bf.b1c788","d39b1a50.5c654"],"x":1880,"y":130,"wires":[],"l":true},{"id":"da6a6f9d.c96f38","type":"delay","z":"1781e581.31721a","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1870,"y":90,"wires":[["cd734660.6da8f8"]]},{"id":"f8686d01.926b4","type":"samsung-tv","z":"","name":"","ip":"192.168.0.9","mac":"00:C3:F4:A9:CF:DE","token":"34217597"},{"id":"fefa8817.8dc6c8","type":"ui_group","z":"","name":"Audio","tab":"b128eb09.9f681","order":4,"disp":true,"width":"4","collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
There is a little bit of duplication here with the startup
nodes (Top left of flow)
I'll leave out the navigation
part.
I think I can work that out as there aren't any complicated buttons in it.
Let's deal with that new remote currently.
You have done them with <button class="RCButtons1" ng-click="send({payload: 'bar'})">1</button>
To make them accept our new css They neede to have structure as in my example.
<div id="regular_1">
<md-button class="md-button remote-button">1
</md-button>
</div>
This is quite of change needed to be done
The new buttons don't really need a specific payload
.
(I just like to be neat - believe it or not) so I can track messages if I am debugging.
At the end of the day so long as something is sent into the samsung
node, it doesn't really matter, as the actual event is not determined by the payload
.
Stand bye as I change them.
(Only on the bigger of the remote control things.)
Um, the volume
buttons...... They aren't like the rest.
Need help on them.
This is what I now see:
(Don't fret on the text. It is to be replaced with icons in most cases)
Oh and sorry: I missed (by mistake) the video
button. Done now.
But the Vol +
and Vol -
buttons are not done.
(Just mentioning)
Pressing the buttons: nothing is coming out of them.
Ok, share that part for me again now.
Sorry, which part?
(I had your flow also disabled from the other day.)
I enabled it.... Do I have to restart NR? Still no output from buttons.
Where is regular_1
defined (Declared?) for the button styles?
I pasted that code you posted into all the buttons.
I don't know if that was a good thing and I missed something along the way.
Oh. Ok. It isn't regular_1
. It is remote-button
.
Found it.
But still no output from button when pressed.
Wait with the output. It is not needed yet.
You just changed the buttons in the new remote. Same part you shared previously. Share it again.
So, sorry.... Which part? The volume buttons?
(Volume buttons)
[{"id":"d1c0666c.015a5","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Vol +","order":14,"width":1,"height":1,"format":"<style>\n.button {/*button styles*/}\n.B{ color: grey;}\n.A{ color: white;}\n</style>\n\n<button class=\"RCButtons1 {{msg.payload}}\" ng-mousedown=\"send({payload: 'Down'})\" \nng-mouseup=\"send({payload: 'Up'})\">Vol +</button>\n","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1570,"wires":[["69848a07.c10464"]]},{"id":"8f960c13.389b9","type":"link in","z":"1781e581.31721a","name":"","links":["b2f939.032cc6c8"],"x":165,"y":1570,"wires":[["d1c0666c.015a5"]]},{"id":"69848a07.c10464","type":"link out","z":"1781e581.31721a","name":"","links":["5f10d2a2.d7607c"],"x":364,"y":1570,"wires":[]},{"id":"f9f71044.da6698","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Vol -","order":17,"width":1,"height":1,"format":"<style>\n.button {/*button styles*/}\n.B{ color: grey;}\n.A{ color: white;}\n</style>\n\n<button class=\"RCButtons1 {{msg.payload}}\" ng-mousedown=\"send({payload: 'Down'})\" \nng-mouseup=\"send({payload: 'Up'})\">Vol -</button>\n","storeOutMessages":true,"fwdInMessages":false,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1620,"wires":[["8b474223.183d08"]]},{"id":"38632cf8.1416c4","type":"link in","z":"1781e581.31721a","name":"","links":["2b8f290.2f6af58"],"x":165,"y":1620,"wires":[["f9f71044.da6698"]]},{"id":"8b474223.183d08","type":"link out","z":"1781e581.31721a","name":"","links":["46de1438.358a4c"],"x":364,"y":1620,"wires":[]},{"id":"5f10d2a2.d7607c","type":"link in","z":"1781e581.31721a","name":"","links":["69848a07.c10464"],"x":135,"y":1890,"wires":[["40429ed0.0fb288","baa7b104.5ae088"]]},{"id":"40429ed0.0fb288","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-250","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":260,"y":1880,"wires":[["11e3968c.d6de51"]]},{"id":"11e3968c.d6de51","type":"function","z":"1781e581.31721a","name":"toggle","func":"let msg1 = {};\nlet y = context.get(\"pressed\") || 0;\nvar x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.payload = \"A\";\n context.set(\"pressed\",0); // Wipe count.\n// msg1.colour = \"lime\";\n\n return [msg,null];\n}\n\nif (x === 0)\n{\n if (y === 0)\n {\n // Send pressed message.\n y = y + 1;\n context.set(\"pressed\",y);\n // msg1 = {payload:\"Goo\"};\n msg1 = {payload:\"Pressed\"};\n node.send([null,msg1]);\n //node.send([null,msg1]);\n \n }\n msg.payload = \"B\";\n msg1.colour = \"red\";\n} else\nif (x === 1)\n{\n msg.payload = \"A\";\n msg1.colour = \"lime\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn [msg,null];","outputs":2,"noerr":0,"x":410,"y":1880,"wires":[["b2f939.032cc6c8","5d923460.8e55c4"],[]]},{"id":"b2f939.032cc6c8","type":"link out","z":"1781e581.31721a","name":"","links":["8f960c13.389b9"],"x":505,"y":1860,"wires":[]},{"id":"baa7b104.5ae088","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":1920,"wires":[[],["11e3968c.d6de51"]]},{"id":"5d923460.8e55c4","type":"link out","z":"1781e581.31721a","name":"","links":["936a51e9.cde21"],"x":505,"y":1900,"wires":[]},{"id":"46de1438.358a4c","type":"link in","z":"1781e581.31721a","name":"","links":["8b474223.183d08"],"x":135,"y":1970,"wires":[["9e39294d.72df48","440a65f9.36b08c"]]},{"id":"9e39294d.72df48","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-250","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":260,"y":1960,"wires":[["79e65e72.c79b18"]]},{"id":"440a65f9.36b08c","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":2000,"wires":[[],["79e65e72.c79b18"]]},{"id":"79e65e72.c79b18","type":"function","z":"1781e581.31721a","name":"toggle","func":"let msg1 = {};\nlet y = context.get(\"pressed\") || 0;\nvar x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.payload = \"A\";\n context.set(\"pressed\",0); // Wipe count.\n// msg1.colour = \"lime\";\n\n return [msg,null];\n}\n\nif (x === 0)\n{\n if (y === 0)\n {\n // Send pressed message.\n y = y + 1;\n context.set(\"pressed\",y);\n // msg1 = {payload:\"Goo\"};\n msg1 = {payload:\"Pressed\"};\n node.send([null,msg1]);\n //node.send([null,msg1]);\n \n }\n msg.payload = \"B\";\n msg1.colour = \"red\";\n} else\nif (x === 1)\n{\n msg.payload = \"A\";\n msg1.colour = \"lime\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn [msg,null];","outputs":2,"noerr":0,"x":410,"y":1960,"wires":[["2b8f290.2f6af58","91535c08.8eb8a"],[]]},{"id":"2b8f290.2f6af58","type":"link out","z":"1781e581.31721a","name":"","links":["38632cf8.1416c4"],"x":505,"y":1940,"wires":[]},{"id":"91535c08.8eb8a","type":"link out","z":"1781e581.31721a","name":"","links":["9ac1a592.01dc8"],"x":505,"y":1980,"wires":[]},{"id":"eabe7d43.b23f48","type":"ui_group","z":"","name":"Full_Remote2","tab":"b128eb09.9f681","order":3,"disp":false,"width":"3","collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false}]
I prepared half or buttons, can you do the other half similar way, until I do couple of my home duties...
[{"id":"ae39f34.d75581","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"1","order":1,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">1\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 1});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":330,"y":540,"wires":[[]]},{"id":"2449e29c.9ea0fe","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"2","order":2,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">2\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 2});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":470,"y":540,"wires":[[]]},{"id":"b6ab8b43.01bee8","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"3","order":3,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">3\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 3});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":610,"y":540,"wires":[[]]},{"id":"baf612f.b0e0ff","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"4","order":4,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">4\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 4});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":330,"y":580,"wires":[[]]},{"id":"aa4dae75.168bf","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"5","order":5,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">5\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 5});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":470,"y":580,"wires":[[]]},{"id":"c336eec5.e5ab9","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"6","order":6,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">6\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 6});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":610,"y":580,"wires":[[]]},{"id":"a00eb39f.990ae","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"7","order":7,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">7\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 7});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":330,"y":620,"wires":[[]]},{"id":"f694654e.770788","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"8","order":8,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">8\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 8});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":470,"y":620,"wires":[[]]},{"id":"7a6c985a.725f58","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"9","order":9,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">9\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 9});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":610,"y":620,"wires":[[]]},{"id":"1689a006.b7936","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"0","order":11,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">0\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 0});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":470,"y":660,"wires":[[]]},{"id":"bd2508ae.bcf978","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"info","order":10,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-info-circle remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"info\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":330,"y":660,"wires":[[]]},{"id":"e004766b.483ec8","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"prev","order":12,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-rotate-left remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"prev\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":610,"y":660,"wires":[[]]},{"id":"2d64d5b0.0a8a8a","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"ch-up","order":15,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-up remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"ch-up\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":610,"y":700,"wires":[[]]},{"id":"1d354024.e5f34","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"mute","order":14,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-volume-off remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"mute\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":470,"y":700,"wires":[[]]},{"id":"8d692f7a.e3dc8","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"vol +","order":13,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-plus remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"vol-up\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":330,"y":700,"wires":[[]]},{"id":"451b717a.e1651","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"vol -","order":16,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-minus remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"vol-down\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":330,"y":740,"wires":[[]]},{"id":"247fbff5.c9bbd","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"ch list","order":17,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-list-alt remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"ch-list\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":470,"y":740,"wires":[[]]},{"id":"9ae57486.46eda8","type":"ui_template","z":"62770421.267bcc","group":"fd43dbeb.a9ab78","name":"ch-down","order":18,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-down remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"ch-down\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":620,"y":740,"wires":[[]]},{"id":"fd43dbeb.a9ab78","type":"ui_group","z":"","name":"REMOTE","tab":"7b77084d.85e198","order":3,"disp":true,"width":"3","collapse":false},{"id":"7b77084d.85e198","type":"ui_tab","z":"","name":"TEST","icon":"dashboard","order":3,"disabled":false,"hidden":false}]
Ok, I think I did what I could do.
I tried to get the exit
one working, but it is material-design
not font-awesome
, so it didn't / doesn't work.
No problems.
This is what I have done. Only the buttons.
[{"id":"246a2951.92dc26","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"NetFlix","order":20,"width":"1","height":"1","format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">NetFlx\n </md-button>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":260,"y":1670,"wires":[["afbd4673.5e049"]]},{"id":"718d5dc3.56cb84","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Home","order":21,"width":"1","height":"1","format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">Home\n </md-button>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1670,"wires":[["c9b4cef1.46fa28"]]},{"id":"970717bb.7c1bc","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Vid","order":22,"width":"1","height":"1","format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">Video\n </md-button>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1670,"wires":[["11932257.837916"]]},{"id":"54c0bac.5f5fac4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"WWW","order":23,"width":"1","height":"1","format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">WWW\n </md-button>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1720,"wires":[["60092350.bb50d4"]]},{"id":"89495b4f.be569","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"^","order":24,"width":"1","height":"1","format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-up remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"up\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1720,"wires":[["4f16229f.83e86c"]]},{"id":"9e8e8f5d.65f848","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Guide","order":25,"width":"1","height":"1","format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">Guide\n </md-button>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1720,"wires":[["95ce3b1e.0f93b8"]]},{"id":"2cf79a2f.996f2e","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"<","order":26,"width":"1","height":"1","format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-left remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"left\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1770,"wires":[["d7b7d5f2.3a5e48"]]},{"id":"7f0678e0.82d7","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Sel","order":27,"width":"1","height":"1","format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">Sel\n </md-button>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1770,"wires":[["e14e9d65.fb77e"]]},{"id":"3a190f7d.487938","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":">","order":28,"width":"1","height":"1","format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-right remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"right\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1770,"wires":[["1118a5c4.a7ae2a"]]},{"id":"c99f1ee5.f417b","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Rtn","order":29,"width":"1","height":"1","format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-rotate-left remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"rtn\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1820,"wires":[["e4e3b572.b2fb08"]]},{"id":"d332ca70.a1d1c8","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"V","order":30,"width":"1","height":"1","format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-down remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"down\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1820,"wires":[["62e24409.42ea94"]]},{"id":"7bf90b0f.0b4e74","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Exit","order":31,"width":"1","height":"1","format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-exit remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"exit\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1820,"wires":[["b43ccc1f.bf4aa"]]},{"id":"40429ed0.0fb288","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-250","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":260,"y":1880,"wires":[["11e3968c.d6de51"]]},{"id":"baa7b104.5ae088","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":1920,"wires":[[],["11e3968c.d6de51"]]},{"id":"11e3968c.d6de51","type":"function","z":"1781e581.31721a","name":"toggle","func":"let msg1 = {};\nlet y = context.get(\"pressed\") || 0;\nvar x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.payload = \"A\";\n context.set(\"pressed\",0); // Wipe count.\n// msg1.colour = \"lime\";\n\n return [msg,null];\n}\n\nif (x === 0)\n{\n if (y === 0)\n {\n // Send pressed message.\n y = y + 1;\n context.set(\"pressed\",y);\n // msg1 = {payload:\"Goo\"};\n msg1 = {payload:\"Pressed\"};\n node.send([null,msg1]);\n //node.send([null,msg1]);\n \n }\n msg.payload = \"B\";\n msg1.colour = \"red\";\n} else\nif (x === 1)\n{\n msg.payload = \"A\";\n msg1.colour = \"lime\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn [msg,null];","outputs":2,"noerr":0,"x":410,"y":1880,"wires":[["b2f939.032cc6c8","5d923460.8e55c4"],[]]},{"id":"8f960c13.389b9","type":"link in","z":"1781e581.31721a","name":"","links":["b2f939.032cc6c8"],"x":165,"y":1570,"wires":[["45e5a406.7764d4"]]},{"id":"b2f939.032cc6c8","type":"link out","z":"1781e581.31721a","name":"","links":["8f960c13.389b9"],"x":505,"y":1860,"wires":[]},{"id":"5f10d2a2.d7607c","type":"link in","z":"1781e581.31721a","name":"","links":["69848a07.c10464"],"x":135,"y":1890,"wires":[["40429ed0.0fb288","baa7b104.5ae088"]]},{"id":"69848a07.c10464","type":"link out","z":"1781e581.31721a","name":"","links":["5f10d2a2.d7607c"],"x":364,"y":1570,"wires":[]},{"id":"9e39294d.72df48","type":"trigger","z":"1781e581.31721a","op1":"Down","op2":"0","op1type":"str","op2type":"str","duration":"-250","extend":false,"units":"ms","reset":"Up","bytopic":"all","name":"Repeat","x":260,"y":1960,"wires":[["79e65e72.c79b18"]]},{"id":"440a65f9.36b08c","type":"switch","z":"1781e581.31721a","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Down","vt":"str"},{"t":"eq","v":"Up","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":2000,"wires":[[],["79e65e72.c79b18"]]},{"id":"79e65e72.c79b18","type":"function","z":"1781e581.31721a","name":"toggle","func":"let msg1 = {};\nlet y = context.get(\"pressed\") || 0;\nvar x = context.get(\"counter\") || 0;\nif (msg.payload == \"Up\")\n{\n context.set(\"counter\",0);\n msg.payload = \"A\";\n context.set(\"pressed\",0); // Wipe count.\n// msg1.colour = \"lime\";\n\n return [msg,null];\n}\n\nif (x === 0)\n{\n if (y === 0)\n {\n // Send pressed message.\n y = y + 1;\n context.set(\"pressed\",y);\n // msg1 = {payload:\"Goo\"};\n msg1 = {payload:\"Pressed\"};\n node.send([null,msg1]);\n //node.send([null,msg1]);\n \n }\n msg.payload = \"B\";\n msg1.colour = \"red\";\n} else\nif (x === 1)\n{\n msg.payload = \"A\";\n msg1.colour = \"lime\";\n}\n\nx = (x + 1) % 2;\n\ncontext.set(\"counter\",x);\n\nreturn [msg,null];","outputs":2,"noerr":0,"x":410,"y":1960,"wires":[["2b8f290.2f6af58","91535c08.8eb8a"],[]]},{"id":"38632cf8.1416c4","type":"link in","z":"1781e581.31721a","name":"","links":["2b8f290.2f6af58"],"x":165,"y":1620,"wires":[["701d26ed.1b858"]]},{"id":"2b8f290.2f6af58","type":"link out","z":"1781e581.31721a","name":"","links":["38632cf8.1416c4","f9725a0b.bbe8a8"],"x":505,"y":1940,"wires":[]},{"id":"46de1438.358a4c","type":"link in","z":"1781e581.31721a","name":"","links":["8b474223.183d08"],"x":135,"y":1970,"wires":[["9e39294d.72df48","440a65f9.36b08c"]]},{"id":"8b474223.183d08","type":"link out","z":"1781e581.31721a","name":"","links":["46de1438.358a4c"],"x":364,"y":1620,"wires":[]},{"id":"e4e3b572.b2fb08","type":"link out","z":"1781e581.31721a","name":"","links":["f04eb47e.d2faf8"],"x":359,"y":1820,"wires":[]},{"id":"62e24409.42ea94","type":"link out","z":"1781e581.31721a","name":"","links":["b82f0da4.35205"],"x":585,"y":1820,"wires":[]},{"id":"b43ccc1f.bf4aa","type":"link out","z":"1781e581.31721a","name":"","links":["ca1fbb11.f219"],"x":825,"y":1820,"wires":[]},{"id":"d7b7d5f2.3a5e48","type":"link out","z":"1781e581.31721a","name":"","links":["45f4a2aa.8efdcc"],"x":359,"y":1770,"wires":[]},{"id":"e14e9d65.fb77e","type":"link out","z":"1781e581.31721a","name":"","links":["de1c545e.70ada8"],"x":585,"y":1770,"wires":[]},{"id":"1118a5c4.a7ae2a","type":"link out","z":"1781e581.31721a","name":"","links":["5cfe822d.9e1814"],"x":825,"y":1770,"wires":[]},{"id":"60092350.bb50d4","type":"link out","z":"1781e581.31721a","name":"","links":["2f133be1.7092bc"],"x":360,"y":1720,"wires":[]},{"id":"afbd4673.5e049","type":"link out","z":"1781e581.31721a","name":"","links":["177e6a72.ada5ae"],"x":365,"y":1670,"wires":[]},{"id":"c9b4cef1.46fa28","type":"link out","z":"1781e581.31721a","name":"","links":["8209bb9e.3e47a"],"x":585,"y":1670,"wires":[]},{"id":"4f16229f.83e86c","type":"link out","z":"1781e581.31721a","name":"","links":["161ffc66.196564"],"x":585,"y":1720,"wires":[]},{"id":"11932257.837916","type":"link out","z":"1781e581.31721a","name":"","links":["7a3f6d20.ee6adc"],"x":825,"y":1670,"wires":[]},{"id":"95ce3b1e.0f93b8","type":"link out","z":"1781e581.31721a","name":"","links":["9e84443f.413328"],"x":825,"y":1720,"wires":[]},{"id":"ea7d6c1f.e4e118","type":"link out","z":"1781e581.31721a","name":"","links":["1ec1e50a.666ddb"],"x":585,"y":1620,"wires":[]},{"id":"9451d6b2.cb6948","type":"link out","z":"1781e581.31721a","name":"","links":["b934ec01.a8adf8"],"x":825,"y":1620,"wires":[]},{"id":"db5e3233.c9fad","type":"link out","z":"1781e581.31721a","name":"","links":["21eebe73.5057da"],"x":825,"y":1570,"wires":[]},{"id":"9d7f3cad.d7b8f","type":"link out","z":"1781e581.31721a","name":"","links":["1ab9b028.28f328"],"x":585,"y":1570,"wires":[]},{"id":"da55f79c.415fe8","type":"link out","z":"1781e581.31721a","name":"","links":["fb43d543.5faef"],"x":585,"y":1520,"wires":[]},{"id":"988671af.8646b","type":"link out","z":"1781e581.31721a","name":"","links":["a9d0f3df.54ccd"],"x":825,"y":1520,"wires":[]},{"id":"6d970c11.6d158c","type":"link out","z":"1781e581.31721a","name":"","links":["260e6c63.8bb99c"],"x":364,"y":1520,"wires":[]},{"id":"1cf586b3.c22e71","type":"link out","z":"1781e581.31721a","name":"","links":["b1c885a8.159018"],"x":365,"y":1370,"wires":[]},{"id":"a97c8331.4a4d88","type":"link out","z":"1781e581.31721a","name":"","links":["12a841e3.f25696"],"x":365,"y":1420,"wires":[]},{"id":"6580d2cf.bea1a4","type":"link out","z":"1781e581.31721a","name":"","links":["1b9c3393.0843dc"],"x":365,"y":1470,"wires":[]},{"id":"65209bf1.63524c","type":"link out","z":"1781e581.31721a","name":"","links":["8173943f.2c6a"],"x":585,"y":1370,"wires":[]},{"id":"57e01527.528f84","type":"link out","z":"1781e581.31721a","name":"","links":["9baf35a8.7bdd78"],"x":585,"y":1420,"wires":[]},{"id":"caf00dda.129a28","type":"link out","z":"1781e581.31721a","name":"","links":["4b242414.764014"],"x":585,"y":1470,"wires":[]},{"id":"80b64ca.c7a903","type":"link out","z":"1781e581.31721a","name":"","links":["c6055e4.7791fa"],"x":825,"y":1370,"wires":[]},{"id":"4debbbe1.4993ec","type":"link out","z":"1781e581.31721a","name":"","links":["e9ca8a9c.7a84b8"],"x":825,"y":1420,"wires":[]},{"id":"ee449d92.abff6","type":"link out","z":"1781e581.31721a","name":"","links":["d7c8f004.b43d08"],"x":825,"y":1470,"wires":[]},{"id":"5d923460.8e55c4","type":"link out","z":"1781e581.31721a","name":"","links":["936a51e9.cde21"],"x":505,"y":1900,"wires":[]},{"id":"91535c08.8eb8a","type":"link out","z":"1781e581.31721a","name":"","links":["9ac1a592.01dc8"],"x":505,"y":1980,"wires":[]},{"id":"bded269f.23a12","type":"ui_template","z":"1781e581.31721a","group":"6ab22327.a2f71c","name":"","order":7,"width":0,"height":0,"format":"<style id=\"remote-buttons\">\n :root {\n --dashboard-unit-width: 48px;\n --dashboard-unit-height: 48px;\n }\n .nr-dashboard-template {\n padding: 0px;\n }\n .remote-button:not([disabled]):hover{\n background-color: #232323 !important;\n }\n .remote-button{\n background-color: black !important;\n color: #cccccc !important;\n height: var(--dashboard-unit-height);\n width: 100%;\n border-radius: 10px;\n font-size:1.0em;\n font-weight:bold;\n margin: 0;\n min-height: 36px;\n min-width: unset;\n line-height: unset;\n }\n .remote-button.red{\n background-color: red !important;\n color: #cccccc !important;\n }\n .remote-button.red:not([disabled]):hover{\n background-color: orange !important;\n }\n .remote-icon{\n font-size:1.0em;\n }\n</style>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"global","x":500,"y":1320,"wires":[[]]},{"id":"797fdca7.e44f6c","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"1","order":1,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">1\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 1});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1370,"wires":[["1cf586b3.c22e71"]]},{"id":"d7f1cca6.efb6","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"2","order":2,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">2\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 2});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1370,"wires":[["65209bf1.63524c"]]},{"id":"3836583a.9f93a","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"3","order":3,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">3\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 3});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1370,"wires":[["80b64ca.c7a903"]]},{"id":"7b369b2e.9adc94","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"4","order":4,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">4\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 4});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1420,"wires":[["a97c8331.4a4d88"]]},{"id":"24ea6545.5497ba","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"5","order":5,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">5\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 5});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1420,"wires":[["57e01527.528f84"]]},{"id":"51281a60.6c5004","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"6","order":6,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">6\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 6});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1420,"wires":[["4debbbe1.4993ec"]]},{"id":"8c87e69f.13a17","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"7","order":7,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">7\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 7});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1470,"wires":[["6580d2cf.bea1a4"]]},{"id":"2a484c89.499ad4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"8","order":8,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">8\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 8});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1470,"wires":[["caf00dda.129a28"]]},{"id":"edcc67c0.23134","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"9","order":9,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">9\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 9});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1470,"wires":[["ee449d92.abff6"]]},{"id":"7ecd7ec4.83fed","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"0","order":11,"width":1,"height":1,"format":"<div id=\"regular_1\">\n <md-button class=\"md-button remote-button\">0\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n\n$('#regular_1').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"momentary_regular\",\"payload\": 0});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1520,"wires":[["da55f79c.415fe8"]]},{"id":"b0f6668a.98a1f8","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"info","order":10,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-2x fa-info-circle remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"info\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1520,"wires":[["6d970c11.6d158c"]]},{"id":"51f398a3.47de48","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"prev","order":12,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-rotate-left remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"prev\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1520,"wires":[["988671af.8646b"]]},{"id":"5b89c42a.d300e4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Ch +","order":15,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-up remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"ch-up\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1570,"wires":[["db5e3233.c9fad"]]},{"id":"bc978fd4.0ec948","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"mute","order":14,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-volume-off remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"mute\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1570,"wires":[["9d7f3cad.d7b8f"]]},{"id":"45e5a406.7764d4","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"vol +","order":13,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-plus remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"vol-up\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1570,"wires":[["69848a07.c10464"]]},{"id":"701d26ed.1b858","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"vol -","order":16,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-minus remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"vol-down\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":250,"y":1620,"wires":[["8b474223.183d08"]]},{"id":"2d48b505.8964aa","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"ch list","order":17,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-list-alt remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"ch-list\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":490,"y":1620,"wires":[["ea7d6c1f.e4e118"]]},{"id":"31d6e767.959288","type":"ui_template","z":"1781e581.31721a","group":"eabe7d43.b23f48","name":"Ch -","order":18,"width":1,"height":1,"format":"<div id=\"regular_plus\">\n <md-button class=\"md-button remote-button\">\n <i class=\"fa fa-fw fa-chevron-down remote-icon\"></i>\n </md-button>\n</div>\n\n<script>\n\n(function($scope) {\n \n$('#regular_plus').on('click', function(e) {\n e.preventDefault(); //prevent default behavior\n $scope.send({\"topic\":\"regular_plus\",\"payload\": \"ch-down\"});\n});\n \n})(scope);\n</script>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":730,"y":1620,"wires":[["9451d6b2.cb6948"]]},{"id":"eabe7d43.b23f48","type":"ui_group","z":"","name":"Full_Remote2","tab":"b128eb09.9f681","order":3,"disp":false,"width":"3","collapse":false},{"id":"6ab22327.a2f71c","type":"ui_group","z":"","name":"HOME","tab":"6d306f92.ccc54","order":1,"disp":true,"width":3,"collapse":false},{"id":"b128eb09.9f681","type":"ui_tab","z":"","name":"HDMI_TV_control","icon":"dashboard","order":7,"disabled":false,"hidden":false},{"id":"6d306f92.ccc54","type":"ui_tab","z":"","name":"TEST","icon":"dashboard","order":3,"disabled":false,"hidden":false}]
Good.
Now, lets add some css for different buttons.
First the numeric buttons.
I did separate class for them and added the "bold option for them"
Same time I removed the bold from the main class of remote-buttons
.remote-button{
background-color: black !important;
color: #cccccc !important;
height: var(--dashboard-unit-height);
width: 100%;
border-radius: 10px;
font-size:1.0em;
font-weight:normal;
margin: 0;
min-height: 36px;
min-width: unset;
line-height: unset;
}
.remote-button.num{
font-weight:bold;
}
And in all numeric buttons
Currently they have
<md-button class="md-button remote-button">
new class needed to be added like this
<md-button class="md-button remote-button num">
Try to achieve this