Rain not adding up?

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

Moderator: Mattk

Post Reply
jay
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Aug 10, 2016 12:33 pm

Rain not adding up?

Post by jay »

Hello all ...

With my new MB Pro here in Australia ... I think that MB is missing the odd bucket tip (0.2mm) when it sends to the API I have setup to display the weather to an external website.

If MB Pro sends [rain0total-sum10:] to an API every (full) 10 minutes, why is the amount reported to the API after 24 hours less than the 24 hour rainfall total on the David console / station. I think it has something to do with rounding of time on the MB. 

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

Re: Rain not adding up? **solved**

Post by admin »

With "[rain0total-sum10:]" you get the rain amount increase during last 600 seconds. Triggering that every 10 minutes will no exactly trigger it to the second, can be missing 10-30 seconds. Furthermore, these events are not synchronized to the clock so a 10 min period will not start at 00/10/20/30/40/50 minutes.

Why don't you report current daily raintotal to your server every 10 minutes? This will avoid all those problems.
When you need hourly data you can request data for an exactly specified period of time.
Post Reply