Page 4 of 89

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Mon Oct 14, 2019 6:50 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Mon Oct 14, 2019 9:47 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Tue Oct 15, 2019 1:42 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Tue Oct 15, 2019 3:52 pm
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 7687 times
Screenshot at Oct 15 18-05-12.png
Screenshot at Oct 15 18-05-12.png (65.01 KiB) Viewed 7673 times

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Tue Oct 15, 2019 5:10 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Tue Oct 15, 2019 5:28 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Wed Oct 16, 2019 9:15 am
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 7635 times

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Wed Oct 16, 2019 11:34 am
by ConligWX
wow, and here was me, thinking Brian had taken some time off to himself :lol: :lol:

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Wed Oct 16, 2019 2:17 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Thu Oct 17, 2019 4:17 pm
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 7590 times

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Sun Oct 20, 2019 5:26 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Sun Oct 20, 2019 6:12 pm
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Mon Oct 21, 2019 9:52 am
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

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Mon Oct 21, 2019 12:11 pm
by weatherist34
awesome tony ill update file for next release ..many thanks ..brian

Re: Weather34 MB-SMART NANOSD TEMPLATE

Posted: Mon Oct 21, 2019 12:23 pm
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 7506 times