Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Data Log Viewer not showing changed/edited values

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Data Log Viewer not showing changed/edited values

Post by freddie »

I occasionally have to edit out humidity "spikes" from my data. I have noticed in the past couple of releases that the edited values are not shown in the Data Log Viewer as changed - although the value is changed in the monthly log files. Provided I remove cumulusmx.db, when I restart MX the edited values also show in the recent charts too. However after a restart they still have not changed in Data Log Viewer.

Not a big problem as I know the source values have changed, more of a curiosity.
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by mcrossley »

Nothing has changed, it reads the monthly data log file directly for the data it returns.

Code: Select all

var lines = File.ReadAllLines(logfile);
Very odd!?
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by water01 »

I have noticed that but Refresh seemed to fix it.
David
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by freddie »

water01 wrote: Wed 02 Feb 2022 2:50 pm I have noticed that but Refresh seemed to fix it.
Yeah I thought of caching, but refresh didn't fix it for me.
Freddie
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by freddie »

mcrossley wrote: Wed 02 Feb 2022 2:29 pm Nothing has changed, it reads the monthly data log file directly for the data it returns.

Code: Select all

var lines = File.ReadAllLines(logfile);
Very odd!?
That made me think of caching, but F5 doesn't fix it for me.

As an aside (but not completely off-topic), have you thought about writing these edits into cumulusmx.db too? It would save me having to stop, delete, start MX each time I do an edit. I should really read my graphs out of my database but haven't had the time over the past year!
Freddie
Image
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by water01 »

By means of clarification I meant Refresh button on the page not an F5 or Ctrl+F5.
David
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by freddie »

water01 wrote: Wed 02 Feb 2022 3:06 pm By means of clarification I meant Refresh button on the page not an F5 or Ctrl+F5.
Ah okay, I didn't realise that was what you meant. I have just updated to the latest release and can still see the unedited values displayed :( I will try refresh.
Freddie
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by freddie »

freddie wrote: Wed 02 Feb 2022 3:11 pm
water01 wrote: Wed 02 Feb 2022 3:06 pm By means of clarification I meant Refresh button on the page not an F5 or Ctrl+F5.
Ah okay, I didn't realise that was what you meant. I have just updated to the latest release and can still see the unedited values displayed :( I will try refresh.
No, refresh didn't work either. It's so weird - I have restarted, I can see the new values in the monthly log and on the charts, yet the old values still appear in the log viewer.
EDIT: Even tried opening the interface in an incognito tab with the same result.
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by mcrossley »

freddie wrote: Wed 02 Feb 2022 3:01 pm As an aside (but not completely off-topic), have you thought about writing these edits into cumulusmx.db too? It would save me having to stop, delete, start MX each time I do an edit. I should really read my graphs out of my database but haven't had the time over the past year!
I suppose it should really :lol:

But the recent data is every minute, so what do you do with all the db entries between the log intervals?
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Data Log Viewer not showing changed/edited values

Post by freddie »

mcrossley wrote: Wed 02 Feb 2022 4:13 pm
freddie wrote: Wed 02 Feb 2022 3:01 pm As an aside (but not completely off-topic), have you thought about writing these edits into cumulusmx.db too? It would save me having to stop, delete, start MX each time I do an edit. I should really read my graphs out of my database but haven't had the time over the past year!
I suppose it should really :lol:

But the recent data is every minute, so what do you do with all the db entries between the log intervals?
I have 1-min logging so I hadn't given that much thought. I guess from the perspective of, say, 5-min logging you only overwrite the edited values to the log file and db? As to editing the intermediate points, they won't be editable - but that doesn't necessarily matter as the db data is volatile.
Freddie
Image
Post Reply