I want a scaleable way to automatically move through my growing list of tabs on my node red dashboard. The dashboard will be used to monitor equipment status only so there's no user interaction at all.
My thought was to
- Inject a timestamp node node periodically to trigger the function.
- Use a function node to define a variable as the current tab.Then use a series of if statements to check the variable and return a payload of the next tab accordingly.
- Use a delay node to control the timing. (I may just be able to do this from the inject node)
- Deliver the payload to a ui_control tab.
I'm new to both Node Red and JS, so forgive my layman description. I think this will work, I just don't know how to fetch the value of the current tab name so I can use it as a definition for my variable. I would love some help with this if anyone has ideas...