Dashboard change screen with timer

I have dashboard running on a touch screen. The touch part went bad, is there a way to use a timer to change the active screen?

Do you mean to cycle through a number of dashboard tabs, for example show a different tab every minute?
If so, take a look at the ui-control node in the node-red-dashboard.
If it's not what you mean, please provide more information.

From the help text in side panel for ui-control node.

The default function is to change the currently displayed tab. msg.payload should either be an object of the form {"tab":"my_tab_name"} , or just be the tab name or numeric index (from 0) of the tab or link to be displayed.

[{"id":"6c3bf74.56fd688","type":"inject","z":"7f59364f045fd16d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"4","crontab":"","once":false,"onceDelay":0.1,"topic":"d","payload":"{\"tab\":$floor($random()*4)}","payloadType":"jsonata","x":220,"y":720,"wires":[["2687a25b.ea2ff6","7e95dde3.374014"]]},{"id":"2687a25b.ea2ff6","type":"ui_ui_control","z":"7f59364f045fd16d","name":"","events":"all","x":470,"y":720,"wires":[[]]},{"id":"7e95dde3.374014","type":"debug","z":"7f59364f045fd16d","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":400,"y":680,"wires":[]}]

here is a crude example that generates a random page cycle, With a little tweaking I sure you could make it cycle, and select which tabs you want.

Also I think string “+1” will move to next tab and “-1” for previous and should loopok as well

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