Page 18 of 89
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Fri Jan 03, 2020 9:06 pm
by weatherist34
hello
I have uploaded rainfall-year-month.php to GITHUB also pushed a smart update which you can get via
https://weather34.com/homeweatherstatio ... smart.html
use whichever method suits you.
I tested with 4 data sets with a fresh download of template to make sure I wasn't on a different version mistakenly.
MBrealtimeupload.txt Datasets used K1TTC,TOTO,ERITH,SINGAPORE
however this does not explain the original problem of [rain0total-max@M1] appearing in the API as a string and not a value .
If this module still produces errors then I will just remove it as nothing changed in this file upto the point of when [rain0total-max@M1] was first noticed late January 1st started appear in the API.
screenshots of datasets tested within last hour

- 4datasets.jpg (104.87 KiB) Viewed 4961 times
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 12:29 am
by xxvincixx
i've this issue....
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 12:39 am
by weatherist34
no issue here are you using the updated file released earlier today 03JAN2020.zip ?
screenshot in Italian

- it2.jpg (85.05 KiB) Viewed 4939 times
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 12:46 am
by xxvincixx
weatherist34 wrote: Sat Jan 04, 2020 12:39 am
no issue here are you using the updated file released earlier today 03JAN2020.zip ?
screenshot in Italian
it.jpg
yes
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 12:51 am
by xxvincixx
weatherist34 wrote: Sat Jan 04, 2020 12:39 am
no issue here are you using the updated file released earlier today 03JAN2020.zip ?
screenshot in Italian
it2.jpg
what could I do to solve ???
http://lamiastazionemeteo.altervista.or ... /index.php
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 1:05 am
by weatherist34
replace file in zip
attached
unzip file and replace
rainfall-year-month.php
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 2:44 pm
by rzelle-K1TTC
Brian,
All OK here now I downloaded the update .zip but used git since it's still open to me .. until Sunday ..
Thanks for the fixes Sorry you had to deal with theses issue now.
73s
..Ron
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 6:01 pm
by weatherist34
hi Ron certainly wasn't expected but there we go, got resolved in the end with a reasonable workaround solution.
I think Boris has released a firmware fix for the anomaly that appeared on Jan 1st.
Version 4.2
released January 4, 2020
Meteobridge PRO & NANO SD: fixes a bug on importing Meteohub raw data, where sea level pressure was imported wrong by factor 10.
Meteobridge PRO & NANO SD: fixes a bug where addressing data back into last year with "@Mx" selector points into the void.
adds new sensor "wind0maxdir" that reports wind direction of maximum gust in the requested time frame. Example: [wind0maxdir-dmax:-] reports wind direction of todays maximum gust. [wind0maxdir-dmax=endir:-] does the same but reports as a text like "NWN" instead of degrees north.
but I decided to remove the feature and the newer code is a lot more simpler and slimmer to maintain .
simple
if rain last 24 hours shows hours or minutes ago
if no rain in last 24 hours shows yesterdays total be it 0 accumulation or total accumulated value
*its a rolling 24 hour not a specific to midnight to midnight to determine last 24 hours.
tested with these three datasets

- 3dataset.jpg (97.96 KiB) Viewed 4884 times
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 6:19 pm
by prestwickwx
weatherist34 wrote: Sat Jan 04, 2020 6:01 pm
hi Ron certainly wasn't expected but there we go, got resolved in the end with a reasonable workaround solution.
I think Boris has released a firmware fix for the anomaly that appeared on Jan 1st.
Version 4.2
released January 4, 2020
Meteobridge PRO & NANO SD: fixes a bug on importing Meteohub raw data, where sea level pressure was imported wrong by factor 10.
Meteobridge PRO & NANO SD: fixes a bug where addressing data back into last year with "@Mx" selector points into the void.
adds new sensor "wind0maxdir" that reports wind direction of maximum gust in the requested time frame. Example: [wind0maxdir-dmax:-] reports wind direction of todays maximum gust. [wind0maxdir-dmax=endir:-] does the same but reports as a text like "NWN" instead of degrees north.
but I decided to remove the feature and the newer code is a lot more simpler and slimmer to maintain .
simple
if rain last 24 hours shows hours or minutes ago
if no rain in last 24 hours shows yesterdays total be it 0 accumulation or total accumulated value
*its a rolling 24 hour not a specific to midnight to midnight to determine last 24 hours.
tested with these three datasets
3dataset.jpg
Brian,
Yep, looks like Boris has fixed the issue. Thanks for the time you spent with the workaround. I agree, your present solution is much better. Also, the inclusion on the 2019 charts is a nice addition to the Console version.
Thanks again,
Chuck
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sat Jan 04, 2020 11:45 pm
by weatherist34
Hi Chuck based on Boris has fixed the last month anomaly we can now use 3 scenarios automatically so a bug produced a better scenario possiblilty thank you Boris .
we can do this now ive just tested with your data with you having rain today and my data which has no rain yesterday as it is already 5th December
then tested with demo data values to check if rain yesterday works
so there are three scenarios
to break it down
*rainfall hours or minutes ago if within last 24 hours is displayed
*if rain yesterday greater than 0 yesterdays total is displayed if no rain last 24 hours
*if then rain yesterday is 0 and rain time ago in last 24 hours is greater than 24 rain last month is displayed

- rain-year-month.jpg (141.02 KiB) Viewed 4860 times
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sun Jan 05, 2020 4:14 pm
by prestwickwx
weatherist34 wrote: Sat Jan 04, 2020 11:45 pm
Hi Chuck based on Boris has fixed the last month anomaly we can now use 3 scenarios automatically so a bug produced a better scenario possiblilty thank you Boris .
we can do this now ive just tested with your data with you having rain today and my data which has no rain yesterday as it is already 5th December
then tested with demo data values to check if rain yesterday works
so there are three scenarios
to break it down
*rainfall hours or minutes ago if within last 24 hours is displayed
*if rain yesterday greater than 0 yesterdays total is displayed if no rain last 24 hours
*if then rain yesterday is 0 and rain time ago in last 24 hours is greater than 24 rain last month is displayed
rain-year-month.jpg
Working great now!
Thanks to Brian and Boris.
Chuck
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sun Jan 05, 2020 5:36 pm
by rzelle-K1TTC
It's working well here too.
Thanks Boris and Brian.
73s
..Ron
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sun Jan 05, 2020 9:31 pm
by ToTo
Yes, thank you very much for the quick solution!
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Sun Jan 05, 2020 9:38 pm
by weatherist34
thats good to hear and no issues seen here since firmware update overnight.
also now have a complete slimmed down stand alone version as a separate download(1.8mb) more info here
https://weather34.com/homeweatherstatio ... alone.html
however it is not worth installing if you already use the mb-smart version , this standalone version is for those just wanting a basic
alternative display to use on a tablet or OEM device .it has a small footprint and doesn't need any additional API keys etc it just
is a small stand alone version that is already present the mb-smart version.
I use it on the balcony and also in my office room and it uses a smaller custom output sending from the NANOSD with just the necessary data required.
https://weather34.com/homeweatherstatio ... alone.html
Re: Weather34 MB-SMART NANOSD TEMPLATE
Posted: Mon Jan 06, 2020 11:04 am
by weatherist34
forgot to add ..alternative and stand alone now has the rain bucket feature. rain rate appears if value greater than 0(ZERO) if no rain rate shows last 24 hours.

- rain-bucket.jpg (122.61 KiB) Viewed 4769 times