Failure - incomplete data posted by Meteobridge

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

Moderator: Mattk

Post Reply
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Failure - incomplete data posted by Meteobridge

Post by jasonmfarrow »

After a reboot to change Wifi Network of my NANOSD I am getting issues with this message:
HTTP Upload: 2024-02-20 10:49:20 Error: 2024-02-20 10:49:18 <p>Failure - incomplete data posted by Meteobridge</p> (no more tries)
Symptoms of this are showing up in my Webcam overlay
camplus.jpg
camplus.jpg (78.12 KiB) Viewed 1426 times
and in my Weather34 display where it's killing the Barometer section
Screenshot 2024-02-20 105358.png
Screenshot 2024-02-20 105358.png (150.81 KiB) Viewed 1426 times
I updated the Meteobridge to the latest version
SW Version: Meteobridge 5.8 (Feb 13 2024, build 4757), FW 1.4
and rebooted but it's still an issue. Any help to resolve this would be appreceiated.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Failure - incomplete data posted by Meteobridge

Post by jasonmfarrow »

This fixed itself after about 3 hours of giving out dodgy data. Nothing weather-configuration-wise was changed, just the move to a different wi-fi network.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Failure - incomplete data posted by Meteobridge

Post by Mattk »

Seeing it fixed itself after 3 hours, possibly has something to do with no barometer data as it takes 3 hours to get a trend and a delta3h expression might have issues until there was more than 3 hours of data?
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Failure - incomplete data posted by Meteobridge

Post by jasonmfarrow »

Matt,

That sounds logical, but I've not had reboots and/or firmware upgrades cause a reset/or absence of "delta" statistics before.

Have you seen this?
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Failure - incomplete data posted by Meteobridge

Post by admin »

Please do not use any Meteobridge templates that do not provide a default reply if a requested sensor does not have data. Not doing so is like writing a program that does not cope with error conditions and just crashes.
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Failure - incomplete data posted by Meteobridge

Post by jasonmfarrow »

Hi Boris/Admin,

In this case I was doing nothing non-standard. The error shown in the Webcam was using the standard webcam overlay processing provided as one of the default weather net services.

Code: Select all

-resize 1706x960 -fill green -draw "fill-opacity 0.7 roundrectangle 10 820 210 950 10 10" -fill red -draw "fill-opacity 0.7 roundrectangle 220 820 420 882 10 10" -fill blue -draw "fill-opacity 0.7 roundrectangle 220 888 420 950 10 10" -fill black -draw "fill-opacity 0.7 roundrectangle 430 820 610 950 10 10" -fill black -draw "fill-opacity 0.7 roundrectangle 620 820 840 950 10 10" -fill black -draw "fill-opacity 0.7 roundrectangle 850 820 1050 950 10 10" -fill black -draw "fill-opacity 0.7 roundrectangle 1060 820 1260 950 10 10" -fill blue -draw "fill-opacity 0.7 roundrectangle 1270 820 1470 950 10 10" -fill black -draw "fill-opacity 0.7 roundrectangle 1480 820 1690 950 10 10" -pointsize 24 -fill white -draw "text 20 850 'Temperature'" -fill white -draw "text 440 850 'Humidity'" -fill white -draw "text 630 850 'Pressure'" -fill white -draw "text 860 850 'Wind'" -fill white -draw "text 1070 850 'Gust'" -fill white -draw "text 1280 850 'Rain'" -fill white -draw "text 1490 850 'Air Quality'" -pointsize 38 -fill white -draw "text 20 894 '[th0temp-act.1:--]C'" -fill white -draw "text 440 894 '[th0hum-act.0:--]%'" -fill white -draw "text 630 894 '[thb0seapress-act.1:--] hPa'" -fill white -draw "text 860 894 '[wind0avgwind-act=mph.1:--] mph'" -fill white -draw "text 1070 894 '[wind0wind-dmax=mph.1:--] mph'" -fill white -draw "text 1280 894 '[rain0total-daysum.1:--] mm'" -pointsize 22 -fill white -draw "text 20 930 '[hh]:[mm]'" -fill white -draw "text 440 930 'DewPt [th0dew-act.1:--]C'" -fill white -draw "text 630 930 '[thb0seapress-delta3h=enbarotrend]([thb0seapress-delta3h=barotrend.2:--] hPa)'" -fill white -draw "text 860 930 '[wind0dir-avg10.000:--]°'" -fill white -draw "text 1490 890 'PM2.5: [air1!1pm-act.1:--] µg/m³'" -fill white -draw "text 1490 930 'PM10: [air1!0pm-act.1:--] µg/m³'" -pointsize 28 -fill white -draw "text 230 850 'Max [th0temp-dmax.1:--]C'" -fill white -draw "text 230 918 'Min [th0temp-dmin.1:--]C'" -pointsize 18 -fill white -draw "text 1070 930 '[MMM]: [wind0wind-mmax=mph.1:--]  [YYYY]: [wind0wind-ymax=mph.1:--]'" -fill white -draw "text 1280 930 '[MMM]: [rain0total-monthsum.1:--]  [YYYY]: [rain0total-yearsum.1:--]'" -pointsize 16 -fill white -draw "text 230 875 '[MMM]: [th0temp-mmax.1:--]C  [YYYY]: [th0temp-ymax.1:--]C'" -fill white -draw "text 230 942 '[MMM]: [th0temp-mmin.1:--]C  [YYYY]: [th0temp-ymin.1:--]C'" -fill black -draw "fill-opacity 0.7 roundrectangle 10 750 420 810 10 10" -pointsize 44 -fill white -draw "text 20 795 'JMFweather.uk'"
Then the other failure caused by the incomplete Barometer 3hr Delta was feeding data to the Weather34 template (again a standard Weather Net service) and the Saratoga template using a standard HTTP service:

Code: Select all

https://<domain>/conds.php?d=[DD]/[MM]/[YYYY],[hh]:[mm]:[ss],[th0temp-act],[th0hum-act.0],[th0dew-act],[wind0avgwind-act],[wind0wind-act],[wind0dir-act],[rain0rate-act],[rain0total-daysum],[thb0seapress-act],[wind0dir-act],[wind0wind-act=bft.0],m/s,C,hPa,mm,--,[thb0seapress-val60:--],[rain0total-monthsum],[rain0total-yearsum],[rain0total-ydaysum],[thb0temp-act],[thb0hum-act],[wind0chill-act],[th0temp-val60:--],[th0temp-dmax],[th0temp-dmaxtime],[th0temp-dmin],[th0temp-dmintime],[wind0avgwind-dmax],[wind0avgwind-dmaxtime],[wind0wind-dmax],[wind0wind-dmaxtime],[thb0seapress-dmax],[thb0seapress-dmaxtime],[thb0seapress-dmin],[thb0seapress-dmintime],[mbsystem-swversion:--],[mbsystem-buildnum:--],[wind0wind-max10],--,--,[uv0index-act:--],--,[sol0rad-act:--],[wind0dir-avg10:--],[rain0total-sum60],--,[mbsystem-daynightflag:--],--,[wind0dir-avg10:--],--,m,--,[mbsystem-daylength:--],--,--,[uv0index-dmax:--] 
I wholly agree that if I was using unsupported or non-standard templates then I would have nothing of which to complain. I raised this because it seemed to be an issue that occured subsequent to a reboot for an IP change and again after a firmware upgrade. As it cleared itself after 3-hrs, which would have been the time for the 3-hr delta to be properly updated (if not retained across a reboot for some reason) it would appear to be transient.

If there is a better way to code the above for missing or incomplete data are you able to provide an example?

Thank you. Meteobridge is a great tool and it's been working marvellously for me for the last 5-years.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Failure - incomplete data posted by Meteobridge

Post by admin »

The first definition has "[thb0seapress-delta3h=enbarotrend]" in it which is lacking a default option, should be [thb0seapress-delta3h=enbarotrend:].
Saratoga definitions are lacking any default options, which is not good as explained.
Are these templates part of the Meteobridge system distribution? If so, can you please give me their names so that I can fix centrally?

"delta3h" needs the system to be up for 3 hours before having sufficient data avail to report a correct value. Not great, but this is how it is currently implemented.
Post Reply