Hi all, hope you are doing well.
Is there any way to keep Dashboard 2 always active? I am currently facing an issue where, if there is no interaction for more than 30 seconds, the dashboard becomes very slow to respond. For example, even though the clock continues running on the screen, if I try to open a dialog screen after being idle for some time, it takes more than 5 seconds to respond compared to normal operation.
Is there any recommended way to optimize this behaviour and keep the dashboard responsive at all times without it going into a sleep or idle state?
Do you mean @flowfuse/node-red-dashboard? If so then that is not normal for the dashboard. Also, what had this got to do with electron?
Also what do you mean by a 'dialog screen'?
Yes; it’s a flowfuse dashboard. I am using electron and nodered to run as a custom portable app; so I can move around or copy in multiple computers.
It may well be a problem with the way you are running it.
I think this is the only way I can run to make it proper app; and move around build app. I see some people using like this why.
If you run it with a very simple flow do you see the same problem?
Does Electron let you get to the Node-RED logs? If so, are there any errors. Also, can you get to browser dev tools when viewing the D2 page? If so, check for errors there as well. We are flying blind here, I don't think many of us use Electron with Node-RED.
It’s already simple flows. i haven’t set up communication with PLC and other components. Also automation still pending.