Hi,
could there be an indissoluble conflict between switch- and template node on different dasboard tabs? Please have a look at the flow example below:
Labels":["on"]},{"id":"1904c372.197ced","type":"ui_switch","z":"9f1bfdb8.0650e","name":"","label":"SwitchC - Tab 1","group":"ca36f588.167628","order":4,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"","oncolor":"","offvalue":"off","offvalueType":"str","officon":"","offcolor":"","x":300,"y":260,"wires":[["9beaca45.8ffd18"]],"inputLabels":["on"]},{"id":"2b485602.3104aa","type":"ui_template","z":"9f1bfdb8.0650e","group":"fae189b3.6298c8","name":" alle Geschosse","order":1,"width":0,"height":0,"format":"\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" \n\t width="250" height="400" xml:space="preserve" id="SVGX">\n\n\t\n\t<g id="SWA" > \t\t\n\t\t<circle id="iOG-SW1-circle" stroke="none" fill="red" cx="100" cy="100" r="25" />\t\n\t\t<text fill="rgb(0, 0, 0)" font-family="HelveticaNeue-Bold, 'Helvetica Neue', Helvetica, Arial, \n\t\t\tsans-serif" font-weight="bold" font-size="12" > \n\t\t\t<tspan x="90" y="140">Switch A\n\t\t\n\t\n\t\t\t\n\t\n\t<g id="SWC" > \t\t\n\t\t<circle id="iUG-SW1-circle" stroke="none" fill="red" cx="200" cy="100" r="25" />\t\n\t\t<text fill="rgb(0, 0, 0)" font-family="HelveticaNeue-Bold, 'Helvetica Neue', Helvetica, Arial, \n\t\t\tsans-serif" font-weight="bold" font-size="12" > \n\t\t\t<tspan x="190" y="140">Switch C\n\t\t\n\t\n \n\n\n","storeOutMessages":false,"fwdInMessages":true,"templateScope":"local","x":720,"y":240,"wires":[["a992a2e5.91915"]]},{"id":"a992a2e5.91915","type":"debug","z":"9f1bfdb8.0650e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":930,"y":240,"wires":},{"id":"3f184344.09fc9c","type":"inject","z":"9f1bfdb8.0650e","name":"on","topic":"","payload":"on","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":"","x":90,"y":180,"wires":[["f1e40186.1c6d1"]]},{"id":"6a631de7.771c14","type":"inject","z":"9f1bfdb8.0650e","name":"off","topic":"","payload":"off","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":"","x":90,"y":140,"wires":[["f1e40186.1c6d1","b2c6f541.434858","88719e1d.6589b"]]},{"id":"f1e40186.1c6d1","type":"function","z":"9f1bfdb8.0650e","name":"A colour","func":"if (msg.payload === "on") {\n msg = {payload: {jquerySelector:"#iOG-SW1-circle", fill:"green"} };\n} else {\n msg = {payload: {jquerySelector:"#iOG-SW1-circle", fill:"red"} };\n}\nreturn msg;","outputs":1,"noerr":0,"x":520,"y":140,"wires":[["2b485602.3104aa"]]},{"id":"9beaca45.8ffd18","type":"function","z":"9f1bfdb8.0650e","name":"C colour","func":"if (msg.payload === "on") {\n msg = {payload: {jquerySelector:"#iUG-SW1-circle", fill:"green"} };\n} else {\n msg = {payload: {jquerySelector:"#iUG-SW1-circle", fill:"red"} };\n}\nreturn msg;","outputs":1,"noerr":0,"x":520,"y":360,"wires":[["2b485602.3104aa"]]},{"id":"714884e3.e8093c","type":"inject","z":"9f1bfdb8.0650e","name":"on","topic":"","payload":"on","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":"","x":90,"y":400,"wires":[["9beaca45.8ffd18"]]},{"id":"6d34935f.fe782c","type":"inject","z":"9f1bfdb8.0650e","name":"off","topic":"","payload":"off","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":"","x":90,"y":360,"wires":[["9beaca45.8ffd18","1904c372.197ced","c616a609.fdeb18"]]},{"id":"c616a609.fdeb18","type":"ui_switch","z":"9f1bfdb8.0650e","name":"","label":"SwitchC - Tab 2","group":"cdefa61e.db6338","order":7,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"","oncolor":"","offvalue":"off","offvalueType":"str","officon":"","offcolor":"","x":300,"y":300,"wires":[["9beaca45.8ffd18"]],"inputLabels":["on"]},{"id":"88719e1d.6589b","type":"ui_switch","z":"9f1bfdb8.0650e","name":"","label":"SwitchA - Tab 2","group":"cdefa61e.db6338","order":6,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"","oncolor":"","offvalue":"off","offvalueType":"str","officon":"","offcolor":"","x":280,"y":80,"wires":[["f1e40186.1c6d1"]],"inputLabels":["on"]},{"id":"ca36f588.167628","type":"ui_group","z":"","name":"buttons","tab":"12c72ad1.a1f885","order":2,"disp":true,"width":"4","collapse":false},{"id":"fae189b3.6298c8","type":"ui_group","z":"","name":"template","tab":"12c72ad1.a1f885","order":1,"disp":false,"width":"10","collapse":false},{"id":"cdefa61e.db6338","type":"ui_group","z":"","name":"erste","tab":"1d2ee812.b46138","order":1,"disp":true,"width":"6","collapse":false},{"id":"12c72ad1.a1f885","type":"ui_tab","z":"","name":"test","icon":"weekend","order":1},{"id":"1d2ee812.b46138","type":"ui_tab","z":"","name":"Button Panel","icon":"dashboard","order":8}]
All is working fine with the switch-nodes etablished on the same dasboard-tab as the template node (switch a tab 1 /switch c tab 1).
But trying to control the scene by the switches on a different dasboard-tab then the template node (switch a tab 2 /switch c tab 2) causes redicolous behavior. So when the templae circles .are all red (switches off) and switch a tab 2 is turnes on alll is working fine (green circle a, / red circle c). Now turning switch c tab 2 on circle a goes to red and circle c to green. The switches on dasboard-tab 2 are bothh on!. Turnig switch c tab 2 off all crcles are red, same turning switch a tab off.
What is the reason why? Angular specific?
Thanks