Weather34 MB-SMART NANOSD TEMPLATE

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

xray77
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 » Mon Mar 16, 2020 12:30 pm

Hello, Brian,
It now works in the standard display, thanks for the download link!
Despite the changes in the shared.php there is no change in the NanoSD display, but that's not too bad, I have the standard display... :)

It's a pity that you won't be able to update the NanoSD display, but you will have your reasons for that.

I thank you for the fast and competent help, this is not self-evident nowadays!

Edit: i have found another little issue:
The left field represents the average wind speed, right? But the Beaufort value displayed is linked to the current wind speed, not to the average wind speed displayed in the field. So the BFT value should probably be in the field of the current wind speed and the max-value texts from the current wind field in the average wind field. Simply said: exactly the other way round as current... ;-)
Bildschirmfoto 2020-03-16 um 12.45.11.png
Bildschirmfoto 2020-03-16 um 12.45.11.png (163 KiB) Viewed 347 times
Best regards
Mike
priv. Weatherstation Buedelsdorf SH Germany
https://buedelsdorfwetter.de/MBSMART/index.php

weatherist34
Platinum Boarder
Platinum Boarder
Posts: 396
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Mon Mar 16, 2020 2:49 pm

been raised before a few times but template uses the direct string from meteobridge output position 12 in the api output [wind0wind-act=bft.0:--] . no formulas or manipulation in template for Beaufort readings . in livedata.php you will see $weather["wind_speed_bft"] = $meteobridgeapi[12];

perhaps in the future move the bft output to windspeed but needs some thought as not to congest and cram the info into small areas otherwise it all becomes a mess. lets look at this in the future ...

the value in the larger box is an average wind speed reading not actual

Brian

weatherist34
Platinum Boarder
Platinum Boarder
Posts: 396
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Mon Mar 16, 2020 2:52 pm

weatherist34 wrote:
Mon Mar 16, 2020 2:49 pm
been raised before a few times but template uses the direct string from meteobridge output position 12 in the api output [wind0wind-act=bft.0:--] . no formulas or manipulation in template for Beaufort readings . in livedata.php you will see $weather["wind_speed_bft"] = $meteobridgeapi[12];

perhaps in the future move the bft output to windspeed but needs some thought as not to congest and cram the info into small areas otherwise it all becomes a mess. lets look at this in the future ...

the value in the larger box is an average wind speed reading not actual

bft is actual

Brian

xray77
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 » Mon Mar 16, 2020 3:36 pm

Hello Brian,
Hello, Brian,
OK; there is of course no easy manipulation possible if the BFT value comes directly from the Meteobridge... :|
The only possibility seems to be to calculate the BFT value directly in the template from the average wind speed. If you do it so, you first need a formula for calculation...

I don't know if this might help in the future, I have a javascript (works with WSWIN-Weatherstation-Program) for the conversion.
var wind = %avg10minwindg% (its the variable in WSWIN, might be replaced with ["wind_speed_avg15"] = $meteobridgeapi[72]? but I seem the Meteobridge-output is in m/s?
Wind data here in m/s:
var bft = 0
var txt =" bft"
if (wind > 0.28 && wind < 1.67){bft=1;}
if (wind > 1.66 && wind < 3.33){bft=2;}
if (wind > 3.32 && wind < 5.56){bft=3;}
if (wind > 5.55 && wind < 8.06){bft=4;}
if (wind > 8.05 && wind < 10.83){bft=5;}
if (wind > 10.82 && wind < 13.89){bft=6;}
if (wind > 13.88 && wind < 17.22){bft=7;}
if (wind > 17.21 && wind < 20.83){bft=8;}
if (wind > 20.82 && wind < 24.72){bft=9;}
if (wind > 24.71 && wind < 28.61){bft=10;}
if (wind > 28.60 && wind < 32.78){bft=11;}
if (wind > 32.77){bft=12;}
if (wind == 0) {document.write('silence')}
if (wind > 0) {document.write(bft)}
if (wind > 0) {document.write(txt)}
//-->
Maybe you can adapt something like this to php at some point in the livedata.php. :-)

I already thought that it is a space problem to put the BFT value into the current wind field.


Thanks for your explanations! Thank you very much for the very fast reaction time and for your excellent work in offering this possibility of weather data display.
Best regards
Mike
priv. Weatherstation Buedelsdorf SH Germany
https://buedelsdorfwetter.de/MBSMART/index.php

ToTo
Senior Boarder
Senior Boarder
Posts: 77
Joined: Wed Apr 03, 2019 9:24 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo » Tue Mar 17, 2020 1:12 pm

Hello brian, how do I call up the charts in the mobile phone version?
The button is removed with the new switch C/kts...
PWS Magdeburg - Germany - https://wetter.de.cool/console

xray77
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 » Tue Mar 17, 2020 1:42 pm

ToTo wrote:
Tue Mar 17, 2020 1:12 pm
Hello brian, how do I call up the charts in the mobile phone version?
The button is removed with the new switch C/kts...
i am not Brian but the button is now here:
IMG_1931.jpeg
IMG_1931.jpeg (59.11 KiB) Viewed 304 times
regards
Mike
priv. Weatherstation Buedelsdorf SH Germany
https://buedelsdorfwetter.de/MBSMART/index.php

ToTo
Senior Boarder
Senior Boarder
Posts: 77
Joined: Wed Apr 03, 2019 9:24 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo » Tue Mar 17, 2020 2:21 pm

Hallo Mike,

not on my iPhone 8. A small error is also the arrow that shows above, although the text says falling.
iPhone.jpg
iPhone.jpg (17.63 KiB) Viewed 298 times
PWS Magdeburg - Germany - https://wetter.de.cool/console

xray77
Fresh Boarder
Fresh Boarder
Posts: 18
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 » Tue Mar 17, 2020 3:06 pm

Okay, so I guess Brian has to look.
I am surprised that it is different with you than with me, I would not have expected that now.
(iPhone 10XR and iPad Air II)
regards
Mike
priv. Weatherstation Buedelsdorf SH Germany
https://buedelsdorfwetter.de/MBSMART/index.php

weatherist34
Platinum Boarder
Platinum Boarder
Posts: 396
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Tue Mar 17, 2020 5:08 pm

please note this project is now archived on GITHUB until some normality returns ..

compromises were made to cater for languages extra metrics and so on , the chart display and forecast are now accessed via icons .having the option of F,C,kts,mph,kmh,ms ,charts,almanac,forecast,forecast summary just simply is not possible in all screen devices so the almanac,charts, forecast,forecast summary are icons . as per screenshot.

best I can do for now .
Screenshot_2020-03-17 Demo Home Weather Station(2).jpg
Screenshot_2020-03-17 Demo Home Weather Station(2).jpg (149.22 KiB) Viewed 282 times

ToTo
Senior Boarder
Senior Boarder
Posts: 77
Joined: Wed Apr 03, 2019 9:24 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo » Tue Mar 17, 2020 8:24 pm

Brian, I'm more than happy with the solution.

Take care of yourself!
Torsten
PWS Magdeburg - Germany - https://wetter.de.cool/console

weatherist34
Platinum Boarder
Platinum Boarder
Posts: 396
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Thu Mar 26, 2020 8:42 pm

xray77 wrote:
Mon Mar 16, 2020 12:30 pm
Hello, Brian,
It now works in the standard display, thanks for the download link!
Despite the changes in the shared.php there is no change in the NanoSD display, but that's not too bad, I have the standard display... :)

It's a pity that you won't be able to update the NanoSD display, but you will have your reasons for that.

I thank you for the fast and competent help, this is not self-evident nowadays!

Edit: i have found another little issue:
The left field represents the average wind speed, right? But the Beaufort value displayed is linked to the current wind speed, not to the average wind speed displayed in the field. So the BFT value should probably be in the field of the current wind speed and the max-value texts from the current wind field in the average wind field. Simply said: exactly the other way round as current... ;-)

Bildschirmfoto 2020-03-16 um 12.45.11.png

Best regards
Mike
an idea but need it is of interest to anyone to use as opposed to wind speed average module ?

does this work ? a color coded Beaufort module replaces wind speed average module ..please let me know if possible before Sunday 29TH March..
allow time to translate a few words.. i.e wind barb scale
if not ill leave as is ..
beaufort.png
beaufort.png (114.98 KiB) Viewed 154 times

ToTo
Senior Boarder
Senior Boarder
Posts: 77
Joined: Wed Apr 03, 2019 9:24 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo » Fri Mar 27, 2020 6:31 pm

Nice that there is something new again :-)

The Beaufort module shows the current wind speed or the average? I prefer the current one.

Wind Run is already used with the wind speed module, I might still have an average wind speed at that position.
PWS Magdeburg - Germany - https://wetter.de.cool/console

weatherist34
Platinum Boarder
Platinum Boarder
Posts: 396
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Fri Mar 27, 2020 9:25 pm

ToTo wrote:
Fri Mar 27, 2020 6:31 pm
Nice that there is something new again :-)

The Beaufort module shows the current wind speed or the average? I prefer the current one.

Wind Run is already used with the wind speed module, I might still have an average wind speed at that position.
no planned updates for the nanosd version anymore so this option wont affect you or others using that version its just an idea and i prefer it being in a rather predominant wind location where calm days are rare . ps windrun is moved into beaufort module when used and shows daily average in wind speed module . but as above option will be in standalone version only.

ToTo
Senior Boarder
Senior Boarder
Posts: 77
Joined: Wed Apr 03, 2019 9:24 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo » Sat Mar 28, 2020 8:14 am

weatherist34 wrote:
Fri Mar 27, 2020 9:25 pm
no planned updates for the nanosd version anymore
...
above option will be in standalone version only.
Very sad to hear that. Can't the module also be an option for the nanosd version?
The console version for nanosd is actually identical with the MB SMART Console Ver 4.0 or not?
PWS Magdeburg - Germany - https://wetter.de.cool/console

weatherist34
Platinum Boarder
Platinum Boarder
Posts: 396
Joined: Tue Mar 28, 2017 6:57 am
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 » Sat Mar 28, 2020 11:18 am

don't be sad I said weeks ago I wanted to move away from the NANOSD version as its reached its limit and really went beyond what I initially wanted to design around . The console version standalone is different and much easier to implement changes.

NANOSD version once installed with default data aprox 12,3 MB (download size zipped 4.2MB)

STANDALONE version once installed with default data aprox 4.2MB (download size zipped 970Kb)

you can see the difference just in size how the standalone version is easier to maintain and has very small footprint.

NANOSD version will remain as just a download via the download page no need to remove it as many still prefer that to use .

Post Reply