URL goes to a different dashboard

I have 5 dashboards on Node Red and setup a shortcut on my phone to the one with the URL ending in 4 (http://xxx.xxxx.xxx.xxx:1880/ui/#!/4). A few days ago, that URL started sending me to a different dashboard and now the dashboard I want ends in "5". I haven't done any work on any dashboards. It happened once before a few months ago and then switched back without me doing anything. Any ideas?

Use the dashboard name instead of number for the shortcut
i.e.
http://IP:1880/ui/#!/demo

Unfortunately, my Android browser redirects to the (http://xxx.xxxx.xxx.xxx:1880/ui/#!/4 format when I tried using the dashboard name so I cannot "Add to Homescreen" because it uses that version ending in 4. Once the shortcut is added to Homescreen, it's not an editable URL. UGH!!!

Strange, if i set Demo it redirects to 0, if i set Home it redirects to 3. On a android TV box device, same on phone.

What should I be using for the Name? I have tried each and it defaults to the first dashboard which is OWNTRACKS for PC

I think the problem is that, in Chrome at least, if you go to http://IP:1880/ui/#!/demo
then the browser actually displays the tab number, rather than the name. So when you do Add to Home Screen there is no way of getting the name in the shortcut.

The tab name OWNTRACKS_MOBILE Case sensitive
@Colin There are apps to have editable homescreen shortcuts, if that is an issue with standard shortcuts. Or Automate and tasker have homescreen shortcuts which you can can open a browser and direct to url.

This is really weird. If I put the URL into a Tasker Task and run it, it opens the 1st dashboard. If I type the same URL into Brave Browser, it opens the correct dashboard for Mobile. I tried clearing my browser history.

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

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.