[thb0seapress-avg.1:---] empty in last 7 days export file **solved**

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
LucV
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Sep 16, 2022 3:28 pm

[thb0seapress-avg.1:---] empty in last 7 days export file **solved**

Post by LucV »

I have a Meteobridge NANO installed in a Vantage PRO2 display.

In a custom export file with a the last 7 days of history, I have an empty value for [thb0seapress-avg.1:---]

This was filled until July 19th 2022. I saw on https://www.meteobridge.com/wiki/index.php/Forum that there was an update of the firmware that day. So I think this issue could have been related to that update.

I tried to fix this issue by using [thb0seapress-lastval.1:---] and [thb0seapress-act.1:---], but this still results in an empty tag. The tag is however working in exports with actual values.

How can I work around or fix this, or is it a (known) firmware issue? And to whom should I address that issue?

Regards,
Luc
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by admin »

Are you using these variables in export definitions or in HTTP upload templates?
LucV
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Sep 16, 2022 3:28 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by LucV »

I have an event created to export this file every day. And a second event (that is triggered by the first event) that uploads this file with FTP to a website.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by admin »

Do you see data for "thb0seapress" on "History - Edit Hour Data" tab for the selected time frame?
Any mappings for this sensor on "Station - Mapping" tab?
Which time resolution are you using for export? hourly?
Any Error messages on "System - Log File" tab?
LucV
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Sep 16, 2022 3:28 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by LucV »

No, In history tab I don't see any data for thb0seapress.

The sensor is mapped. See below:
Schermafbeelding 2022-09-19 om 08.21.33.png
Schermafbeelding 2022-09-19 om 08.21.33.png (220.77 KiB) Viewed 1180 times
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by Mattk »

Just to confirm this is a standard NANO (as you indicated) and not a NanoSD?

Standard Nano does not have a History tab to edit. On the [Raw Sensor Tab] you should see a pressure value on the Indoor line (metric & Imperial), on the [Min/Max data] tab you should also have a "pressure" and a "sealevel pressure" value for Now, today, Month year , All etc?
LucV
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Sep 16, 2022 3:28 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by LucV »

I have a NANO SD version:

Schermafbeelding 2022-09-19 om 09.49.14.png
Schermafbeelding 2022-09-19 om 09.49.14.png (153.74 KiB) Viewed 1177 times

On the history tab I see a graph for th0temp, but not for thb0seapress

Schermafbeelding 2022-09-19 om 09.51.02.png
Schermafbeelding 2022-09-19 om 09.51.02.png (106.63 KiB) Viewed 1177 times
Schermafbeelding 2022-09-19 om 09.51.44.png
Schermafbeelding 2022-09-19 om 09.51.44.png (98.2 KiB) Viewed 1177 times

However in I see pressure in Live Data tab -> Min/Max Data. Here you see now sealevel pressure = 1019.3 mb.

In Today and Month columns the min value is empty. But in Year and All columns this filled. Because this used to work until an update in July, I assume this issue could be related to that release.

Schermafbeelding 2022-09-19 om 09.55.39.png
Schermafbeelding 2022-09-19 om 09.55.39.png (438.76 KiB) Viewed 1177 times
LucV
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Fri Sep 16, 2022 3:28 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by LucV »

I found in the logging an error every minute on inserting thb0seapress with a message that the "database disk image is malformed".
So I tried a rebuild of the database on reboot. It took about 3 hours to complete the rebuild and now it seems to work again.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: [thb0seapress-avg.1:---] empty in last 7 days export file

Post by admin »

Great that solved this. Having a look at the log files when something does not work as expected should always been one of the first steps.
Post Reply