I am not sure if ‘Timeout’ is the correct description but when I leave my EmonCMS page on my browser for more than a few minutes its loses contact with the underlying data, the basic EmonCms page is there but there is no data, I have to login again and reload the graph to see my data.
Is there a way to stop this timeout? I use a graph to monitor my power use and I refer to it many times per day, ideally I just want to login once.
@Timbones’ workaround isn’t really the solution, I think I’m mentioned this problem to @TrystanLea some time ago, but it’s been lost underneath the emonTx V4 development & everything associated.
Pretty much anything in my experience, though I haven’t had time to make a systematic study of what does and what doesn’t keep the browser ‘logged in’.
Interesting, I don’t see that at all. I tend to leave tabs open in browser(s) for days & weeks (just never turn the PC off, just the monitors) and never have any issue with being logged out on either Pi based or Virtual hosts.
I think it’s only Inputs pages that don’t time out. I’m fairly certain Graphs do, I haven’t noticed whether Feeds do or don’t, I rarely look at Visualisations so again no idea, I think Dashboards do.
That may be the clue. I’m talking about the browser tab being open, but not selected and actively updating on the screen. And this might mean it’s browser-dependent.
I’m also only talking about an emonPi.
Using a browser on my Linux computer, emonCMS on my local emonPi used to time out for me.
I found that when I tick the 'Remember me ’ box on the emonCMS login page before logging in, I don’t get any time outs - even the next day after the computer has been turned off and back on. Perhaps this might help? or is it just me? …
I think one thing that causes it (I find it frustrating too), is logging in from other devices, and I think that might now include viewing heatpumpmonitor.org. (ticking the Remember Me box doesn’t help me!)
Yes, I meant graphs - never notice an issue, but graphs do not update in realtime so pretty difficult to freeze
Yes exactly that. various tabs open , inputs, feeds, graphs, but not dashboards and visualisations. I generally have tabs open in Vivaldi & Chrome on Windows.
On what page (or all)?
That is doing what it says on the tin then.
Do you run any ad blocking or cookie extensions? That might affect the operation of the system.
I thought we all knew that. What I mean by timing out on a graph is it doesn’t respond to any of the buttons, < > + - Reload nor the drop-down menu.
So unlike a dashboard or Inputs where (I think) the browser issues a periodic request for new data, there’s nothing incoming to the server and it times out, requiring a userID/password (and again I think this is what ticking “Remember me” supplies).
As far as I remember, it was all pages I looked at.
I look at my local emonCMS using:
an Android phone chrome browser (not sure if it has an ad blocker)
a Raspberry Pi 400 with the chrome browser and uBlock Origin ad blocker
and probably various other things …
None time out after ticking ‘Remember me’…
I don’t know if the variations people see are anything to do with the versions of emonCMS and all the included software?
Brian, That I do not understand, my graphs timeout on any of the many browsers I use, including Brave, Chrome, Edge and Safari, this happens on my Mac and My Windows machine. How can it timeout on mine and not yours? are you using local EmonCms? what browser do you use?
Well I have just tried:
on the graphs page: setting up a simple graph of Vrms for one week
going to the inputs page
going back to the graph page - the graph is blank
pressing the refresh
the graph is still blank
I’m not sure if this is the same thing …
The Pi400 screen is set to turn off after a while, but this didn’t happen during the above