Page 1 of 1

Rain not adding up?

Posted: Thu Dec 08, 2016 12:44 am
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!

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

Posted: Sun Dec 11, 2016 6:55 pm
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.