Auto refresh to home tab

I am looking for a way to have the dashboard auto-refresh to home tab after a specified amount of inactivity. Any ideas on this?

once you have defined and detected inactivity then use a ui_control node and just send it a 0 which will swap it to the first tab, etc.

Thanks dceejay.
Any thoughts on how one would detect inactivity? In our case that would mean no input from keyboard or mouse.

That would probably need to be outside of Node-RED and would depend on the operating system you are using. (Unless you actually mean clicks inside the Node-RED dashboard in which case you could feed all ui elements into a trigger node (as well as wherever they are meant to go to), set to not send anything on first input , a suitable timeout, and extend if any more inputs - then send the message above.

1 Like

Excellent. Thanks.