
Weather34 TEMPLATE
Moderator: Mattk
-
- Platinum Boarder
- Posts: 1693
- Joined: Tue Mar 28, 2017 6:57 am
Re: Weather34 MB-SMART NANOSD TEMPLATE
merry Christmas better late than never...

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
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file
Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
Re: Weather34 MB-SMART NANOSD TEMPLATE
Thanks to Santa, this is perfect. 

-
- Senior Boarder
- Posts: 78
- Joined: Sun Mar 03, 2019 8:12 pm
- Contact:
Re: Weather34 MB-SMART NANOSD TEMPLATE
Hi, Brian!
This forum thread is dedicated to the MB-SMART NANOSD TEMPLATE, but lately everything is spinning around the "console" version. I have a question about the "desktop" version: how do I change the pressure measurement unit (to mmHg) in the desktop version in "Barometer Charts"? Here is the address of my site: https://xn--10-6kcwaznenhomt1p.xn--p1ai/ see what I did by entering the coefficient 0.75006157584566 in the livedata file.php and changing the barometer file.php (according to your advice on www.wxforum.net), in this version, the file structure has changed and your tips (for the old version) do not work for it.
Thanks.
This forum thread is dedicated to the MB-SMART NANOSD TEMPLATE, but lately everything is spinning around the "console" version. I have a question about the "desktop" version: how do I change the pressure measurement unit (to mmHg) in the desktop version in "Barometer Charts"? Here is the address of my site: https://xn--10-6kcwaznenhomt1p.xn--p1ai/ see what I did by entering the coefficient 0.75006157584566 in the livedata file.php and changing the barometer file.php (according to your advice on www.wxforum.net), in this version, the file structure has changed and your tips (for the old version) do not work for it.
Thanks.
Re: Weather34 MB-SMART NANOSD TEMPLATE
I just realized this and I don't know if it's a mistake? I always leave the weather console open and when I unlock my iPad, all values are updated but not every time for the webcam and the sunmod module. I must use the reload button.
Re: Weather34 MB-SMART NANOSD TEMPLATE
For some reason the Weather 34 is NOT showing my forecast data. It looks like it's trying to read a WU apiKey but I can't find where to install it. Any suggestions? Also my moon set time is incorrect. I'm not sure where to adjust that either...
https://www.atglenweather.com/console/index.php
Thanks...
https://www.atglenweather.com/console/index.php
Thanks...
- rzelle-K1TTC
- Gold Boarder
- Posts: 243
- Joined: Fri Jul 12, 2019 4:32 pm
Re: Weather34 MB-SMART NANOSD TEMPLATE
Hi,
There is a section in the main template setup page for the WU API key. You need to obtain the key from the WU site. See the section screen shot below.
..Ron
There is a section in the main template setup page for the WU API key. You need to obtain the key from the WU site. See the section screen shot below.
..Ron
https://weather.k1ttc.com/AuroraMKII/index.php (Offline)
W. Methuen, Ma 01844 - Davis VP2+FARS - PurpleAir
W. Methuen, Ma 01844 - Davis VP2+FARS - PurpleAir
-
- Platinum Boarder
- Posts: 1693
- Joined: Tue Mar 28, 2017 6:57 am
Re: Weather34 MB-SMART NANOSD TEMPLATE
good morning sorry for delay in responding very little time to focus on these until this morning.
alexeysailman added mmHG option module in setup screen to use a file called barometer mod-mmHG.php
..todo add same mmHG formula to charts for pressure.


toto..adjusted refresh module rates might solve what your seeing not able to replicate locally . file console/updater2.php
Ed_Heaton . thank you for bringing this up your doing nothing wrong I hadn't realized I had a backlog of files not pushed to the GITHUB repo via the APP
I use so this morning I have updated many files to the standalone console version there were 24 files awaiting
. took me a while to realize has I couldn't fathom out why the forecast would not display.
please update * note these files are for the console standalone version that supports NANOSD/Pro/TP Link(types)
all language files in the languages folder
console-setup.php (this adds the options for wu api key your not seeing + purple air ID + mmHg option)
stationcron.php which resides in the folder mbdbfiles folder (this is critical for forecast display)
worth mentioning for forecast .
Get forecast data
Select the Services Tab in Meteobridge
1. Goto Select new service
2. Select from the drop down menu HTTP Request
3. Select periodically in the next menu
4. Click Save at the bottom of the screen
5. Now look for new HTTP request
6. select 30 minutes
7. NOW INSERT THE URL example
8. https://yourdomain.com/console/mbdbfile ... oncron.php
9. now click save .
*the path can be in the root if the template was uploaded to the root directory https://yourdomain.com/mbdbfiles/stationcron.php
10. * Make sure you have entered the WU API Key in the setup up screen for the console
11. * Purple Air is optional make sure you entered your ID in the setup up screen for the console
sorry for the inconvenience...Brian
alexeysailman added mmHG option module in setup screen to use a file called barometer mod-mmHG.php
..todo add same mmHG formula to charts for pressure.


toto..adjusted refresh module rates might solve what your seeing not able to replicate locally . file console/updater2.php
Ed_Heaton . thank you for bringing this up your doing nothing wrong I hadn't realized I had a backlog of files not pushed to the GITHUB repo via the APP
I use so this morning I have updated many files to the standalone console version there were 24 files awaiting

please update * note these files are for the console standalone version that supports NANOSD/Pro/TP Link(types)
all language files in the languages folder
console-setup.php (this adds the options for wu api key your not seeing + purple air ID + mmHg option)
stationcron.php which resides in the folder mbdbfiles folder (this is critical for forecast display)
worth mentioning for forecast .
Get forecast data
Select the Services Tab in Meteobridge
1. Goto Select new service
2. Select from the drop down menu HTTP Request
3. Select periodically in the next menu
4. Click Save at the bottom of the screen
5. Now look for new HTTP request
6. select 30 minutes
7. NOW INSERT THE URL example
8. https://yourdomain.com/console/mbdbfile ... oncron.php
9. now click save .
*the path can be in the root if the template was uploaded to the root directory https://yourdomain.com/mbdbfiles/stationcron.php
10. * Make sure you have entered the WU API Key in the setup up screen for the console
11. * Purple Air is optional make sure you entered your ID in the setup up screen for the console
sorry for the inconvenience...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
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file
Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
-
- Platinum Boarder
- Posts: 1693
- Joined: Tue Mar 28, 2017 6:57 am
Re: Weather34 MB-SMART NANOSD TEMPLATE
@ Ed_Heaton
I can see you updated some files but the critical as per your original post the forecast you need to update that file stationcron.php which resides in the mbdbfiles folder ..
perhaps Ron or Chuck can help you out as I think there in your timezone , Im afraid I fall asleep very early these days locally 9pm ...
monitor updates via https://github.com/weather34/Weather34-MB-SMART-Console
or
full download via https://weather34.com/homeweatherstatio ... alone.html
think if you update that file your good ... as for moontimes its derived from meteobridge itself however do make sure your lat lon are correct in the setup screen for the template this also a part of the forecast .
I can see you updated some files but the critical as per your original post the forecast you need to update that file stationcron.php which resides in the mbdbfiles folder ..
perhaps Ron or Chuck can help you out as I think there in your timezone , Im afraid I fall asleep very early these days locally 9pm ...
monitor updates via https://github.com/weather34/Weather34-MB-SMART-Console
or
full download via https://weather34.com/homeweatherstatio ... alone.html
think if you update that file your good ... as for moontimes its derived from meteobridge itself however do make sure your lat lon are correct in the setup screen for the template this also a part of the forecast .
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
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file
Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
Re: Weather34 MB-SMART NANOSD TEMPLATE
Thanks everyone and the new update allowed me to input my WU key. A forecast has shown up although it is incorrect and does not update... I also noticed upon checking the error.log I have the following:
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: include(settings.php): failed to open stream: No such file or directory in /public_html/console/mbdbfiles/stationcron.php on line 1
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: include(settings.php): failed to open stream: No such file or directory in /public_html/console/mbdbfiles/stationcron.php on line 1
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: include(): Failed opening 'settings.php' for inclusion (include_path='.:/opt/php71/lib/php') in /public_html/console/mbdbfiles/stationcron.php on line 1
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: fopen(jsondata/wuforecast.txt): failed to open stream: No such file or directory in /public_html/console/mbdbfiles/stationcron.php on line 8
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /public_html/console/mbdbfiles/stationcron.php on line 9
[02-Mar-2020 05:52:32 America/Chicago] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /public_html/console/mbdbfiles/stationcron.php on line 14
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: include(settings.php): failed to open stream: No such file or directory in /public_html/console/mbdbfiles/stationcron.php on line 1
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: include(settings.php): failed to open stream: No such file or directory in /public_html/console/mbdbfiles/stationcron.php on line 1
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: include(): Failed opening 'settings.php' for inclusion (include_path='.:/opt/php71/lib/php') in /public_html/console/mbdbfiles/stationcron.php on line 1
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: fopen(jsondata/wuforecast.txt): failed to open stream: No such file or directory in /public_html/console/mbdbfiles/stationcron.php on line 8
[02-Mar-2020 05:52:31 America/Chicago] PHP Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /public_html/console/mbdbfiles/stationcron.php on line 9
[02-Mar-2020 05:52:32 America/Chicago] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /public_html/console/mbdbfiles/stationcron.php on line 14
-
- Platinum Boarder
- Posts: 1693
- Joined: Tue Mar 28, 2017 6:57 am
Re: Weather34 MB-SMART NANOSD TEMPLATE
i cant attach the file please get the stationcron.php from the download i updated this morning should fix your error your seeing logged basically its looking for the settings.php which had the wrong path and jsondata folder.. this was my mistake as it was carried over from the main version of the template.. confused it goes like this when multiple versions are maintained 99% my oversight each time..im not perfect unfortunately too many side distractions at times..
API key ??? must have a valid API key from WU its not 123456789 thats just a dummy API figure..
example of using updated stationcron file https://www.ilfracombeweather.net/console/
API key ??? must have a valid API key from WU its not 123456789 thats just a dummy API figure..
example of using updated stationcron file https://www.ilfracombeweather.net/console/
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
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file
Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
Re: Weather34 MB-SMART NANOSD TEMPLATE
Ok, SO I must have had a corrupt file. I deleted the files on the server and reloaded everything and it now is working! Awesome work guys THANKS!!!
On a side note the "sunrise and sunset" times are in 24 hour format and I don't know why... I did change the format in the setup to 12 hr... Certainly not a deal breaker
Any thoughts?
On a side note the "sunrise and sunset" times are in 24 hour format and I don't know why... I did change the format in the setup to 12 hr... Certainly not a deal breaker

Any thoughts?
-
- Platinum Boarder
- Posts: 1693
- Joined: Tue Mar 28, 2017 6:57 am
Re: Weather34 MB-SMART NANOSD TEMPLATE
ok no worries thats a pretty easy one I updated the file weather34-sunmod.php just replace that file it just displays 12 hour with am/pm or 24 hour
the gist of it
https://github.com/weather34/Weather34- ... 8403da6ed1
ignore the times just my local demo
the gist of it
https://github.com/weather34/Weather34- ... 8403da6ed1
ignore the times just my local demo
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
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file
Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
Re: Weather34 MB-SMART NANOSD TEMPLATE
Awesome and thank you!!!
-
- Platinum Boarder
- Posts: 1693
- Joined: Tue Mar 28, 2017 6:57 am
Re: Weather34 MB-SMART NANOSD TEMPLATE
no problem and thanks for highlighting the issues its good to talk and help each other best we can.. have a great day...
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
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file
Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
Re: Weather34 MB-SMART NANOSD TEMPLATE
- Attachments
-
- Moonphase.jpg (8.77 KiB) Viewed 4641 times