Seems Name will land on 0 if the browser tab is new. If open on dashboard already then name works.
[edit]
This flow may work for you.
It redirects to the name from the number.
So if your number is 4
and its name is OWNTRACKS_MOBILE
when it lands on 4
, it will redirect to OWNTRACKS_MOBILE
, even if 4 is now the wrong tab. It will only do this on connect to dashboard.
[{"id":"bb94c01226269d42","type":"ui_ui_control","z":"b779de97.b1b46","name":"","events":"all","x":60,"y":2740,"wires":[["e0857c0a8a22307b"]]},{"id":"ce1b0b846e39a4bc","type":"change","z":"b779de97.b1b46","name":"edit tabs and names here","rules":[{"t":"set","p":"lookup","pt":"msg","to":"{\"0\":\"Demo\",\"4\":\"Realtime Panel\",\"2\":\"Pumpe_01\",\"3\":\"Home\",\"1\":\"HOME\"}","tot":"json"},{"t":"set","p":"payload","pt":"msg","to":"lookup[msg.payload.change]","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":2740,"wires":[["7388b00942c5bdd1","bb94c01226269d42"]]},{"id":"e0857c0a8a22307b","type":"switch","z":"b779de97.b1b46","name":"","property":"$$.payload in [\"connect\", \"change\"]","propertyType":"jsonata","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":190,"y":2740,"wires":[["dc8c1a5c7e8d180e"]]},{"id":"361717861c86eee7","type":"join","z":"b779de97.b1b46","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":490,"y":2740,"wires":[["7388b00942c5bdd1","ce1b0b846e39a4bc"]]},{"id":"7388b00942c5bdd1","type":"debug","z":"b779de97.b1b46","name":"debug 299","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":550,"y":2660,"wires":[]},{"id":"dc8c1a5c7e8d180e","type":"change","z":"b779de97.b1b46","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"payload","tot":"msg"},{"t":"set","p":"payload","pt":"msg","to":"tab","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":2740,"wires":[["361717861c86eee7"]]}]
Edit change node and add your numbers and tab names to lookup object.
This flow will ensure when you connect the correct page is shown, if for some reason the tab numbers have changed. Your url can then be http://ip:port/ui/#!/4