Stored Alltime Data **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Stored Alltime Data **solved**

Post by hymrog »

Hello

Is there a way to correct the all time data that is stored on the meteobridge device? For example:

$WX['th0temp-amin'] = '-19.8'; // outdoor temperature min of all time
$WX['th0temp-amintime'] = '20140831164516'; // outdoor temperature timestamp min of all time (should read 20140128.....)

I am not sure but the original all time date changed when there was an extended power outage in the area during late august 2014. Is it possible to access and update a file that is stored on the meteobridge device?

Thanks
Greg
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: Stored Alltime Data

Post by hymrog »

Any possibility of making the changes as described to alltime data?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Stored Alltime Data

Post by admin »

At the moment Meteobridge does not provide a function to set all-time data values.
You can clear all values (which will include all-time), but I guess this is not what you are looking for.
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: Stored Alltime Data

Post by hymrog »

Any chance of adding the ability for the user to make changes to alltime data in future updates?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Stored Alltime Data

Post by admin »

yes
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: Stored Alltime Data

Post by hymrog »

Awesome...Thank you!
hymrog
Expert Boarder
Expert Boarder
Posts: 83
Joined: Sat Feb 01, 2014 1:25 am
Contact:

Re: Stored Alltime Data

Post by hymrog »

Thanks for making the changes to adjust all time data information. However, I am unable to make the changes to the all time information. Here is the error information that is on the system tab after entering the updated information.

bad parmaters in persistence update file '/home/meteohub/update.db' line 1: wind0chill_amin -38056 0

Again, thank you for your time
bardek
Senior Boarder
Senior Boarder
Posts: 41
Joined: Fri Jan 16, 2015 7:49 pm
Contact:

Re: Stored Alltime Data

Post by bardek »

does not work: bad parmaters in persistence update file '/home/meteohub/update.db' line 1: thb0temp_amin 19100 0
And additionaly page layout does not fit in the table.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Stored Alltime Data

Post by admin »

Uups, there still was a bug inside. Just uploaded version should do fine. Please reboot and try.
bardek
Senior Boarder
Senior Boarder
Posts: 41
Joined: Fri Jan 16, 2015 7:49 pm
Contact:

Re: Stored Alltime Data

Post by bardek »

Could you confirm? Its only for AllTime min/max. What is correct format for it? i.e. 151.4mm/h 20170110224500 ? (this does not work its says its has changed but only value is changed not data.
Noticed crash and reboot when changing on other than "All" :shock:
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Stored Alltime Data

Post by admin »

yes, that was a newly introduced bug. When you reboot you get a fixed version.
bardek
Senior Boarder
Senior Boarder
Posts: 41
Joined: Fri Jan 16, 2015 7:49 pm
Contact:

Re: Stored Alltime Data **solved**

Post by bardek »

there is no more possible to change DATETIME of max/min value. This feature was removed?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Stored Alltime Data **solved**

Post by admin »

bardek wrote:there is no more possible to change DATETIME of max/min value. This feature was removed?
The wiki explains how to change time stamps in that situation. Cite:

Beside values you can also change the timestamp, when the min/max event has occured. You simply do that by adding a "@yyyy-mm-dd HH:MM" string to the value. You can state the full date or just hours and minutes ("HH:MM"). Separation of numeric fields inside the datestamp you can use any non-digit character. Sequence from the end must be: minutes, hour, day, month, year. When you finally save changes, display will be refreshed and shows data you have updated.

I just tested on my rig and it works fine.
bardek
Senior Boarder
Senior Boarder
Posts: 41
Joined: Fri Jan 16, 2015 7:49 pm
Contact:

Re: Stored Alltime Data **solved**

Post by bardek »

oh, thank you. Just forgot that its needs "@yyyy-mm-dd HH:MM" format.
Of course it works as expected :)
sorry for false alarm :)
Post Reply