Weather34 TEMPLATE

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

Moderator: Mattk

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 want to be accused of double posting just answered in your post in another thread . but in short beta period is over ,there is no more to add all ideas I had written down have been added , total of 205 I started with back in early MAY 2019 slowly one by one 95% of them got added with a few good additions from contributors along the way. Hopefully in January I will have the translations all done but that needs some time and focus to get right in design across the 6 languages ,its a very tedious task if it was just English then I could move onto smart tv compatibility . https://weather34.com/homeweatherstation/ clarifies with a brief explanation I find it good take a break and refresh the ideas or enthusiasm and fill up the things todo list again :-)

Boris has been sent a version as per post above but for me winter is less inspiring I spend too many months in a summer climate this year we kicked of in April with upper 20s with a few months at lower to mid 30s and its now middle October still mid 20s though pleasant cooler nights ..the sun inspires me everything looks brighter :-) ..

...have fun ..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
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by prestwickwx »

Brian,

The Smart template looks fantastic! Glad to hear that you are going to take a much deserved break. Look forward to the next iteration in 2020.

Take care,

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
User avatar
rzelle-K1TTC
Gold Boarder
Gold Boarder
Posts: 243
Joined: Fri Jul 12, 2019 4:32 pm

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by rzelle-K1TTC »

Brian, Enjoy those warm temperatures and sunshine during your break from MB-SMART. Take a look at the temps at my site once in a while took boost your appreciation for where you are .. :-)

My site is up and will continue to be up for anyone who wants to see a site in Northeast USA.

... 73s to you as well OM
..Ron
https://weather.k1ttc.com/AuroraMKII/index.php (Offline)
W. Methuen, Ma 01844 - Davis VP2+FARS - PurpleAir
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

Hi Chuck /Ron

don't worry about updating in the future GITHUB taught or inspired me a lot on how to make things easier for everyone just took time to implement it then make it the easiest way possible and cleanest way, think it turned out self explanatory in the end adding a bit of styling to it makes it easier to understand all-round as it just does two things update or backup. so I have been testing this secretly on two bath uk and Singapore sites over the last few weeks and my own . in January version updates will be even easier and won't overwrite any existing settings and a bonus back up feature which allows you to store a copy of current install prior to any update .

obviously 1st time users/installation won't benefit but thereafter users/regular long term users will just click a button and it scans for the update zip file :-)

each backup is dated like MB-SMART-2019-October-15.zip

each new update zip file will only contain files/folders required for update i.e MB-SMART-UPDATE-2019-OCTOBER-15.zip

access via the main mb smart setup secure setup screen you use to setup template
mb-smartupdater.png
mb-smartupdater.png (198.08 KiB) Viewed 7669 times
Screenshot at Oct 15 18-05-12.png
Screenshot at Oct 15 18-05-12.png (65.01 KiB) Viewed 7655 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
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by prestwickwx »

Brian,

This looks great. I never had a problem with the manual updates, but this will make it quick and easy. Should also make it much better for new users.

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

prestwickwx wrote: Tue Oct 15, 2019 5:10 pm Brian,

This looks great. I never had a problem with the manual updates, but this will make it quick and easy. Should also make it much better for new users.

Chuck
perhaps you got used to it but not everyone shared the same thought so it doesnt get any easier than this as it just does what it sez update or backup doesn’t do anything else .. and ultimately your backing up your chart data for other uses if required .

next year you will see wxsim compatibility as tony tasmania is already running a older implemented version but i would prefer a dedicated designed version but also needs some dedicated time to get right .

other than smart tv compatibility i cant think of any other requirements but who knows .. if you want to try out the backup feature drop us an email overnight ill send it on tomorrow its just one file and didnt see any issues on other tested sites just worked . 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 »

for those that made the request email overnight you should have received a copy of the updater and back up file .made a quick simple guide because it is that easy and self explanatory to use but some might find it useful as a quick reference .but this will be included in January as standard and will be very useful for future updates.
https://weather34.com/homeweatherstatio ... pdate.html


s5.png
s5.png (125.09 KiB) Viewed 7617 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
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by ConligWX »

wow, and here was me, thinking Brian had taken some time off to himself :lol: :lol:
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by prestwickwx »

weatherist34 wrote: Tue Oct 15, 2019 5:28 pm
prestwickwx wrote: Tue Oct 15, 2019 5:10 pm Brian,

This looks great. I never had a problem with the manual updates, but this will make it quick and easy. Should also make it much better for new users.

Chuck
perhaps you got used to it but not everyone shared the same thought so it doesnt get any easier than this as it just does what it sez update or backup doesn’t do anything else .. and ultimately your backing up your chart data for other uses if required .

next year you will see wxsim compatibility as tony tasmania is already running a older implemented version but i would prefer a dedicated designed version but also needs some dedicated time to get right .

other than smart tv compatibility i cant think of any other requirements but who knows .. if you want to try out the backup feature drop us an email overnight ill send it on tomorrow its just one file and didnt see any issues on other tested sites just worked . brian
Good deal, I just sent you an email.

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

sorry for the delay I have sent out all the requests just now in staggered emails 3 per time so hopefully you can all try it out now.
I added some last minute design changes just to make it bit more user friendly and self explantory I hope :-)

my internet is now limited so I really apologize for not being responsive in a timely manner and probably be like this for many weeks but ill do my best to follow the forum .

screenshot below of how it panned out.

just a cautionary note I got lots requests from people who are not actually using a NANOSD but using TP-LINK types or cumulus , Im really sorry template does not support either of those and there is a 90% chance of it working with a Meteobridge pro but I don't own one of those to confirm and I also won't being supporting that product as I have no means of testing or replicating any issues raised when a MB PRO is being used.So in short NANOSD is fully supported and compatible .
mb-updater.png
mb-updater.png (127.41 KiB) Viewed 7572 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
svampen
Junior Boarder
Junior Boarder
Posts: 32
Joined: Fri Aug 16, 2019 10:57 am
Location: Sweden
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by svampen »

Dear Brian

My apache-error.log is filling up due to a what I believe is a typo. When you feel for it I think it is a good idea to change line 25 in chartstoday.php and 28 in charts-year-month.php

Got error 'PHP message: PHP Warning: fclose() expects parameter 1 to be resource, string given in /volume1/web/chartstoday.php on line 25'

This:
fclose($weatherchartfilemonth);

...should be the pointer instead, to avoid this warning:
fclose($fp);

All the best!! :D
PWS Villshärad/Halmstad, Sweden: vader.fishmoose.se DavisVPro + MB NanoSD.
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

svampen wrote: Sun Oct 20, 2019 5:26 pm Dear Brian

My apache-error.log is filling up due to a what I believe is a typo. When you feel for it I think it is a good idea to change line 25 in chartstoday.php and 28 in charts-year-month.php

Got error 'PHP message: PHP Warning: fclose() expects parameter 1 to be resource, string given in /volume1/web/chartstoday.php on line 25'

This:
fclose($weatherchartfilemonth);

...should be the pointer instead, to avoid this warning:
fclose($fp);

All the best!! :D
hi Tony raised this issue a week or so ago but I couldn't see or have any log errors based on that . anyway template was updated to reflect his findings
in case you had missed it before the GitHub repo was closed you can simply edit if you wish
$fp = fopen($weatherchartfile, 'a');
fwrite($fp,$weather34chartdata);
fclose($fp);

and charts-month-year file
$fp = fopen($weatherchartfilemonth, 'a');
fwrite($fp,$weather34chartdata);
fclose($fp);



$fp1 = fopen($weatherchartfileyear, 'a');
fwrite($fp1,$weather34chartdata1);
fclose($fp1);

no public updates available till January
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
User avatar
hrvistaweather
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Mon Apr 29, 2019 11:16 am
Location: Beaumaris Tasmania
Contact:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by hrvistaweather »

Hi Brian and svampen,

The only other modification I made to be more compliant was as follows.
added " a+ "
in " chartstoday.php "

Code: Select all

$output=$weatherchartfile;
$fp = fopen($weatherchartfile, 'a+'); 
fwrite($fp,$weather34chartdata); 
fclose($fp);
?>

$output=$airchartfile;
$fp2 = fopen($airchartfile, 'a+'); 
fwrite($fp2,$airchartdata); 
fclose($fp2);
}

$output=$airchartfile1;
$fp3 = fopen($airchartfile1, 'a+'); 
fwrite($fp3,$airchartdata1); 
fclose($fp3);
}
and in " charts-month-year.php "

Code: Select all

$fp = fopen($weatherchartfilemonth, 'a+'); 
fwrite($fp,$weather34chartdata); 
fclose($fp);

$fp1 = fopen($weatherchartfileyear, 'a+'); 
fwrite($fp1,$weather34chartdata1); 
fclose($fp1);

and the reason :

Code: Select all

'a'	Open for writing only; place the file pointer at the end of the file. If the file does not exist, attempt to create it. In this mode, fseek() has no effect, writes are always appended.
'a+'	Open for reading and writing; place the file pointer at the end of the file. If the file does not exist, attempt to create it. In this mode, fseek() only affects the reading position, writes are always appended.
Kind Regards,
Tony
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 MB-SMART NANOSD TEMPLATE

Post by weatherist34 »

awesome tony ill update file for next release ..many thanks ..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 »

a small addition was added and was sent this morning via email . simply adds a password protected method to updater screen.
Screenshot at Oct 211324.png
Screenshot at Oct 211324.png (100.09 KiB) Viewed 7488 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
Post Reply