Weather34 TEMPLATE

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

Moderator: Mattk

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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 »

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 5728 times
Best regards
Mike
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

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
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

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
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
xray77
Gold Boarder
Gold Boarder
Posts: 182
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 »

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
ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo »

Hello brian, how do I call up the charts in the mobile phone version?
The button is removed with the new switch C/kts...
xray77
Gold Boarder
Gold Boarder
Posts: 182
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 »

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 5685 times
regards
Mike
ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo »

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 5679 times
xray77
Gold Boarder
Gold Boarder
Posts: 182
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by xray77 »

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
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

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 5663 times
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo »

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

Take care of yourself!
Torsten
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

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 5535 times
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo »

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.
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

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.
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ToTo »

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?
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

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 .
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
Post Reply