WXforum.net

Weather Software => Meteohub/Meteobridge => Topic started by: weather34 on February 21, 2017, 02:59:28 PM

Title: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 21, 2017, 02:59:28 PM
download via
https://github.com/lightmaster/Meteobridge-Weather34-Template

(https://res.cloudinary.com/brian-underdown/image/upload/v1556612213/mb-rrw_si0hhk.png)

slimmed down version for weatherflow
https://github.com/weather34/Weather34-Weatherflow

(https://res.cloudinary.com/brian-underdown/image/upload/v1555183957/wfgithub2_nclyb5.png)

a screenshot of last module weather34 worked on...
(https://res.cloudinary.com/brian-underdown/image/upload/v1558605068/mb-beta_lhfixw.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: bchwdlks on February 23, 2017, 02:55:41 PM
Firstly big thanks and acknowledgement to Wim AND Brian for the scripts and help.

Set up Meteobridge to use  HOMEWEATHERSTATION  in 3 easy steps

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: gateway2capecod on February 26, 2017, 12:12:27 PM
hello....



trying out the template here using davis vantage vue and Meteobridge....


http://www.gateway2capecod.com/pws/index.php


...chris
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: thomas on February 26, 2017, 04:30:20 PM
To clarify I will also need to put the two cron line requests into the Meteobridge that are mentioned in the other thread to get this to update.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Torjan on February 27, 2017, 05:29:57 AM
Hi!
Tests this fine script. I use meteobridge pro and have set up using clientraw.txt file, which is part of metobridge pro. This seems to be working fine.

http://foreneset.no/pws/

Torjan
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: gateway2capecod on February 27, 2017, 09:31:07 AM
hello Torjan..


looks good.....How did you get your WEBCAM image in the dashboard down at the bottom in the UV section?

what file did you edit to do this?


Thanks...Chris
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: gateway2capecod on February 27, 2017, 09:35:41 AM
To clarify I will also need to put the two cron line requests into the Meteobridge that are mentioned in the other thread to get this to update.

Hello Thomas......


this is screenshot of what I set in my Meteobridge for the 2 cron files ...

 [ You are not allowed to view attachments ]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Torjan on February 28, 2017, 10:55:57 AM
hello Torjan..


looks good.....How did you get your WEBCAM image in the dashboard down at the bottom in the UV section?

what file did you edit to do this?


Thanks...Chris

Hi!
index file is what I have modified.
Think the best would be if it were made a standard for the use of webcam.

Torjan
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on February 28, 2017, 05:57:46 PM
Great work!

When you have defined the necessary upload patterns, I can encapsulate this into a weather network upload where user just have the give credentials and a target URL. This will make it users more easy to feed the service. Just let me know, when you have defined all the upload templates. Please also think about what should be uploaded, when data of a sensor is not there. I see that you don't make much use of default values (which handle such situations) in the templates so far.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 01, 2017, 03:58:10 AM
Good Morning

NO MORE CROBS JOBS EVERYTHING DONE IN EASYWEATHERSETUP.

Once again I have listened as the popularity has increased I have noticed the increase in server support required and the main obstacle for some
was understanding cron job configurations at server level so instead ignoring the concern came up with a standard script to eliminate cron jobs.

So tested over a two week period the template does not use any cron jobs for updating forecast or current conditions and getting your data for charts via WU
it is automatically retrieved every approx 15/30 minutes .

so forecast, current conditions update every 15 minutes
chart data is updated every 30 minutes .

now everything is basically setup via the easyweathersetup.php (easy setup screen), for the experienced you can still tweak and edit other files
for personal preferences other than that there is no requirement at all to ever edit the code.

if you have used previous versions of template you may want to cancel those cron jobs in your channel or external services as those files do not exist anymore.

two minor newer additions
1.removed Fire Risk until I can closely observe exactly how valid or useful it is in general i will add it an option in the near future , it has been replaced by a
simple Feels:Description
2.Extra conditions text has been added to the current icon description

see the demo at https://boutiquehotelitaly.com/devpws/

download at https://www.weather34.com/homeweatherstation/index.html

(http://res.cloudinary.com/brian-underdown/image/upload/v1488358552/up_i3tjfc.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: droiddk on March 01, 2017, 11:58:54 AM


NO MORE CROBS JOBS EVERYTHING DONE IN EASYWEATHERSETUP.



Hi Brian

Also Meteobridge users?

Regards
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 01, 2017, 12:04:09 PM


NO MORE CROBS JOBS EVERYTHING DONE IN EASYWEATHERSETUP.



Hi Brian

Also Meteobridge users?

Regards

hello

there is no change to how the 2 options of meteobridge is used with the template, cron jobs in the past versions were required for forecast, current,charts,earthquake data this caused a bit of a stumbling block for some so eliminates that issue . only thing to note so far since download released is check file permissions inside jsondata folder .
FOPEN is still required to be enabled at server level.

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: droiddk on March 01, 2017, 12:05:03 PM


NO MORE CROBS JOBS EVERYTHING DONE IN EASYWEATHERSETUP.



Hi Brian

Also Meteobridge users?

Regards

hello

there is no change to how the 2 options of meteobridge is used with the template, cron jobs in the past versions were required for forecast, current,charts,earthquake data this caused a bit of a stumbling block for some so eliminates that issue . only thing to note so far since download released is check file permissions inside jsondata folder .
FOPEN is still required to be enabled at server level.

brian

Ok, Thanks.

Regards
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: thomas on March 02, 2017, 10:09:32 AM
I have installed the latest non-cron version but the but the weather underground data stays off line.

http://www.grr-cascade.com/DashboardV34E/

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Torjan on March 02, 2017, 10:44:46 AM
Hi!
Just so you know, here it seems fine with the new version without crone.

Thanks!

Torjan
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 02, 2017, 12:10:43 PM
I have installed the latest non-cron version but the but the weather underground data stays off line.

http://www.grr-cascade.com/DashboardV34E/

hello

you have something very very amiss somewhere http://www.grr-cascade.com/DashboardV34E/jsondata/wuweatherupdate.json

this file is is full of something to which I have no idea

i really don't know what is happening there i would suggest delete the file wuweatherupdate.json and let it create another and see what happens

its full of unrelated scripts calling cloud fare ,google  and many others here is just a couple of lines

 src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
      link type="text/css" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.css" media="screen" />
      script src="//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.pack.js"></script>
      

it is same for basic script for everyone and demo at http://boutiquehotelitaly.com/devpws/ only issue arises so far has been file permission for one person which was simple to rectify .

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: gateway2capecod on March 03, 2017, 03:01:04 PM
hello....


I have the new NO CRON JOB Script running here.....http://www.gateway2capecod.com/pws/index.php


and I have the correct current time for my area showing, BUT THe Sunrise and sunset times seem to be off by about 2 hours.

Any Idea what is wrong and how to correct?

attached is my setting for time zone and latitude and longitude in my settings section.

 [ You are not allowed to view attachments ]


Thanks...Chris
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: gateway2capecod on March 03, 2017, 03:08:42 PM
nevermind I figured it out.....

I was suppose to have  -5 for UTC OFFSET
 
and then was suppose to have  -70.9191020  for longitude

after make both these adjustments my time is now correct presently at 15:06pm for Friday afternoon, and sunset and sunrise times also are correct.


Another question...when we turn our clocks ahead 1 Hour next weekend for Daylight savings time, will I have to adjust my UTC OFFSET From the  current -5 to  -4? or just leave it alone and it will correct itself?

Thanks...chris
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 04, 2017, 02:33:03 AM
nevermind I figured it out.....

I was suppose to have  -5 for UTC OFFSET
 
and then was suppose to have  -70.9191020  for longitude

after make both these adjustments my time is now correct presently at 15:06pm for Friday afternoon, and sunset and sunrise times also are correct.


Another question...when we turn our clocks ahead 1 Hour next weekend for Daylight savings time, will I have to adjust my UTC OFFSET From the  current -5 to  -4? or just leave it alone and it will correct itself?

Thanks...chris

good morning

sorry for the delay I was travelling last night , yes that is correct when the clocks go forward or back just adjust the easysetup , for us in Istanbul we no longer change times we are on the same time all year round since 2016 php timezones do not recognise the true time here I have to use Baghdad !!

have a nice weekend..brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: PaulMy on March 04, 2017, 10:44:00 AM
Thanks for that information Brian as I had thought about the time change as well.  I think the last time we had our time change I had PWS updates (i.e. new install) about the same time so used the UTZ minus our time time in the new settings file at that time.

All looking very nice,
Paul
www.komokaweather.com/pws
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 09, 2017, 06:12:15 AM
Great work!

When you have defined the necessary upload patterns, I can encapsulate this into a weather network upload where user just have the give credentials and a target URL. This will make it users more easy to feed the service. Just let me know, when you have defined all the upload templates. Please also think about what should be uploaded, when data of a sensor is not there. I see that you don't make much use of default values (which handle such situations) in the templates so far.

hello

my sincere apologies i didn't see this post it has just highlighted to me in an email.

I will reiterate i don't own or use a meteobridge product , i think I've highlighted before it is not possible to import one of those here in Turkey with a mass of paper work clearance etc..

I simply rely on user input to make this compatible with meteobridge , much of the usage is down to Wim and others . anything I do is just based on that feedback , my input is purely design based .

so enlighten me more on how we can make it better , easier etc . I'm all ears and always open to improvements,suggestions from anyone.

so sorry for the delay in replying ...brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: thomas on March 10, 2017, 07:06:50 PM
Brian

I think what they are talking about is that meteobridge comes with set of weather networks built in like weather underground, cwop, windfinder etc.  Once setup you would pick Homeweatherstation and the data would go to where you choose.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 12, 2017, 03:34:13 PM
This is an excellent template. Many thanks to Wim AND Brian for their work. I am testing the template with the Meteobridge direct hardware upload. Is it possible to get the time stamps to format in 12 hour time (AM/PM)?

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 13, 2017, 02:05:02 AM
Brian

I think what they are talking about is that meteobridge comes with set of weather networks built in like weather underground, cwop, windfinder etc.  Once setup you would pick Homeweatherstation and the data would go to where you choose.

hello

well lets see what develops , it is purely down to the guy at meteobridge think we established that  Wim van der Kuil solution was just perfect as the template required absolutely no change so I guess in the near or far future it will happen. it shouldn't be to difficult so far no issues have been raised .

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 13, 2017, 02:08:13 AM
This is an excellent template. Many thanks to Wim AND Brian for their work. I am testing the template with the Meteobridge direct hardware upload. Is it possible to get the time stamps to format in 12 hour time (AM/PM)?

Chuck

firstly (http://res.cloudinary.com/brian-underdown/image/upload/v1489327272/weather34thanks_mgh5kj.png)

and sure you can edit the settings.php also date format and think sometime in April ill add the option to set via easyweathersetup.php

settings.php

$dateFormat         = 'd-m-Y'; // date format to use when showing dates use m-d-Y usa format or europe etc d-m-Y for default
$timeFormat         = 'H:i:s'; // time format to use when showing times ('g:i:s a' for '5:34:22 pm', 'H:i:s' for '17:34:22')
$timeFormatShort    = 'H:i'; // time format to use when showing times ('g:i a' for '5:34 pm'; 'H:i' for '09:28')

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 13, 2017, 10:51:07 AM
This is an excellent template. Many thanks to Wim AND Brian for their work. I am testing the template with the Meteobridge direct hardware upload. Is it possible to get the time stamps to format in 12 hour time (AM/PM)?

Chuck

firstly (http://res.cloudinary.com/brian-underdown/image/upload/v1489327272/weather34thanks_mgh5kj.png)

and sure you can edit the settings.php also date format and think sometime in April ill add the option to set via easyweathersetup.php

settings.php

$dateFormat         = 'd-m-Y'; // date format to use when showing dates use m-d-Y usa format or europe etc d-m-Y for default
$timeFormat         = 'H:i:s'; // time format to use when showing times ('g:i:s a' for '5:34:22 pm', 'H:i:s' for '17:34:22')
$timeFormatShort    = 'H:i'; // time format to use when showing times ('g:i a' for '5:34 pm'; 'H:i' for '09:28')

brian

Brian,

I was not sure which file to check - that worked fantastic except in the Sunrise/Sunset parameters. I checked the daylight.php file, but changing the ('H:i') near the bottom did not seem to help.

I appreciate all of your great work and look forward to the IOS and Android apps.

Thanks again.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 13, 2017, 11:46:40 AM
hello

ill update the download tomorrow , you would need to edit a few different files and it starts to get all complex when coming to dates as some of them areas are used for calculations .so to safe ill update the download so it all set via the easyweathersetup.php

the updated download (Tuesday morning my time Istanbul) it will allow you to choose date format, time format and short time format along with turn on/disable fire risk option

(http://res.cloudinary.com/brian-underdown/image/upload/v1489419911/time_g3tlsm.png)

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 13, 2017, 12:04:36 PM
hello

ill update the download tomorrow , you would need to edit a few different files and it starts to get all complex when coming to dates as some of them areas are used for calculations .so to safe ill update the download so it all set via the easyweathersetup.php

the updated download (Tuesday morning my time Istanbul) it will allow you to choose date format, time format and short time format along with turn on/disable fire risk option

(http://res.cloudinary.com/brian-underdown/image/upload/v1489419911/time_g3tlsm.png)

brian

That sounds great.

Thanks,
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 14, 2017, 02:01:17 AM
good morning as promised and if the time date formats are not of importance then no need to update.

Update (14-Mar-2017)   - Please note there will be no more updates for this month or till late April until app version is completed. I hope this has addressed all issues raised.
  - This update is based on time and date formats options added to easyweathersetup.php you can now choose format to suit your requirements.also note the new option to show firerisk or feels like ICON option, based on not very useful for northern and southern Latitudes but useful for mid Latitudes and extreme hot weather areas.It is important to update fully so the easyweathersetup.php recognises the new options , you will have to delete your existing setting1.php and settings.php and setup as new .Only time when settings file needs to replaced or deleted is when new options added to to the easyweathersetup.php. If you use older existing settings1.php and settings.php it will NOT work with the new options.

download via https://www.weather34.com/homeweatherstation/index.html

(http://res.cloudinary.com/brian-underdown/image/upload/v1489471017/easyweathersetup_zipmwf.jpg)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 15, 2017, 10:06:34 AM
good morning as promised and if the time date formats are not of importance then no need to update.

Update (14-Mar-2017)   - Please note there will be no more updates for this month or till late April until app version is completed. I hope this has addressed all issues raised.
  - This update is based on time and date formats options added to easyweathersetup.php you can now choose format to suit your requirements.also note the new option to show firerisk or feels like ICON option, based on not very useful for northern and southern Latitudes but useful for mid Latitudes and extreme hot weather areas.It is important to update fully so the easyweathersetup.php recognises the new options , you will have to delete your existing setting1.php and settings.php and setup as new .Only time when settings file needs to replaced or deleted is when new options added to to the easyweathersetup.php. If you use older existing settings1.php and settings.php it will NOT work with the new options.

download via https://www.weather34.com/homeweatherstation/index.html

(http://res.cloudinary.com/brian-underdown/image/upload/v1489471017/easyweathersetup_zipmwf.jpg)

Brian,

The latest update (14-Mar-2017) works great! I look forward to your IOS and Android apps.

Many Thanks.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 15, 2017, 10:43:27 AM
good morning as promised and if the time date formats are not of importance then no need to update.

Update (14-Mar-2017)   - Please note there will be no more updates for this month or till late April until app version is completed. I hope this has addressed all issues raised.
  - This update is based on time and date formats options added to easyweathersetup.php you can now choose format to suit your requirements.also note the new option to show firerisk or feels like ICON option, based on not very useful for northern and southern Latitudes but useful for mid Latitudes and extreme hot weather areas.It is important to update fully so the easyweathersetup.php recognises the new options , you will have to delete your existing setting1.php and settings.php and setup as new .Only time when settings file needs to replaced or deleted is when new options added to to the easyweathersetup.php. If you use older existing settings1.php and settings.php it will NOT work with the new options.

download via https://www.weather34.com/homeweatherstation/index.html

(http://res.cloudinary.com/brian-underdown/image/upload/v1489471017/easyweathersetup_zipmwf.jpg)

Brian,

The latest update (14-Mar-2017) works great! I look forward to your IOS and Android apps.

Many Thanks.

unfortunately there was a stupid little error on my behalf

Major Fix Bug (15-Mar-2017)   - Thanks to Paul Wilman of http://paulwilman.com There was major flaw in the weather underground update for version 34E , so small but critical . The currentwuconditions.php had the update in seconds not minutes !! i.e 10 seconds it has now been adjusted to read 900 seconds = 15 minutes. Unfortunately and very sorry this may have caused you to get an a warning from weather undergound of exceeding api limit .This was only present in the non cron job version 34E .PLEASE UPDATE ASAP SORRY FOR ANY INCONVIENCE CAUSED.

https://www.weather34.com/homeweatherstation/index.html

i guess shite happens but its better to have more than one pair of eyes ...thanks to Paul Wilman for ongoing support/feedback ..it is appreciated

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 15, 2017, 08:35:09 PM
Brian,

Thanks again for the recent updates. The new Time Format feature in Setup is working fine in all parameters with the exception of the Current Conditions (3 hour area and Hourly Forecast) - which seem to still be in 24 hour time. This is a minor problem, but I thought I would let you know - for future reference.

Best wishes.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 16, 2017, 01:45:32 AM
Brian,

Thanks again for the recent updates. The new Time Format feature in Setup is working fine in all parameters with the exception of the Current Conditions (3 hour area and Hourly Forecast) - which seem to still be in 24 hour time. This is a minor problem, but I thought I would let you know - for future reference.

Best wishes.

good morning

its quite easy to change but not so easy to add to the easyweathersetup.php due to the code for the data pulled from weather underground is somewhat different and has minor css differences so to do it the safe way I have attached a zip with two files .

currentconditionswu.php   replace existing

hour.php replace existing in the forecast folder

all is simply done is changing the value 'hour' to 'civil' and remove the trailing :00 from the output

$hour = $value['FCTTIME']['hour'];

to

$hour = $value['FCTTIME']['civil'];

just for future reference I will include the 2 files in a folder in the download called civil so it will be just a case of using/copying over the files in that folder for reading US time or the different format using 10:00 am etc for those wanting that.

Brian..

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 16, 2017, 09:19:04 AM
Brian,

Thanks again for the recent updates. The new Time Format feature in Setup is working fine in all parameters with the exception of the Current Conditions (3 hour area and Hourly Forecast) - which seem to still be in 24 hour time. This is a minor problem, but I thought I would let you know - for future reference.

Best wishes.

good morning

its quite easy to change but not so easy to add to the easyweathersetup.php due to the code for the data pulled from weather underground is somewhat different and has minor css differences so to do it the safe way I have attached a zip with two files .

currentconditionswu.php   replace existing

hour.php replace existing in the forecast folder

all is simply done is changing the value 'hour' to 'civil' and remove the trailing :00 from the output

$hour = $value['FCTTIME']['hour'];

to

$hour = $value['FCTTIME']['civil'];

just for future reference I will include the 2 files in a folder in the download called civil so it will be just a case of using/copying over the files in that folder for reading US time or the different format using 10:00 am etc for those wanting that.

Brian..

That fixes the issue and will work well for future updates.

Best wishes!
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 16, 2017, 09:43:18 AM
(http://res.cloudinary.com/brian-underdown/image/upload/v1489327272/weather34thanks_mgh5kj.png)

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: markrichardsmithmanley on March 19, 2017, 10:07:57 PM
Thankyou for this Wonderfull addition to our meteobridge.  After playing around for a while we got ours running also with the webcam.  This is awesome !

http://www.smith-manley.com/weather/
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 20, 2017, 07:39:33 AM
Thankyou for this Wonderfull addition to our meteobridge.  After playing around for a while we got ours running also with the webcam.  This is awesome !

http://www.smith-manley.com/weather/

hello good afternoon

looks likes just missed the version updated this morning makes using a webcam somewhat easier and is optional via the easyweathersetup.php . glad you like it thanks for the compliment .all you need to do to use is two additional files cam.php and webcamsmall.php

and inset the url as shown below the css does all the resizing so only have to add url

<!-- HOMEWEATHER STATION TEMPLATE SIMPLE WEBCAM -add your url as shown below do NOT delete the class='webcam' !!! -->
<img src=https://yoururl.com/cam/cam1.jpg" class="webcam">

New optional feature (20-Mar-2017)
 Optional web cam display for those without UV/SOLAR Hardware.Can use easyweathersetup.php to select option.
New two files cam.php and webcamsmall.php ,simply add/insert the url to your web cam.
Language Updated (20-Mar-2017)
 Polish language updated
Language Added (18-Mar-2017)
 Irish Gaelic language added now includes 27 languages

https://www.weather34.com/homeweatherstation/index.html

brian

(http://res.cloudinary.com/brian-underdown/image/upload/v1490009194/NEWWEBCAMFEATURE_csynht.jpg)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 20, 2017, 12:26:43 PM
Thankyou for this Wonderfull addition to our meteobridge.  After playing around for a while we got ours running also with the webcam.  This is awesome !

http://www.smith-manley.com/weather/

hello good afternoon

looks likes just missed the version updated this morning makes using a webcam somewhat easier and is optional via the easyweathersetup.php . glad you like it thanks for the compliment .all you need to do to use is two additional files cam.php and webcamsmall.php

and inset the url as shown below the css does all the resizing so only have to add url

<!-- HOMEWEATHER STATION TEMPLATE SIMPLE WEBCAM -add your url as shown below do NOT delete the class='webcam' !!! -->
<img src=https://yoururl.com/cam/cam1.jpg" class="webcam">

New optional feature (20-Mar-2017)
 Optional web cam display for those without UV/SOLAR Hardware.Can use easyweathersetup.php to select option.
New two files cam.php and webcamsmall.php ,simply add/insert the url to your web cam.
Language Updated (20-Mar-2017)
 Polish language updated
Language Added (18-Mar-2017)
 Irish Gaelic language added now includes 27 languages

https://www.weather34.com/homeweatherstation/index.html

brian

(http://res.cloudinary.com/brian-underdown/image/upload/v1490009194/NEWWEBCAMFEATURE_csynht.jpg)

Brian,

I am not sure what changed in the latest version G, but my template is no longer receiving data. The meteobridge file is being generated, as before, but the template is virtually blank. It worked fine in version E. I don't have a copy of F, to test.

Thanks,
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 20, 2017, 12:55:03 PM
Thankyou for this Wonderfull addition to our meteobridge.  After playing around for a while we got ours running also with the webcam.  This is awesome !

http://www.smith-manley.com/weather/

hello good afternoon

looks likes just missed the version updated this morning makes using a webcam somewhat easier and is optional via the easyweathersetup.php . glad you like it thanks for the compliment .all you need to do to use is two additional files cam.php and webcamsmall.php

and inset the url as shown below the css does all the resizing so only have to add url

<!-- HOMEWEATHER STATION TEMPLATE SIMPLE WEBCAM -add your url as shown below do NOT delete the class='webcam' !!! -->
<img src=https://yoururl.com/cam/cam1.jpg" class="webcam">

New optional feature (20-Mar-2017)
 Optional web cam display for those without UV/SOLAR Hardware.Can use easyweathersetup.php to select option.
New two files cam.php and webcamsmall.php ,simply add/insert the url to your web cam.
Language Updated (20-Mar-2017)
 Polish language updated
Language Added (18-Mar-2017)
 Irish Gaelic language added now includes 27 languages

https://www.weather34.com/homeweatherstation/index.html

brian

(http://res.cloudinary.com/brian-underdown/image/upload/v1490009194/NEWWEBCAMFEATURE_csynht.jpg)

Brian,

I am not sure what changed in the latest version G, but my template is no longer receiving data. The meteobridge file is being generated, as before, but the template is virtually blank. It worked fine in version E. I don't have a copy of F, to test.

Thanks,

hello

nothing changed in terms meteobridge or any other software data only added on webcam script to index.php and easyweathersetup.php

http://boutiquehotelitaly.com/devpws/  is using meteobridge configuration based on latest upload .

did you do a full replacement or partial , check file permissions, check path to

meteobridge: http://yourdomain/MBrealtime.txt
meteobridge: http://yourdomain/MBrealtimeupload.txt (use for direct meteobridge hardware upload)

not seeing any issue or why the additional cam scripts would interfere with meteobridge data files

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 20, 2017, 01:16:51 PM
Thankyou for this Wonderfull addition to our meteobridge.  After playing around for a while we got ours running also with the webcam.  This is awesome !

http://www.smith-manley.com/weather/

hello good afternoon

looks likes just missed the version updated this morning makes using a webcam somewhat easier and is optional via the easyweathersetup.php . glad you like it thanks for the compliment .all you need to do to use is two additional files cam.php and webcamsmall.php

and inset the url as shown below the css does all the resizing so only have to add url

<!-- HOMEWEATHER STATION TEMPLATE SIMPLE WEBCAM -add your url as shown below do NOT delete the class='webcam' !!! -->
<img src=https://yoururl.com/cam/cam1.jpg" class="webcam">

New optional feature (20-Mar-2017)
 Optional web cam display for those without UV/SOLAR Hardware.Can use easyweathersetup.php to select option.
New two files cam.php and webcamsmall.php ,simply add/insert the url to your web cam.
Language Updated (20-Mar-2017)
 Polish language updated
Language Added (18-Mar-2017)
 Irish Gaelic language added now includes 27 languages

https://www.weather34.com/homeweatherstation/index.html

brian

(http://res.cloudinary.com/brian-underdown/image/upload/v1490009194/NEWWEBCAMFEATURE_csynht.jpg)

Brian,

I am not sure what changed in the latest version G, but my template is no longer receiving data. The meteobridge file is being generated, as before, but the template is virtually blank. It worked fine in version E. I don't have a copy of F, to test.

Thanks,

hello

nothing changed in terms meteobridge or any other software data only added on webcam script to index.php and easyweathersetup.php

http://boutiquehotelitaly.com/devpws/  is using meteobridge configuration based on latest upload .

did you do a full replacement or partial , check file permissions, check path to

meteobridge: http://yourdomain/MBrealtime.txt
meteobridge: http://yourdomain/MBrealtimeupload.txt (use for direct meteobridge hardware upload)

not seeing any issue or why the additional cam scripts would interfere with meteobridge data files

brian

My path and permissions are correct. I did a full update - replaced all files. I am using the "direct hardware upload", same as before. It was working fine earlier today, until I moved to the latest version. I will go back to the E version and see what it does.

Thanks,
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 20, 2017, 01:22:24 PM

between version E and G different in many files do you have url I could diagnose anything with

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 20, 2017, 01:29:54 PM

between version E and G different in many files do you have url I could diagnose anything with

brian

Yes. Here is the G version. http://myrtlebeachweather.org/pws/index.php

Thanks,
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 20, 2017, 01:34:20 PM

between version E and G different in many files do you have url I could diagnose anything with

brian

Yes. Here is the G version. http://myrtlebeachweather.org/pws/index.php

Thanks,

sent pm
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on March 20, 2017, 02:26:06 PM
glad its working now .. have a nice day .. brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 20, 2017, 02:29:31 PM
glad its working now .. have a nice day .. brian

Great job!

Thanks for the assistance.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: markrichardsmithmanley on March 20, 2017, 05:35:40 PM
Thankyou so much ! its updated now working great.  Our whole village uses the weather site and have given wonderful feedback on the design , a truly wonderful job.  Thankyou so much !

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on March 20, 2017, 09:27:32 PM
Brian,

Just wanted to let you know that I applied the updated "civil" US time files and everything seems to be working great in version G. The Local Time at the top still displays 24 hour time, but that is not a big issue. I know you are busy working on the IOS and Android apps which I look forward to purchasing.

http://myrtlebeachweather.org/pws/index.php

Thanks again and best wishes.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on April 02, 2017, 07:28:54 AM
good afternoon

just to update , this morning sunday 2 april i have an email from Boris at meteobridge(smartbedded)  hopefully over the next week or so the option of selecting HOMEWEATHERSTATION template will be an available option in the meteobridge panel on the hardware which you will no longer have to cut and paste the long script into the setup panel. just need to iron out a few minor things and then it will have a simple option to use for meteobridge owners..i have prepared the template in advance read below I don't anticipate any major significant changes in terms of meteobridge as it does work in its current state with the two known options.

anyway a week of optimizations and changes to really make it a good user experience allround .

Updates Fixes/Performance (2 APRIL 2017)
  - Thanks to paul wilman , fixed solar2.php to use night time readings, fixed wxcharts.php to use svg language flags.
  - More performance tweaks , all menu items moved over to menu.php. added more defer scripts to improve performance in charts and forecast data.
  - index.php/indexearthquake/wxcharts.php moved all menu items out now resides in menu.php , all css/jquery scripts minified and optimized. Jquery files minified and have multiple combined scripts to serve from one file ,this reduces load on server and loading times considerably.All optimizations have been A/B tested at https://gtmetrix.com

Updates Full Install required(1 APRIL 2017)
  - Meteobridge users can now select which type of method they use , either via the Saratoga template method or Meteobridge direct method. Also big thank you to Vojta from Czech Republic for his assistance in ironing some teething issues with the meteobridge-direct output.
  - Czech language updated and some words abbreviated due to length of words in Czech language ,thanks to Vojta
  - A week of adding additional performance tweaks to many areas of the template , I cant emphasize enough goto https://gtmetrix.com and do some tests . Anyone who quotes there is no benefit or it is not possible is ignoring the benefits for other reasons. This template is optimized based on everything from the results . PS i dont use gzip and I still get 93% performance rating simply I have studied every possible enhancement and enhanced the code accordlingly.If you would like to know more please get in touch.Please note all possible enhancements have been made to template areas , other enhancements like .htaccess enhancements are NOT distributed in download.
  - Notification center now has UV-INDEX alert
  - Solar and UV-INDEX now show darkeness hours after sunset to sunrise based on calculation so its important to get your lat lon correct.
  - Further code changes to support upcoming PHP 7.2 .
  - 99% of all images now SVG (including flags).
  - New options added to easyweathersetup.php related to meteobridge-direct,main clock format. This update requires a new installation due to many files almost all php files having new additional code ,performance enhancements or removed code. Please do not mix with older versions and note the template no longer uses cron jobs or json files .

as always download via https://www.weather34.com/homeweatherstation/faq.html

see screenshot below to see why it is advantageous to work at getting the optimisations right ,considerable time taken at times you get it wrong but learning from that yields the better outcome for your visitors, your own self piece of mind and trust in what your using and most of all a pleasant user experience...brian

(http://res.cloudinary.com/brian-underdown/image/upload/v1491131748/latestsunday_nr6tjy.jpg)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on April 10, 2017, 12:33:23 PM
Brian,

The latest version GM is working great! For the future: - a new file (in the Civil folder) for the uvindex forecast (solarhour.php) would be great. I tried replacing 'hour_padded' with 'civil' but it retained the :00 trailing zeros.

Thanks again for all of your fantastic work.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on April 10, 2017, 04:02:38 PM
Brian,

The latest version GM is working great! For the future: - a new file (in the Civil folder) for the uvindex forecast (solarhour.php) would be great. I tried replacing 'hour_padded' with 'civil' but it retained the :00 trailing zeros.

Thanks again for all of your fantastic work.

hello

just replace to remove trailing :00

echo "<div class=\"uvi01\"><span>${hour}:00</span><br>$uvi<p>UVINDEX</div>";

with


echo "<div class=\"uvi01\"><span>${hour}</span><br>$uvi<p>UVINDEX</div>";


brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on April 11, 2017, 09:45:16 AM
Brian,

The latest version GM is working great! For the future: - a new file (in the Civil folder) for the uvindex forecast (solarhour.php) would be great. I tried replacing 'hour_padded' with 'civil' but it retained the :00 trailing zeros.

Thanks again for all of your fantastic work.

hello

just replace to remove trailing :00

echo "<div class=\"uvi01\"><span>${hour}:00</span><br>$uvi<p>UVINDEX</div>";

with


echo "<div class=\"uvi01\"><span>${hour}</span><br>$uvi<p>UVINDEX</div>";


brian

Worked fine!

Thanks again.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on April 30, 2017, 03:05:26 PM
Brian,

Just installed the latest 3.4 WF and I noticed a couple of small issues. The 12 hour version clock has reverted to reverted to 24 hour for the update timestamp. I did use the custom Civil php files - currentconditionswu.php, hour.php and solarhour.php. Also I noticed that the Heat Index reading seems to be stuck at 32 F.

You can take a look here http://myrtlebeachweather.org/pws/index.php

Take care.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 01, 2017, 01:43:32 AM
Brian,

Just installed the latest 3.4 WF and I noticed a couple of small issues. The 12 hour version clock has reverted to reverted to 24 hour for the update timestamp. I did use the custom Civil php files - currentconditionswu.php, hour.php and solarhour.php. Also I noticed that the Heat Index reading seems to be stuck at 32 F.

You can take a look here http://myrtlebeachweather.org/pws/index.php

Take care.

Chuck

hello

sorry forgot about that folder again :-( have updated it this morning May 1st..
https://weather34.com/homeweatherstation/


Languages Updated/Fixes (1 May 2017)
  - Greek Language updated .
  - Fixed min barometer not showing non metric inHg.


Languages Updated/Fixes (30 APRIL 2017)
  - French/Polish languages updated .
  - added dry / very dry languages to all languages / temperature.php.
  - added max - min barometer barometer.php / livedata.php.
  - fixed 'Estimated' in languages in moon info page moon.php.
  - all languages added extra new features for translation.

New Feature/Languages Updated/File Updates (30 APRIL 2017)
  - temperature module now shows wet bulb temperature based on a thread at the cumulus forum, and dry or very dry conditions when humidity drops below 55%. files updated : temperature.php , livedata.php , all css files, languages updated just replace current language folder.

Weather Flow hardware full API support added(30 APRIL 2017)
  - Weather Flow option hardware now has full API support .
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 01, 2017, 01:22:49 PM
Brian,

Just installed the latest 3.4 WF and I noticed a couple of small issues. The 12 hour version clock has reverted to reverted to 24 hour for the update timestamp. I did use the custom Civil php files - currentconditionswu.php, hour.php and solarhour.php. Also I noticed that the Heat Index reading seems to be stuck at 32 F.

You can take a look here http://myrtlebeachweather.org/pws/index.php



hello

sorry forgot about that folder again :-( have updated it this morning May 1st..
https://weather34.com/homeweatherstation/


Languages Updated/Fixes (1 May 2017)
  - Greek Language updated .
  - Fixed min barometer not showing non metric inHg.


Languages Updated/Fixes (30 APRIL 2017)
  - French/Polish languages updated .
  - added dry / very dry languages to all languages / temperature.php.
  - added max - min barometer barometer.php / livedata.php.
  - fixed 'Estimated' in languages in moon info page moon.php.
  - all languages added extra new features for translation.

New Feature/Languages Updated/File Updates (30 APRIL 2017)
  - temperature module now shows wet bulb temperature based on a thread at the cumulus forum, and dry or very dry conditions when humidity drops below 55%. files updated : temperature.php , livedata.php , all css files, languages updated just replace current language folder.

Weather Flow hardware full API support added(30 APRIL 2017)
  - Weather Flow option hardware now has full API support .

Brian,

Thanks for the updated Civil files. I installed them, but the temperature, wind, etc. update timestamp seems to be in 24 hour time. The Heat Index value is reading 32 F when it is actually 84 F.

http://myrtlebeachweather.org/pws/index.php

Thanks again,
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 01, 2017, 01:39:24 PM
3 things

what is the path to the MBrealtimeupload.txt ?

can the time format be set in meteobridge itself because the template nows reads the time output set by whatever is being uploaded be it software generated or hardware it is no longer reading server time it is taking the time direct from the file.

example taken from a demo MBrealtimeupload.txt

21/02/2017 15:42:01 32 30.0 10.2 1.0 1.0 286.0 1.0 9.0 1018.2 286.0 1 m/s C hPa mm -- 1018.7 15.6 36.8 0.2 18.8 64.0 10.7 8 11.3 20170221112104 10.0 20170221125453 1.3 20170221001115 4.0 20170221005341 1019.5 20170221120516 1017.4 20170221043516 3.2 3629 1.0 4 4 4 4 51.0 286.0 4 1 D 1 286.0 1 m 1 10:27 1 1 1 97.0 20170221020538 95.0 20170221000005 10.8 20170221112104 9.5 20170221125453

heatindex need to look at this closer after I have seen the MBrealtimeupload.txt you use I may have the template reading the wrong value for MBrealtimeupload.txt
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 01, 2017, 03:41:56 PM
3 things

what is the path to the MBrealtimeupload.txt ?

can the time format be set in meteobridge itself because the template nows reads the time output set by whatever is being uploaded be it software generated or hardware it is no longer reading server time it is taking the time direct from the file.

example taken from a demo MBrealtimeupload.txt

21/02/2017 15:42:01 32 30.0 10.2 1.0 1.0 286.0 1.0 9.0 1018.2 286.0 1 m/s C hPa mm -- 1018.7 15.6 36.8 0.2 18.8 64.0 10.7 8 11.3 20170221112104 10.0 20170221125453 1.3 20170221001115 4.0 20170221005341 1019.5 20170221120516 1017.4 20170221043516 3.2 3629 1.0 4 4 4 4 51.0 286.0 4 1 D 1 286.0 1 m 1 10:27 1 1 1 97.0 20170221020538 95.0 20170221000005 10.8 20170221112104 9.5 20170221125453

heatindex need to look at this closer after I have seen the MBrealtimeupload.txt you use I may have the template reading the wrong value for MBrealtimeupload.txt

Brian,

Here is the output:
01/05/2017 15:21:42 27.5 70.0 21.5 0.7 2.2 261.0 0.0 0.0 1015.7 261.0 2 m/s C hPa mm -- 1016.5 0.0 221.3 0.0 23.9 30.0 27.5 27.2 27.5 20170501144133 23.1 20170501045647 5.3 20170501134757 9.0 20170501144133 1020.2 20170501000032 1015.6 20170501151006 3.2 11072 4.5 -- -- 4.0 -- 547.0 211.0 0.0 -- D -- 211.0 -- m -- 13:32 -- -- 9.0 94.0 20170501000000 66.0 20170501134221 22.3 20170501001911 19.9 20170501090950

It does appear that Meteobridge output is 24 hr. time. I don't see anyway to change it within Meteobridge. I guess WU and some of the other services change for their templates.

As far as the Heat Index. The WX station was reporting a Heat Index of 84 degrees F when I captured the data above. The template was showing 32 F.

Thanks for taking a look.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Jáchym on May 01, 2017, 03:58:43 PM
Chuck what is the string you use in MB to create the file?

In MB cPanel where you specify the template string you can use these:
Code: [Select]
hh: hour in 24h notation as two digit number, if only one digit neede a zero will be used as first digit
h: hour in 24h notation as one or two digit number, no leading zeros
HH: hour in 12h notation as two digit number, if only one digit neede a zero will be used as first digit
H: hour in 12h notation as one or two digit number, no leading zeros
apm: returns "am" or "pm" to be added to 12h time notations
APM: returns "AM" or "PM" to be added to 12h time notations
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 01, 2017, 04:10:01 PM
Chuck what is the string you use in MB to create the file?

In MB cPanel where you specify the template string you can use these:
Code: [Select]
hh: hour in 24h notation as two digit number, if only one digit neede a zero will be used as first digit
h: hour in 24h notation as one or two digit number, no leading zeros
HH: hour in 12h notation as two digit number, if only one digit neede a zero will be used as first digit
H: hour in 12h notation as one or two digit number, no leading zeros
apm: returns "am" or "pm" to be added to 12h time notations
APM: returns "AM" or "PM" to be added to 12h time notations

Thank you for that excellent information.

Looks like I need [H]:[mm]:[ss]:[APM]

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 01, 2017, 04:25:04 PM
I'm trying to work out if the MBrealtimeupload.txt actually has a heatindex value in the output because if we switch to metric you will see --C  .

so i have attached a replacement temperature.php for now until I can work out if there is a heat index value being outputted .
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 01, 2017, 04:54:24 PM
I'm trying to work out if the MBrealtimeupload.txt actually has a heatindex value in the output because if we switch to metric you will see --C  .

so i have attached a replacement temperature.php for now until I can work out if there is a heat index value being outputted .

Ok. Thanks. My Meteobridge data does show an Outdoor Heat Index data point, but I am not sure where it is in the string above.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 01, 2017, 05:01:50 PM
I'm trying to work out if the MBrealtimeupload.txt actually has a heatindex value in the output because if we switch to metric you will see --C  .

so i have attached a replacement temperature.php for now until I can work out if there is a heat index value being outputted .

I looked at Wim's original template, but I don't see a Heat Index value. I may be missing it.

Thanks again.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Jáchym on May 01, 2017, 05:43:35 PM
th0heatindex
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 02, 2017, 12:37:33 AM
I'm trying to work out if the MBrealtimeupload.txt actually has a heatindex value in the output because if we switch to metric you will see --C  .

so i have attached a replacement temperature.php for now until I can work out if there is a heat index value being outputted .

I looked at Wim's original template, but I don't see a Heat Index value. I may be missing it.

Thanks again.

Good morning

I don't think it is a part of the upload in the script sent meteobridge based on Wim,s idea needs to added on . Unfortunately I don't have a meteobridge to add it and and try. If you add it on just send me the output as you did above , I can then simply add it into the template livedata.php to use it .

Brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 28, 2017, 06:11:36 AM
Good morning

before anyone jumps to conclusions or assumptions please read below carefully and you will fully understand the upcoming possible decision.

Some time ago i was exchanging emails(2 !) with the developer of the meteobridge products to include HOMEWEATHERSTATION template as an option within the product to make it easy for users of meteobridge to use the template instead having to cut and paste a long line of code , which I thought was wide open to user error and coding error on my part .

So nearly two months or more have gone by and I have had no communication with the developer apart from he requested an Icon to use for the selection, since then some things have changed in the way meteobridge deals with upgrades to its firmware and having read and understood it i don't see his offer happening now.

I don't disagree with that and seems a perfectly logically method of funding for development to keep the product alive and not end up as a discontinued product DUE to unrealistic self funding and having a product that is non profitable from a business logic makes no sense at all.99% of businesses would walk away the moment it becomes unsustainable to manufacturer so credit is deserved for trying to keep it going on there part.

So the template will have no further changes in terms of meteobridge use , it is what it is now and wont get any changes or enhancements , features and so on and the worst case scenario if the meteobridge software/firmware has an update that breaks the current methods of getting data from the meteobridge then ultimately it will be dropped altogether . Has this not the fault of the template or changes made in the template this is something that breaks the template that is beyond my control,  it would purely have to rely on a user to work out the fix as I have no access to anything meteobridge .

So you may be thinking well you lose users , thats totally true but I have a logic of quality,reliability is better than quantity , but if i was concerned about a user count more than the reliability well I would be quite selfish and defeat my own way of thinking . If a firmware upgrade breaks it then we have a not so reliable template when used with meteobridge. I would rather have a reliable template that is manageable and relatively easy to maintain fixes and this could happen with any hardware or software being used as a source and if that was the case I would simply totally drop the whole thing because it would be nigh on impossible to maintain and support. Fortunately i get a lot of support for software like cumulus,weather-display and hardware from Fine Offset,WeatherFlow so its relatively comfortable to adapt to changes but this not the case with meteobridge products.

So let me reiterate I don't disagree with the logic of meteobridge developers trying to raise some funds for developing , but I cant fix something that I cant see or have no access and I have patiently waited for the developer to implement his offer but to this date nothing has happened and after a few emails this week from meteobridge users on this I can only say its beyond my control.

so there we are I have tried but it is up to the developer to do his part and it is unlikely anything will happen.

so my sincere apologies in advance if I drop support for meteobridge altogether.


brian




Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 28, 2017, 07:11:21 AM
Sorry for the slow response on the discussion we had via PM. My offer was to include "homeweatherstation" support the same way we did with "meteotemplate". As both services can already be fed by a manually designed HTTP template the idea to have it more easy as a predefined option where no template needs to be pasted in is just a matter of convenience.

I am still interested to implement that.

Why you now intend to drop Meteobridge from your list of supported feeding software is surprising me. To my knowledge the other feeding products are doing the same like Meteobridge by sending a template based HTTP request to the webserver. Any version of Meteobridge can do that and Meteobridge users do it exactly that way today. As the user defines the template even any API changes on your side can be handled, it will not need any new Meteobridge versions for that.

Therefore, your consideration on quality - which I can fully understand - is imho not impacted by the update policy discussion. Meteobridge users will be able to use the most recent upload templates your service is demanding. Only thing I was slow at is to have that predefined, more convenient.

I think your offering is a very nice way of visualizing weather data and I am interested to keep feeding your service from Meteobridge side as good as it can be.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 28, 2017, 07:25:07 AM
Nothing be surprised about as I clearly mention above

This could happen to any software or hardware I would have to do the same.

For now the template support meteobridge is it what is now but if a future release of firmware was to break the current method then I will drop it.

Clearly outlined above however think you need to communicate better and follow up your offer a bit more promptly every week I get an email or so at basically "any progress Brian" . Answer "nope"

Please drop me an email you have my email as we discussed weatherflow hardware last time. if you can tell me how you would implement it and I can then make the necessary changes and add on additional code to support the method. It is relatively quite easy to adapt the template to most methods . That way meteobridge users can still enjoy using the template if they wish to.

Thanks for responding thought that would raise you out of the ground 😁



Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Jáchym on May 28, 2017, 07:39:21 AM
Sorry for the slow response on the discussion we had via PM. My offer was to include "homeweatherstation" support the same way we did with "meteotemplate". As both services can already be fed by a manually designed HTTP template the idea to have it more easy as a predefined option where no template needs to be pasted in is just a matter of convenience.

I am still interested to implement that.

Why you now intend to drop Meteobridge from your list of supported feeding software is surprising me. To my knowledge the other feeding products are doing the same like Meteobridge by sending a template based HTTP request to the webserver. Any version of Meteobridge can do that and Meteobridge users do it exactly that way today. As the user defines the template even any API changes on your side can be handled, it will not need any new Meteobridge versions for that.

Therefore, your consideration on quality - which I can fully understand - is imho not impacted by the update policy discussion. Meteobridge users will be able to use the most recent upload templates your service is demanding. Only thing I was slow at is to have that predefined, more convenient.

I think your offering is a very nice way of visualizing weather data and I am interested to keep feeding your service from Meteobridge side as good as it can be.

Hi Boris, sorry to jump in, but I don´t quite understand something that has been bothering me as well, you said that:

Quote
even any API changes on your side can be handled, it will not need any new Meteobridge versions

I don´t understand this. So let´s say that I decide to make a change in the API - add new sensors, change some parameter labeling etc. - if I make that change in the API, the I don´t see how MB will handle that unless it is updated (fixed) - you will have to make that change in the MB built-in HTTP request or not? And if that is true (which I think it is), then people who are no longer eligible for updates will not get this fix. Is this not correct? If not, please let me know because it would be a pleasant thing, but Im afraid based on how MB now works, this is a problem. I just don´t see how any change on my part in the API can be dealt with by MB without it being updated, this just doesnt make sense to me and we know that not all users can now get the latest version. So if they get stuck with the old one, it will not work.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 28, 2017, 07:41:54 AM
For now the template support meteobridge is it what is now but if a future release of firmware was to break the current method then I will drop it.

Be assured, that no new SW update will break that. FTP and HTTP uploads based on user defined templates are a basic feature of Meteobridge from the beginning.

Thanks for offering support via PM, will make better use of it!  :-)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 28, 2017, 07:54:42 AM
Hi Boris, sorry to jump in, but I don´t quite understand something that has been bothering me as well, you said that:

Quote
even any API changes on your side can be handled, it will not need any new Meteobridge versions

I don´t understand this. So let´s say that I decide to make a change in the API - add new sensors, change some parameter labeling etc. - if I make that change in the API, the I don´t see how MB will handle that unless it is updated (fixed) - you will have to make that change in the MB built-in HTTP request or not? And if that is true (which I think it is), then people who are no longer eligible for updates will not get this fix. Is this not correct? If not, please let me know because it would be a pleasant thing, but Im afraid based on how MB now works, this is a problem. I just don´t see how any change on my part in the API can be dealt with by MB without it being updated, this just doesnt make sense to me and we know that not all users can now get the latest version. So if they get stuck with the old one, it will not work.

Hi Jachym, yes you are right, there might be API changes which require some data from Meteobridge it actually does not provide as a template variable. There are tons of variables, so any additional sensor (out of the range of sensors Meteobridge supports at all) or changes in format should be handled fine. But when you decide to have i.e. radioactive radiation measured as well, then Meteobridge will need to be adapted to that and older versions will not be able to have that data. This might be something a user cannot handle by changing the template alone and it will need him to use the newest version of Meteobridge. There might be more examples in theory, but I would like to keep this thread focused on how to support HOMEWEATHERSTATION best.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Jáchym on May 28, 2017, 08:02:04 AM
Yes Boris, I understand that but I think this was exactly one of the reasons Brian is hesitant to include this. Because it sort of limits me and Brian to keep the API as it is.

Example:
Imagine for some reason I need to re-arrange the file naming etc. and I also need to rename the api.php to say updateAPI.php. Again, some users will have a problem.

We discussed this previously that I think even existing users should get bug fixes that are available anyway and are for features they have available, but that can be discussed in the other thread. Nevertheless it affects this.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 28, 2017, 08:11:23 AM
Solution today is:
1) users of most recent version will continue to use the convenient feature to just select your service from a drop down.
2) users who don't want to use the most recent version define a simple HTTP upload command reflecting the new URL and may be a new template string. Same way they did before we introduced the more easy upload via drop-down preselection.

It is just a matter of convenience, no one is locked out. But I have an idea to even solve (most of) this, you have PM.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Jáchym on May 28, 2017, 08:12:40 AM
Your suggested solution sort of discards all the advantages of Meteotemplate (or other template) being bult-in to MB, the solution you suggested in the email you sent me sounds much better :-)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 28, 2017, 11:05:24 AM
Ok Boris

We are still non the wiser where we stand with the homeweatherstation so I'll leave it up to you to decide if and when and how you wish to do that. Ps feel free to drop an email on your idea I'm all ears ..brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 28, 2017, 01:33:55 PM
I am working on it. Jachyms specifc problem regarding his Meteotemplates is that those have to report epoch time which Meteobridge version 3.2 does not support for templates. I am also working to get this solved. HOMEWEATHERSTATION upload does not need this, so no comparable issue and 3.2 version of Meteobridge can feed that all fine.

Jachym, please lets concentrate on the HOMEWEATHERSTATION template here, otherwise we are going to confuse all readers not that deep into it ;-)

Any Meteobridge user feeding HOMEWEATHERSTATION out there, who wants to give the first native HOMEWEATHERSTATION implementation in Meteobridge a try? Please drop me a PM including MAC of your Meteobridge. Thanks.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 28, 2017, 04:55:37 PM
Hello Boris

I have received your email and will respond by Wednesday in depth as I have  flight first in the morning and I only  just got home from football .

I will send out some requests for testers via email and forward the responses to you.

If any one wants test the new feature in meteobridge  then please drop me a pm or email.

It will look like the screenshot attached

Looks like I might even own a meteobridge now thanks to Boris let's see and it will give me the chance to adapt perhaps more features available within meteobridge.

A productive day thanks to Boris...

Brian



Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 28, 2017, 06:16:25 PM
quick update and unfortunately I'm off the radar of reliable internet for a few days will follow up when I get back...thanks boris and tom for getting the ball rolling.


NEW VERSION 3.4-X4 (MONDAY 29TH May 2017)
  - mb.php updated to use new meteobridge api for HOMEWEATHERSTATION template more details to follow

https://weather34.com/homeweatherstation/

(http://res.cloudinary.com/brian-underdown/image/upload/v1496009621/mbapi2_bqbeks.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 28, 2017, 07:24:20 PM
success http://nyweather.net does it get any easier than that..

well done you two ...boris and tom

download has been updated to reflect meteobridge api see screenshot (this is backwards compatiable with the old long cut and paste code but obviously easier to use the now new meteobridge api method for HOMEWEATHERSTATION.

*note .. new easyweathersetup.php , new livedata.php to use this new method please do a full update if you are going to use.

(http://res.cloudinary.com/brian-underdown/image/upload/v1496013524/mbapi_hhafy9.png)

good night I must go but its all working ok and now we have a really good user experience for the meteobridge users.

brian..






Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dolfs on May 29, 2017, 03:51:57 AM
I don't think this is being stated clearly by either side. If you have access to the latest direct HOMEWEATHERSTATION support in MeteoBridge software, and choose to use it instead of manually defining an HTTP action you will be faced with the following possibilities, without judging how likely they are:

For relatively new licensees to MeteoBridge, only the second point is relevant at the moment, and plays no role if you agree with the 2 year renewal requirement, and plan to use it when the time comes. For legacy licensees, who were not expecting this 2 year renewal requirement to ever come up, and if you are not interested in new features, but only bug fixes (which this might be an example of), and you do not want to pay (now, or later), you should be choosing the HTTP route.

I think all of this is fair in light of a clear documentation on MB's side that while your license itself will be perpetual, updates (of any kind) will not be available after 2 years, unless you pay up for another 2 years. For legacy users, this documentation never existed, and the practical side was that updates were constantly made available. It is not unreasonable for such users to have expected bug fixes to continue to be made available, but not reasonable per se to expect new features for free.

So, what about this HWS direct support feature (and that's what it is, a new feature). As Boris mentioned in an earlier post, it is a convenience only, because you can still do it directly through HTTP. For some, the additional dependency might also be a downside. For me, this new feature is not worth the 2 year fee, in particular since I already have the HTTP method up and running and I have no other reason (currently). For others, you may already have access, but might loose it at some point. So, choose either approach above according to your situation, and willingness to pay up after 2 years.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 29, 2017, 02:35:24 PM
The upload is managed by a template which is not hard coded into the Meteobridge. So even when free update support drops out after two years and the API does change there will be no problem as the most current version of the upload template is taken from this URL (http://content.meteobridge.com/templates/homeweatherstation.template) and will be maintained for all versions of Meteobridge, regardless update license status.

When you prefer to go with the generic Meteobridge HTTP upload schema, just fine with me. You can i.e. use the template the link above points to. I can't see an advantage compared to using the implemented method which we will adapt to new needs etc. But Meteobridge is flexible tool, you can go various ways.

As Tom has tested the new code successfully I will release it shortly to public use, and it will have the 3.2 version sticker making it available for all Meteobridge licenses, even those from stone age ;-)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dolfs on May 29, 2017, 04:21:59 PM
I am not sure why the testing did not catch this, but I believe there is an error in the template. The result of the error is that the HWS page does not report temperature trend and barometric pressure trend correctly. Your current template uses the ":val60" modifier for these values, but I believe it should be the ":delta60" modifier.

I use that in my own handcrafted HTTP action and it now reports correctly. I also made brian aware awhile ago, but I suppose it got lost in the delay that happened between you two.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 29, 2017, 04:30:03 PM
Thanks! I will change this... Hopefully, Brian will not see it differently and you then start playing ping-pong with me ;-)

"val60" appears two times in the template, "thb0seapress" and "th0temp". should both change to "delta60" ?

P.S.: I checked the Cumulus realtime.txt definition (http://wiki.sandaysoft.com/a/Realtime.txt) and you seem to be right. Thanks again!

P.P.S.: changed ;-)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dolfs on May 29, 2017, 04:37:22 PM
In my opinion both should be changed (that's how I have it), but you are right about the risk of ping-pong. Since I am only a user, I think Brian should be the definitive answer on this. He is out for a few days though, so do not expect an answer right away.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dolfs on May 29, 2017, 05:26:35 PM
I just found that if you changed your template as per earlier discussion, HWS users that are configured to use the new direct HWS support will see the wrong trend values.

I do believe I am right as to what the template should contain to correctly adhere to the cumuls realtime format (as you also confirmed). It appears, however that in his latest code, Brian noticed the discrepancy I had noticed, but forgot my fix (as I communicated to you), but instead chose to compensate by doing a calculation in his internal php code of subtracting the "val60" value from the "act" value to compute the trend. He does not do this for those that did a manual HTTP upload.

As stated, the direct support in MeteoBridge is just a convenience, but looking at the code, he distinguishes between a "meteobridge" configuration and a "meteobridge-api" configuration. This difference in trend value computation is not the only difference. The timestamps for maximum and minimum humidity and temperature also are being formatted differently.

So it is probably best if you, for the moment, revert the template back until you can coordinate with Brian for a new release of his SW. If he would upgrade this issue, not only would he become compliant with the realtime format, but his code also becomes simpler because he does not have to compensate for the difference between manually crafted http uploads and direct support uploads.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on May 29, 2017, 05:29:54 PM
OK, switched back to val60. First round of ping-pong done ;-)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 30, 2017, 09:33:32 AM
Brian, Boris, Wim, Tom

Thanks to all - the new api within Meteobridge looks and works great! I do have one issue with my update Timestamp. The data is updating, but the time is stuck on 4:00:00 PM. I think this has something to do with the latest template update, since I get the same results if I switch back to the old services upload method.

http://myrtlebeachweather.org/pws/index.php

I know Brian will be away awhile - will have to see what he says.

Thanks again for your work!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on May 30, 2017, 02:12:43 PM
Brian, Boris, Wim, Tom

Thanks to all - the new api within Meteobridge looks and works great! I do have one issue with my update Timestamp. The data is updating, but the time is stuck on 4:00:00 PM. I think this has something to do with the latest template update, since I get the same results if I switch back to the old services upload method.

http://myrtlebeachweather.org/pws/index.php

I know Brian will be away awhile - will have to see what he says.

Thanks again for your work!

Chuck

Brian,

Just updated to the latest NEW VERSION 3.4-X4 (TUESDAY 30TH May 2017) using the Meteobridge API and the Timestamp issue is fixed. Everything looks great!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 05, 2017, 09:34:52 AM
Brian,

Were there any changes in the homenotification.php with VERSION 3.4-X5 (Saturday 1st July 2017)? With the previous X4 version I was getting weather Alerts for High Heat Index and Dew Point. With X5 I stopped getting these alerts. I replace the homenotification.php with the latest X4 version and the Alerts returned.

The new format with the clock moved up looks great!

Thanks,

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 11, 2017, 09:24:35 AM
Brian,

Were there any changes in the homenotification.php with VERSION 3.4-X5 (Saturday 1st July 2017)? With the previous X4 version I was getting weather Alerts for High Heat Index and Dew Point. With X5 I stopped getting these alerts. I replace the homenotification.php with the latest X4 version and the Alerts returned.

The new format with the clock moved up looks great!

Thanks,

Chuck


Brian,

Your latest update: VERSION 3.4-X5 (Tuesday 11th July 2017) seems to have fixed this issue.

Thanks,

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on July 11, 2017, 11:18:12 AM
Brian,

Were there any changes in the homenotification.php with VERSION 3.4-X5 (Saturday 1st July 2017)? With the previous X4 version I was getting weather Alerts for High Heat Index and Dew Point. With X5 I stopped getting these alerts. I replace the homenotification.php with the latest X4 version and the Alerts returned.

The new format with the clock moved up looks great!

Thanks,

Chuck


Brian,

Your latest update: VERSION 3.4-X5 (Tuesday 11th July 2017) seems to have fixed this issue.

Thanks,

Chuck

sorry im missing these posts , i didn't do anything in respect to notifications only change was to fix the heat index with the meteobridge api then im not sure if its correct still.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 11, 2017, 11:26:11 AM
No problem. I was not receiving alerts for High heat Index, but the latest update with the meteobridge api change seems to have fixed the issue. It is working fine now.

http://www.myrtlebeachweather.org/pws/index.php

Thanks,

Chuck

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on July 11, 2017, 11:33:32 AM
No problem. I was not receiving alerts for High heat Index, but the latest update with the meteobridge api change seems to have fixed the issue. It is working fine now.

http://www.myrtlebeachweather.org/pws/index.php

Thanks,

Chuck

Ok well if ok then it's good.. can't think what I've done to break it or fix it .. anyway appreciate if you could monitor the heat index for any anomalies.. I'm not sure if it's working ok as I can't test realtime I can only use a static file. Many thanks brian..
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 11, 2017, 11:38:39 AM
No problem. I was not receiving alerts for High heat Index, but the latest update with the meteobridge api change seems to have fixed the issue. It is working fine now.

http://www.myrtlebeachweather.org/pws/index.php

Thanks,

Chuck

Ok well if ok then it's good.. can't think what I've done to break it or fix it .. anyway appreciate if you could monitor the heat index for any anomalies.. I'm not sure if it's working ok as I can't test realtime I can only use a static file. Many thanks brian..

I will let you know. So far it looks good. We have High Heat Index values (>100) almost daily this time of the year, so it will be easy to check.

Thanks,
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: VinnyRI on July 30, 2017, 05:41:43 PM
I'm trying to get the home weather station template working using meteobridge. On easyweather setup page I set data type to meteobridge-api and path to pws/MBrealtimeupload.txt. In meteobridge under weather network I put http://www.findleybackyardweathercranstonri.us/pws/mb.php. I get the template page with 0 data. If I use demodata/MBrealtimeupload.txt the demo will show up. I switch back to pws/MBrealtimeupload.txt the data will start to disappear with the update cycle. Everything but the data is there. Using a D-Link DIR505 with meteobridge. Seemed to get messed up after a reboot of meteobridge. The template was working. I have a green check mark in meteobridge for the api url. Also I deleted everything on my website for the homeweather station template and redownloaded it with the same results.

Vinny
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 30, 2017, 08:25:03 PM
I'm trying to get the home weather station template working using meteobridge. On easyweather setup page I set data type to meteobridge-api and path to pws/MBrealtimeupload.txt. In meteobridge under weather network I put http://www.findleybackyardweathercranstonri.us/pws/mb.php. I get the template page with 0 data. If I use demodata/MBrealtimeupload.txt the demo will show up. I switch back to pws/MBrealtimeupload.txt the data will start to disappear with the update cycle. Everything but the data is there. Using a D-Link DIR505 with meteobridge. Seemed to get messed up after a reboot of meteobridge. The template was working. I have a green check mark in meteobridge for the api url. Also I deleted everything on my website for the homeweather station template and redownloaded it with the same results.

Vinny

Vinny,

I have two suggestions that you can try.

First, your setup in Easyweather should have a path like http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt. Your meteobridge url should be fine.

Second, make sure that all of the files in your pws folder have permissions set to chmod 755.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: VinnyRI on July 31, 2017, 08:03:40 AM
I'm trying to get the home weather station template working using meteobridge. On easyweather setup page I set data type to meteobridge-api and path to pws/MBrealtimeupload.txt. In meteobridge under weather network I put http://www.findleybackyardweathercranstonri.us/pws/mb.php. I get the template page with 0 data. If I use demodata/MBrealtimeupload.txt the demo will show up. I switch back to pws/MBrealtimeupload.txt the data will start to disappear with the update cycle. Everything but the data is there. Using a D-Link DIR505 with meteobridge. Seemed to get messed up after a reboot of meteobridge. The template was working. I have a green check mark in meteobridge for the api url. Also I deleted everything on my website for the homeweather station template and redownloaded it with the same results.

Vinny

Vinny,

I have two suggestions that you can try.

First, your setup in Easyweather should have a path like http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt. Your meteobridge url should be fine.

Second, make sure that all of the files in your pws folder have permissions set to chmod 755.

Chuck

Hi Chuck,

I had pws/MBrealtimeupload.txt in the path to data file next to meteobridge-api. That should be fine but I changed it to http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt along with chmod 755 to all files in the pws folder. I'm using Filezilla. I right clicked on the pws folder and checked off the box ( recurse into sub directories ). I watched it go through all the files setting them to 755. Randomly checked a half dozen files and the permissions were 755.
Still getting everything but the data.

Vinny
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 31, 2017, 08:33:28 AM
I'm trying to get the home weather station template working using meteobridge. On easyweather setup page I set data type to meteobridge-api and path to pws/MBrealtimeupload.txt. In meteobridge under weather network I put http://www.findleybackyardweathercranstonri.us/pws/mb.php. I get the template page with 0 data. If I use demodata/MBrealtimeupload.txt the demo will show up. I switch back to pws/MBrealtimeupload.txt the data will start to disappear with the update cycle. Everything but the data is there. Using a D-Link DIR505 with meteobridge. Seemed to get messed up after a reboot of meteobridge. The template was working. I have a green check mark in meteobridge for the api url. Also I deleted everything on my website for the homeweather station template and redownloaded it with the same results.

Vinny

Vinny,

I have two suggestions that you can try.

First, your setup in Easyweather should have a path like http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt. Your meteobridge url should be fine.

Second, make sure that all of the files in your pws folder have permissions set to chmod 755.

Chuck

Hi Chuck,

I had pws/MBrealtimeupload.txt in the path to data file next to meteobridge-api. That should be fine but I changed it to http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt along with chmod 755 to all files in the pws folder. I'm using Filezilla. I right clicked on the pws folder and checked off the box ( recurse into sub directories ). I watched it go through all the files setting them to 755. Randomly checked a half dozen files and the permissions were 755.
Still getting everything but the data.

Vinny

Sounds like you have everything correct. I would FTP in and delete the MBrealtimeupload.txt file on the server. Wait for the next upload from meteobridge and then check it again. I have seen it get corrupted when permissions are incorrect. Also, you might want to make sure you completely clear the cache from your browser. Chrome does not always give you the fresh page.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: VinnyRI on July 31, 2017, 03:58:35 PM
I'm trying to get the home weather station template working using meteobridge. On easyweather setup page I set data type to meteobridge-api and path to pws/MBrealtimeupload.txt. In meteobridge under weather network I put http://www.findleybackyardweathercranstonri.us/pws/mb.php. I get the template page with 0 data. If I use demodata/MBrealtimeupload.txt the demo will show up. I switch back to pws/MBrealtimeupload.txt the data will start to disappear with the update cycle. Everything but the data is there. Using a D-Link DIR505 with meteobridge. Seemed to get messed up after a reboot of meteobridge. The template was working. I have a green check mark in meteobridge for the api url. Also I deleted everything on my website for the homeweather station template and redownloaded it with the same results.

Vinny

Vinny,

I have two suggestions that you can try.

First, your setup in Easyweather should have a path like http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt. Your meteobridge url should be fine.

Second, make sure that all of the files in your pws folder have permissions set to chmod 755.

Chuck

Hi Chuck,

I had pws/MBrealtimeupload.txt in the path to data file next to meteobridge-api. That should be fine but I changed it to http://www.findleybackyardweathercranstonri.us/pws/MBrealtimeupload.txt along with chmod 755 to all files in the pws folder. I'm using Filezilla. I right clicked on the pws folder and checked off the box ( recurse into sub directories ). I watched it go through all the files setting them to 755. Randomly checked a half dozen files and the permissions were 755.
Still getting everything but the data.

Vinny

Sounds like you have everything correct. I would FTP in and delete the MBrealtimeupload.txt file on the server. Wait for the next upload from meteobridge and then check it again. I have seen it get corrupted when permissions are incorrect. Also, you might want to make sure you completely clear the cache from your browser. Chrome does not always give you the fresh page.

Deleted MBrealtimeupload.txt. A new file with 0 data was uploaded. Also cleared the cache and tried MS Edge with the same result. Totally stumped by this

Vinny
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on July 31, 2017, 04:30:33 PM
Vinny, I installed Home Weather Station on my Meteobridge this weekend and had the same problem. I could display historical data but had no real-time data. After about 3 hours, frustrated and my wife said I am like a bear with a headache  :shock: , I re-checked the setup (Easysetup) and found that somehow I did not had any value in UTC. Set it to -5 and SUCCESS. All is working.

My suggestion to you is check that all the boxes are filled in.

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: VinnyRI on July 31, 2017, 04:47:56 PM
Vinny, I installed Home Weather Station on my Meteobridge this weekend and had the same problem. I could display historical data but had no real-time data. After about 3 hours, frustrated and my wife said I am like a bear with a headache  :shock: , I re-checked the setup (Easysetup) and found that somehow I did not had any value in UTC. Set it to -5 and SUCCESS. All is working.

My suggestion to you is check that all the boxes are filled in.

Hi dupreezd,

Expletitive bleepity bleep bleep bleep @#$%#$$%@#$%^ that did it. I had a 4 and changed it to -4 and all is well. Unbelievable. What made you think of changing that?

Vinny
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on July 31, 2017, 04:54:02 PM
Vinny  =D&gt; \:D/ glad it is working for you now.

I had nothing in there, so it was easy to spot after three hours lol. I just went slowly and checked everything.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on July 31, 2017, 06:00:43 PM
I really don't understand why there is requirement to have time zone and UTC. Does that mean we have to go into EasySetup twice a year to change the UTC setting when we switch between Standard and Daylight saving time?

 
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on July 31, 2017, 09:14:11 PM
Vinny  =D&gt; \:D/ glad it is working for you now.

I had nothing in there, so it was easy to spot after three hours lol. I just went slowly and checked everything.

Glad you and dupreezd found it! I forgot about UTC. I did have that issue one time when I added a leading 0 in the UTC time entry.

Best wishes.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on August 13, 2017, 03:19:14 AM
Hello

due to demand and ongoing requests you may download last version i worked on , it is really important to *NOTE there is NO SUPPORT the download is provided as is and no point emailing for support . This is the BEST i can do to show some appreciation to Boris at smartbedded .
This version is exclusive to Meteobridge USERS ONLY it will not work with any other software or hardware you must be running Meteobridge Hardware.

I am simply honouring Boris who sent me a meteobridge package some months ago .At least providing something which again exclusive to Meteobridge users in that version .

(http://res.cloudinary.com/brian-underdown/image/upload/v1502607559/MB_qa9nkb.png)

available via https://weather34.com/homeweatherstation/


the other version supported is CUMULUS but then you would need to use that version only..

In the future at some stage though I have no dates or timeframe , I will release the WeatherFlow exclusive version which again I am honouring WeatherFlow who sent me a field test unit some months ago. again the version is exclusive to Weatherflow and be available when there hardware is available to purchase .

so there you are ..please no more emails I get the picture and hopefully have now responded to them all..

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on August 13, 2017, 09:09:12 AM
Brian,

Many thanks for the "final meteobridge Template" download and all of your beautiful work over the last several years.

Cheers!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 09:17:44 AM
Quote
Many thanks for the "final meteobridge Template" download and all of your beautiful work over the last several years.

Ditto
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 01:13:00 PM
Looks good!!http://gosportwx.com/pws/ (http://gosportwx.com/pws/)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 03:28:54 PM
Looks good!!http://gosportwx.com/pws/ (http://gosportwx.com/pws/)

It wont let me see anything chart wise when i click on 2017, AUG or Today under the temperature. The little popups under Forecast and Current Conditions dont wanna show up either.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 04:23:18 PM
In your pws\chartswu folder in monthtemperature.php, this is where it reads the data
Quote
      url: "../chartswudata/<?php echo $weatherfile;?>.txt",
Have a look in
\pws\chartswudata
and see if you can see something like this
 [ You are not allowed to view attachments ]
This is the data that is displayed in the graphs.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 04:25:29 PM
For some reason it doesn't wanna load.. it reads wind gust, rain and what not but not temperature *shrugs*
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 04:29:01 PM
Open 082017.txt and see if there's data in it. Best is to use something like notepad++
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 04:31:01 PM
Yep has data..
Quote
Date,TemperatureHighF,TemperatureAvgF,TemperatureLowF,DewpointHighF,DewpointAvgF,DewpointLowF,HumidityHigh,HumidityAvg,HumidityLow,PressureMaxIn,PressureMinIn,WindSpeedMaxMPH,WindSpeedAvgMPH,GustSpeedMaxMPH,PrecipitationSumIn<br>
2017-8-1,85.5,75.7,65.8,68.3,65.7,63.5,93,74,52,30.14,30.02,11,1,11,0.02
<br>
2017-8-2,84.0,74.4,64.9,68.0,65.3,62.3,93,75,54,30.14,29.99,11,2,11,0.10
<br>
2017-8-3,84.9,75.0,65.1,69.9,66.1,62.5,92,73,53,30.08,29.93,15,3,15,0.00
<br>
2017-8-4,78.3,68.9,59.4,66.9,57.5,51.3,84,68,52,30.06,29.89,25,7,25,0.00
<br>
2017-8-5,76.8,65.8,54.9,59.3,55.6,50.9,89,71,50,30.22,30.01,13,2,13,0.00
<br>
2017-8-6,72.5,68.0,63.5,63.4,60.4,58.6,87,79,65,30.11,30.02,13,1,13,0.00
<br>
2017-8-7,79.2,71.4,63.7,64.9,61.4,57.9,92,76,53,30.29,29.96,19,2,19,0.02
<br>
2017-8-8,81.3,69.2,57.2,58.9,54.2,47.2,89,64,31,30.68,30.10,21,4,21,0.00
<br>
2017-8-9,80.6,66.9,53.2,61.6,54.6,51.3,94,85,42,30.28,30.18,11,1,13,0.00
<br>
2017-8-10,71.1,70.6,70.2,62.4,61.9,61.5,74,74,73,30.12,30.10,2,0,4,0.00
<br>
2017-8-11,81.9,73.9,66.2,69.0,64.4,60.6,86,74,60,30.14,29.98,13,3,13,0.09
<br>
2017-8-12,80.4,70.7,61.0,65.0,58.5,53.9,89,68,46,30.19,30.02,17,3,17,0.00
<br>
2017-8-13,83.1,69.2,55.4,62.5,56.7,52.8,93,75,42,30.15,30.00,13,2,13,0.00
<br>
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: wvdkuil on August 13, 2017, 05:00:11 PM
Yep has data..
Quote
Date,TemperatureHighF,TemperatureAvgF,TemperatureLowF,DewpointHighF,DewpointAvgF,DewpointLowF,HumidityHigh,HumidityAvg,HumidityLow,PressureMaxIn,PressureMinIn,WindSpeedMaxMPH,WindSpeedAvgMPH,GustSpeedMaxMPH,PrecipitationSumIn<br>
2017-8-1,85.5,75.7,65.8,68.3,65.7,63.5,93,74,52,30.14,30.02,11,1,11,0.02
<br>
2017-8-2,84.0,74.4,64.9,68.0,65.3,62.3,93,75,54,30.14,29.99,11,2,11,0.10
<br>
2017-8-13,83.1,69.2,55.4,62.5,56.7,52.8,93,75,42,30.15,30.00,13,2,13,0.00
<br>
The script is not processing your data as it breaks with a javascript error. This is the script which is executed when you click on August:
http://gosportwx.com/pws/chartswu/monthtemperature.php
Inspecting (using right click => inspect) that script it displays an error
Code: [Select]
monthtemperature.php:30 Uncaught SyntaxError: Unexpected token )  That line 30 reads:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:)});There is something missing after the y: it should read like this:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});That missing part is inserted by convert.php based on the region you selected in the settings. Maybe you set the region wrong, you have to choose one of the four regions, not set them all to false in settings1.php
Code: [Select]
$uk = false;
$usa = false;
$scandinavia = false;
$restoftheworld = true;
I am in Belgium => rest of the world.  Check yours if at least one of them is set to true.

Wim
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:08:09 PM
Yep has data..
Quote
Date,TemperatureHighF,TemperatureAvgF,TemperatureLowF,DewpointHighF,DewpointAvgF,DewpointLowF,HumidityHigh,HumidityAvg,HumidityLow,PressureMaxIn,PressureMinIn,WindSpeedMaxMPH,WindSpeedAvgMPH,GustSpeedMaxMPH,PrecipitationSumIn<br>
2017-8-1,85.5,75.7,65.8,68.3,65.7,63.5,93,74,52,30.14,30.02,11,1,11,0.02
<br>
2017-8-2,84.0,74.4,64.9,68.0,65.3,62.3,93,75,54,30.14,29.99,11,2,11,0.10
<br>
2017-8-13,83.1,69.2,55.4,62.5,56.7,52.8,93,75,42,30.15,30.00,13,2,13,0.00
<br>
The script is not processing your data as it breaks with a javascript error. This is the script which is executed when you click on August:
http://gosportwx.com/pws/chartswu/monthtemperature.php
Inspecting (using right click => inspect) that script it displays an error
Code: [Select]
monthtemperature.php:30 Uncaught SyntaxError: Unexpected token )  That line 30 reads:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:)});There is something missing after the y: it should read like this:
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});That missing part is inserted by convert.php based on the region you selected in the settings. Maybe you set the region wrong, you have to choose one of the four regions, not set them all to false in settings1.php
Code: [Select]
$uk = false;
$usa = false;
$scandinavia = false;
$restoftheworld = true;
I am in Belgium => rest of the world.  Check yours if at least one of them is set to true.

Wim

that is weird i didnt change anything and i have it already set to USA true
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: wvdkuil on August 13, 2017, 05:18:02 PM
Did you modify the script? The generated html now reads
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});)});So there is far to much information  ")});" now.  The PHP instructions in the original monthtemperature.php script should  read like this
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:<?php echo $temperatureconvhi ;?>)});You should not modify the script http://gosportwx.com/pws/chartswu/monthtemperature.php itself, as the text inserted selects the  field to process based on the settings1.php by checking if the units ( C or F)  must be converted or not.
Wim

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:18:37 PM
So what is causing my 500 HTTP errors when clicking on forecast summary, forecast ahead and hourly forecast?
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:20:40 PM
Did you modify the script? The generated html now reads
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:parseFloat(rowData[1])});)});So there is far to much information  ")});" now.  The PHP instructions in the original monthtemperature.php script should  read like this
Code: [Select]
dataPoints1.push({label:moment(rowData[0],'YYYY-MM-DD').format("ddd Do"),y:<?php echo $temperatureconvhi ;?>)});You should not modify the script http://gosportwx.com/pws/chartswu/monthtemperature.php itself, as the text inserted selects the  field to process based on the settings1.php by checking if the units ( C or F)  must be converted or not.
Wim

It seemed to have worked when i changed the stuff in the monthtemperature.php script i saw no setting for this in settings1.php
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 05:31:46 PM
It seems you have not set everything using Easysetup.
There's some information missing.
 [ You are not allowed to view attachments ]
Start Easysetup and fill in all the required information.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: wvdkuil on August 13, 2017, 05:32:39 PM
So what is causing my 500 HTTP errors when clicking on forecast summary, forecast ahead and hourly forecast?
First find the scripts which generate the 500 error by right click => Open link in new tab
forecast summary =>  http://gosportwx.com/pws/forecast/outlook.php
forecast ahead => http://gosportwx.com/pws/forecast/forecast10.php
The 500 errors are caused by "parsing" errors. You can not see them as the parser simply stops and the error setting/display is not active yet.
That is easily solved by using an extra step.
A 2 line program, which sets all error reporting on and then loads the script with the 500 error.
1. unzip attachement
2. modify the name of the script with the problem scripts name in line 2
3. and put the testit.php  script inside the folder with the script you want to test. The scrip reads like this:
Code: [Select]
<?php ini_set('display_errors''On');   error_reporting(E_ALL);
include 
'outlook.php';
4. Then run http://gosportwx.com/pws/forecast/testit.php , it loads outlook.php and one or more messages are displayed.

Wim
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:34:49 PM
It seems you have not set everything using Easysetup.
There's some information missing.
 [ You are not allowed to view attachments ]
Start Easysetup and fill in all the required information.

I filled out everything except for data base as I dont have a WS1001..
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:37:39 PM
Ok it is now back to http://www.gosportwx.com/CU-X5/ (http://www.gosportwx.com/CU-X5/) i guess i broke something  there when changing to /pws/ that also fixed my chart problem. Thanks Wim for the testit.php without that I would of been like *shrug* lol
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 05:46:18 PM
Good job. I can see your charts as well.

One thing, turn off directory browsing on your site.
 [ You are not allowed to view attachments ]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:47:51 PM
Good job. I can see your charts as well.

One thing, turn off directory browsing on your site.
 [ You are not allowed to view attachments ]

Not sure how as it's hosted through my dad. I'll ask him to see if he can.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 05:50:34 PM
Looks like it is using Apache which I am not familiar with.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: dupreezd on August 13, 2017, 05:52:10 PM
Ahh, here is how.

https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing (https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on August 13, 2017, 05:54:17 PM
Ahh, here is how.

https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing (https://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing)

I tried it on my end but it still went through i'll have him do it on his end. Thanks
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 06, 2017, 04:13:43 AM
good morning you can now download the MYSQL version which is kind of exclusive to the meteobridge API users . i have included a set up guide in the download .

added database support this is exclusive for meteobridge users and my commitment to developing further solely for meteobridge .thanks to Boris
sorry it took so long to setup the meteobridge you sent many months ago but now I can focus properly and begin to really understand how it works
and a week in use Im seeing lots of benefits and possible ideas for the near future..

basically the meteobridge is doing everything from inserting in to database ,  creating chart files for year, month and daily maintenance which prevents the database becoming excessive in size i.e millions of rows which in time will drag your server to a slow performance , MYSQL is efficient but also realise there is a cpu PERFORMANCE HIT especially noticeable on low cost shared hosting environments. doing daily maintenance or weekly maintenance keeps everything running efficiently. remember I hate slow performing websites
so I always try to find a way to avoid adding something new and then only to find its a performance hit..

so example.. 10 visitors to your site all simultaneously calling millions of rows from your database  result equals big slow down !!

in the download if you read the set up guide mbx5mysqlsetup.pdf you will see how i set it all up without any use of cron jobs and added a small maintenace script to run at end of each day at 00:00 . in the setup guide there are images to help . snippet below. as always available at https://weather34.com/homeweatherstation and is running at https://weather34.com

*note only this version MB-X5MYSQL and a WF-X5 weatherflow version of the template will receive any further development. the other versions what is available today is has far Im going with them i.e. weather display,cumulus,ws1001 and the standard NON api meteobridge version.

so only MB-X5MYSQL & WF-X5(not released yet) will be developed on. the other downloads as they are are fully working and there is a good amount of forum support for those if needed from many weather enthusiasts which use the those versions.

1.enter your phpmyadmin screen via cPanel
or whichever method you use to access.
2.create a database called weatherstation
3.select / highlight database called weatherstation
4.now import the weatherstation.sql file
provided in the download .



if all was done correctly you should see something
like above screenshots. *note it contains sample
data this has to be removed before you connect
your meteobridge to the database.

now empty the database using the operations tab
and TRUNCATE .


Part 2.
meteobridge setup , meteobridge is going to
do all the work for us . *note we do not need any
cron job services or setup of cron job we are going to
simulate and let meteobridge do everything.

these files are in the folder /mdbfiles
stationcron.php
1.select services tab shown above
2.GOTO new select  service and choose
HTTP REQUEST
3.GOTO select event type and choose
PERIODICALLY
4.set the stationcron.php url to run
every 15 minutes.

addtoyear.php
1.GOTO new select  service and choose
HTTP REQUEST
3.GOTO select event type and choose
Specific Time
4.set the addtoyear.php url to run
every 23:45.

empty.php
1.GOTO new select  service and choose
HTTP REQUEST
3.GOTO select event type and choose
Specific Time
4.set the empty.php url to run
every 00:00.

you can manually test these but please empty
the tables via (TRUNCATE) method afterwards.

easyweathersetup.php

open easyweathersetup.php  add in the following

1.add database username
2.add database password
3.database name weatherstation

then check other settings.

and save.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 07, 2017, 04:47:15 AM
(Updated 7th October 2017)
(Update fixes for conversions of metric to non metric in the charts,also windgust correction .missed apikey for forecast fixed tnx Josep)
34-X5 MB-X5SQL (4.1MB)
 

https://weather34.com/homeweatherstation/



brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on October 09, 2017, 10:40:40 AM
good morning you can now download the MYSQL version which is kind of exclusive to the meteobridge API users . i have included a set up guide in the download .

added database support this is exclusive for meteobridge users and my commitment to developing further solely for meteobridge .thanks to Boris
sorry it took so long to setup the meteobridge you sent many months ago but now I can focus properly and begin to really understand how it works
and a week in use Im seeing lots of benefits and possible ideas for the near future..

basically the meteobridge is doing everything from inserting in to database ,  creating chart files for year, month and daily maintenance which prevents the database becoming excessive in size i.e millions of rows which in time will drag your server to a slow performance , MYSQL is efficient but also realise there is a cpu PERFORMANCE HIT especially noticeable on low cost shared hosting environments. doing daily maintenance or weekly maintenance keeps everything running efficiently. remember I hate slow performing websites
so I always try to find a way to avoid adding something new and then only to find its a performance hit..

so example.. 10 visitors to your site all simultaneously calling millions of rows from your database  result equals big slow down !!

in the download if you read the set up guide mbx5mysqlsetup.pdf you will see how i set it all up without any use of cron jobs and added a small maintenace script to run at end of each day at 00:00 . in the setup guide there are images to help . snippet below. as always available at https://weather34.com/homeweatherstation and is running at https://weather34.com

*note only this version MB-X5MYSQL and a WF-X5 weatherflow version of the template will receive any further development. the other versions what is available today is has far Im going with them i.e. weather display,cumulus,ws1001 and the standard NON api meteobridge version.

so only MB-X5MYSQL & WF-X5(not released yet) will be developed on. the other downloads as they are are fully working and there is a good amount of forum support for those if needed from many weather enthusiasts which use the those versions.

1.enter your phpmyadmin screen via cPanel
or whichever method you use to access.
2.create a database called weatherstation
3.select / highlight database called weatherstation
4.now import the weatherstation.sql file
provided in the download .



if all was done correctly you should see something
like above screenshots. *note it contains sample
data this has to be removed before you connect
your meteobridge to the database.

now empty the database using the operations tab
and TRUNCATE .


Part 2.
meteobridge setup , meteobridge is going to
do all the work for us . *note we do not need any
cron job services or setup of cron job we are going to
simulate and let meteobridge do everything.

these files are in the folder /mdbfiles
stationcron.php
1.select services tab shown above
2.GOTO new select  service and choose
HTTP REQUEST
3.GOTO select event type and choose
PERIODICALLY
4.set the stationcron.php url to run
every 15 minutes.

addtoyear.php
1.GOTO new select  service and choose
HTTP REQUEST
3.GOTO select event type and choose
Specific Time
4.set the addtoyear.php url to run
every 23:45.

empty.php
1.GOTO new select  service and choose
HTTP REQUEST
3.GOTO select event type and choose
Specific Time
4.set the empty.php url to run
every 00:00.

you can manually test these but please empty
the tables via (TRUNCATE) method afterwards.

easyweathersetup.php

open easyweathersetup.php  add in the following

1.add database username
2.add database password
3.database name weatherstation

then check other settings.

and save.

Brian,

This looks great. I am planning on giving it a try. One question - when I create a database my hosting services adds a prefix to the database name. Example username_weatherstation. Will this create any path issues when importing your weather.sql file?

Thanks,

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 09, 2017, 11:00:43 AM
Hello

First grab today’s update 9th oct few little enhancements and features added on.

Should be fine with your config . Just import ..brian

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on October 09, 2017, 03:53:41 PM
Hello

First grab today’s update 9th oct few little enhancements and features added on.

Should be fine with your config . Just import ..brian

I gave it a whirl, but I seem to have some issues. Perhaps a permissions problem. Not showing forecast data or max-min wind. I setup a user for the database, but it does not seem to be populating from WU.

http://myrtlebeachweather.org/hwst/

Thanks,

Chuck

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 09, 2017, 04:20:43 PM
hello

this is very different from previous versions your http://myrtlebeachweather.org/hwst/mbridge/MBrealtimeupload.txt is completely empty ..

so i dont know where the data displayed on your site is coming from ..

note this does not use the same paths as previous non mysql versions

i did include a setup guide in the download see example attached .

when running the stationcron.php it returns could not fetch records .

you dont have much luck do you :-)

so either dbase not created ? or username/password incorrect or incorrect database name added . it is looking for weatherstation .

pm password to easysetup i will take a peek in the morning ..

brian






Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 10, 2017, 01:58:20 AM
some updates this morning .

1.Boris has updated the API output , these now include trend data for temperature,humidity,dewpoint,indoor temp,indoor humidity .
you will need to reboot meteobridge to see the new values used.
2.updated template to use new API values
3.added a description at the easyweathersetup.php to show how to set the API url in the meteobridge network panel for HOMEWEATHERSTATION..see screenshot

*please ensure the API url is set like below as shown with http://yourdomain/mbridge/mb.php

or it could be http://yourdomain/pws/mbridge/mb.php depending where template resides.

(http://res.cloudinary.com/brian-underdown/image/upload/v1507627854/ds_y6nlob.png)


brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 10, 2017, 12:32:14 PM
Hello

First grab today’s update 9th oct few little enhancements and features added on.

Should be fine with your config . Just import ..brian

I gave it a whirl, but I seem to have some issues. Perhaps a permissions problem. Not showing forecast data or max-min wind. I setup a user for the database, but it does not seem to be populating from WU.

http://myrtlebeachweather.org/hwst/

Thanks,

Chuck

Glad you got it all,working we learn something new everyday this time next year you will be a database expert ... have fun my friend ..

Brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 10, 2017, 12:56:51 PM
bug fix just updated download , fixed temperature trend just replace livedata.php from todays earlier download..

https://weather34.com/homeweatherstation/

brian

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on October 10, 2017, 01:12:52 PM
Hello

First grab today’s update 9th oct few little enhancements and features added on.

Should be fine with your config . Just import ..brian

I gave it a whirl, but I seem to have some issues. Perhaps a permissions problem. Not showing forecast data or max-min wind. I setup a user for the database, but it does not seem to be populating from WU.

http://myrtlebeachweather.org/hwst/

Thanks,

Chuck

Glad you got it all,working we learn something new everyday this time next year you will be a database expert ... have fun my friend ..

Brian

Many thanks for your great work!
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 11, 2017, 03:50:41 AM
GOOD MORNING

this for anyone who has not already setup the database i have created a two click solution (pretty standard stuff nothing extreme) no need to change or use if oyu are already up
and running .. *one note I should make updated with minor css fixes.the info folder replace two files inside , simply replace moondata.php sunindex.php

Revised 11 October 2017 two click solution

1. once you have added your database username and password to the easysetup panel shown below
2.for now just click save at the bottom we can go back and set all settings shortly
3.now run the file included in the download called createdb.php
4.this will create the database called  "weatherstation" it will also create the table for the template

ID time outsideTemp barometer raintoday UV windgustmph windSpeed radiation dewpoint rainrate direction date timestamp lightning

thats it ! it doesn't get any easier than this and shouldn't deter anyone who little or no experience of database use ! click and run the createdb.php after you have added your database username and password . screenshot of included pdf in download.

(http://res.cloudinary.com/brian-underdown/image/upload/v1507708862/mbx5-mysql-setup_edg0gn.jpg)
brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on October 14, 2017, 06:07:23 PM
Hi Brian,

Downloaded the latest and greatest.  Noticed in one of your online instructions (https://www.weather34.com/homeweatherstation/setupmeteobridge.html), you reference the /MDBFILES/ vs /MBDBFILES.  Something you may want to correct as your .zip does not contain a folder called /MDBFILES.

To my issue.  Rebooted Meteobridge, grabbed latest image today.  Loaded all files, created new DB in Ubuntu, ensured I updated and activated PHPv7.1, tested access to SQL via command line successfully, purged tables, etc...  All good.  Template looks fine except for some reason, forecast is in metric vs imperial.

But the big issue and question is this.  I can't get Meteobridge to connect to http://server/mbridge/mb.php.  If I put that into a webbrowser, I can hit a blank page.  So we know the page is good.  But Meteobridge throws an error. 
Error: Home Weather Station:

Try by IP, same thing.  If I shorten and point to http://server/mb.php, another error, but a different error.
Error: Home Weather Station: <br />

But, I'm getting raw data into my MBrealtimeupload.txt file.  Unsure how that's happening!  The MB is not pushing any data there via any configured Services for http.  Speaking of that, I setup the (3) HTTP uploads, can get to them in a web browser, yet when hitting "TEST" on each one, I'm getting various errors:

STATION CRON
2017-10-14 13:02:27 Error: Read error (Connection timed out) in headers. (no more tries)

ADD TO YEAR
2017-10-14 13:13:22 Error: #!/usr/local/bin/php.cli Couldn"t fetch records (no more tries)

EMPTY
2017-10-14 13:14:45 Error: #!/usr/local/bin/php.cli (no more tries)

My assumption is, MB API call to /mb.php isn't working as the script in there to offload data that will make it's way to the db isn't able to perform.  My db shows the table with all the fields but after the purge, there is no data, which makes sense.

Any thoughts on where to look?

Thanks,

Steve
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 15, 2017, 01:37:09 AM
good morning

ignore the red cross some misleading bug in meteobridge . as you can see its generating the file so its not the big issue :-) check livedata panel for http upload response..

i have updated the setup guide and thanks for highlighting the typo error in your email you sent earlier
https://weather34.com/homeweatherstation/setupmeteobridge.html

example 1 : http://yourdomain/mbdbfiles/stationcron.php
example 2 : http://yourdomain/pws/mbdbfiles/stationcron.php
example 3 : http://yourdomain/mbridge/mbdbfiles/stationcron.php


STATION CRON
2017-10-14 13:02:27 Error: Read error (Connection timed out) in headers. (no more tries)

ADD TO YEAR
2017-10-14 13:13:22 Error: #!/usr/local/bin/php.cli Couldn"t fetch records (no more tries)

EMPTY
2017-10-14 13:14:45 Error: #!/usr/local/bin/php.cli (no more tries)

#!/usr/local/bin/php.cli  is this causing you an error with your server if so remove the 1st line line from each of the three files mentioned above.
i have also updated download and removed the lines however some servers may require it just have to deal with that when an issue arrives.

from the download you only need to add the mbdbfiles folder ! inside that folder are three files mentioned above.

for reference the user(name) that use to connect to database must have the correct privileges set to write to the database .

also note if your sending me emails always take into consideration time differences hence it may be some 12 hours before i RESPOND ..

brian








Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on October 15, 2017, 12:00:39 PM
Thanks Brian.  I removed the #! line from stationcron.  Still no data hitting livedata.php.  No values in the database as well.
I check the SQL error.log and find nothing but startup routines

I've created a new user, applied full perms to all db's, config'd in your configuration page, rebooted meteobridge, apache and SQL and still no writing to db.  I can logon to MySql with this new username and password...

Meteobridge does report successful HTTP Upload...
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 15, 2017, 12:36:01 PM
Path to MBrealtimeupload.txt ??

Would help if you provide a url , if it’s private them pm .


Brian..
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on October 15, 2017, 01:06:50 PM
https://weather.parsoli.net/mbridge/MBreal.....
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 15, 2017, 01:09:36 PM
That’s working fine now send easyweathersetup pass by pm . Brian..
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 15, 2017, 01:49:09 PM
https://weather.parsoli.net/mbridge/MBreal.....

template output is working fine im watching the wind change direction frequently however you need to resolve database connection, stationcron.php is working fine as forecast data is updating ok ..brian

https://weather.parsoli.net

ps not reacheable here in turkey only via VPN but its slow nothing todo with your server speed even the VPNs seem like there throttled now at ISP level :-(
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on October 15, 2017, 02:09:35 PM
Sorry, had someone port-scanning me heavily from Turkey so I blocked that country  :)  Back up now

So what will try to write to the DB?  StationCron is my assumption.
What is the purpose of livedata.php and is it an issue it is blank?

I can connect to that db using the credentials I put into the settings.  I need to better understand what or which php is trying to commit to db.

Thank you for looking at this Brian!



mysql> show tables;
+--------------------------+
| Tables_in_weatherstation |
+--------------------------+
| weatherstation           |
+--------------------------+
1 row in set (0.00 sec)

mysql> describe weatherstation;
+-------------+---------------+------+-----+-------------------+-----------------------------+
| Field       | Type          | Null | Key | Default           | Extra                       |
+-------------+---------------+------+-----+-------------------+-----------------------------+
| ID          | int(11)       | NO   | PRI | NULL              | auto_increment              |
| time        | text          | NO   | MUL | NULL              |                             |
| outsideTemp | decimal(10,1) | NO   |     | NULL              |                             |
| barometer   | decimal(10,2) | NO   |     | NULL              |                             |
| raintoday   | decimal(10,2) | YES  |     | NULL              |                             |
| UV          | decimal(10,0) | YES  |     | NULL              |                             |
| windgustmph | decimal(10,1) | NO   |     | NULL              |                             |
| windSpeed   | decimal(10,1) | NO   |     | NULL              |                             |
| radiation   | decimal(10,2) | YES  |     | NULL              |                             |
| dewpoint    | decimal(10,2) | YES  |     | NULL              |                             |
| rainrate    | decimal(10,2) | YES  |     | NULL              |                             |
| direction   | decimal(10,2) | NO   |     | NULL              |                             |
| date        | text          | NO   |     | NULL              |                             |
| timestamp   | timestamp     | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
| lightning   | decimal(10,0) | YES  |     | NULL              |                             |
+-------------+---------------+------+-----+-------------------+-----------------------------+
15 rows in set (0.00 sec)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on October 15, 2017, 02:14:59 PM
Sorry, had someone port-scanning me heavily from Turkey so I blocked that country  :)  Back up now

So what will try to write to the DB?  StationCron is my assumption.
What is the purpose of livedata.php and is it an issue it is blank?

I can connect to that db using the credentials I put into the settings.  I need to better understand what or which php is trying to commit to db.

Thank you for looking at this Brian!



mysql> show tables;
+--------------------------+
| Tables_in_weatherstation |
+--------------------------+
| weatherstation           |
+--------------------------+
1 row in set (0.00 sec)

mysql> describe weatherstation;
+-------------+---------------+------+-----+-------------------+-----------------------------+
| Field       | Type          | Null | Key | Default           | Extra                       |
+-------------+---------------+------+-----+-------------------+-----------------------------+
| ID          | int(11)       | NO   | PRI | NULL              | auto_increment              |
| time        | text          | NO   | MUL | NULL              |                             |
| outsideTemp | decimal(10,1) | NO   |     | NULL              |                             |
| barometer   | decimal(10,2) | NO   |     | NULL              |                             |
| raintoday   | decimal(10,2) | YES  |     | NULL              |                             |
| UV          | decimal(10,0) | YES  |     | NULL              |                             |
| windgustmph | decimal(10,1) | NO   |     | NULL              |                             |
| windSpeed   | decimal(10,1) | NO   |     | NULL              |                             |
| radiation   | decimal(10,2) | YES  |     | NULL              |                             |
| dewpoint    | decimal(10,2) | YES  |     | NULL              |                             |
| rainrate    | decimal(10,2) | YES  |     | NULL              |                             |
| direction   | decimal(10,2) | NO   |     | NULL              |                             |
| date        | text          | NO   |     | NULL              |                             |
| timestamp   | timestamp     | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
| lightning   | decimal(10,0) | YES  |     | NULL              |                             |
+-------------+---------------+------+-----+-------------------+-----------------------------+
15 rows in set (0.00 sec)

Without the livedata.php the template wouldn’t work at all..

You need to look at user privileges, does the user weather have the permission to,write , reading is not the issue . Sorry I’m not at all familiar with your  server software .

Brian

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on October 23, 2017, 09:23:33 AM
GOOD MORNING

this for anyone who has not already setup the database i have created a two click solution (pretty standard stuff nothing extreme) no need to change or use if oyu are already up
and running .. *one note I should make updated with minor css fixes.the info folder replace two files inside , simply replace moondata.php sunindex.php

Revised 11 October 2017 two click solution

1. once you have added your database username and password to the easysetup panel shown below
2.for now just click save at the bottom we can go back and set all settings shortly
3.now run the file included in the download called createdb.php
4.this will create the database called  "weatherstation" it will also create the table for the template

ID time outsideTemp barometer raintoday UV windgustmph windSpeed radiation dewpoint rainrate direction date timestamp lightning

thats it ! it doesn't get any easier than this and shouldn't deter anyone who little or no experience of database use ! click and run the createdb.php after you have added your database username and password . screenshot of included pdf in download.

(http://res.cloudinary.com/brian-underdown/image/upload/v1507708862/mbx5-mysql-setup_edg0gn.jpg)
brian

Brian,

I see you have been busy updating the template! Quick question. Are they any special instructions for updating? My database has been up and running. I assume all I need to do for updates is to just overwrite with the updated files and re-enter the information in the easyweathersetup. Same procedure that we used on the old template, prior to the SQL version.

Thanks,

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Atlantic21 on November 11, 2017, 08:53:54 AM
Firstly i can not thank Brian enough for his help have just changed web provider.new web site www.ilfracombeweather.info/pws/index.php most of the time it is user error on my part
the temperatures for the day graphs are reading to high for UK (+30 ) no idea where this information is coming from
no values for month and year.
day values for wind graph are ok no values for month and year.
day values for rain are ok again no values for month and year.
how do I change the rain total for month and year ref the box to left of the rain gage
The database is being populated in MySQL
this is all using Meteobridge

Many thanks for any help or ideas Richard
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: docbee on November 12, 2017, 02:37:45 AM
I got notice that the service gets a red mark on "weather network" tab, when "mb.php" is not located at root level but in the folder "mbridge". I have some code in beta to avoid this. Anybody facing this issue who wants to try this beta code? All I need is your MBs MAC. If you are interested to give it a try, please send to "info(at)meteobridge.com".
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on November 19, 2017, 11:17:41 AM
Hi All,

After a month, I built a new Ubuntu 16.04 box, loaded up with PHP7.0, MYSQL and all the fixings.....including PHPMYADMIN.  I can create DB's in MySQL using the credentials I have placed into the homeweather setup environment.  Using the dbcreate php, the weatherstation database was successfully created, the weatherstation table was created and all row's in MySQL were created.

The website works, however it just won't send ANY data to MySQL.  All rows empty.  No MySQL error logs, I can go to MySQL command line and create tables in the weatherstation database manually using the credentials, etc....

No errors in Meteobridge.  All HTTP uploads SENT. Latest/greatest version of HomeWeatherStation installed.  The one thing that is interesting which I saw in a previous post is, my Min/Max Wind tile isn't populating.  Unsure if that is a sign of anything.

Any thoughts?  I'm wondering if this is a PHP module missing or a file permissions execution issue.  Since Brian uses MYSQLI, I did uncomment that in PHP.INI so it's active.  Still no data flowing to db....

https://weather.parsoli.net

All responses appreciated in advance!

Steve
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 19, 2017, 12:56:20 PM
Hi

Just send a screenshot of your phpmyadmin screen

Password to easyweathersetup you can change later at anytime

Db username / password

Email or pm is fine..

Brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on November 19, 2017, 02:36:32 PM
I PM'd you details.

If I look in stationcron.php, I see:

It's reading settings.php
It reads a bunch of data from different weather services
Then on line 60, it asks IF $chartsource is equal to "wdcharts", it does some connections to SQL

If I look thru settings.php, I see not chartsource tag.  I do see it in settings1.php but my selection is "mbcharts".  I do not see an option for mbcharts in the stationcron.php code.

I'm sure I'm barking up the wrong tree, but I would suspect stationcron.php can't commit to the db anything in this scenario. but I am NOT a developer and probably have this completely wrong  :)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 19, 2017, 02:45:36 PM
I sent you pm , there is something not right somewhere, note the max,min gust pulls from the dbase so need to focus on Mysql settings at the server ,

The chart source is just a selector to use either dbase or wu history for charts .has nothing todo with dbase connection .

You could try importing the weatherstation.sql in the download it contains sample data , this will show you if you have the username set with the right permissions and if so you will see max min gust appear .

So try that that will allow us to break down the user permissions .

Brian

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on November 19, 2017, 03:07:34 PM
Thanks Brian.  Like I said, I can create DB's, tables and any data with these credentials at any time and it all works fine.  Same db server supports meteotemplate and a few others without fail.

Interesting you mention JQuery.  All those libraries are loaded.

I did make a change a few minutes ago to that chartsource and I set it to 'mbcharts'...reloaded apache and now I actually see dialogue in the TODAY chart for temp.  No data, but I now have something more than a blank screen.  Probably nothing but a dead end.  Still no rows of data in the db.

So maybe you can help educate me.  Meteobridge sends the data to the DB from the HTTP UPLOAD commit of stationcron.php correct?  What file actually executes the INSERT to db commands?  Maybe I can start there....

After a month of diddling around with this, I'm at a loss.  Thanks for taking a look.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 19, 2017, 03:17:00 PM
Thanks Brian.  Like I said, I can create DB's, tables and any data with these credentials at any time and it all works fine.  Same db server supports meteotemplate and a few others without fail.

Interesting you mention JQuery.  All those libraries are loaded.

I did make a change a few minutes ago to that chartsource and I set it to 'mbcharts'...reloaded apache and now I actually see dialogue in the TODAY chart for temp.  No data, but I now have something more than a blank screen.  Probably nothing but a dead end.  Still no rows of data in the db.

So maybe you can help educate me.  Meteobridge sends the data to the DB from the HTTP UPLOAD commit of stationcron.php correct?  What file actually executes the INSERT to db commands?  Maybe I can start there....

After a month of diddling around with this, I'm at a loss.  Thanks for taking a look.

something is very amiss somewhere take a look at the daylight module bottom right .  something blocking that script and its nothing new or had any changes for over a year

was it a corrupt download or something ?

simple method uses database username and password .  as i said in the pm is there a redirect going on ? and did you try importing the weatherstation.sql in the download this will help to eliminate some thoughts on what it could be.

if its too much hassle seriously just don't use it , all i use is a simple dbase username/ pass connect it is nothing special just a standard method.  worth checking the username permissions .try redownloading the template again .  i see you change password so i cant help much without some sort of access.

brian



Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: parsoli on November 19, 2017, 03:32:57 PM
I set password back to what I PM'd you.
I imported the .sql again.  All works just fine.  Website shows it can read the DB as now there is data in it due to the import.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 19, 2017, 03:48:26 PM
I set password back to what I PM'd you.
I imported the .sql again.  All works just fine.  Website shows it can read the DB as now there is data in it due to the import.

ok good thats that problem out of the way .

if i send you a file via PM can you replace it on your server , i have emptied the database using the empty script lets see what happens

im here for another 30 minutes then i must go to bed i have an early start tomorrow.

im curious of paths now but you still have a broken daylight script module.

brian

Title: Re: HOMEWEATHERSTATION TEMPLATE charts empty
Post by: rob3r7o on November 23, 2017, 05:12:51 AM
Hi,
newbie here.
I installed the previous template and worked fine. Everything apart the clock at the top right (it was two hours wrong).

Now I'm trying out the template released on November 21 and this time I have problems with the charts. Daily data is not displayed.
I deleted the template from the server and redone everything from scratch many times, following the guide carefully.
I use a sql database. I noticed that in mbcharts directory there is not result.csv file. If I try to delete Nov.csv and 2017.csv after these are recreated. result.csv instead does not create.
I tried to copy my old result.csv by hand, so I can see the today's graph but the data is not updated.

Any help please?
Thank you
Title: Re: HOMEWEATHERSTATION TEMPLATE charts empty
Post by: weather34 on November 23, 2017, 06:46:52 AM
Hi,
newbie here.
I installed the previous template and worked fine. Everything apart the clock at the top right (it was two hours wrong).

Now I'm trying out the template released on November 21 and this time I have problems with the charts. Daily data is not displayed.
I deleted the template from the server and redone everything from scratch many times, following the guide carefully.
I use a sql database. I noticed that in mbcharts directory there is not result.csv file. If I try to delete Nov.csv and 2017.csv after these are recreated. result.csv instead does not create.
I tried to copy my old result.csv by hand, so I can see the today's graph but the data is not updated.

Any help please?
Thank you

hello

dont worry newbie or oldie we all want to learn so anyway if  you can PM your password to easyweathersetup.php with the url along with database login details you can the change passwords later also please download updated version from today minor changes may not reflect your issue but good to be on the same boat.

newer download WXSIM compatibility for those interested .

just some basics to check

check file/folder permissions

double check the path in meteobridge itself look for the green cross if you are meteobridge version 34

also please send a screenshot of your phpmyadmin screen.

brian ..

Title: Re: HOMEWEATHERSTATION TEMPLATE charts empty
Post by: rob3r7o on November 23, 2017, 09:29:56 AM
Hi,
newbie here.
I installed the previous template and worked fine. Everything apart the clock at the top right (it was two hours wrong).

Now I'm trying out the template released on November 21 and this time I have problems with the charts. Daily data is not displayed.
I deleted the template from the server and redone everything from scratch many times, following the guide carefully.
I use a sql database. I noticed that in mbcharts directory there is not result.csv file. If I try to delete Nov.csv and 2017.csv after these are recreated. result.csv instead does not create.
I tried to copy my old result.csv by hand, so I can see the today's graph but the data is not updated.

Any help please?
Thank you

hello

dont worry newbie or oldie we all want to learn so anyway if  you can PM your password to easyweathersetup.php with the url along with database login details you can the change passwords later also please download updated version from today minor changes may not reflect your issue but good to be on the same boat.

newer download WXSIM compatibility for those interested .

just some basics to check

check file/folder permissions

double check the path in meteobridge itself look for the green cross if you are meteobridge version 34

also please send a screenshot of your phpmyadmin screen.

brian ..

Thank you very much.
Upgraded tou your last template but no luck.
PM sent.
Thanks for your help
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 23, 2017, 12:01:12 PM
Think your ok now have fun.. brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: rob3r7o on November 23, 2017, 11:41:43 PM
Think your ok now have fun.. brian

Yes! it's perfect now!
Thank you for your time!
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Atlantic21 on November 26, 2017, 10:41:20 AM
Thanks again Brian for your help today
Richard
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Atlantic21 on November 28, 2017, 02:30:55 AM
Hello can some one help i have missing data in the monthly and yearly excel data files from the mbchart folder i would like to enter the missing data but do not understand what some of the columns represents   [ You are not allowed to view attachments ]

Thanks Richard
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 01, 2017, 05:51:20 AM
Hello spent best part of the week trying different forecast API's yet to find anything as flexible as WU (when it works) . so I am still trying them them out
but Darksky is not a good option universally .

I have re-written all the forecast data scripts , they are NOT dependent on jquery to actually convert any data SO LOADS EXTREMELY FASTER, i rewrote them to be able to just slot in any API json data output that I may find reliable in the future FROM OTHER SOURCES, less problems going forward in terms of using additional api data from other sources making it very easy to adapt .

main page forecast now updates just like the other modules every 30 minutes so no need for meta refresh hacks to see the updated forecast

some slight subtle changes , now has a metric switch in the top bar, cleaned up css and design layout for forecast again subtle differences see screenshot below as always available at https://weather34.com/homeweatherstation/

(http://res.cloudinary.com/brian-underdown/image/upload/v1512124401/newdecember_xrce6q.jpg)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on December 01, 2017, 03:59:25 PM
Something is wrong with my Forecast, Current Conditions, and Total Daylight hours any ideas? http://gosportwx.com/CU-X5/index.php (http://gosportwx.com/CU-X5/index.php)

Mike
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 01, 2017, 04:10:33 PM
Something is wrong with my Forecast, Current Conditions, and Total Daylight hours any ideas? http://gosportwx.com/CU-X5/index.php (http://gosportwx.com/CU-X5/index.php)

Mike

cant throw much light on this i get a 404 from the url screenshot attached , perhaps check timezone , lat lon  these two parts drive the daylight outputs.  if you fix the 404 send password to easyweathersetup which you can change later .looks like a cumulus version from the url description

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on December 01, 2017, 04:20:39 PM
Something is wrong with my Forecast, Current Conditions, and Total Daylight hours any ideas? http://gosportwx.com/CU-X5/index.php (http://gosportwx.com/CU-X5/index.php)

Mike

cant throw much light on this i get a 404 from the url screenshot attached , perhaps check timezone , lat lon  these two parts drive the daylight outputs.  if you fix the 404 send password to easyweathersetup which you can change later .looks like a cumulus version from the url description


oops forgot to edit that i was gonna reinstall. sorry bout that.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on December 01, 2017, 04:37:01 PM
Something is wrong with my Forecast, Current Conditions, and Total Daylight hours any ideas? http://gosportwx.com/CU-X5/index.php (http://gosportwx.com/CU-X5/index.php)

Mike

cant throw much light on this i get a 404 from the url screenshot attached , perhaps check timezone , lat lon  these two parts drive the daylight outputs.  if you fix the 404 send password to easyweathersetup which you can change later .looks like a cumulus version from the url description
*edit*
http://gosportwx.com/PWS/ (http://gosportwx.com/PWS/) all is good now :) love your work!!

Mike
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 01, 2017, 04:43:59 PM
Something is wrong with my Forecast, Current Conditions, and Total Daylight hours any ideas? http://gosportwx.com/CU-X5/index.php (http://gosportwx.com/CU-X5/index.php)

Mike

cant throw much light on this i get a 404 from the url screenshot attached , perhaps check timezone , lat lon  these two parts drive the daylight outputs.  if you fix the 404 send password to easyweathersetup which you can change later .looks like a cumulus version from the url description
*edit*
http://gosportwx.com/PWS/ (http://gosportwx.com/PWS/) all is good now :) love your work!!

Mike

Thank you , you could turn off Meteo alarm in the easyweathersetup as it is valid for Europe only. You would need to obtain a key for aqi module .

Have a nice weekend..brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on December 01, 2017, 05:01:56 PM
Something is wrong with my Forecast, Current Conditions, and Total Daylight hours any ideas? http://gosportwx.com/CU-X5/index.php (http://gosportwx.com/CU-X5/index.php)

Mike

cant throw much light on this i get a 404 from the url screenshot attached , perhaps check timezone , lat lon  these two parts drive the daylight outputs.  if you fix the 404 send password to easyweathersetup which you can change later .looks like a cumulus version from the url description
*edit*
http://gosportwx.com/PWS/ (http://gosportwx.com/PWS/) all is good now :) love your work!!

Mike

Thank you , you could turn off Meteo alarm in the easyweathersetup as it is valid for Europe only. You would need to obtain a key for aqi module .

Have a nice weekend..brian

Ok got AQI API key and disabled Meteo alarm.. I do see somethin is wrong with the time of the forecast update, it's updating but oddly timed.. http://prntscr.com/hhwxz4 (http://prntscr.com/hhwxz4)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 01, 2017, 05:13:55 PM
ok i see that simple fix just re download CU-X7 version and just replace forecast folder , i just added a timezone  function .  should fix it that times is based on the time the file was created based on server time. so hopefully override that with a simple php timezone .
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mkutche on December 01, 2017, 05:17:35 PM
ok i see that simple fix just re download CU-X7 version and just replace forecast folder , i just added a timezone  function .  should fix it that times is based on the time the file was created based on server time. so hopefully override that with a simple php timezone .

Perfect!! Have a great weekend as well! :)

Mike
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on December 04, 2017, 11:37:12 AM
Hello everybody,
a stupid question.
How exactly do I update to a newer version?
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: SpringHillWeather on December 05, 2017, 03:58:04 PM
Hello everybody,
a stupid question.
How exactly do I update to a newer version?

I find the easiest way to do it is the following:
1. Download the lastest version.
2. Create a new directory on the server (example: weatherstation_new)
3. Upload all the files to the new directory.
4. Rename the old/working directory to (example: weatherstation_old)
5. Rename the new directory to (example:weatherstation)
6. Run setup or copy the old settings1.php to new settings1.php
7. Edit optional2.php
8. Edit cam.php and webcamsmall.php

Thats it.
Good Luck :)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: PaulMy on December 05, 2017, 04:14:05 PM
And edit menu.php if you have customized it...

Enjoy,
Paul
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on December 06, 2017, 01:05:54 PM
Hey super, merci for the tutorial ...
Greeting
Daniel
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: rob3r7o on December 07, 2017, 10:02:09 AM
Hi,
just for information but the wind speed in knots has been removed or am I something wrong?
I had it before, not now.

Thank you
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on January 05, 2018, 01:22:21 PM
Hello everybody,
I do not agree with the position of the graphics.
Have instlliert the newest version.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on January 10, 2018, 12:25:21 AM
Funny, have uploaded an older version again and there is the position of the graphics.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Glock43 on January 18, 2018, 02:58:07 AM
Thank you weatherist34 for sharing your software! It displays everything I'm interested in in a well thought out, intuitive, & attractive way.

I wanted to point out a typo I found in the documentation. The folder name is misspelled and it's easy to miss if you are just copying & pasting like I did. Thanks again!
-John
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Glock43 on January 18, 2018, 03:06:24 AM
Funny, have uploaded an older version again and there is the position of the graphics.

I replaced the "forecast" Folder and "solar2.php" File with the latest versions and that solved my problems with forecasts from WU and the UV/Solar graphic problem. (mine looked like yours)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on January 18, 2018, 03:44:13 AM
ok, graphics are right again.
But something is not right downstairs. The whole flashes with me.
https://www.wetterbrienz.ch/pws/
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on January 19, 2018, 05:00:24 AM
Ok, I reinstalled everything. Now it is ok
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Guillermo Villan on May 09, 2018, 06:46:50 PM
People I can not make the date where the time is. In the configuration in "show updated date & time" there is only the option of false. I am using the cumulus template.
my site is www.wxelortondo.com.ar

Thank you very much.

William
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on May 10, 2018, 01:49:24 AM
good morning

the update time is the time your realtime.txt was written on your server .

try cumulus forum ..http://sandaysoft.com/forum/index.php
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: EAF90 on June 27, 2018, 12:53:11 AM
Hi!
I'm trying to make my website work but I can't, it only shows a blank page in the index.php.
Meteobridge is working and sending data, MBrealtimeupload.txt is working, and I think the DB is working too. File permissions are ok.
easyweathersetup.php works, but when I go to the website, it shows a blank page  ](*,)
What can I do?!  #-o

Thanks!
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on June 27, 2018, 04:36:34 AM
Hi!
I'm trying to make my website work but I can't, it only shows a blank page in the index.php.
Meteobridge is working and sending data, MBrealtimeupload.txt is working, and I think the DB is working too. File permissions are ok.
easyweathersetup.php works, but when I go to the website, it shows a blank page  ](*,)
What can I do?!  #-o

Thanks!

hello
need some basic info like url impossible to make any diagnosis..

could be php configuration where certain functions are disabled .

also provide the url and easyweathersetup password by a pm you can change the password at anytime.

brian

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mav101 on July 10, 2018, 09:40:45 AM
Hi,

I've just setup the latest template (meteobridge) after running a really old version for a while.... and I'm having a problem with the darksky current conditions and forecast. I have entered the API key correctly. I have checked the jsondata folder and it doesn't appear to have downloaded any new darksky.txt file (or any of the other files for that matter - i did also setup the metar along with the api key to test if it worked) its still using the data file from the template zip. Is there something else that needs to be setup to allow the connection to darksky?

Also, no calls appear to have been made to DarkSky according the the darksky api console...

Cheers, Andy
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on July 10, 2018, 10:32:02 AM
good afternoon

please always provide a url if possible , its nigh on impossible to diagnose anything without.

most common cause is services not setup in meteobridge . have a read especially part 2 . https://weather34.com/homeweatherstation/guides/setupmeteobridge.html
the stationcron.php file contains all the scripts to collect data from API services .meteobridge allows you to simulate cron jobs just by doing below.hope it helps

i can test it remotely but url is required

Part 2 . Setting up the services .


1.select services tab

2.goto new and select service from the drop down and choose HTTP REQUEST

3.goto select event type and choose PERIODICALLY

4.set the stationcron.php url to run every 15 minutes

examples of the url path to the stationcron.php

example 1 : http://yourdomain/mbdbfiles/stationcron.php
example 2 : http://yourdomain/pws/mbdbfiles/stationcron.php
example 3 : http://yourdomain/mbridge/mbdbfiles/stationcron.php

brian ...have a nice day
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: mav101 on July 10, 2018, 01:04:44 PM
Brilliant, thanks Brian.  I had missed that part of the instructions as i thought it was all about the mySQL setup... that's on the todo list ;-)   All working nicely now  :grin:
Cheers, Andy
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: jkozik on August 14, 2018, 11:53:38 AM
I fixed my blank screen problem.

Just like the problem that @EAF90 reported above:  I too created a pws directory on my linux server. Running easyweathersetup.php works fine, and the permissions look ok. But mywebpage.com/pws/index.php returns a blank page.  I looked inside of the page source and the browser console -- nothing, blank. 

I looked up how to debug php scripts, turned on error messages and started individually running each of the php scripts inside of index.php.  For the script called common.php, it returned: "PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding()"  Huh?  I have never heard of this.

I looked it up and my Centos 7 default php installation does not include support for multi-byte strings.  That's a new one for me!  I updated my php:

# yum install php-mbstring

I restarted my httpd and now my index.php runs without error, no more blank screen.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: kweaver66 on August 18, 2018, 09:23:55 AM
Brian,

Do you think you can check out my page?  I will DM you my PW if needed.  I know you said their were some issues with Metar and Darksky for some.  I cannot get my page to read either. It defaults to LTBA Istanbul.....

http://weaverestates.info/PWS/

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on August 18, 2018, 10:04:46 AM
replied via PM..
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: kweaver66 on August 19, 2018, 12:00:15 AM
Thanks! back up and running!
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Atlantic21 on August 19, 2018, 06:04:25 AM
Could some one please help with the following warning on main page see attachment or link to web site

https://www.ilfracombeweather.info/pws/index.php

works fine on mobile or tablet

Richard
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on August 19, 2018, 08:20:03 AM
pm sent possible solution with file i sent . i tried replicating locally but no errors so I'm going to have to guess on it .

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: Atlantic21 on August 19, 2018, 09:44:36 AM
Brian that worked many thanks again for help

Richard
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on August 24, 2018, 08:02:21 AM
Hello

spent a lot of time(almost 3 months)  finally getting round to finish of the re writing of the light theme . lots of minor visual tweaks and removal of unwanted code and css ,listened to requests and tried to improve in areas where I could without creating something totally different.

hope it is to your liking and keeps almost in the simple visual display of station hardware data . by far the meteobridge is the most popular choice and this version tries to get the most out of the flexibility of meteobridge options in terms of data.

if there is anything specific data value that you would like you can always drop an email and I can request Boris to add it onto the api .I understand everyone has different requirements and due to the simplicity of using meteobridge it is not inconvenient to have any extra data added on and most of it can be done within a reasonable timely manner.

it also is identical to use with the new meteobridge NANO product simply no changes to use template required.

anyway has always https://weather34.com/homeweatherstation/

(http://res.cloudinary.com/brian-underdown/image/upload/v1535111602/mb_qgr2lj.png)
(http://res.cloudinary.com/brian-underdown/image/upload/v1535112233/dk_vysimc.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: leliep on November 03, 2018, 05:42:36 AM
I just became member of this forum, but I'm not able to access https://weather34.com/homeweatherstation/

When I try to open that link, I get an

Forbidden
You don't have permission to access /homeweatherstation/ on this server.

Do I need to be allowed to access the stuff or is there some kind of problem with the website?

Thanks & best regards, -pl
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 03, 2018, 06:51:08 AM
I just became member of this forum, but I'm not able to access https://weather34.com/homeweatherstation/

When I try to open that link, I get an

Forbidden
You don't have permission to access /homeweatherstation/ on this server.

Do I need to be allowed to access the stuff or is there some kind of problem with the website?

Thanks & best regards, -pl

hello welcome

unfortunately its not me or anything personal its my host blocks certain ip ranges automatically
either drop a pm or use the direct link bypassing the homepage
http://www.mediafire.com/file/2w843u8d2df96sw/MB.zip

i guess its a good time to highlight some of the changes to the template .

1.Davis forecast text now displayable
2.improved browser styled charts (highly recommend switch to MYSQL)
3.Windspeed module now displays averages
4.many modules redesigned improved indicators using SVG no longer requires any jquery(no overheads)
5.Improved UV-Index indicators
6.Improved Rainfall Indicators with also last hour/yesterday values
7.Average Wind direction green indicator on compass
8.colored High / Lo  indicators on barometer
9.general clean up of unused code
10.selection of hardware to setup in easyweathersetup (if Davis selected displays Davis logo in footer)
11.sun position module based on azimuth also displays elevation

download size reduced to 4.1mb

(https://res.cloudinary.com/brian-underdown/image/upload/v1541242047/MB_brayxt.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: HighLife on November 12, 2018, 04:19:27 PM
Hi  -

Seeking to edit values that trigger new notification pop-up in upper right corner.  Specifically, heat index.  Here in the southern US, a heat index of 88F isn't much.  Looking to increase it to 95F.  Does anyone know which script I need to tweak?  I tried 'advisory' and 'homenotification' with no luck.

TIA,
HL [ You are not allowed to view attachments ]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 12, 2018, 11:27:08 PM
good morning

goto rainfall.php edit file its nothing to do with rainfall just a place to trigger the notification script .

bottom of the file look for

<?php //WEATHER34 pure css temperature heat index above 30c/84F  pop up alert
 if(anyToC($weather["heat_index"])>=30){?>

replace the 30 with 35 or what what you deem as worthy of an alert note its in celsius and is converted in template when fahrenheit is selected so dont put 95 use celsius values.

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: HighLife on November 13, 2018, 02:03:47 PM
Worked a treat.  Many thanks for your prompt response.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: AA1ZA on November 15, 2018, 02:00:07 PM
I installed Home Weather Station, but am having great difficulty in getting either metar or forecast modules to work correctly, despite entering the APIs and toggling between currentconditionsds.php and currentconditionsmetar34.php respectively to see if that will solve anything. 

The metar remains stuck on LTBA and the forecast doesn't seem to be correct for our area.  Also, the time of both are incorrect and the temperature of the forecast appears to be in Celcius (which doesn't align with all my settings that are set for US units).

My website is pws.aa1za.com.

Any help will be greatly appreciated.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: wvdkuil on November 15, 2018, 03:58:31 PM
I installed Home Weather Station, but am having great difficulty in getting either metar or forecast modules to work correctly, despite entering the APIs and toggling between currentconditionsds.php and currentconditionsmetar34.php respectively to see if that will solve anything. 

The metar remains stuck on LTBA and the forecast doesn't seem to be correct for our area.  Also, the time of both are incorrect and the temperature of the forecast appears to be in Celcius (which doesn't align with all my settings that are set for US units).

My website is pws.aa1za.com.

Any help will be greatly appreciated.
The forecast and metar are only loaded when you run the cronjobs.
You should use your meteobridge to run via http:// pws.aa1za.com / mbdbfiles / stationcron.php every 15 minutes.
That cronjob  will check if new metar and new forecast are needed.

https://www.weather34.com/homeweatherstation/guides/mb34.html  => scroll to Meteobridge control Panel possibillities

Wim
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: AA1ZA on November 15, 2018, 04:31:35 PM
Dankie, Wim.  Ek sal vanaand na werk my Meteobridge verstellings nagaan.  ( ;)  I'm sure you'll be able to understand that! )

[For the rest:   Thank you, Wim.  I'll check again my Meteobridge's settings today after work.]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: wvdkuil on November 15, 2018, 04:40:07 PM
Dankie, Wim.  Ek sal vanaand na werk my Meteobridge verstellings nagaan.  ( ;)  I'm sure you'll be able to understand that! )

[For the rest:   Thank you, Wim.  I'll check again my Meteobridge's settings today after work.]
:grin:
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: AA1ZA on November 16, 2018, 12:48:10 AM
I'm just not winning.  Ref. attached screenshots of my MB settings.

In a 'perfect world' I'll have the MB to send data to the MySQL database on the shared server that I'm using, and Home Weather Station to display the metar and forecast...    ](*,)

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 16, 2018, 02:07:48 AM
send the easyweathersetup password via pm you can change later at anytime .but on initial inspection it is refusing to connect to dbase therefore the stationcron doesnt complete .

brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 16, 2018, 02:23:02 AM
on a positive note boris is toying with the idea of building this template within meteobridge itself and that will be the end of chart data issues as it will use database directly stored in meteobridge itself . may be a couple months before anything is ready if he goes ahead not my idea but a welcome step forward in simplifying everything for the end user who wants to use the template . note is thinking about it nothing definite or confirmed.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: AA1ZA on November 16, 2018, 09:49:14 AM
Brian, thank you for your offer to take a look at my easyweathersetup file.   I have PM'ed you my password.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 16, 2018, 10:20:10 AM
hi have sent a reply should be fine now I set it to use the Davis console forecast as seen on the console you just need to fix the darksky.txt file placement ..have fun learning and feel free to drop a pm next week mon-wed if you cant resolve dbase connection :-) brian

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: AA1ZA on November 16, 2018, 11:27:45 AM
The metar is working now.  Many thanks for helping to resolve that one, Brian!   

The file, "darksky.txt" was there in the jsondata folder on the server, but when I viewed it, it simply displayed, "Not found".  So then I deleted it and did what you recommended, namely I uploaded the "darksky.txt" file from MB.zip into the jsondata folder on the server. 

For a few minutes it displayed the forecast data ok on Home Weather Station (though I think it was showing the default forecast of Istanbul), but then 15 minutes later when my meteobridge came around and updated that file, the forecast display was gone again...   I checked the content of "darksky.txt" on the server and lone behold, it once again showed, "Not found" (?).

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on November 16, 2018, 11:36:02 AM
ok dont get mad :-) but your NOT putting the darksky api key in correctly ,, your adding the whole url :-)
your adding
https://api.darksky.net/forecast/xxxxxxxxxxxxxxx8695b345bb03/33.09077,-96.63893


should be just api key I have just set it for you but you need to double check your api key I couldnt get that to work so I have put mine but please double check the API key issued to you . you should now see forecast ..ps G7LIJ :-)

screenshot i just took  [ You are not allowed to view attachments ]


Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: AA1ZA on November 16, 2018, 12:05:02 PM
Ah, okay! #-o  Lol!  :oops:

Thank you so much, Brian!  You're great!

73!    ;)

PS.  I inserted the DS API that I had all along; seems to work fine though.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 08, 2018, 05:17:17 AM
good morning

now having established some time to focus on adding additional features,reworking features for the meteobridge
products , slowly each week note slowly and expect this all to be finished hopefully by end of january.visually
the changes are small and not so apparent however additional data is being added.

1.rainfall almanac screen
2.temperature almanac to include dewpoint data
3.davis console forecast display with icons
4.current conditions using average hourly data taken from station
5.notifications for various alerts can be disabled and uses a 10 second fade out , time between each alert
can be set ..*note pure css ! no jquery ..
6.reworked sun position module showing position with additional data

to be done
1. internal charts data provided by meteobridge stored data no knowledge of mysql required or hosted server mysql required.
2. barometer pressure almanac
3. indoor data almanac
4. notifications trigger value to suit your specific location or what is deemed as an alert value

expected release late January 2019..screenshot of finished stuff so far

(https://res.cloudinary.com/brian-underdown/image/upload/v1544264138/january_lrgxpa.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on December 08, 2018, 02:18:43 PM
Brian,

Sounds great! I look forward to the updates.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 10, 2018, 06:46:34 AM
hello chuck

there is a beta you can follow  that gets minor updates when time permits its going to be a slow progress and each additional extra will be not so apparent like this morning very minor addition to,the davis console forecast module basically shows rain icon or snow icon  when the word precipitation is present and a small arrow according to the word cooler or warmer.. very small  things but all relative to davis hardware/console owners that will be the path it will go

(https://res.cloudinary.com/brian-underdown/image/upload/v1544443593/console_tealoi.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 12, 2018, 03:10:46 AM
good morning

yesterday Boris updated the api structure output so for this update a reboot of meteobridge is required . many many new values added to the output
not many so apparent visual changes , a few new almanac screens , many updated pop up modules , additional data reference historic totals .please insure you reboot meteobridge before hand and do please double check the setup screen and set the newer options otherwise you may end with a broken display..additional critical  code has been added to many files so a full update is required .

there is also a running beta version for the Davis Nano(sd) user this is expected to be completed by end of January and not before its a slow long process of getting everything right .daily updates do occur but they are very minor additions and fixes,changes not always apparent on first look..

once again thanks to boris for the prompt response in adding additions ..and yes it actually started snowing here in istanbul this morning so a nice pleasant surprise ..brian

https://weather34.com/homeweatherstation/

(https://res.cloudinary.com/brian-underdown/image/upload/v1544601776/mb1212_jggbj3.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 20, 2018, 03:45:36 AM
new for upcoming NANOSD version of template will be added in January see next post.... new option to use historical data for previous years if you have the data

idea was first used in the cumulus version a year or so ago however now simplified to include previous years data . will introduce in the beta sometime over the festive period . the beta is a very slow process but gradually taking shape and taking the time to test each idea or funtion is paying off nicely . here it what it will look like and accesible via the menu as shown below..*note not released yet in current beta..

(https://res.cloudinary.com/brian-underdown/image/upload/v1545295253/nanosdcharts2019_qbbjjr.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 22, 2018, 03:41:14 AM
for NANOSD version Beta only

i reiterate its a slow progress but beginning to take shape with an abundance of optional features .for those who have been using template and storing via mysql over the last year 2018 you can display those charts in a seperate page via whole year or broken down into month. if no data from 2018 has been kept in the mbcharts folder you can disable this in the easyweathersetup screen.

the files 2018.csv and folder 2018 containing monthly files i.e Dec.csv,Jan.csv etc should be viewable if you have used mysql over the last 12 months

visually the meteorshower circle shows twinkling stars and random meteors streak :-)

should be available to test 26th December onwards..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1545467721/newmonth_o0nrtn.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 26, 2018, 04:17:00 AM
HELLO hope you all had a great christmas day and lots of festive food ..as promised beta version update for NANOSD

1.monthly display charts pages
2.non metric or vice versa in temperature,rain,barometer,indoor,lightning(km,miles) display displays opposite according to your preference and are color coded.
3.meteorshower module reworked
4.lots of new css and cleared out unused
5.metar display current conditions will switch to darksky automatically when API unavailable and display a offline next metar nearby .
6.new small chart icons
7.access various monthly charts via menu or top boxes when in chart pages
8.Notifications for various readings,earthquakes nearby also can be disabled .
9.make sure you make a back up copy of mbcharts folder and store on your pc you will need the folder 2018 and file 2018.csv to use last years data on 1st January 2019

have fun...brian


(https://res.cloudinary.com/brian-underdown/image/upload/v1545815442/nanobeta_avfi1n.jpg)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on December 28, 2018, 01:54:53 AM
Hello,
I use the template with Meteobridge Pro and an Lufft WS 700 UMB weather station. Would be great if I could also choose this station during setup and hardware.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on December 28, 2018, 02:13:18 AM
Hello,
I use the template with Meteobridge Pro and an Lufft WS 700 UMB weather station. Would be great if I could also choose this station during setup and hardware.

done ...have a nice weekend

 [ You are not allowed to view attachments ]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: webcam on December 28, 2018, 02:34:08 AM
Cool Merci .......
I wish you a Happy New Year .....
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 03, 2019, 06:51:24 AM
good afternoon


lots of minor changes,enhancements,features  gradually happened and additions were added during december and last two days . unfortunately im off for an operation on my left arm which will render me totally useless as far as using computers are concerned for sometime but have managed to get most things done and improvements to the visuals.

it will be end of February when NANOSD beta version fully reaps the benefit of the NANOSD internal generated charts..

so as always https://weather34.com/homeweatherstation/ to grab the lastest and the beta version .

have fun and any issues ill do my best to respond in a timely manner but if I don't its because I haven't mastered the art of typing efficiently with one hand on the keyboard and I'm left handed :-) ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1546515718/new03012019_jwug9y.jpg)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on January 07, 2019, 01:45:57 PM
good afternoon


lots of minor changes,enhancements,features  gradually happened and additions were added during december and last two days . unfortunately im off for an operation on my left arm which will render me totally useless as far as using computers are concerned for sometime but have managed to get most things done and improvements to the visuals.

it will be end of February when NANOSD beta version fully reaps the benefit of the NANOSD internal generated charts..

so as always https://weather34.com/homeweatherstation/ to grab the lastest and the beta version .

have fun and any issues ill do my best to respond in a timely manner but if I don't its because I haven't mastered the art of typing efficiently with one hand on the keyboard and I'm left handed :-) ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1546515718/new03012019_jwug9y.jpg)

Brian,

Love the new "Home Indoor Environment" addition! Hope all goes well with your arm procedure.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 11, 2019, 08:09:42 AM
HELLO good afternoon

just some minor visual additions for beta version and some new vector graphics to use if required .

In NANOSD beta version only new option to select hardware combination logo , more will be added in time but for now there is the 3 popular combinations .

vectors graphics download and beta version download available via https://weather34.com/homeweatherstation/

(https://res.cloudinary.com/brian-underdown/image/upload/v1547215815/weather34vectors_innswa.png)


brian...
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on January 15, 2019, 01:59:13 PM
Brian,

I just noticed that the 2018 yearly charts (beta version) have 2019 in the chart Header. Hope all went well with your arm procedure.

Cheers!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 15, 2019, 11:00:48 PM
hello chuck

not as bad as was warned or expected took no longer than 10 minutes think i was on cloud 9 from the anesthesia longer ..charts ill take a look later probably me messed up just leaving date(‘Y’) in there somewhere..let you know..brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 16, 2019, 12:02:02 AM
Hello chuck

yes as i thought my oversight left echo date('Y') in there at the bottom of yearly charts have updated beta just replace 2018charts folder. also some minor fixes elsewhere and new reworked old modules to bring in line with current appearance.files  eq.php, eqlist.php, aurora.php . also fix for heat index notification just replace barometer.php if on latest version .
via https://weather34.com/homeweatherstation/

(https://res.cloudinary.com/brian-underdown/image/upload/v1547614737/update_degq4r.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on January 16, 2019, 08:19:38 AM
hello chuck

not as bad as was warned or expected took no longer than 10 minutes think i was on cloud 9 from the anesthesia longer ..charts ill take a look later probably me messed up just leaving date(‘Y’) in there somewhere..let you know..brian

Glad to hear things went well. Thanks for the updates!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: GeoAir.pt on January 16, 2019, 11:32:38 AM
Hi,
I would like to try to translate HomeWeatherStation to portuguese (pt-pt).
What would be required to do it?
Thank you.
Best regards
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: saratogaWX on January 16, 2019, 11:52:16 AM
Hi,
You can use the attached template.

Fill in the translations to the right of the equal sign with the word(s) in Portuguese and post your result.

Sample:
Code: [Select]
$lang['Sun'] = 'Sun';
$lang['Moon'] = 'Moon';
$lang['Sunrise'] = 'Sun Rise';
$lang['Sunset'] = 'Sun Set';
$lang['Moonrise'] = 'Moon Rise ';
$lang['Moonset'] = 'Moon Set';
$lang['Night'] = 'Night ';
$lang['Day'] = 'Day';
$lang['Nextnewmoon'] = 'Next New Moon';
$lang['Nextfullmoon'] = 'Next Full Moon';
in English and like this in the Spanish sample
Code: [Select]
//sun -moon-daylight-darkness
$lang['Sun'] = 'Sol';
$lang['Moon'] = 'Luna';
$lang['Sunrise'] = 'Amanecer';
$lang['Sunset'] = 'Puesta de sol';
$lang['Moonrise'] = 'Salida de luna ';
$lang['Moonset'] = 'Puesta de luna';
$lang['Night'] = 'Noche ';
$lang['Day'] = 'Dia';
$lang['Nextnewmoon'] = 'Luna nueva';
$lang['Nextfullmoon'] = 'Luna llena';

Don't change the $lang['...'] entries, only the values to the right of the =

Thanks in advance!
Best regards,
Ken
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: GeoAir.pt on January 17, 2019, 04:31:17 AM
Thank you!
Could you also share the Spanish Version, so I can use in case of doubt?
Best regards
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: saratogaWX on January 17, 2019, 12:30:36 PM
Sure -- here's the Spanish version
Code: [Select]
<?php
/* 
-----------------
Language Translation File for HOMEWEATHERSTATION Template
Language: SPANISH
Translation By :  Santgenismeteo
Developed By: Brian Underdown/Erik M Madsen
October/November 2016
-----------------
*/
# -----------------------------------------------------
# Day / Months do not edit
# -----------------------------------------------------
$day date("l");
$day2 date("l"time()+86400);
$daynum date("j");
$monthtrans date("F");
$year date("Y");
# -----------------------------------------------------
# -----------------------------------------------------
setlocale(LC_TIME"es_ES.UTF-8");
$lang = array();

// Menu

$lang['Till'] = 'Para ';
$lang['Settings'] = 'Ajustes';
$lang['Layout'] = 'Cambiar de tema';
$lang['Lighttheme'] = 'Tema Claro';
$lang['Darktheme'] = 'Tema oscuro';
$lang['Nonmetric'] = 'US (F) ';
$lang['Metric'] = 'Metrico (C)';
$lang['UKmetric'] = 'UK (MPH - Metrico) ';
$lang['Scandinavia'] = 'Scandinavia(M/S)';

$lang['Worldwideearthquakes'] = 'Terremotos en el mundo';
$lang['Toggle'] = 'Pantalla entera ';
$lang['Contactinfo'] = 'Estación & Informacion de contacto';
$lang['Templateinfo'] = 'Colboradores';
$lang['language'] = 'Seleccione el idioma';
$lang['Weatherstationinfo'] = 'Información de la estación';
$lang['Webdesigninfo'] = 'Información de la plantilla';

//temperature
$lang['Temperature'] = 'Temperatura';
$lang['Feelslike'] = 'Sensacion';
$lang['Humidity'] = 'Humedad';
$lang['Dewpoint'] = 'Punto de rocío';
$lang['Trend'] = 'Tend ';
$lang['Heatindex'] = 'Índice de calor';
$lang['Windchill'] = 'Sensacion ';
$lang['Tempfactors'] = 'Factor de temp';
$lang['Nocautions'] = 'Sin precauciones';
$lang['Wetbulb'] = 'T. condensación';
$lang['dry'] = '& Seco';
$lang['verydry'] = '& Muy seco';


//new feature temperature feels
$lang['FreezingCold'] = 'Helada';
$lang['FeelingVeryCold'] = 'Mucho frío';
$lang['FeelingCold'] = 'Frio';
$lang['FeelingCool'] = 'Sensacion de frio';
$lang['FeelingComfortable'] = 'Agradable ';
$lang['FeelingWarm'] = 'Calor';
$lang['FeelingHot'] = 'Sensacion de Calor';
$lang['FeelingUncomfortable'] = 'Sensacion incomoda';
$lang['FeelingVeryHot'] = 'Calor elevado';
$lang['FeelingExtremelyHot'] = 'Calor extremo';




//wind
$lang['Windspeed'] = 'Velocidad';
$lang['Gust'] = 'Ráfaga';
$lang['Direction'] = 'Direccion';
$lang['Gusting'] = 'Racheado a';
$lang['Blowing'] = 'Soplando a';
$lang['Wind'] = 'Viento';

$lang['Calm'] = 'Calma';
$lang['Lightair'] = 'Viento ligero';
$lang['Lightbreeze'] = 'Brisa ligera ';
$lang['Gentelbreeze'] = 'Brisa suave';
$lang['Moderatebreeze'] = 'Brisa moderada';
$lang['Freshbreeze'] = 'Brisa fresca';
$lang['Strongbreeze'] = 'Brisa fuerte';
$lang['Neargale'] = 'Vendaval';
$lang['Galeforce'] = 'Vendaval';
$lang['Stronggale'] = 'Fuerte vendaval';
$lang['Storm'] = 'Tormenta';
$lang['Violentstorm'] = 'Tormenta violenta';
$lang['Hurricane'] = 'Huracán';

// Wind phrases from Beaufort scale for current conditions area
$lang['CalmConditions'] = 'Calma';
$lang['LightBreezeattimes'] = 'Viento ligero ';
$lang['MildBreezeattimes'] = 'Brisa suave ';
$lang['ModerateBreezeattimes'] = 'Brisa moderada';
$lang['FreshBreezeattimes'] = 'Brisa fresca';
$lang['StrongBreezeattimes'] = 'Brisa fuerte';
$lang['NearGaleattimes'] = 'Frescachón';
$lang['GaleForceattimes'] = 'Temporal';
$lang['StrongGaleattimes'] = 'Temporal fuerte';
$lang['StormConditions'] = 'Temporal duro';
$lang['ViolentStormConditions'] = 'Temporal muy duro';
$lang['HurricaneConditions'] = 'Temporal huracanado';




$lang['Avg'] = '<span2> Avg: </span2>';

//wind direction compass
$lang['Northdir'] = 'Del <span>Norte<br></span>';
$lang['NNEdir'] = 'Norte Norte <br><span>Este</span>';
$lang['NEdir'] = 'Norte <span> Este<br></span>';
$lang['ENEdir'] = 'Este Norte<br><span>Este</span>';
$lang['Eastdir'] = "Del <span> Este<br></span>";
$lang['ESEdir'] = 'Este Sur<br><span>Este</span>';
$lang['SEdir'] = 'Sur <span> Este</span>';
$lang['SSEdir'] = 'Sur Sur<br><span>Este</span>';
$lang['Southdir'] = 'Del <span> Sur</span>';
$lang['SSWdir'] = 'Sur Sur<br><span>Oeste</span>';
$lang['SWdir'] = 'Sur <span> Oeste</span>';
$lang['Westdir'] = 'Oeste Sur<br><span>Oeste</span>';
$lang['WSWdir'] = 'Del <span> Oeste</span>';
$lang['Westdir'] = 'Oeste Norte<br><span>Oeste</span>';
$lang['WNWdir'] = 'Oeste Norte<br><span>Oeste</span>';
$lang['NWdir'] = 'Norte <span> Oeste</span>';
$lang['NWNdir'] = 'Norte Norte<br><span>Oeste</span>';




//wind direction avg
$lang['North'] = 'Norte';
$lang['NNE'] = 'NNE';
$lang['NE'] = 'NE';
$lang['ENE'] = 'ENE';
$lang['East'] = 'Este ';
$lang['ESE'] = 'ESE';
$lang['SE'] = 'SE';
$lang['SSE'] = 'SSE';
$lang['South'] = 'Sur';
$lang['SSW'] = 'SSO';
$lang['SW'] = 'SO';
$lang['WSW'] = 'OSO';
$lang['West'] = 'Oeste';
$lang['WNW'] = 'ONO';
$lang['NW'] = 'NO';
$lang['NWN'] = 'NON';

//rain
$lang['raintoday'] = 'Lluvia hoy';
$lang['Rate'] = 'Velocidad';
$lang['Rainfall'] = 'Lluvia';
$lang['Precip'] = 'precip'// must be short name do not use full precipatation !!!! ///
$lang['Rain'] = 'Luvia';
$lang['Heavyrain'] = 'Lluvia intensa';
$lang['Flooding'] = 'Posible inundación';
//sun -moon-daylight-darkness
$lang['Sun'] = 'Sol';
$lang['Moon'] = 'Luna';
$lang['Sunrise'] = 'Amanecer';
$lang['Sunset'] = 'Puesta de sol';
$lang['Moonrise'] = 'Salida de luna ';
$lang['Moonset'] = 'Puesta de luna';
$lang['Night'] = 'Noche ';
$lang['Day'] = 'Dia';
$lang['Nextnewmoon'] = 'Luna nueva';
$lang['Nextfullmoon'] = 'Luna llena';
$lang['Luminance'] = 'Iluminacion';
$lang['Moonphase'] = 'Fase lunar';
$lang['Estimated'] = 'Estimada';
$lang['Daylight'] = 'Luz de dia';
$lang['Darkness'] = 'Oscuridad';
$lang['Daysold'] = 'días de antigüedad';
$lang['Belowhorizon'] = 'debajo del<br>horizonte';
$lang['Mintill'] = '<br>Mins hasta';
$lang['Minago'] = 'Hace mins';
$lang['Hrs'] = ' hrs';
$lang['Mins'] = ' min';
$lang['TotalDarkness'] = 'Oscuridad total';
$lang['TotalDaylight'] = 'Luz del día total';
$lang['Below'] = 'Está por debajo del horizonte';

$lang['Newmoon'] = 'Luna nueva';
$lang['Waxingcrescent'] = 'Luna creciente';
$lang['Firstquarter'] = 'Cuarto creciente';
$lang['Waxinggibbous'] = 'Luna menguante';
$lang['Fullmoon'] = 'Luna llena';
$lang['Waninggibbous'] = 'Gibbosa menguante';
$lang['Lastquarter'] = 'Cuarto menguante';
$lang['Waningcrescent'] = 'Creciente menguante';


//trends

$lang['Falling'] = 'Bajando';
$lang['Rising'] = 'Subiendo';
$lang['Steady'] = 'Estable';
$lang['Rapidly'] = 'Rapidamente';
$lang['Temp'] = 'Temp';


//Solar-UV

//uv
$lang['Nocaution'] = 'Sin <color>precaucion</color> requerida';
$lang['Wearsunglasses'] = 'Use <color>gafas de sol</color> en días soleados';
$lang['Stayinshade'] = 'Permanecer en la sombra cerca del medio día cuando el <color>sol</color> es fuerte';
$lang['Reducetime'] = 'Reducir el tiempo en el <color>s0l</color> entre 10am-4pm ';
$lang['Minimize'] = 'Reducir al mínimo <color>sol</color> exposicion entre 10am-4pm ';
$lang['Trytoavoid'] = 'Tratar de evitar el <color>sol</color> exposicion entre 10am-4pm ';

//solar

$lang['Poor'] = 'Radiación<color> <br>Pobre</color>';
$lang['Low'] = 'Radiación<br><color>Baja</color>';
$lang['Moderate'] = 'Radiación<br><color>Moderada</color>';
$lang['Good'] = 'Radiación<br><color>Fuerte</color>';
$lang['Solarradiation']= 'Radiación Solar';



//current sky
$lang['Currentsky'] = 'Con. actuales';
$lang['Currently'] = 'Actualmente';
$lang['Cloudcover'] = 'Cubierto de nubes';

//Notifications
$lang['Nocurrentalert'] = 'No hay alertas meteorológicas';
$lang['Windalert'] = 'Ráfagas de viento en';
$lang['Tempalert'] = 'Alta temperatura';
$lang['Heatindexalert'] = 'Precaución de calor ';
$lang['Windchillalert'] = 'Precaución sensación térmica';
$lang['Dewpointalert'] = 'Humedad incómoda';
$lang['Dewpointcolderalert'] = 'Humedad incómoda';
$lang['Feelslikecolderalert'] = 'Sensacion de Frio';
$lang['Feelslikewarmeralert'] = 'Sensacion de Calor';
$lang['Rainratealert'] = 'por/hr<span> Lluvia ';

//Earthquake Notifications
$lang['Regional'] = 'Terremoto regional';
$lang['Significant'] = 'Terremotos importantes';
$lang['Nosignificant'] = 'Terremotos no significativos';


//Main page
$lang['Barometer'] = 'Barometro';
$lang['UVSOLAR'] = 'UV | Datos Sol';
$lang['Earthquake'] = ' Terratremols';
$lang['Daynight'] = 'Dia & Noche Info';

$lang['Location'] = 'Ubicación';
$lang['Hardware'] = 'Hardware';
$lang['Rainfalltoday'] = 'Lluvia hoy';
$lang['Windspeed'] = ' Viento';
$lang['Winddirection'] = 'Direccion del Viento';
$lang['Measured'] = 'Medido hoy';
$lang['Forecast'] = 'Prevision';
$lang['Forecastahead'] = 'Pronostico proximo';
$lang['Forecastsummary'] = 'Resumen prevision';
$lang['WindGust'] = 'Vel. Viento | Rachas';

$lang['Hourlyforecast'] = 'Prevision horaria';
$lang['Significantearthquake'] = 'Terremotos importantes';
$lang['Regionalearthquake'] = 'Terremoto regional';
$lang['Average'] = 'Avisos';
$lang['Notifications'] = 'Notificacion de Alerta';
$lang['Indoor'] = 'Interior';
$lang['Today'] = 'Hoy';
$lang['Tonight'] = 'Noche';
$lang['Tomorrow'] = 'Mañana';
$lang['Tomorrownight'  = 'Mañana noche';
$lang['Updated'  = 'Actualizado';
$lang['Meteor' 'Meteorito Información';
$lang['WeatherStationNotifications'] = 'Notificaciones';  
$lang['Firerisk'] = 'Riesgo de incendio'
$lang['Localtime'] = 'Tiempo local'
$lang['Nometeor'] = 'Sin meteoritos';
$lang['LiveWebCam'] = 'Webcam en vivo';
$lang['Online'] = 'En linea';
$lang['Offline'] = 'fuera de linea';
$lang['Weatherstation'] = 'Estacion';
$lang['Cloudbase'] = 'Base Nubes';
$lang['uvalert'] = 'Precaucion UVINDEX';
$lang['Rainbow'] = 'Arcoiris';
$lang['Windy'] = 'Ventoso';

$lang['Max'] = 'Max';
$lang['Min'] = 'Min';

//earthquake TOP MODULE 10 July 2017
$lang['ModerateE'] = 'Terremoto moderado';
$lang['MinorE'] = 'pequeño Terremoto';
$lang['StrongE'] = 'Fuerte terremoto';
$lang['RegionalE'] = 'Regional';

//extras
$lang['SunPosition'] = 'Posición del sol';
$lang['Azimuth'] = 'Azimut';
$lang['Elevation'] = 'Elevación';
$lang['Conditions'] = 'Condiciones';
$lang['Cloudbase Height'] = 'Base de nubes';
$lang['Station'] = 'Estacion';

$lang['Detailed Forecast'] = 'Prevision detallada';
$lang['Summary Outlook'] = 'Resumen';

//Air Quality
$lang['Hazordous']= 'Condiciones perligrosas';
$lang['VeryUnhealthy']= 'Muy insalubre ';
$lang['Unhealthy']= 'Aire Insalubre';
$lang['UnhealthyFS']= 'Insalubre';
$lang['Moderate']= 'Moderada calidad del Aire ';
$lang['Good']= 'Buena calitat del Aire ';

?>
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: GeoAir.pt on January 18, 2019, 09:00:31 AM
Thank you very much
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 19, 2019, 02:02:34 AM
good morning

just a few css visual updates over the last week nothing new just rework of some existing modules to bring in line with new css appearance..
Wim kindly allowed me too use a variant of his WD version for the daylight module it is purely experimental and can be disabled in setup menu if not good for you however testing here in Istanbul it works as expected.. as always via

https://weather34.com/homeweatherstation/

as always a screenshot of changes

(https://res.cloudinary.com/brian-underdown/image/upload/v1547893295/19jan2_xwv6oa.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 19, 2019, 08:52:54 AM
90% done now most popular modules have been updated .

barometeralmanac.php, temperaturealmanac.php,windalmanac.php,rainfallalmanac.php and livedata.php updated ..


(https://res.cloudinary.com/brian-underdown/image/upload/v1547906072/al2_kmhlhf.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on January 19, 2019, 03:46:38 PM
90% done now most popular modules have been updated .

barometeralmanac.php, temperaturealmanac.php,windalmanac.php,rainfallalmanac.php and livedata.php updated ..


(https://res.cloudinary.com/brian-underdown/image/upload/v1547906072/al2_kmhlhf.png)

Brian,

Looking great! Might be a minor bug in the latest rainfallalmanac.php. I took a screen shot.

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 21, 2019, 06:55:37 AM
hello chuck

do you mean alltime value ? that was left in from my local version at https://weather34.com but  not a true bug but something for the next update in the API not sure when that will be as have some other values to be added also,,but for now removed it just a simple file replacement ..many thanks brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on January 21, 2019, 09:16:11 AM
hello chuck

do you mean alltime value ? that was left in from my local version at https://weather34.com but  not a true bug but something for the next update in the API not sure when that will be as have some other values to be added also,,but for now removed it just a simple file replacement ..many thanks brian

Brian,

Ok. No problem. I was referring to the "Max rainfall 1st January 1970".

Cheers!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 21, 2019, 09:30:28 AM
ha yes ive noticed that it seems NANOSD after 72 hours it sends out an in correct date hence 1970 quite a common output when timestamp is incorrect. it might be i have overlooked something in the API and used an incorrect method(string) it currently uses [rain0rate-nonzerotime:--]
which i may have misunderstood and interpreted as time since last rainrate
seems only good for 3 days if rain occurred in that period.. i will contact boris sometime next month i believe he is about take a vacation ..of course its been raining every other day since beggining of month so ive overlooked it..will sort it out soon..brian

edit misread what you typed the string is [rain0total-ymaxtime:--]
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: prestwickwx on January 21, 2019, 09:38:10 AM
ha yes ive noticed that it seems NANOSD after 72 hours it sends out an in correct date hence 1970 quite a common output when timestamp is incorrect. it might be i have overlooked something in the API and used an incorrect method(string) it currently uses [rain0rate-nonzerotime:--]
which i may have misunderstood and interpreted as time since last rainrate
seems only good for 3 days if rain occurred in that period.. i will contact boris sometime next month i believe he is about take a vacation ..of course its been raining every other day since beggining of month so ive overlooked it..will sort it out soon..brian

edit misread what you typed the string is [rain0total-ymaxtime:--]

I thought that "1970" was the default error. No problem - glad Boris is getting some time off.

Take care!

Chuck
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: atika01 on January 22, 2019, 02:01:37 AM
HI Brian,

I made the Hungarian translation
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 22, 2019, 03:33:34 AM
hello atilla

sorry i saw your pm yesterday sorry I will add it in sometime this week and send you a pm ..ps your name is that hungarian or turkish ?? atilla is a very common turkish name just curious..brian
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: atika01 on January 22, 2019, 03:39:09 AM
 :grin: This is a common Hungarian name.  :-)

Attila
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: atika01 on January 22, 2019, 03:53:30 AM
Brian,
I marked with arrows the words I could not find in the lang.en file.
Is this translated?
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 22, 2019, 04:01:10 AM
ok attila

unfortunately i took a big step back from translations a year or so ago and designing around languages other than english ..you can always overide the english direct if Hungarian is the primary language ...drop you a pm later in the week..many thanks brian..
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: atika01 on January 22, 2019, 04:04:23 AM
Thanks!
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 23, 2019, 01:40:21 AM
hi attila ive added the hungarian but it wont appear for a few weeks perhaps mid February(sincere apologies) there are some other enhancements and changes coming that need to be added to the API mostly based around sun module and  averages for various other data as now it will use the internal meteobridge data as opposed to scripts to determine sunrise-set moon rise etc .these values need to be added to the API output so will wait until Boris returns ..also newer data based on hourly averages and daily averages
again using meteobridge values .

for example the number is the corresponding template number
123 [th0temp-avg60:--]
152 [th0temp-davg:--]
153 [mbsystem-lunarsegment:--]
154 [mbsystem-lunarpercent:--]
155 [mbsystem-sunrise:--]
156 [mbsystem-sunset:--]
157 [mbsystem-daylength]
and so on this will reduce use of additional scripts therefore improve loading times as the calculations are done in the meteobridge itself and readily available to use via the MBrealtimeupload.txt.

make no mistake meteobridge is a very self sufficient effective weather station device there is not a lot you cant do ..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1548224858/rework34_lxj63p.png)


Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: atika01 on January 24, 2019, 02:02:33 AM
HI Brian,

Woooowww

Look forward to the development
Thanks for the help.
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 24, 2019, 03:43:48 AM
hello

im sure it will be worth the wait not much you cant do with css when you sit down and think it about it ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1548319353/suv_kbe8g8.png)
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: ConligWX on January 24, 2019, 08:20:23 AM
Looking good Brian! =D&gt;
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: KennyBKK on January 24, 2019, 11:40:11 AM
Installed this template and couldn't figured how to get the realtime date.  The historic chart and PurpleAir is working fine.  Have check the MBrealtimeupload.txt and it seems OK.

Any place that I can check?
http://kanok.net/pws
Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 24, 2019, 02:32:30 PM
hello ive set it up based on your wunderground signature details but there is a lot you need to add in yourself api keys , personal info etc dont forget the essential..



 [ You are not allowed to view attachments ]

Title: Re: HOMEWEATHERSTATION TEMPLATE with meteobridge options
Post by: weather34 on January 27, 2019, 08:08:44 AM
firstly many thank to Boris (docbee) for the update to the API ..you will need to reboot meteobridge device to get the new values to work with latest version of template(full upgrade too many changes and removals to simplify single file replacement) . there are now 158 different values produced in the MBrealtimeupload.txt file via the API

*METEOBRIDGE "MB-27012019" Version Download Information 27th January 2019 <br>
 *27th January 2019 *two options for sun position new files sun3.php and sun4.php includes an array of new data .. <br>
 *27th January 2019 *sun position module now uses meteobridge direct data (now included in MBrealtimeupload.txt output) includes new moonphases svg's,new luminance turns transparent as the luminance value decreases.. <br>
 *27th January 2019 *new livedata.php values .. <br>
 *27th January 2019 *new css for dark and light theme .. <br>
 *27th January 2019 *easyweathersetup.php removed unused settings and added new options (*old settings1.php will not work) .. <br>
 *27th January 2019 *barometer.php included fix/error for those using non standard metric configurations i.e mixing up imperial with metric (thanks to Ken True & Lightmaster).. <br>
 *27th January 2019 *weather34solaruv.php reworked for better color balance (also solaruvds.php for those who have no UV hardware).. <br>
 *27th January 2019 *new davis and NANOSD vectors for footer area.. <br>
 *27th January 2019 *new clock font Onuava Regular from daFont removes clock movement as time changes. standard monospace not used doesnt scale well.. <br>
 *27th January 2019 *eqlist.php updated with time of event positioned better.. <br>
 *27th January 2019 *includes new hungarian translation file and flag..
 *27th January 2019 *hardware information page includes new vectors ..

as always download via https://weather34.com/homeweatherstation/

(https://res.cloudinary.com/brian-underdown/image/upload/v1548594290/Screenshot_2019-01-27_Home_Weather_Station_METEOBRIDGE_DEMO_abfgsr.png)

(https://res.cloudinary.com/brian-underdown/image/upload/v1548596019/hardw_oa9it9.png)

(https://res.cloudinary.com/brian-underdown/image/upload/v1548594830/weather34console1_okdh9w.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 28, 2019, 02:27:22 AM
good morning

*IT IS IMPORTANT YOU REBOOT YOUR METEOBRIDGE DEVICE TO PICK NEW API DATA VALUES

all emails this morning issues are majority of device not being rebooted . if you are concerned that you don't want to get new version of firmware for any reason you can simply stick to current version using the internal meteobridge option.option shown below may vary on different devices .

(https://res.cloudinary.com/brian-underdown/image/upload/v1548660284/versionmb_ij31h3.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 29, 2019, 04:06:51 AM
good morning

firstly thank you too Josh(milehighweather) for some non metric observations have corrected average todays temp non metric output..
some minor changes to the sun3.php and sun4.php slowly losing faith in this approach and may revert back too 2017 module which did not have so many
issues.

hardware info page added vectors


 ..as always via https://weather34.com/homeweatherstation/

also just a visual thing for hardware info page slowly completing vector graphics of various supported meteobridge hardware ..more non davis hardware will appear as time goes bye..

(https://res.cloudinary.com/brian-underdown/image/upload/v1548752762/hardwarevectors_fgl5fv.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on January 29, 2019, 08:32:19 AM
good morning

firstly thank you too Josh(milehighweather) for some non metric observations have corrected average todays temp non metric output..
some minor changes to the sun3.php and sun4.php slowly losing faith in this approach and may revert back too 2017 module which did not have so many
issues.

hardware info page added vectors


 ..as always via https://weather34.com/homeweatherstation/

also just a visual thing for hardware info page slowly completing vector graphics of various supported meteobridge hardware ..more non davis hardware will appear as time goes bye..

(https://res.cloudinary.com/brian-underdown/image/upload/v1548752762/hardwarevectors_fgl5fv.png)

Brian,

Has sun2.php been abandoned? I noticed this morning that my Daylight/Darkness panel is blank. Worked fine yesterday.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 29, 2019, 08:58:11 AM
hello chuck

i will re introduce it i broke my thick skin rule of dabbling in code written by others and not spending a few days to digest how they actually work. no fault of the original code or developer merely my mistake not understanding exactly how they fully work so it looks not good for general use , i don’t particularly like the appearance of 2d context based scripts because they dont up scale well or offer a clean cut outline .. so i will revert the whole sun module back to orginals from 2017 which uses sundial34.js and pure css  . sorry for the inconvenience...brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on January 29, 2019, 09:18:10 AM
hello chuck

i will re introduce it i broke my thick skin rule of dabbling in code written by others and not spending a few days to digest how they actually work. no fault of the original code or developer merely my mistake not understanding exactly how they fully work so it looks not good for general use , i don’t particularly like the appearance of 2d context based scripts because they dont up scale well or offer a clean cut outline .. so i will revert the whole sun module back to orginals from 2017 which uses sundial34.js and pure css  . sorry for the inconvenience...brian

No problem. I have not updated to the 29th download, yet. Still using the 20th version.  I was using the sun2.php and I tried the sun1.php this morning, but both were blank.

Not a big issue - just thought I would let you know.

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 29, 2019, 03:48:25 PM
hello chuck

between milehighweather and myself we managed to crack the sun position module it was just updated it has sun3.php and sun4.php , he resides in your part of the world and was happy to say yes that works as one would expect..so for now i will hold out going back to sun1/2.php and see how this goes for me its me perfect and for milehighweather also the UK(PW) user who lets me update his site it is working perfectly there ..brian..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on January 29, 2019, 06:55:27 PM
good morning

firstly thank you too Josh(milehighweather) for some non metric observations have corrected average todays temp non metric output..
some minor changes to the sun3.php and sun4.php slowly losing faith in this approach and may revert back too 2017 module which did not have so many
issues.

hardware info page added vectors


 ..as always via https://weather34.com/homeweatherstation/

also just a visual thing for hardware info page slowly completing vector graphics of various supported meteobridge hardware ..more non davis hardware will appear as time goes bye..

(https://res.cloudinary.com/brian-underdown/image/upload/v1548752762/hardwarevectors_fgl5fv.png)


The images of the Davis Consoles are just simple static images, right? It'd be cool to get a page that's a virtual console and shows all the data like the console's screen with functional buttons beside it.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: PaulMy on January 30, 2019, 12:18:24 AM
Quote
The images of the Davis Consoles are just simple static images, right? It'd be cool to get a page that's a virtual console and shows all the data like the console's screen with functional buttons beside it.
I haven't added http://www.komokaweather.com/weather/davconvp2CU.php   or  http://www.komokaweather.com/weather/davconvueCU.php
to my PWS page http://www.komokaweather.com/pws/ but should be possible in some way...


Enjoy,
Paul
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 30, 2019, 12:21:13 AM
good morning

yes they are just vectors for display , diagrams etc .. the functional virtual console there is a beautiful example already been around a few years ,  paul at komoka ,ca has a good example running http://www.komokaweather.com/weather/davconvp2CU.php


edit :-) has i posted paul posted above ...perhaps liase with him if want to get it up and running ..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on January 30, 2019, 10:47:25 AM
hello chuck

between milehighweather and myself we managed to crack the sun position module it was just updated it has sun3.php and sun4.php , he resides in your part of the world and was happy to say yes that works as one would expect..so for now i will hold out going back to sun1/2.php and see how this goes for me its me perfect and for milehighweather also the UK(PW) user who lets me update his site it is working perfectly there ..brian..

Brian,

Just loaded the latest, 30 January. Looks great! sun3.php seems to be working fine.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 30, 2019, 11:46:43 AM
awesome chuck glad its good for you have milehighweather to thank for that one his idea needed just a bit of tweaking and voila.. tomorrow there is a simple replacement for windspeeddirection.php and just two css files no need to upgrade everything.basically reworked the bft area one line of code instead of 15 ...have a nice day...brian

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: SlowModem on January 30, 2019, 10:15:53 PM
good morning

firstly thank you too Josh(milehighweather) for some non metric observations have corrected average todays temp non metric output..
some minor changes to the sun3.php and sun4.php slowly losing faith in this approach and may revert back too 2017 module which did not have so many
issues.

hardware info page added vectors


 ..as always via https://weather34.com/homeweatherstation/

also just a visual thing for hardware info page slowly completing vector graphics of various supported meteobridge hardware ..more non davis hardware will appear as time goes bye..

(https://res.cloudinary.com/brian-underdown/image/upload/v1548752762/hardwarevectors_fgl5fv.png)


The images of the Davis Consoles are just simple static images, right? It'd be cool to get a page that's a virtual console and shows all the data like the console's screen with functional buttons beside it.

What is that white thing between the two ISSs?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on January 30, 2019, 11:22:45 PM
The white thing is a  Weatherflow Sky unit.  Haptic measurement of precip & wind.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 31, 2019, 12:22:13 AM
good morning

2the point is correct however i dont use it for either haptic rain or wind(dont ask me why or how does it perform) I just use the UV sensor which is gives  relatively good readings until i get a dedicated UV Davis 6490 sensor in March ..but i run i like this at the moment

(https://res.cloudinary.com/brian-underdown/image/upload/v1548911906/weather34hardware1_cfgqy7.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: atika01 on January 31, 2019, 06:22:03 AM
Brian ,
Thank you very much!
I can't do "Gust" language pain.
Couldn't I insert the correct code, would you help it?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 31, 2019, 06:23:34 AM
many thanks to atika01

for taking the time to add in the language code for the windspeed area of beaufort ..

windspeeddirection.php + two css light/dark themes files were updated to cater for the word/phrase length variation across languages ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1548933784/wind_e5v1ld.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 31, 2019, 06:30:05 AM
Brian ,
Thank you very much!
I can't do "Gust" language pain.
Couldn't I insert the correct code, would you help it?

all done just uploaded update (".$lang['Gust'].")

(https://res.cloudinary.com/brian-underdown/image/upload/v1548934138/wind2_utv15j.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: atika01 on January 31, 2019, 07:44:22 AM
Brian,
I managed to do the translation.
Feature a, windspeeddirection.php,
Insert, $ lang ['WindRun'] = 'Wind Run' into the language file;
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on January 31, 2019, 08:12:32 AM
hi

looks like a problem and not a quick add in has all language files need the phrase added $lang ['Wind Run'] = 'Wind Run'; and then need to adjust the css to find a balance across all languages some may push too far to the right ..example danish $lang ['Wind Run'] = 'Hastighed ?????'; this pushes too far to the right so need time to check all languages which means a few hours im ok with turkish and english but only other means is google translate and I dont trust that at all ..so best modify it for your own purpose for now..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: atika01 on January 31, 2019, 08:16:21 AM
Ok Brian,
I understand the problem.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: KennyBKK on February 01, 2019, 08:10:50 PM
Hi,

Just want to ask a newbie question.  When the new version available, how do I know what files have been changed and needed to be uploaded.  Or just upload everything over an old version (except settings1.php)?

Thanks,
Kanok
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 02, 2019, 08:58:40 AM
hello mr thailand ... :grin:

as much as people find it a pain in the backside the safest way is just do a full upagrade i.e replace all files .. long before the setup screen was introduced it meant editing the files directly i.e setting.php and i cant tell you how that was prone to typo errors,cut and paste blanks and whole lot of problems .it was like asking someone to edit a language they didn’t understand or ever used before ..since using setup screen method the risk of these problems dramatically were reduced. if you think about it the download is less than 4mb and at worst it should only take 5 minutes to set them all . as a safe precaution make a back up,of settings1.php on your desktop if you cant remember the things like database credentials,lat lon etc ..
one day in the future i will simplify the update process but for now it is what it is unfortunately.there are lots of little things id love todo but time isnt on my side at the moment and new things need testing in the real world on different server setups..have fun brian..



Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 04, 2019, 06:33:03 AM
*4th February 2019 * I had a feeling the new option for 12th module position would open up some requests for another position option so it is done two new optional positions with a selection of files that is available for those with particular hardware or not.no easy upgrade path as multiple files were updated to recognise the new options... (your wish is my command DM,HJ,Gerhard) ..

https://weather34.com/homeweatherstation/

(https://res.cloudinary.com/brian-underdown/image/upload/v1549280585/NEWPOS_x6b5ol.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 05, 2019, 10:25:24 AM
Brian,

My hosting company upgraded from PHP 7.0.29 to 7.2.14 and it appears that something changed. My template will no longer load all of the panels at one time. I am looking at the PHP info to see if I can find the issue.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 05, 2019, 11:14:48 AM
Brian,

My hosting company upgraded from PHP 7.0.29 to 7.2.14 and it appears that something changed. My template will no longer load all of the panels at one time. I am looking at the PHP info to see if I can find the issue.

Chuck

hello chuck

cant help much there probably something disabled in the upgrade or look for memory related extensions. and if you have a good cpanel probably be able to increase limits or enable yourself. fwiw its currently developed on 7.3.1 locally .

i cant remember your url not at home for next few weeks or more  just an ipad with me so i cant take a look unfortunately to see if anything obvious pops out..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 05, 2019, 02:01:50 PM
Brian,

My hosting company upgraded from PHP 7.0.29 to 7.2.14 and it appears that something changed. My template will no longer load all of the panels at one time. I am looking at the PHP info to see if I can find the issue.

Chuck

hello chuck

cant help much there probably something disabled in the upgrade or look for memory related extensions. and if you have a good cpanel probably be able to increase limits or enable yourself. fwiw its currently developed on 7.3.1 locally .

i cant remember your url not at home for next few weeks or more  just an ipad with me so i cant take a look unfortunately to see if anything obvious pops out..

No problem. I am getting some "failed to load 500 internal server errors" on the modules that fail to load. I will try and sort it out. Have a good trip!

https://myrtlebeachweather.org/hwst/index.php

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 06, 2019, 02:07:36 AM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 06, 2019, 10:54:21 AM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x

It is on a shared server, but was working fine on PHP 7.0. The Host upgraded to 7.2.14 and now the Virtual Memory Faults are causing the server to limit resources. I noticed that the MySQL status is showing some fragmentation. Trying to get them to look at the logs and reboot the MySQL server to see if that helps.

Best of luck with your hunting.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 06, 2019, 07:30:35 PM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x

It is on a shared server, but was working fine on PHP 7.0. The Host upgraded to 7.2.14 and now the Virtual Memory Faults are causing the server to limit resources. I noticed that the MySQL status is showing some fragmentation. Trying to get them to look at the logs and reboot the MySQL server to see if that helps.

Best of luck with your hunting.

Chuck

I've been using https://www.digitalocean.com/ for my site for over a year now. Instead of buying a virtual server that can only host a website, they give you a full virtual computer in whichever linux flavor you want. You choose whatever software you want on it, upgrade when/if you want, full ssh, sftp, ftp, etc access. As long as you know your way around linux to some degree or want learn enough to install basic website services, you get a whole lot more bang for your buck and complete freedom. When I started using them, they had a free trial for like a month or 2 (found a code that gave me $10 of free credit, lowest server costs $5 per month).

No, i'm not advertising for them or anything, just got fed up with crap website hosts last year and been happy so far with the freedom they offer.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 08, 2019, 12:01:52 AM
Found a typo in the latest update: in 'index.php' on line 133, its got
Code: [Select]
$position12e=='weather34uvsolar.php' instead of
Code: [Select]
$position12=='weather34uvsolar.php'
Also, the UV Guide has disappeared from this module too...
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 08, 2019, 12:38:44 AM
Found a typo in the latest update: in 'index.php' on line 133, its got
Code: [Select]
$position12e=='weather34uvsolar.php' instead of
Code: [Select]
$position12=='weather34uvsolar.php'
Also, the UV Guide has disappeared from this module too...

hello many thanks perhaps I now need glasses !

all fixed just update index.php if you are on latest .

thanks brian

https://weather34.com/homeweatherstation/

(https://res.cloudinary.com/brian-underdown/image/upload/v1549604138/fi_m0sh99.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 08, 2019, 09:13:29 AM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x

It is on a shared server, but was working fine on PHP 7.0. The Host upgraded to 7.2.14 and now the Virtual Memory Faults are causing the server to limit resources. I noticed that the MySQL status is showing some fragmentation. Trying to get them to look at the logs and reboot the MySQL server to see if that helps.

Best of luck with your hunting.

Chuck

I've been using https://www.digitalocean.com/ for my site for over a year now. Instead of buying a virtual server that can only host a website, they give you a full virtual computer in whichever linux flavor you want. You choose whatever software you want on it, upgrade when/if you want, full ssh, sftp, ftp, etc access. As long as you know your way around linux to some degree or want learn enough to install basic website services, you get a whole lot more bang for your buck and complete freedom. When I started using them, they had a free trial for like a month or 2 (found a code that gave me $10 of free credit, lowest server costs $5 per month).

No, i'm not advertising for them or anything, just got fed up with crap website hosts last year and been happy so far with the freedom they offer.

Thanks for the info. I may have to look for a new hosting company.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 08, 2019, 12:54:13 PM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x

Brian,

Curious, are you using IDCSOFT Shared server or VPS? Your site is very fast!

Looks like I may be looking around.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 08, 2019, 01:48:40 PM
Couple more typos with index.php:

1. The Webcam module on lines 129 and 143 link to webcam.php, but that webcam file is really cam.php
2. On lines 134,137, 148, and 151 missing <span class="yearpopup"> since that span was closed in the previous lines.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 08, 2019, 02:28:48 PM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x

Brian,

Curious, are you using IDCSOFT Shared server or VPS? Your site is very fast!

Looks like I may be looking around.

Chuck

ICDSOFT Business shared hosting $8.00 per month as I'm on renewal each year all i can say awesome support response, fee goes down every year all the options you need to maintain a site yourself. in the 20+ years I havent come across a better service in terms of support,reliability,uptime,flexiability and Ive tried a few over the years all the big ones or popular ones often the larger they were the more crap responses or standard responses or show me the money(upgrade) ill fix it for you ...

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 08, 2019, 03:04:42 PM
Couple more typos with index.php:

1. The Webcam module on lines 129 and 143 link to webcam.php, but that webcam file is really cam.php
2. On lines 134,137, 148, and 151 missing <span class="yearpopup"> since that span was closed in the previous lines.

thanks all fixed with others + additions just updated

 *7th February 2019 *fixes includes *temperature dewpoint color when above 24c *indoor temperature fixes color when above 28c !! *notifications moved down by 50px which prevents unit switching via top right ref Wim. removed unused options from easyweathersetup *moonphases now reside in shared.php *css dark light updated.
 *7th February 2019 *cloudbase added for Davis hardware users using currentconditionsmetar34davis.php ..
 *7th February 2019 *windspeeddirection.php removed the translated $lang['Calm'] the word "Calm" when shown in windcompass just simply doesnt fit when the word "Calm" is translated in some languages but not all just couldnt find a balance for design..
 *8th February 2019 *mooninfo.php updated to use meteobridge moon data now uses no javascript ..*fix index.php typo error tnx lightmaster..
 *8th February 2019 *windspeeddirection.php now includes m/s conversion to km/h ref Anders..also included color coding from green to red for wind gusts speeds at 30-50kmh or more / 18.6-31mph or more /8.3-13.8m/s or more ref milehighweather.
 *8th February 2019 *index.php more typos and webcam.php should be cam.php tnx lightmaster.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 09, 2019, 09:13:26 AM
hello chuck

sorry i cant help much its an internal server hosting thing might want to check they didnt move you to another server in the process , i recall way back in 2015 i was using a hosting service low cost $39 a year and i was on a shared hosting server with about 200 others they wouldnt allocate more resources and i had continous internal 500 errors once i moved to another host ICDSOFT and obviously more expensive the problem disappeared and trust me i spent days and night looking at all the code in the template back then which it was substantially a larger template in terms of code and i couldnt resolve and i only had one template running not multiple.. hope you manage to resolve it one way or another ..

i think if boris who made it run on a nanosd internally which theoretically was never manufactured for hosting a php framework let alone a web server there is hope..

trip..house hunting .. :-x

Brian,

Curious, are you using IDCSOFT Shared server or VPS? Your site is very fast!

Looks like I may be looking around.

Chuck

ICDSOFT Business shared hosting $8.00 per month as I'm on renewal each year all i can say awesome support response, fee goes down every year all the options you need to maintain a site yourself. in the 20+ years I havent come across a better service in terms of support,reliability,uptime,flexiability and Ive tried a few over the years all the big ones or popular ones often the larger they were the more crap responses or standard responses or show me the money(upgrade) ill fix it for you ...

That sounds like a good deal. Been with my present one for many years, but the tech support is terrible and the servers are slow.

Thanks for the info!

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 09, 2019, 12:43:45 PM
it what suits your pocket and what you justify as reasonable like everything in this day and age you get what pay for and often learn the hard way once you parted with your hard earned cash..
but weather templates are different end users like realtime updates in the minimum of seconds there hardware is capable of and generally want some visualisation or calculation done .most hosted shared account packages are more than adequate to serve up static or less frequent updated pages but weather templates very different .
i used to maintain a hotel portal mostly updated once a day at midnight to reflect exchange rates or price promotions that was 1000+ pages but low resource and chose off peak times most of the time only a few occasions did it struggle .however weather templates continuously access the server to perform a multiple of functions in very short intervals of 3 seconds to a minute 24/7 and multiply that by the amount of users at any one given time if you have a popular used page or website..shared hosting if you are sharing a hosted server where a a site offers music ,videos or high resolution graphics then you will get throttled as resources are generally shared amongst..

as for ICDSOFT nothing at all negative to say about them at all and i don't get referral discounts just give an honest opinion if they were crap i would say so to prevent anyone else fulling for pretty advertising blurb..

hope you resolve it in someway ..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 11, 2019, 09:02:48 AM
it what suits your pocket and what you justify as reasonable like everything in this day and age you get what pay for and often learn the hard way once you parted with your hard earned cash..
but weather templates are different end users like realtime updates in the minimum of seconds there hardware is capable of and generally want some visualisation or calculation done .most hosted shared account packages are more than adequate to serve up static or less frequent updated pages but weather templates very different .
i used to maintain a hotel portal mostly updated once a day at midnight to reflect exchange rates or price promotions that was 1000+ pages but low resource and chose off peak times most of the time only a few occasions did it struggle .however weather templates continuously access the server to perform a multiple of functions in very short intervals of 3 seconds to a minute 24/7 and multiply that by the amount of users at any one given time if you have a popular used page or website..shared hosting if you are sharing a hosted server where a a site offers music ,videos or high resolution graphics then you will get throttled as resources are generally shared amongst..

as for ICDSOFT nothing at all negative to say about them at all and i don't get referral discounts just give an honest opinion if they were crap i would say so to prevent anyone else fulling for pretty advertising blurb..

hope you resolve it in someway ..brian

Brian,

I am in the process of making the move to ICDSoft. Any suggestions regarding moving the MySQL database? Looks like I should be able to export the database using phpMyAdmin and import it on the new server, and then transfer the Template files, adjust the paths in meteobridge and in the easyweathersetup.php. MySQl version of old server is 5.6.41 and new server is 5.7.23. I am not sure how the export/import handles the Database Name, Username and Password.

I know MySQL is your specialty - any suggestions will be welcome.

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 11, 2019, 09:13:49 AM
hello chuck

phpmyadmin do an export however end of week drop me an pm/email i’ll happily sort it out for you if you get stuck.. we can also use the meteobridge method do a search around on a very good explanation by steve jenkins this gives you a better way of inserting data and cleaner method better overall daily appearance on charts .unfortunately from this evening im not around till end of week .if possible dont shutdown your old site until everything is up and running as per your liking...brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 11, 2019, 09:33:41 AM
hello chuck

phpmyadmin do an export however end of week drop me an pm/email i’ll happily sort it out for you if you get stuck.. we can also use the meteobridge method do a search around on a very good explanation by steve jenkins this gives you a better way of inserting data and cleaner method better overall daily appearance on charts .unfortunately from this evening im not around till end of week .if possible dont shutdown your old site until everything is up and running as per your liking...brian

I have setup a new domain name on IDCSoft, so the present site will still function until paths are changed in the template and on Meteobridge.

Thanks again,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 15, 2019, 05:31:54 PM
Quote
There will also be a dedicated Github repo for Meteobridge version allowing users to follow changes,report issues,suggest improvements

From the HomeWeatherStation (https://weather34.com/homeweatherstation/)'s change log. Downloading from a Github repo, would this mean easier updates by just pulling the changed files?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on February 15, 2019, 10:49:30 PM
Yes, if you install the template using 'git clone', then you can use 'git pull' to get the updates seamlessly.

I hope the Meteobridge git distribution also handles initial install and has a .gitignore setting to avoid clobbering your settings1.php file on updates (the CU-HWS distribution I host does that :) )   https://github.com/ktrue/CU-HWS

Keep in mind that the various versions of HWS are diverging and parts that work in one distribution won't necessarily work in another due to the tight combining of weather software type and template base.   The CU-HWS supports Cumulus/CumulusMX (and WeeWX, WeatherCat with appropriate realtime.txt generator templates). 
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 16, 2019, 06:58:12 AM
Yes, if you install the template using 'git clone', then you can use 'git pull' to get the updates seamlessly.

I hope the Meteobridge git distribution also handles initial install and has a .gitignore setting to avoid clobbering your settings1.php file on updates (the CU-HWS distribution I host does that :) )   https://github.com/ktrue/CU-HWS

Keep in mind that the various versions of HWS are diverging and parts that work in one distribution won't necessarily work in another due to the tight combining of weather software type and template base.   The CU-HWS supports Cumulus/CumulusMX (and WeeWX, WeatherCat with appropriate realtime.txt generator templates).

hello Ken

it is good to see your adding your own touches that was the whole idea and was very happy when you offered to maintain it , others who use it will reap the benefit knowing that the ideas are from trusted source..

Lightmaster Im not an expert more of a complete outright novice when it comes to Github and I find it hard work or just plain boring learning new methods
, i personally use a piece of software called Coda for mac it interacts directly to my website when i connect through it so i can update as i edit ,ive used that for a few years but its not free but has all the options of working php/css/jquery you would ever need and continuously gets newer plugins as the months go bye...https://panic.com/coda/plugins.php#Plugins

for the meteobridge version have a really nice guy taking over has good background in code and design professionally he basically will just
carry on as normal and apply fixes,updates ,enhancements once he his ready the main info page will reflect that .The release this afternoon is going to be the same version there on, it has been stripped and cleaned and reduced considerably in size a lot of painstaking hours went into hopefully getting it as good as it can be.. as for me I have had enough personally and I guess it is called writers block and failing eyesight :-) guess age catches up eventually....

so Ken look forward to see how it pans out perhaps add 12+4 modules :-)

(https://res.cloudinary.com/brian-underdown/image/upload/v1550318127/MBUB40-SE_a9dw7w.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 17, 2019, 05:31:30 AM
ok lightmaster your wish is my command , i installed the mac APP for github and created a local repo on mac desktop so any changes that  are made are  pushed to https://github.com/weather34/Meteobridge-Weather34-Template

it was NOT as tedious as I thought it would be,kind of imagined sitting there for a few hours trying to understand it but using the desktop app for mac it took about ten minutes to fathom out ..

note it will move to another repo in May ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1550399712/git_hv8d1n.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 17, 2019, 07:25:43 AM
ok lightmaster your wish is my command , i installed the mac APP for github and created a local repo on mac desktop so any changes that  are made are  pushed to https://github.com/weather34/Meteobridge-Weather34-Template

it was NOT as tedious as I thought it would be,kind of imagined sitting there for a few hours trying to understand it but using the desktop app for mac it took about ten minutes to fathom out ..

note it will move to another repo in May ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1550399712/git_hv8d1n.png)
Lol. I've played around with git a bit before, and it is surprisingly easy to get started with. One thing to note though is that git will not create empty folders, so you have to put something in there for it to create an empty folder, like an empty readme file. Look at chartswu for instance.

Also for settings files, upload them once and then add a .gitignore file for the settings files so it won't update people's settings back to the default.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 17, 2019, 07:46:51 AM
works somewhat different through the app , i did realize when using the browser for upload about folders especially there were lots of files but the app overcame that think that was what prompted me to install the app.. not seeing any chartswu folder empty?

anyway not going to spend much time on it the app is pretty self explanatory and easier to use..thats as far Im going with it..

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 01:38:44 PM
It looks like Purple Air is not updating for the Air Quality module on my we server. I just replaced the files with the latest from https://github.com/weather34/Meteobridge-Weather34-Template a few minutes ago to be sure it hasn't already been fixed. However it is working great on my weatherbridge NanoSD, which is only updating the files via reboot.

The rest of the modules look to be updating just fine.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 01:42:15 PM
Oh, it looks like the station ID isn't updating, and the one you were using for testing is being passed; Station ID:12194 Updated: 22:36

My ID in easyweathersetup is 23813.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 17, 2019, 01:57:42 PM
Oh, it looks like the station ID isn't updating, and the one you were using for testing is being passed; Station ID:12194 Updated: 22:36

My ID in easyweathersetup is 23813.

hello

a minimun of a working url would speed up resolving , i dont use purple air so i cant confirm use of ID ..thought ? perhaps manually kick the stationcron.php as that runs at interval periods ..purple air is not realtime as it is pulled from the API at intervals to prevent abuse of API ..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 02:07:13 PM
Makes sense, right now I have it internal until I get things looking right. I think you are right though, I think my 15 minute stationcron.php job is failing, and have confirmed purpleair.txt is not getting updated.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 02:41:52 PM
Interesting, when I test stationcron.php, I get a 500 ERROR response on Live Data tab.
"2019-02-17 11:36:50 Sent: 2019-02-17 11:36:50 http://pws01/PWS/mbdbfiles/stationcron.php: 2019-02-17 11:36:50 ERROR 500: Internal Server Error."

When I test the other 2 they both succeed.
http://pws01/PWS/mbdbfiles/stationcron.php
http://pws01/PWS/mbdbfiles/addtoyear.php
http://pws01/PWS/mbdbfiles/empty.php
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 17, 2019, 03:04:29 PM
hi

error 500 can be a multiple of things but rest assured it is server related could be permissions ? could be timeout slow response times when calling an external API from local based server ? anything residing in server error logs ?
but could be anything not easy to diagnose remotely and even worse without a url to diagnose..google may be your friend with a search phrase 500 Internal Server Error.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 03:13:11 PM
Yup, I'm digging, and have a suspicion.
So it is running stationcron.php, and is completing down to line 18 for sure, as ($output='../mbcharts/result.csv';) this file is getting updated, and has valid data in it. It definitely in not updating any of the files after that.

Now I'm gonna dig through some logs ;)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 07:05:38 PM
So I add error handling to php.ini, and no longer receive an error in the Live Data tab (that was where I had the 500 error before). I've turned on error reporting in stationcron.php, but do not see any errors in any of the logs in /var/logs, or when going to http://pws01/PWS/mbdbfiles/stationcron.php in browser.
I've also gone over all of the file folder and sql permissions. ](*,)
Gonna go do some other things for a bit and see if anything comes to me.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 17, 2019, 08:41:54 PM
Ha, fixed it  \:D/
I noticed something strange, when I ran php -v it reported 7.2 was running. When I went to my phpinfo page, it reported 7.0.
read about some compatibility that 7.0 had with things like fopen.
I decided I should just remove them all and replace with PHP7.3. Now my little RaspberryPi v3 webserver is happy.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on February 17, 2019, 11:36:15 PM
ok lightmaster your wish is my command , i installed the mac APP for github and created a local repo on mac desktop so any changes that  are made are  pushed to https://github.com/weather34/Meteobridge-Weather34-Template

it was NOT as tedious as I thought it would be,kind of imagined sitting there for a few hours trying to understand it but using the desktop app for mac it took about ten minutes to fathom out ..

note it will move to another repo in May ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1550399712/git_hv8d1n.png)
Lol. I've played around with git a bit before, and it is surprisingly easy to get started with. One thing to note though is that git will not create empty folders, so you have to put something in there for it to create an empty folder, like an empty readme file. Look at chartswu for instance.

Also for settings files, upload them once and then add a .gitignore file for the settings files so it won't update people's settings back to the default.
I recommend using a .gitignore file like
Code: [Select]
.DS_Store
#
# Ignore file for CU-HWS configuration
#
# ignore the downloaded json files (but not the wuupdate.php there
jsondata/*.txt

# ignore the graphics data file downloads
chartswudata/*

# ignore the demodata files
demodata/*

# ignore settings1.php as it contains the user's current configuration
settings1.php

# ignore all compare backup files
*.bak

I also added a initial-settings1.php (which was a copy of settings1.php sample configuration minus DarkSky/Metar keys). and added code to both index.php and easyweathersetup.php to create a settings1.php on the first invocation of either script if the file is missing (which it would be based on a git clone first install).
Code: [Select]
if(!file_exists('settings1.php')) {copy('initial-settings1.php','settings1.php'); }
Just helps make first install easier, and prevents clobbering a fully setup system with a subsequent 'git pull'.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 18, 2019, 01:21:04 AM
And there we go, posted live;
http://seamanville.com/pws
 :lol:
Now I'll just need to setup a git sync.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 18, 2019, 03:26:33 AM
good morning

glad your up and running ok , github is something i should have done years ago , i recall a guy with a username Ironhorseman telling me to set it up on Github i ignored his ideas regrettably or was just too preoccupied and never took the time to look at it closely.However if I had done think it would have been more beneficial for end users and a lot less to and throwing .so anyway its all done now and it actually makes it far easier to hand over .so there we go a step in the right direction ..

I also installed a IOS app called Codehub  https://itunes.apple.com/us/app/codehub-a-client-for-github/id707173885?mt=8
installed for my iPads and tested the notifications think thats quite cool for end users and for also editing files on the fly .....

anyway have fun hope its of use and gives you a pleasant view of the weather ...brian

app i installed

(https://res.cloudinary.com/brian-underdown/image/upload/v1550478766/githubapp_k6ydx3.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Atlantic21 on February 19, 2019, 02:36:55 PM
Hi looking to change the Davis icon the one that sits at the bottom right hand corner from pro to vue not sure on how to do this  [ You are not allowed to view attachments ]

many thanks for help
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 19, 2019, 05:54:43 PM
Hi looking to change the Davis icon the one that sits at the bottom right hand corner from pro to vue not sure on how to do this  [ You are not allowed to view attachments ]

many thanks for help

It doesn't seem to change based on which Davis hardware you set it for, but you can manually change it. Open up index.php and look for the line at the bottom that says:
Code: [Select]
img src="img/designedfor-1.svg"And change it to:
Code: [Select]
img src="img/designedfordavisvue.svg"
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 20, 2019, 12:58:00 AM
good morning

hopefully screenshot shows below using the setup screen to show a VUE hardware svg ..this is using the current master version uploaded to GITHUB a few days ago .in the post above it shows you the various options and what it displays in the footer . I was going to hardware like fine offset clones but so many variants would take me a few months to create an svg for each of the models ..
if you get stuck feel free to drop a PM or there are plenty of experienced users here who can help out and do follow the updates via https://github.com/weather34/Meteobridge-Weather34-Template you can generally update with single files if you on the master version as each change is listed and all you need to todo is take the file that was updated but do make sure you are on the master version.
as lightmaster pointed out in PM "Also, GitHub does a great job of showing you the changes made in a commit and in a pull request. If you click on "files changed" after you click on a pull request, it'll show you every change made."

screenshot below shows the vue in my demo ..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1550641897/mbvue_azgo7p.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Atlantic21 on February 20, 2019, 02:27:56 AM
Brian thanks again for help it looks like i had 3 options for Davis Vantage Vue tried another one from the drop down list all is good now

Richard
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 20, 2019, 02:35:57 AM
good stuff always a bit of a learning curve falls into place sooner or later ... have a good day..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 22, 2019, 05:07:16 AM
new files/icons added for the new API from weather underground .you will not be able to use these just yet until WU starts issuing api keys once they are readily available there will be option to use either darksky or the new limited 5 day forecast from WU..but scripts are all done its just standard json nothing complex...

https://github.com/weather34/Meteobridge-Weather34-Template

its not much different from darksky somewhat shorter forecast periods limited to 5 day but can be broken down into day/night periods ..personally nothing to get excited about and when the keys start being issued in general you can try it out .

there will be a few options to setup in the setup screen i.e units ,format , it will pull the location from the original lat lon .so it will have a 3 day module and 8 day/night period module

https://api.weather.com/v3/wx/forecast/daily/5day?geocode=$lat,$lon&language=en-US&format=json&units=$unit&apiKey=$apiwukey


returns something similar to this

Code: [Select]
{"dayOfWeek":["Friday","Saturday","Sunday","Monday","Tuesday","Wednesday"],"expirationTimeUtc":[1550819220,1550819220,1550819220,1550819220,1550819220,1550819220],"moonPhase":["Waning Gibbous","Waning Gibbous","Waning Gibbous","Waning Gibbous","Last Quarter","Waning Crescent"],"moonPhaseCode":["WNG","WNG","WNG","WNG","LQ","WNC"],"moonPhaseDay":[18,19,20,21,22,23],"moonriseTimeLocal":["2019-02-22T22:18:10+0300","2019-02-23T23:27:54+0300","","2019-02-25T00:36:09+0300","2019-02-26T01:40:48+0300","2019-02-27T02:43:06+0300"],"moonriseTimeUtc":[1550863090,1550953674,null,1551044169,1551134448,1551224586],"moonsetTimeLocal":["2019-02-22T09:44:31+0300","2019-02-23T10:16:46+0300","2019-02-24T10:48:52+0300","2019-02-25T11:21:59+0300","2019-02-26T11:58:19+0300","2019-02-27T12:38:11+0300"],"moonsetTimeUtc":[1550817871,1550906206,1550994532,1551082919,1551171499,1551260291],"narrative":["Mix of sun and clouds. Highs 9 to 11C and lows 2 to 4C.","Rain/snow mix, windy. Highs 4 to 6C and lows 0 to 2C.","Rain and snow showers early; windy. Highs 3 to 5C and lows 1 to 3C.","Clouds giving way to sun . Highs 4 to 6C and lows 1 to 3C.","Mix of sun and clouds. Highs 6 to 8C and lows 2 to 4C.","Showers possible. Highs 5 to 7C and lows 2 to 4C."],"qpf":[7.8,12.8,0.8,0.0,0.64,2.0],"qpfSnow":[0.0,0.0,0.0,0.0,0.0,0.0],"sunriseTimeLocal":["2019-02-22T07:51:12+0300","2019-02-23T07:49:45+0300","2019-02-24T07:48:16+0300","2019-02-25T07:46:47+0300","2019-02-26T07:45:17+0300","2019-02-27T07:43:45+0300"],"sunriseTimeUtc":[1550811072,1550897385,1550983696,1551070007,1551156317,1551242625],"sunsetTimeLocal":["2019-02-22T18:48:19+0300","2019-02-23T18:49:29+0300","2019-02-24T18:50:40+0300","2019-02-25T18:51:49+0300","2019-02-26T18:52:59+0300","2019-02-27T18:54:08+0300"],"sunsetTimeUtc":[1550850499,1550936969,1551023440,1551109909,1551196379,1551282848],"temperatureMax":[10,5,4,5,7,6],"temperatureMin":[3,1,2,2,3,3],"validTimeLocal":["2019-02-22T07:00:00+0300","2019-02-23T07:00:00+0300","2019-02-24T07:00:00+0300","2019-02-25T07:00:00+0300","2019-02-26T07:00:00+0300","2019-02-27T07:00:00+0300"],"validTimeUtc":[1550808000,1550894400,1550980800,1551067200,1551153600,1551240000],"daypart":[{"cloudCover":[67,99,100,99,94,70,66,52,61,84,74,46],"dayOrNight":["D","N","D","N","D","N","D","N","D","N","D","N"],"daypartName":["Today","Tonight","Tomorrow","Tomorrow night","Sunday","Sunday night","Monday","Monday night","Tuesday","Tuesday night","Wednesday","Wednesday night"],"iconCode":[30,12,5,5,5,27,30,29,30,45,11,29],"iconCodeExtend":[3000,1210,510,510,6414,2700,9003,2900,3000,7100,1100,2900],"narrative":["Mostly cloudy skies this morning will become partly cloudy this afternoon. High around 10C. Winds WSW at 10 to 15 km/h.","Cloudy with periods of rain. Becoming windy overnight. Low 3C. NNW winds at 5 to 10 km/h, increasing to 30 to 50 km/h. Chance of rain 90%. Rainfall near 6mm.","Windy. Rain...mixing with snow in the afternoon. Colder. High near 5C. Winds NNE at 40 to 55 km/h. Chance of rain 90%.","Windy...cloudy with rain and snow. Low 1C. Winds NNE at 40 to 55 km/h. Chance of precip 90%.","Periods of rain and snow showers in the morning. Windy and remaining overcast in the afternoon. High 4C. Winds NNE at 30 to 50 km/h. Chance of precip 50%.","Mainly cloudy. Low 2C. Winds NNE at 25 to 40 km/h.","Cloudy skies early, then partly cloudy in the afternoon. High around 5C. Winds NE at 25 to 40 km/h.","Partly cloudy early with increasing clouds overnight. Low 2C. Winds NNE at 15 to 30 km/h.","Partly cloudy skies. High 7C. Winds N at 15 to 25 km/h.","Cloudy in the evening, then off and on rain showers after midnight. Low 3C. Winds NNW at 15 to 25 km/h. Chance of rain 40%.","Cloudy with occasional rain showers. High 6C. Winds N at 25 to 40 km/h. Chance of rain 60%.","A few clouds from time to time. Low 3C. Winds N at 25 to 40 km/h."],"precipChance":[0,90,90,90,50,10,10,20,20,40,60,20],"precipType":["rain","rain","rain","precip","precip","precip","rain","precip","rain","rain","rain","precip"],"qpf":[0.0,7.8,7.09,5.71,0.8,0.0,0.0,0.0,0.0,0.64,1.9,0.0],"qpfSnow":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"qualifierCode":[null,null,"Q755",null,null,null,null,null,null,null,null,null],"qualifierPhrase":[null,null,"Colder.",null,null,null,null,null,null,null,null,null],"relativeHumidity":[75,84,83,84,79,75,67,77,72,78,72,75],"snowRange":["","","","","","","","","","","",""],"temperature":[10,3,5,1,4,2,5,2,7,3,6,3],"temperatureHeatIndex":[9,7,4,2,4,3,5,4,7,5,6,5],"temperatureWindChill":[4,-1,-4,-5,-5,-3,-3,-2,-2,0,0,-1],"thunderCategory":["No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder"],"thunderIndex":[0,0,0,0,0,0,0,0,0,0,0,0],"uvDescription":["Moderate","Low","Low","Low","Low","Low","Moderate","Low","Moderate","Low","Moderate","Low"],"uvIndex":[3,0,1,0,2,0,3,0,3,0,3,0],"windDirection":[237,331,24,22,25,26,34,29,5,337,1,8],"windDirectionCardinal":["WSW","NNW","NNE","NNE","NNE","NNE","NE","NNE","N","NNW","N","N"],"windPhrase":["Winds WSW at 10 to 15 km/h.","NNW winds at 5 to 10 km/h, increasing to 30 to 50 km/h.","Winds NNE at 40 to 55 km/h.","Winds NNE at 40 to 55 km/h.","Winds NNE at 30 to 50 km/h.","Winds NNE at 25 to 40 km/h.","Winds NE at 25 to 40 km/h.","Winds NNE at 15 to 30 km/h.","Winds N at 15 to 25 km/h.","Winds NNW at 15 to 25 km/h.","Winds N at 25 to 40 km/h.","Winds N at 25 to 40 km/h."],"windSpeed":[14,33,45,44,34,30,30,25,18,19,32,28],"wxPhraseLong":["Partly Cloudy","Rain/Wind","Rain/Snow/Wind","Rain/Snow/Wind","AM Rain/Snow Showers/Wind","Mostly Cloudy","AM Clouds/PM Sun","Partly Cloudy","Partly Cloudy","Showers Late","Showers","Partly Cloudy"],"wxPhraseShort":["P Cloudy","Rain/Wind","Rn/Snw/Wind","Rn/Snw/Wind","AM Rain/Snow","M Cloudy","AM Clouds","P Cloudy","P Cloudy","Shwrs Late","Showers","P Cloudy"]}]}
 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 23, 2019, 02:24:56 AM
good morning

for those that want to use WU forecast data when the API keys are available please drop a pm i will forward on the files needed to pull the forecast.
its worth noting it does not offer hour forecast daily data from what I can gather and is limited to 5 day though i did see 6 days appear. also note
sometimes the API produces a null for the current day often later in the day so there is a fallback to cater for this . so it will look like below and thats about as much as you can do with it I think , there are some references to thunder and other little tidbits in the API but how useful they are for you remains to be seen .

(https://res.cloudinary.com/brian-underdown/image/upload/v1550906350/WU3_rl7zkz.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 23, 2019, 09:54:18 AM
good morning

for those that want to use WU forecast data when the API keys are available please drop a pm i will forward on the files needed to pull the forecast.
its worth noting it does not offer hour forecast daily data from what I can gather and is limited to 5 day though i did see 6 days appear. also note
sometimes the API produces a null for the current day often later in the day so there is a fallback to cater for this . so it will look like below and thats about as much as you can do with it I think , there are some references to thunder and other little tidbits in the API but how useful they are for you remains to be seen .

(https://res.cloudinary.com/brian-underdown/image/upload/v1550906350/WU3_rl7zkz.png)

Brian,

WU has been talking about the new API keys for PWS in their Forum, but I have not heard anything specific. I did send an email to get on the list for the free API. Looks like it will have some advantages and some disadvantages when compared to Dark Sky. Nice to have a choice within your template.
 
By the way, did you see any anomalies in the MBrealtimeupload.txt file I sent you (" Max Rainfall 31st December 1969"). The only thing I have noticed is a large number for "Rain Total ALL" in my Meteobridge History. I am not sure what Rain Total ALL represents - there is no time/date associated with it.

Cheers,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 23, 2019, 10:23:53 AM
hello chuck

wu api key not sure how i got a key or access , i never emailed them neither requested anything or had any direct contact with any officials etc , i just logged into normal account and it said generate key and that was it .
not sure what the advantages are to be honest i dont see any at all in comparison to darksky all the additional wu services/ extras need payment to subscription . but then again some may prefer a 5 day forecast from wu .no current conditions in terms of weather up in the sky the current conditions seem to be station data you upload so as we already have that data via meteobridge data you can see the wu api is rather limited..as we say in uk its a bit of damp squid ...

your rainfall total icant reproduce it ,i did try last weekend ill take another look see if can spot it..from a very cold and snowy istanbul have a great weekend...brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 23, 2019, 01:22:11 PM
ok chuck

found it your MBrealtimeupload.txt has no time/date for the field just two -- (dashes) might want to check in meteobridge history data tab ?? thats all i can think off unless anyone else has any ideas see screenshot attached I used your MBrealtimeupload.txt just now ...

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on February 23, 2019, 01:43:05 PM
. . . shortened . . .
 The only thing I have noticed is a large number for "Rain Total ALL" in my Meteobridge History. I am not sure what Rain Total ALL represents - there is no time/date associated with it.
Cheers,
Chuck
For all non-cumulative sensors the ALL value has a date-time, as the "all"  stands for "All time". F.i. "highest temperature all time", that needs a date when it happened.
But rain sensors a.s.o. are different: Meteobridge wiki:
Quote
Sensors that deliver cumulated data like "rain0total", "sol0evo" and "sun0total" should be used with the following selectors only: hoursum, daysum or sumday, monthsum, yearsum, allsum, ydaysum: selects summarized delta values from today, this month, this year, all time or yesterday. Example: "rain0total-sumday" is todays rain fall.
F.i. rain0total-allsum" is all rain measured since the first start of the meteobridge, and there is no single date/time for a period. 

You can check it at the live data tab of you Meteobridge.
Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 23, 2019, 02:24:01 PM
Brian/Wim,

Thank you guys for the info.

Brian,

I checked the 73.2 data point and it is the Total Rainfall for the year 2019, so it would not have an exact date. I looked at your station and the Rain Almanac says "Max Rainfall 3rd January 2019", but your graph for 2019 shows January 11 as the largest rainfall.

My largest Rainfall occurred on January 1, 2019 - looking at my graph.

Still a mystery - I will check my History to see if there are any other missing dates.

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 23, 2019, 03:29:07 PM
ok chuck removed the line that outputs that seems not useful or prone to error have to look for an alternative way wonder where my 3rd Jan comes from ? . tnx wim for the info...
updated rainfallalmanac.php

https://github.com/weather34/Meteobridge-Weather34-Template

brian


Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 23, 2019, 04:20:28 PM
ok chuck removed the line that outputs that seems not useful or prone to error have to look for an alternative way wonder where my 3rd Jan comes from ? . tnx wim for the info...
updated rainfallalmanac.php

https://github.com/weather34/Meteobridge-Weather34-Template

brian

Yep. That works too.

Have a good weekend and enjoy the snow.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: KennyBKK on February 24, 2019, 01:05:21 AM
Hi Brian,

I pulled the latest Weather34 from Github this morning and upload to my web server.  Found that the display has error as in attached.  The drop down menu on the left is shown permanently while the one on the right is flashing on and off. Both Firefox and Chrome are the same.  Do I need to fine tune anything?

Kanok
kanok.net/pws
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 24, 2019, 01:34:43 AM
good morning

i just downloaded and installed the version from github install took a minute and tested with chrome/firefox no issues seen.

did you use an old settings1.php ?
did all files get updated ?
are any folders/files have locked down  file/folder permissions .

screenshot of firefox/chrome below

(https://res.cloudinary.com/brian-underdown/image/upload/v1550989904/c_aongaf.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on February 24, 2019, 02:50:49 AM
Hi Brian,

I pulled the latest Weather34 from Github this morning and upload to my web server.  Found that the display has error as in attached.  The drop down menu on the left is shown permanently while the one on the right is flashing on and off. Both Firefox and Chrome are the same.  Do I need to fine tune anything?

Kanok
kanok.net/pws
This is inside your html
Code: [Select]
// position12
var refreshId;$(document).ready(function(){solar()});function solar(){$.ajax({cache:false,success:function(a){$("#solar").html(a);setTimeout(solar,120000)},type:"GET",url:''})};

//last module
var refreshId;$(document).ready(function(){dldata()});function dldata(){$.ajax({cache:false,success:function(a){$("#dldata").html(a);setTimeout(dldata,120000)}, type:"GET",url:""})};

Check your easyweathersetup. You did not select the last two positions or the entries get wiped out for some reason.

Because of those empty entries,  the default script: "index.php" is loaded in those two blocks.
They also have those two empty entries  and that loading of the default script will go on forever.

Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 24, 2019, 08:18:02 AM

hello chuck

go here https://www.wunderground.com/member/api-keys  and make sure your logged into your wunderground account and see if you can generate a key or keep trying daily...
if and when let me know ill send you a new version which has new wunderground options in the setup screen ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1551016742/wuopt_ue47fb.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: KennyBKK on February 24, 2019, 09:18:04 AM
Hi,

I use the old settings1.php.  Now I load the new one with my info.  Also some of the php had 0644 permission.  Now fixed.

Thanks

good morning

i just downloaded and installed the version from github install took a minute and tested with chrome/firefox no issues seen.

did you use an old settings1.php ?
did all files get updated ?
are any folders/files have locked down  file/folder permissions .

screenshot of firefox/chrome below

(https://res.cloudinary.com/brian-underdown/image/upload/v1550989904/c_aongaf.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 24, 2019, 07:23:06 PM
Thanks for all the help, and the cool template!!!

Looks like I'm pretty well set up now.
Components:
Davis VP2, upgraded to Plus, upgraded with Daytime Aspiration
Moteino receiving ID#1 and ID#3, and relaying to console as ISS ID#2
Meteobridge NanoSD (until Meteobridge Pro's are available in the US again)
Raspberry Pi V3 hosting weather34 template site on PHP and MySQL
Sitting:
Rain/Temp/Humidity @5 feet in yard ID#3, Anemometer @13 feet above peak, UV/Solar on roof through wind wireless transmitter ID#1.
http://seamanville.com/pws
 [tup]
Still learning, but I'm getting there, and having fun on the way. \:D/
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 24, 2019, 09:59:09 PM

hello chuck

go here https://www.wunderground.com/member/api-keys  and make sure your logged into your wunderground account and see if you can generate a key or keep trying daily...
if and when let me know ill send you a new version which has new wunderground options in the setup screen ..

(https://res.cloudinary.com/brian-underdown/image/upload/v1551016742/wuopt_ue47fb.png)

Brian,

Thanks for the info. I did manage to generate a key.

I will be happy to test it out.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 02:21:00 AM
Thanks for all the help, and the cool template!!!

Looks like I'm pretty well set up now.
Components:
Davis VP2, upgraded to Plus, upgraded with Daytime Aspiration
Moteino receiving ID#1 and ID#3, and relaying to console as ISS ID#2
Meteobridge NanoSD (until Meteobridge Pro's are available in the US again)
Raspberry Pi V3 hosting weather34 template site on PHP and MySQL
Sitting:
Rain/Temp/Humidity @5 feet in yard ID#3, Anemometer @13 feet above peak, UV/Solar on roof through wind wireless transmitter ID#1.
http://seamanville.com/pws
 [tup]
Still learning, but I'm getting there, and having fun on the way. \:D/

good morning

we never stop learning and if your having fun we did something right did we not ? ...have a great day
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 02:39:11 AM
good morning chuck


i updated the github repo https://github.com/weather34/Meteobridge-Weather34-Template as it now looks like a few were able to generate a key overnight according to my inbox....

due to the new options in the easyweathersetup any old settings1.php will not work . it is critical as the new settings1.php has new position options for modules when these values are not present has kenny from Thailand discovered it will break template..

in the setup the use of weather underground forecast is optional you choose between darksky or weather underground so if you dont have a new weather underground key you can still darksky..

to obtain a weather underground key go here https://www.wunderground.com/member/api-keys and be logged in with normal PWS account and generate a key ..

please note for now Ive only set it for english language once i get the chance and sit down and test in other languages ill add the option to select from the array of languages available but will probably just use languages the template attempts to support ...i make no secret other languages apart from english often break the template and it is primarily designed in english others become a bit of a nightmare to keep everything aligned ..i only speak turkish or english beyond that I have no clue and even in turkish some phrases are twice the length of the english phrase..so i apologise in advance for not implementing or focusing languages other than english..

files updated

livedata.php
css folder -both dark/light css files + folder wu icons
forecast3wu.php
outlookwu.php
stationcron.php
easyweathersetup.php

as previous post all updates are now via github https://github.com/weather34/Meteobridge-Weather34-Template

brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 25, 2019, 09:24:32 AM
good morning chuck


i updated the github repo https://github.com/weather34/Meteobridge-Weather34-Template as it now looks like a few were able to generate a key overnight according to my inbox....

due to the new options in the easyweathersetup any old settings1.php will not work . it is critical as the new settings1.php has new position options for modules when these values are not present has kenny from Thailand discovered it will break template..

in the setup the use of weather underground forecast is optional you choose between darksky or weather underground so if you dont have a new weather underground key you can still darksky..

to obtain a weather underground key go here https://www.wunderground.com/member/api-keys and be logged in with normal PWS account and generate a key ..

please note for now Ive only set it for english language once i get the chance and sit down and test in other languages ill add the option to select from the array of languages available but will probably just use languages the template attempts to support ...i make no secret other languages apart from english often break the template and it is primarily designed in english others become a bit of a nightmare to keep everything aligned ..i only speak turkish or english beyond that I have no clue and even in turkish some phrases are twice the length of the english phrase..so i apologise in advance for not implementing or focusing languages other than english..

files updated

livedata.php
css folder -both dark/light css files + folder wu icons
forecast3wu.php
outlookwu.php
stationcron.php
easyweathersetup.php

as previous post all updates are now via github https://github.com/weather34/Meteobridge-Weather34-Template

brian

Brian,

Just updated the template. The WU Forecast is not showing up in Panel 6. It just defaults to your Dark Sky demo data. I checked my settings1.php and everything looks good. The forecast3wu.php is selected. I also took a look at the index.php and I don't see any option statements for Panel 6. I ran the outlookwu.php and forecast3wu.php directly and they seem to be working. Just not showing in the index.php

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 09:54:18 AM
index.php & updater.php ???

looks like that didnt push earlier just tried again looks like it went this time ..

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 10:07:00 AM
learnt something new the push needed a description.. index.php and updater.php didnt upload earlier should be fine now..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 25, 2019, 10:15:12 AM
OK. Looks like that fixed it. API seems to be working.

Strange, I received an email, yesterday, from WU indicating that they would let me know when the new API was available - a week or so. She did say something about a beta. So we will see.

Learn something new about Github everyday.

Best wishes,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 10:46:58 AM
yes beta is the primary word if it goes wonky you can fallback to the darksky without much difficulty..glad its ok .

brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 25, 2019, 11:02:31 AM
yes beta is the primary word if it goes wonky you can fallback to the darksky without much difficulty..glad its ok .

brian

Guess I spoke too soon. I have not see a Forecast time update, yet. It has been over one hour.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 11:09:24 AM
not sure the API service updates hourly check the file time of jsondata/wuforecast.txt should highlight when it was last written
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 25, 2019, 11:17:18 AM
Yes. The file did update. The clock in the module did not. Yours seems to be fine.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 25, 2019, 11:26:57 AM
ok got it ..just pushed forecast3wu.php update to reflect time updated :-) told you more eyes the better :-)

also updated outlookwu.php

also update the two css files ...basically also added the thunderstorm index and category . so if thunderstorm index is greater the 0 in the 3 day module it will show thunderstorm description .

in the outlook module full description is shown

screenshot is dummy data 
but thats what will appear if lightning is forecasted based in index of 0-5 ive shortened the descriptions to fit in the 3 day area


0 = "Shows nothing";
1 = "Lightning Risk";
2 = "Lightning Storm";
3+ = "Severe Lightning";


 [ You are not allowed to view attachments ]


Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 25, 2019, 11:40:12 AM
Brian,

OK. Got it - I updated all of your recent changes. The forecast time updated.

The thunder data is a nice addon. Will be interesting to see if WU uses it regularly.

Great new addition!

Chuck

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on February 25, 2019, 10:18:01 PM
Seems not everyone gets access to the new WU API keys yet :( Brian, will the default WU API key in the settings1.php file work, or is that a fake key just to have something in that variable?

(https://i.imgur.com/ysiu4i2.jpg)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on February 26, 2019, 12:39:38 AM
They are still testing the API issuance and only the invited folks (via an email from Victoria) will be able to get keys at this time.
The page to request/issue the page has deep problems.. only works (for the invited) with some browsers.  It wouldn't work with Firefox for me at all, finally worked with Edge.  Crome also wouldn't work.

Be patient.. they will finish testing and do a general release soon.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 26, 2019, 01:34:42 AM
Brian,

OK. Got it - I updated all of your recent changes. The forecast time updated.

The thunder data is a nice addon. Will be interesting to see if WU uses it regularly.

Great new addition!

Chuck

good morning chuck

little addition to outlookwu.php added color coding for uvindex and also has a low,moderate,high etc description alongside. will add to forecast3wu.php later ..


lightmaster think ken explained that for you and yes it is a dummy key ..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 26, 2019, 05:56:37 AM
files updated via https://github.com/weather34/Meteobridge-Weather34-Template

1.airquality.php
2.indoortemperature.php
3. css files dark/light
4.forecast3wu.php
5.outlookwu.php
6.barometer.php
7.weather34uvsloar.php

additional stuff was added

barometer.php requested for metric users now displays in two decimals places for refined observations of changes
forecast3wu/outlookwu.php both files color coded for uvindex/temperature and additional thunderstorms if present in the forecast
airquality additional phrase added
indoortemperature additional phrase
weather34uvsloar  additional phrase

css files dark/light updated to reflect colour values and phrases

(https://res.cloudinary.com/brian-underdown/image/upload/v1551178254/mb1_tnwyav.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 26, 2019, 06:52:29 AM
yes Gand :-) all added ...

two files updated https://github.com/weather34/Meteobridge-Weather34-Template

metarnearby.php metar34get.php now includes additional m/s readings in wind area

(https://res.cloudinary.com/brian-underdown/image/upload/v1551181784/gand_n8v5h8.png)


Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on February 26, 2019, 07:27:13 AM
Hi Brian

That was prompt.

Working perfect.

Thanks again.

Gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on February 26, 2019, 12:54:12 PM
Also confirmed, looks good.
I have a WU API key, and updated my site a couple minutes ago.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on February 27, 2019, 09:01:56 AM
Brian,

The WU "fine tuning" looks great! I suspect more interest in WU - Victoria has now sent out the official email directing PWS members to the new API.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on February 27, 2019, 01:31:20 PM
  Hello, Brian.
Recently started using Your template. It's very thoughtful. Are satisfied, and setting the template and instructions for the meterbridge is simple and straightforward.
  Although there are a couple of small questions:
- do you plan to add more language packs? I am particularly interested in Russian. I am ready to assist in translation and testing.
- for the metric system, which is often used on the territory of Russia, is more characteristic of mercury column millimeters for atmospheric pressure,
can we count on their appearance in the future?
  Thanks.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 27, 2019, 01:55:13 PM
Hello Alexey

Firstly i apologise for not responding to your emails/pm in a timely manner i only allocate myself an hour each morning to do little things with the template.

adding Russian is not a problem , sometime ago it did support Russian however I'm not sure it was translated by a native Russian speaker as i recall one user many months ago emailing me to say there are some wrong phrases so i had a feeling it done by google translate or something .
I only speak Turkish or english(native) so i cant help or have the ability to spot any mis translated words.
also I find designing for other languages other than english quite time consuming as the template is primarily designed in english.
so send along a translated file from the languages folder you will see a file called lang.blank.php simply translate that file however be aware I have focused at all on languages for at least a year so not all things will appear translated..though i think darksky supports RU and also the newer WU api ..

your other question having pressure displayed in  mmHg again this can be done but its not a quick add-on ..need to convert in different areas (files)
max/min/trends/charts/metar/easyweathersetup/shared.php/livedata.php  the easy way for you would be just hard code using a simple conversion from the default hPa *0.75006156130264 in for your own use ive never had any request for it in the past..unlikely i can do this as Im pretty much handing everything over including this meteobridge version(hence the switch to github) by mid april Im finished so between now and then ill just add on the simple things or things that are relatively easy to achieve in a short time..

sorry its not a positive answer but I have been wanting to really move away (literally) for a long long time..



Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on February 27, 2019, 03:52:14 PM
Thanks for your reply. If you still decide to implement a Russian language pack, keep me in mind (I am Russian, so I can translate correctly without Google). Unfortunately my knowledge of coding leaves much to be desired. In this regard, if you tell me, "specific location" (file), where I can use the conversion factor for mmHg column - I will be very grateful.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 27, 2019, 04:16:05 PM
ok well lets start at livedata.php *note charts are NOT converted perhaps look at this next week.important this will mean when you or if anyone switches to non metric it will always show mmHg value!!

$weather["barometer"]          = $meteobridgeapi[10];
$weather["barometer_max"]      = $meteobridgeapi[34];
$weather["barometer_min"]      = $meteobridgeapi[36];
$weather["barometer_units"]    = $meteobridgeapi[15]; // mb or hPa or in
$weather["barometer_trend"]    = $meteobridgeapi[10] - $meteobridgeapi[18];


to


$weather["barometer"]           = number_format($meteobridgeapi[10]*0.75006157584566,2);
$weather["barometer_max"]   = number_format($meteobridgeapi[34]*0.75006157584566,2);
$weather["barometer_min"]    = number_format($meteobridgeapi[36]*0.75006157584566,2);
$weather["barometer_units"]  = 'mmHg'; // just add mmHg
$weather["barometer_trend"]  = number_format($meteobridgeapi[10]*0.75006157584566,2) - number_format($meteobridgeapi[18]*0.75006157584566,2);

not being familiar with mmHg you will have verify this is the correct conversion from hPa..
https://www.convertunits.com/from/mb/to/mm+Hg

1 hPa = 0.75006157584566 mmHg
as you can see trends etc converted just by editing the livedata.php with above
(https://res.cloudinary.com/brian-underdown/image/upload/v1551302092/mmhg_mgr5do.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 27, 2019, 04:25:11 PM
then you need to edit barometer.php

find


<div class="barometerlimits"><div class='weather34-barometerruler'>
<?php if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa"){echo "<weather34-barometerlimitmin><value>950</weather34-barometerlimitmin><weather34-barometerlimitmax><value>1050</weather34-barometerlimitmax>";}
else echo "<weather34-barometerlimitminf><value>28</barometerlimitminf><weather34-barometerlimitmaxf><value>31</weather34-barometerlimitmaxf>";?></div></div>

and change to so you now see scale from 715 to 815 is that correct scale ??

<div class="barometerlimits"><div class='weather34-barometerruler'>
<?php if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa"){echo "<weather34-barometerlimitmin><value>950</weather34-barometerlimitmin><weather34-barometerlimitmax><value>1050</weather34-barometerlimitmax>";}
else if ($weather["barometer_units"]=='mmHg'){echo "<weather34-barometerlimitminf><value>715</barometerlimitminf><weather34-barometerlimitmaxf><value>815</weather34-barometerlimitmaxf>";}
else echo "<weather34-barometerlimitminf><value>28</barometerlimitminf><weather34-barometerlimitmaxf><value>31</weather34-barometerlimitmaxf>";?></div></div>

(https://res.cloudinary.com/brian-underdown/image/upload/v1551302691/mmhgscale_v29dnn.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 27, 2019, 04:36:49 PM
then finally in barometer.php

chang the style to reflect the movement of the needle

<style>
.weather34barometerarrowactual{-webkit-transform:rotate(<?php
if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa" OR $weather["barometer_units"]=="mmHg"){echo $weather["barometer"]*0.02953*50.6;}else if ($weather["barometer_units"]=='inHg'){echo $weather["barometer"]*50.6;}?>deg);
transform:rotate(<?php if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa" OR $weather["barometer_units"]=="mmHg"){echo $weather["barometer"]*0.02953*50.6;}else if ($weather["barometer_units"]=='inHg'){echo $weather["barometer"]*50.6;}?>deg);}
.weather34barometerarrowmin{-webkit-transform:rotate(<?php
if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa" OR $weather["barometer_units"]=="mmHg"){echo $weather["barometer_min"]*0.02953*50.6;}else if ($weather["barometer_units"]=='inHg'){echo $weather["barometer_min"]*50.6;}?>deg);
transform:rotate(<?php if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa" OR $weather["barometer_units"]=="mmHg"){echo $weather["barometer_min"]*0.02953*50.6;}else if ($weather["barometer_units"]=='inHg'){echo $weather["barometer_min"]*50.6;}?>deg);}
.weather34barometerarrowmax{-webkit-transform:rotate(<?php
if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa" OR $weather["barometer_units"]=="mmHg"){echo $weather["barometer_max"]*0.02953*50.6;}else if ($weather["barometer_units"]=='inHg'){echo $weather["barometer_max"]*50.6;}?>deg);
transform:rotate(<?php if ($weather["barometer_units"]=='mb' OR $weather["barometer_units"]=="hPa" OR $weather["barometer_units"]=="mmHg"){echo $weather["barometer_max"]*0.02953*50.6;}else if ($weather["barometer_units"]=='inHg'){echo $weather["barometer_max"]*50.6;}?>deg);}
</style>

if you just edit your livedata.php  ive attached a complete modified barometer.php for just to use with mmHg just replace existing barometer.php on your server..

so it should finally resemble something like this

(https://res.cloudinary.com/brian-underdown/image/upload/v1551303373/finalmmhg_uixqwl.png)

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on February 27, 2019, 05:33:07 PM
Thank you very much! It's working! My gratitude is boundless!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on February 28, 2019, 04:45:35 AM
Hi Brian

The very latest update (mostly related to wu conversions on the fly) seems to give wrong numbers about temperature in WU Forecast.

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 28, 2019, 04:53:00 AM
hi gand always provide a url an image doesnt give me anything to,diagnose and as your using ms i would need to see what actually is present the forecast..either pm or here but miminum of url required..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on February 28, 2019, 04:59:32 AM
Hi Brian

Sorry, here it is:
https://lynghuzed.dk/

gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 28, 2019, 05:18:59 AM
I have just pushed two files updated using your forecast file to test with
forecast3wu.php outlookwu.php

hope it is ok...tnx brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on February 28, 2019, 05:34:43 AM
Hi Brian

Looks good.

Thanks

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on February 28, 2019, 05:36:12 AM
no problem thanks for spotting ...brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on March 01, 2019, 02:37:02 AM
I've noticed the Cloudbase estimated cloud height metric and non-metric numbers overlap.
http://seamanville.com/pws/purpleair.php
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 01, 2019, 03:00:53 AM
hi could be a browser thing needing some slight css adjustment ...  could be a browser cache thing ..

here is yours on my ipad pro .

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 01, 2019, 03:20:58 AM
ok i was able to replicate that in Firefox was ok in other -webkit- browsers have pushed an update to fix it. the file is purpleair.php

https://github.com/weather34/Meteobridge-Weather34-Template

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on March 01, 2019, 04:36:09 AM
Updated purpleair.php, confirmed, looks great now.
You are awesome.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on March 01, 2019, 06:53:30 AM
I read about a growing number of people that now have access to the new Wunderground API so I figured I'd try it again to see. https://www.wunderground.com/member/api-keys (https://www.wunderground.com/member/api-keys) is the correct URL, right? Cuz it just keeps taking me to a login page over and over again.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 01, 2019, 08:05:14 AM
I read about a growing number of people that now have access to the new Wunderground API so I figured I'd try it again to see. https://www.wunderground.com/member/api-keys (https://www.wunderground.com/member/api-keys) is the correct URL, right? Cuz it just keeps taking me to a login page over and over again.

i cant help much its not a template problem more of a wu problem but looking around the forum i see reference to it being realated to browser or password change at some stage go here and have a browse through http://www.wxforum.net/index.php?topic=36207.msg372335;topicseen#msg372335

i only primarily use safari and only ever use the same login email/password i setup in jan 2015 ive never changed it but i cant confirm anyones findings as i just logged in and voila ..have a browse through the thread mentioned might have some ideas ,solutions..ps i dont upload to wu have not since jan 2017 ..

a problem that is related to,the api some locations at around 3pm local time return a null for todays or 1st period of the forecast not every location but verified using istanbul lat lon .ive added a fallback to overcome the null basically if null switch to next period ..

output containing nulls below from this afternoon

{"dayOfWeek":["Friday","Saturday","Sunday","Monday","Tuesday","Wednesday"],"expirationTimeUtc":[1551446216,1551446216,1551446216,1551446216,1551446216,1551446216],"moonPhase":["Waning Crescent","Waning Crescent","Waning Crescent","Waning Crescent","Waning Crescent","New Moon"],"moonPhaseCode":["WNC","WNC","WNC","WNC","WNC","N"],"moonPhaseDay":[25,25,26,27,28,0],"moonriseTimeLocal":["2019-03-01T04:33:51+0300","2019-03-02T05:20:59+0300","2019-03-03T06:03:25+0300","2019-03-04T06:40:48+0300","2019-03-05T07:13:23+0300","2019-03-06T07:43:11+0300"],"moonriseTimeUtc":[1551404031,1551493259,1551582205,1551670848,1551759203,1551847391],"moonsetTimeLocal":["2019-03-01T14:09:50+0300","2019-03-02T15:01:35+0300","2019-03-03T15:56:26+0300","2019-03-04T16:53:22+0300","2019-03-05T17:50:58+0300","2019-03-06T18:49:31+0300"],"moonsetTimeUtc":[1551438590,1551528095,1551617786,1551707602,1551797458,1551887371],"narrative":["A few clouds. Low 7C.","Mostly cloudy. Highs 12 to 14C and lows 4 to 6C.","Partly cloudy. Highs 7 to 9C and lows 1 to 3C.","Sunshine. Highs 9 to 11C and lows 5 to 7C.","A few clouds. Highs 12 to 14C and lows 8 to 10C.","Times of sun and clouds. Highs 13 to 15C and lows 8 to 10C."],"qpf":[0.0,0.0,0.0,0.0,0.0,0.0],"qpfSnow":[0.0,0.0,0.0,0.0,0.0,0.0],"sunriseTimeLocal":["2019-03-01T07:40:36+0300","2019-03-02T07:39:03+0300","2019-03-03T07:37:29+0300","2019-03-04T07:35:54+0300","2019-03-05T07:34:19+0300","2019-03-06T07:32:44+0300"],"sunriseTimeUtc":[1551415236,1551501543,1551587849,1551674154,1551760459,1551846764],"sunsetTimeLocal":["2019-03-01T18:56:20+0300","2019-03-02T18:57:28+0300","2019-03-03T18:58:36+0300","2019-03-04T18:59:43+0300","2019-03-05T19:00:50+0300","2019-03-06T19:01:56+0300"],"sunsetTimeUtc":[1551455780,1551542248,1551628716,1551715183,1551801650,1551888116],"temperatureMax":[null,13,8,10,13,14],"temperatureMin":[7,5,2,6,9,9],"validTimeLocal":["2019-03-01T07:00:00+0300","2019-03-02T07:00:00+0300","2019-03-03T07:00:00+0300","2019-03-04T07:00:00+0300","2019-03-05T07:00:00+0300","2019-03-06T07:00:00+0300"],"validTimeUtc":[1551412800,1551499200,1551585600,1551672000,1551758400,1551844800],"daypart":[{"cloudCover":[null,10,90,86,45,8,0,11,19,54,43,54],"dayOrNight":[null,"N","D","N","D","N","D","N","D","N","D","N"],"daypartName":[null,"Tonight","Tomorrow","Tomorrow night","Sunday","Sunday night","Monday","Monday night","Tuesday","Tuesday night","Wednesday","Wednesday night"],"iconCode":[null,33,26,26,30,33,32,31,34,29,30,29],"iconCodeExtend":[null,3300,2600,2600,3000,3300,3200,3100,3400,2900,3000,2900],"narrative":[null,"Clear to partly cloudy. Low 7C. Winds WSW at 15 to 25 km/h.","Overcast. High 13C. Winds WNW at 15 to 25 km/h.","Cloudy. Low near 5C. Winds NE at 15 to 30 km/h.","Partly cloudy. High 8C. Winds NE at 15 to 30 km/h.","Clear skies. Low 2C. Winds NNE at 15 to 25 km/h.","Sunny. High near 10C. Winds WSW at 10 to 15 km/h.","A mostly clear sky. Low 6C. Winds SW at 10 to 15 km/h.","Generally sunny despite a few afternoon clouds. High 13C. Winds SW at 15 to 30 km/h.","Partly cloudy early with increasing clouds overnight. Low 9C. Winds SW at 15 to 25 km/h.","Intervals of clouds and sunshine. High 14C. Winds WSW at 15 to 25 km/h.","Partly cloudy skies. Low 9C. Winds SW at 10 to 15 km/h."],"precipChance":[null,10,20,10,10,0,0,0,0,10,10,10],"precipType":[null,"rain","rain","rain","rain","precip","rain","rain","rain","rain","rain","rain"],"qpf":[null,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"qpfSnow":[null,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"qualifierCode":[null,null,null,null,null,null,null,null,null,null,null,null],"qualifierPhrase":[null,null,null,null,null,null,null,null,null,null,null,null],"relativeHumidity":[null,79,78,83,65,74,63,72,63,73,71,81],"snowRange":[null,"","","","","","","","","","",""],"temperature":[null,7,13,5,8,2,10,6,13,9,14,9],"temperatureHeatIndex":[null,14,13,9,8,6,9,7,12,11,14,12],"temperatureWindChill":[null,6,6,2,2,0,1,4,4,7,8,8],"thunderCategory":[null,"No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder","No thunder"],"thunderIndex":[null,0,0,0,0,0,0,0,0,0,0,0],"uvDescription":[null,"Low","Low","Low","Moderate","Low","Moderate","Low","Moderate","Low","Moderate","Low"],"uvIndex":[null,0,2,0,4,0,4,0,4,0,4,0],"windDirection":[null,257,288,39,38,30,249,216,221,230,240,235],"windDirectionCardinal":[null,"WSW","WNW","NE","NE","NNE","WSW","SW","SW","SW","WSW","SW"],"windPhrase":[null,"Winds WSW at 15 to 25 km/h.","Winds WNW at 15 to 25 km/h.","Winds NE at 15 to 30 km/h.","Winds NE at 15 to 30 km/h.","Winds NNE at 15 to 25 km/h.","Winds WSW at 10 to 15 km/h.","Winds SW at 10 to 15 km/h.","Winds SW at 15 to 30 km/h.","Winds SW at 15 to 25 km/h.","Winds WSW at 15 to 25 km/h.","Winds SW at 10 to 15 km/h."],"windSpeed":[null,17,20,24,24,19,12,13,22,19,18,16],"wxPhraseLong":[null,"Mostly Clear","Cloudy","Cloudy","Partly Cloudy","Mostly Clear","Sunny","Clear","Mostly Sunny","Partly Cloudy","Partly Cloudy","Partly Cloudy"],"wxPhraseShort":[null,"M Clear","Cloudy","Cloudy","P Cloudy","M Clear","Sunny","Clear","M Sunny","P Cloudy","P Cloudy","P Cloudy"]}]}
brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on March 01, 2019, 04:19:52 PM
I've noticed the null appear in the late afternoon (local time) as the 'day' forecast period is passed.  That puts the first 'Tonight' forecast as the first valid forecast.  Seems to be the way the new API works...
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 03, 2019, 12:16:48 AM
I've noticed the null appear in the late afternoon (local time) as the 'day' forecast period is passed.  That puts the first 'Tonight' forecast as the first valid forecast.  Seems to be the way the new API works...

hello ken

yes its a daily thing not sure why something at wu but a simple  if == null eradicates the null displaying.. also im sorry i cant help,with cumulus version much these days the code between the two now has changed considerably used to be able to just drop anything from meteobridge version into the cumulus version quite easily .. anyway glad your keeping it alive .. have a great weekend whats left of it .. brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on March 03, 2019, 09:34:51 AM
Hello again, Brian!
In one of your posts you said that the introduction of another measurement system involves a lot of work to change different files.
Everything works fine, but unfortunately the daily, monthly and annual schedules remained unchanged.
Maybe in order not to go too deep into this work it makes sense to make changes in the meteobridge.sql to have a correction factor working in it already?
To the database already loaded the required number?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 03, 2019, 10:14:36 AM
hello alexey

not at the moment needs some time perhaps a few hours to work it out and find the best practice so not to break any other conversions etc..you can always add the simple mmHg conversion to each barometer chart file for now..

for example top of each barometer files
 todaybarometer.php
 monthlybarometer.php
 yearlybarometer.php


simply delete

Code: [Select]
$conv = 1;
if ($uk == true) {$conv= '1';}
if ($units == 'uk' && $windunit == 'mph') {$conv= '1';}
else if ($windunit == 'mph') {$conv= '(1.8) +32';}
else if ($windunit == 'm/s') {$conv= '1';}
else if ($windunit == 'km/h'){$conv= '1';}

and just add to each file


Code: [Select]
$conv = 0.0075006157584566;
if you mess it up let me know i can simply send you three files for your own use..brian

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 03, 2019, 10:36:32 AM
firstly thanks to lightmaster who took the time to orderly the recent changes to the metarnearby popup which displays the common metric/non metric etc , lightmaster was good enough to take it a step firther and order according to your metric set in setup screen ...confused ? cant find a simple to explain it


also thanks as I have been monitoring chucks (prestwick) wu forecast output i was able to polish of the value to reflect storms present in the forecast also updated few alignments.

thanks to paul wilman for the reminder of adding solartoday charts when using the wu forecast option for UVINDEX ..

available via https://github.com/weather34/Meteobridge-Weather34-Template

take the time to see what files need updating ..often some files just have very small changes or very significant changes ..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1551627006/li_x8rjct.png)



Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on March 03, 2019, 12:22:08 PM
firstly thanks to lightmaster who took the time to orderly the recent changes to the metarnearby popup which displays the common metric/non metric etc , lightmaster was good enough to take it a step firther and order according to your metric set in setup screen ...confused ? cant find a simple to explain it


also thanks as I have been monitoring chucks (prestwick) wu forecast output i was able to polish of the value to reflect storms present in the forecast also updated few alignments.

thanks to paul wilman for the reminder of adding solartoday charts when using the wu forecast option for UVINDEX ..

available via https://github.com/weather34/Meteobridge-Weather34-Template

take the time to see what files need updating ..often some files just have very small changes or very significant changes ..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1551627006/li_x8rjct.png)

Brian,

Just updated the latest commit 2bc6aba (3/3/2019) files. Everything is looking great!

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 04, 2019, 12:32:41 AM
good morning chuck

yours was the only one producing regular thunder storms in the forecast hopefully it will be of use ... brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on March 04, 2019, 02:22:02 PM
Hello, Brian!
Here is you can look, as this looks on this page: https://xn--10-6kcwaznenhomt1p.xn--p1ai/
In the upper left corner of the maximum display for the day? I noticed that the time is always "00: 00", so it should be?
I'm sorry to waste your time, but could you possibly do something about the almanac?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 04, 2019, 10:06:13 PM
good morning alexey

for almanac you can just add the conversion *0.0075006157584566 to the following  lines file livedata.php

Code: [Select]
//pressure
//yesterday
$baromaxoriginalDateb0 = $meteobridgeapi[136];
        $baromaxtimeyest = date("H:i", strtotime($baromaxoriginalDateb0));
$barominoriginalDateb1 = $meteobridgeapi[138];
        $baromintimeyest = date("H:i", strtotime($barominoriginalDateb1));
$weather["thb0seapressydmaxtime"] = $baromaxtimeyest; //seconds
$weather["thb0seapressydmintime"] = $baromintimeyest; //seconds
$weather["thb0seapressydmax"] = $meteobridgeapi[135]*0.0075006157584566;
$weather["thb0seapressydmin"] = $meteobridgeapi[137]*0.0075006157584566;


//month
$baromaxoriginalDateb2 = $meteobridgeapi[140];
        $baromaxtimemonth = date("jS F", strtotime($baromaxoriginalDateb2));
$barominoriginalDateb3 = $meteobridgeapi[142];
        $baromintimemonth = date("jS F", strtotime($barominoriginalDateb3));
$weather["thb0seapressmonthmaxtime"] = $baromaxtimemonth; //seconds
$weather["thb0seapressmonthmintime"] = $baromintimemonth; //seconds
$weather["thb0seapressmmax"] = $meteobridgeapi[139]*0.0075006157584566;
$weather["thb0seapressmmin"] = $meteobridgeapi[141]*0.0075006157584566;

//year
$baromaxoriginalDateb4 = $meteobridgeapi[144];
        $baromaxtimeyear = date("jS F", strtotime($baromaxoriginalDateb4));
$barominoriginalDateb5 = $meteobridgeapi[146];
        $baromintimeyear = date("jS F", strtotime($barominoriginalDateb5));
$weather["thb0seapressyearmaxtime"] = $baromaxtimeyear; //seconds
$weather["thb0seapressyearmintime"] = $baromintimeyear; //seconds
$weather["thb0seapressymax"] = $meteobridgeapi[143]; //seconds
$weather["thb0seapressymin"] = $meteobridgeapi[145]; //seconds

//all time
$baromaxoriginalDateb6 = $meteobridgeapi[148];
        $baromaxtimeall = date("jS F Y", strtotime($baromaxoriginalDateb6));
$barominoriginalDateb7 = $meteobridgeapi[150];
        $baromintimeall = date("jS F Y", strtotime($barominoriginalDateb7));
$weather["thb0seapressamaxtime"] = $baromaxtimeall; //seconds
$weather["thb0seapressamintime"] = $baromintimeall; //seconds
$weather["thb0seapressamax"] = $meteobridgeapi[147]*0.0075006157584566;
$weather["thb0seapressamin"] = $meteobridgeapi[149]*0.0075006157584566;




as for 00:00 perhaps that was the max time for that actual day looking now i see 01:01 screenshot below from your site

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: tomas21 on March 06, 2019, 10:52:01 AM
What is the proper workflow to do the following..

1. Clone - Download github template to a personal website directory?
2. Edit the settings php file
3. Use git pull command to update that personal website directory with latest changes from master branch ongoing?

I have access to ssh & cpanel config for my personal website...

If there is another / better way I'm all ears to keep my website up to date with latest files without rebuilding it each time.

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on March 06, 2019, 11:45:15 AM
What is the proper workflow to do the following..

1. Clone - Download github template to a personal website directory?
2. Edit the settings php file
3. Use git pull command to update that personal website directory with latest changes from master branch ongoing?

I have access to ssh & cpanel config for my personal website...

If there is another / better way I'm all ears to keep my website up to date with latest files without rebuilding it each time.

In ssh, you have "git" installed?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on March 06, 2019, 12:11:00 PM
What is the proper workflow to do the following..

1. Clone - Download github template to a personal website directory?
2. Edit the settings php file
3. Use git pull command to update that personal website directory with latest changes from master branch ongoing?

I have access to ssh & cpanel config for my personal website...

If there is another / better way I'm all ears to keep my website up to date with latest files without rebuilding it each time.

Yes, that's the easy way.. however, if your site is on a shared-hosting server, you likely won't have 'git' installed, and you'd need to have sudoers ability to install it on the webserver (not likely on a shared hosting server).

What may be easier for shared hosting, is to install git on your local system (https://git-scm.com/downloads ), do the clone to a directory there, use the 'git pull' to do updates, then just upload the changed files to your shared website.

Since I have my own VPS with root access, I do what you suggested as my normal process for the test website :)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on March 06, 2019, 01:22:15 PM
Hello, Brian!
I did as you told me. But for some reason in the almanac is still all as in the picture in the application. Livedata.php attached. By the way in the file barometeralmanac.php I noticed setpoint boundaries for millibars, mm Hg out my post beyond the border.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 06, 2019, 02:53:53 PM
attached livedata.php with add the number_format
 example
Code: [Select]
$weather["thb0seapressymax"] =  number_format($meteobridgeapi[143]*0.0075006157584566,2);//max
$weather["thb0seapressymin"] =  number_format($meteobridgeapi[145]*0.0075006157584566,2);//min

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: tomas21 on March 06, 2019, 08:43:43 PM
Figured it out.. had to remove hidden .git in public_html...

Then ran command git clone https://github.com/weather34/Meteobridge-Weather34-Template.git .

Git pull now working from root of site.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 07, 2019, 04:54:25 AM
good morning

last few days tediously re doing the icons in terms colour shades more balanced used a Pantone matching chart and had to calibrate my monitor to match the Pantone chart quite tedious but really beneficial in seeing the shades .screenshot see below

gregory asked for a better reflection for temperatures below zero being that he is up north in the artic circle somewhere it makes sense  however Im never likely to see below -7c for any length of time our winters often bottom out at -1 to -5c for very relatively short periods of a couple of days.. screenshot see below.

as for Github cloning I use two apps one is coda(mac) which i primarily design code which it has a github plugin or I use a new recently installed app(mac) for pushing updates this also pulls changes to and from a dedicated locally run XAMPP install on an monitor-less old mac mini mid 2010(my local server via Lan). Im no expert on github and new to it as I said before wish i adhered to someones advice a few years ago I might be able to help or being of some use..

as always https://github.com/weather34/Meteobridge-Weather34-Template

im off the radar for a few weeks from Saturday off to UK and then back into a wedding season many relatives getting married this year so quite a lot of travelling around turkey in the next month or so then moving house so not much time to do anything and as of 1st May it will all be handed over new repo and new developer to keep it alive and if it don't work out I see very little wrong in this version as it is however who knows so many things I just don't see or remember to check.. so Github is your new source and friend :-) ..have fun..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1551950665/belowzero_m5usdp.png)

(https://res.cloudinary.com/brian-underdown/image/upload/v1551951576/icon_t8exsf.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 10, 2019, 10:00:37 AM
Good AFTERNOON ...apologise in advance you may get bored before reaching the end of this post and if you do pour yourself a beer or whatever liquor your taste is..

*Most importantly meteobridge requires a reboot to get the new API values there are now a total of 171 different values used . they are all listed below .special thanks to Boris at meteobridge..

1.

Almanac has new values and has been redesigned .

(https://res.cloudinary.com/brian-underdown/image/upload/v1552225834/almanac1_d1u3yx.png)

2.WU Summary forecast re designed and refined layout with additional colors

(https://res.cloudinary.com/brian-underdown/image/upload/v1552225835/forecast1_nxqssx.png)

3.WU 3 period forecast re designed and refined layout with additional colors

(https://res.cloudinary.com/brian-underdown/image/upload/v1552225834/forecast3day_vypg8b.png)


4.new wind run based rolling twenty four hour from midnight to midnight

5. new api values listed below and new file to display called meteobridgedescription.php

Code: [Select]
1 [DD]/[MM]/[YYYY] [hh]:[mm]:[ss]
2 [th0temp-act:--]
3 [th0hum-act:--]
4 [th0dew-act:--]
5 [wind0avgwind-act:--]
6 [wind0wind-act:--]
7 [wind0dir-act:--]
8 [rain0rate-act:--]
9 [rain0total-daysum:--]
10 [thb0seapress-act:--]
11 [wind0dir-act:--]
12 [wind0wind-act=bft.0:--]
13 m/s
14 C
15 hPa
16 mm
17 [wind0wind-avg5:--]
18 [thb0seapress-val60:--]
19 [rain0total-monthsum:--]
20 [rain0total-yearsum:--]
21 [rain0total-ydaysum:--]
22 [thb0temp-act:--]
23 [thb0hum-act:--]
24 [wind0chill-act:--]
25 [th0temp-val60:--]
26 [th0temp-dmax:--]
27 [th0temp-dmaxtime:--]
28 [th0temp-dmin:--]
29 [th0temp-dmintime:--]
30 [wind0avgwind-dmax:--]
31 [wind0avgwind-dmaxtime:--]
32 [wind0wind-dmax:--]
33 [wind0wind-dmaxtime:--]
34 [thb0seapress-dmax:--]
35 [thb0seapress-dmaxtime:--]
36 [thb0seapress-dmin:--]
37 [thb0seapress-dmintime:--]
38 [mbsystem-swversion:--]
39 [mbsystem-buildnum:--]
40 [wind0wind-max10:--]
41 [mbsystem-platform:--]
42 [mbsystem-station:--]
43 [uv0index-act:--]
44 [rain0total-sum24h]
45 [sol0rad-act:--]
46 [wind0dir-avg10:--]
47 [rain0total-sum60:--]
48 [th0dew-mmax:--]
49 [th0dew-mmaxtime:--]
50 [th0dew-mmin:--]
51 [th0dew-mmintime:--]
52 [th0dew-ydmax:--]
53 [th0dew-ydmaxtime:--]
54 [th0dew-ymax:--]
55 [th0dew-ymaxtime:--]
56 [th0dew-ymin:--]
57 [th0dew-ymintime:--]
58 [uv0index-dmax:--]
59 [th0hum-dmax:--]
60 [th0hum-dmaxtime:--]
61 [th0hum-dmin:--]
62 [th0hum-dmintime:--]
63 [th0dew-dmax:--]
64 [th0dew-dmaxtime:--]
65 [th0dew-dmin:--]
66 [th0dew-dmintime:--]
67 [th0temp-val15:—]
68 [th0hum-val15:—]
69 [th0dew-val15:—]
70 [thb0temp-val15:—]
71 [thb0hum-val15.0:--]
72 [wind0wind-avg15:—]
73 [wind0wind-avg30:—]
74 [lgt0energy-act:--]
75 [lgt0dist-act:--]
76 [lgt0dist-age:--]
77 [lgt0total-daysum.0:--]
78 [lgt0total-monthsum.0:--]
79 [lgt0total-yearsum.0:--]
80 [sol0rad-dmax:--]
81 [mbsystem-uptime:—-]
82 [th0temp-ydmax:--]
83 [th0temp-ydmaxtime:--]
84 [th0temp-ydmin:--]
85 [th0temp-ydmintime:--]
86 [th0temp-mmax:--]
87 [th0temp-mmaxtime:--]
88 [th0temp-mmin:--]
89 [th0temp-mmintime:--]
90 [th0temp-ymax:--]
91 [th0temp-ymaxtime:--]
92 [th0temp-ymin:--]
93 [th0temp-ymintime:--]
94 [wind0wind-ydmax:--]
95 [wind0wind-ydmaxtime:--]
96 [wind0wind-mmax:--]
97 [wind0wind-mmaxtime:--]
98 [wind0wind-ymax:--]
99 [wind0wind-ymaxtime:--]
100 [rain0total-ydmax:--]
101 [rain0total-mmax:--]
102 [rain0total-mmaxtime:--]
103 [rain0total-ymax:--]
104 [rain0total-ymaxtime:--]
105 [sol0rad-dmax:--]
106 [sol0rad-dmaxtime:--]
107 [sol0rad-ydmax:--]
108 [sol0rad-ydmaxtime:--]
109 [sol0rad-mmax:--]
110 [sol0rad-mmaxtime:--]
111 [sol0rad-ymax:--]
112 [sol0rad-ymaxtime:—]
113 [uv0index-dmaxtime:--]
114 [uv0index-ydmax:--]
115 [uv0index-ydmaxtime:--]
116 [uv0index-mmax:--]
117 [uv0index-mmaxtime:--]
118 [uv0index-ymax:--]
119 [uv0index-ymaxtime:—]
120 [th0dew-ydmin:--]
121 [th0dew-ydmintime:--]
122 [mbsystem-lastgooddata:--]
123 [th0temp-avg60:--]
124 [rain0rate-nonzerotime:--]
125 [th0temp-amax:--]
126 [th0temp-amaxtime:--]
127 [th0temp-amin:--]
128 [th0temp-amintime:--]
129 [th0dew-amax:--]
130 [th0dew-amaxtime:--]
131 [th0dew-amin:--]
132 [th0dew-amintime:--]
133 [wind0wind-amax:--]
134 [wind0wind-amaxtime:--]
135 [thb0seapress-ydmax:--]
136 [thb0seapress-ydmaxtime:--]
137 [thb0seapress-ydmin:--]
138 [thb0seapress-ydmintime:--]
139 [thb0seapress-mmax:--]
140 [thb0seapress-mmaxtime:--]
141 [thb0seapress-mmin:--]
142 [thb0seapress-mmintime:--]
143 [thb0seapress-ymax:--]
144 [thb0seapress-ymaxtime:--]
145 [thb0seapress-ymin:--]
146 [thb0seapress-ymintime:--]
147 [thb0seapress-amax:--]
148 [thb0seapress-amaxtime:--]
149 [thb0seapress-amin:--]
150 [thb0seapress-amintime:--]
151 [rain0total-allsum:--]
152 [th0temp-davg:--]
153 [mbsystem-lunarsegment:--]
154 [mbsystem-lunarpercent:--]
155 [mbsystem-daylength:--]
156 [mbsystem-moonrise:--]
157 [mbsystem-moonset:--]
158 [wind0wind-davg:--]
159 [th0hum-mmax:--]
160 [th0hum-mmaxtime:--]
161 [th0hum-mmin:--]
162 [th0hum-mmintime:--]
163 [th0hum-ymax:--]
164 [th0hum-ymaxtime:--]
165 [th0hum-ymin:--]
166 [th0hum-ymintime:--]
167 [th0hum-ydmax:--]
168 [th0hum-ydmaxtime:--]
169 [th0hum-ydmin:--]
170 [th0hum-ydmintime:--]
split
1_[forecast-text:]

[DD]/[MM]/[YYYY] [hh]:[mm]:[ss] [th0temp-act:--] [th0hum-act:--] [th0dew-act:--] [wind0avgwind-act:--] [wind0wind-act:--] [wind0dir-act:--] [rain0rate-act:--] [rain0total-daysum:--] [thb0seapress-act:--] [wind0dir-act:--] [wind0wind-act=bft.0:--] m/s C hPa mm [wind0wind-avg5:--] [thb0seapress-val60:--] [rain0total-monthsum:--] [rain0total-yearsum:--] [rain0total-ydaysum:--] [thb0temp-act:--] [thb0hum-act:--] [wind0chill-act:--] [th0temp-val60:--] [th0temp-dmax:--] [th0temp-dmaxtime:--] [th0temp-dmin:--] [th0temp-dmintime:--] [wind0avgwind-dmax:--] [wind0avgwind-dmaxtime:--] [wind0wind-dmax:--] [wind0wind-dmaxtime:--] [thb0seapress-dmax:--] [thb0seapress-dmaxtime:--] [thb0seapress-dmin:--] [thb0seapress-dmintime:--] [mbsystem-swversion:--] [mbsystem-buildnum:--] [wind0wind-max10:--] [mbsystem-platform:--] -- [uv0index-act:--] [rain0total-sum24h] [sol0rad-act:--] [wind0dir-avg10:--] [rain0total-sum60:--] [th0dew-mmax:--] [th0dew-mmaxtime:--] [th0dew-mmin:--] [th0dew-mmintime:--] [th0dew-ydmax:--] [th0dew-ydmaxtime:--] [th0dew-ymax:--] [th0dew-ymaxtime:--] [th0dew-ymin:--] [th0dew-ymintime:--] [uv0index-dmax:--] [th0hum-dmax:--] [th0hum-dmaxtime:--] [th0hum-dmin:--] [th0hum-dmintime:--] [th0dew-dmax:--] [th0dew-dmaxtime:--] [th0dew-dmin:--] [th0dew-dmintime:--] [th0temp-val15:—] [th0hum-val15:—] [th0dew-val15:—] [thb0temp-val15:—] [thb0hum-val15.0:--] [wind0wind-avg15:—] [wind0wind-avg30:—] [lgt0energy-act:--] [lgt0dist-act:--] [lgt0dist-age:--] [lgt0total-daysum.0:--] [lgt0total-monthsum.0:--] [lgt0total-yearsum.0:--] [sol0rad-dmax:--] [mbsystem-uptime:—-] [th0temp-ydmax:--] [th0temp-ydmaxtime:--] [th0temp-ydmin:--] [th0temp-ydmintime:--] [th0temp-mmax:--] [th0temp-mmaxtime:--] [th0temp-mmin:--] [th0temp-mmintime:--] [th0temp-ymax:--] [th0temp-ymaxtime:--] [th0temp-ymin:--] [th0temp-ymintime:--] [wind0wind-ydmax:--] [wind0wind-ydmaxtime:--] [wind0wind-mmax:--] [wind0wind-mmaxtime:--] [wind0wind-ymax:--] [wind0wind-ymaxtime:--] [rain0total-ydmax:--] [rain0total-mmax:--] [rain0total-mmintime:--] [rain0total-ymax:--] [rain0total-ymaxtime:--] [sol0rad-dmax:--] [sol0rad-dmaxtime:--] [sol0rad-ydmax:--] [sol0rad-ydmaxtime:--] [sol0rad-mmax:--] [sol0rad-mmaxtime:--] [sol0rad-ymax:--] [sol0rad-ymaxtime:—] [uv0index-dmaxtime:--] [uv0index-ydmax:--] [uv0index-ydmaxtime:--] [uv0index-mmax:--] [uv0index-mmaxtime:--] [uv0index-ymax:--] [uv0index-ymaxtime:--] [th0dew-ydmin:--] [th0dew-ydmintime:--] [mbsystem-lastgooddata:--] [th0temp-avg60:--] [rain0total-nonzerotime:--] [th0temp-amax:--] [th0temp-amaxtime:--] [th0temp-amin:--] [th0temp-amintime:--] [th0dew-amax:--] [th0dew-amaxtime:--] [th0dew-amin:--] [th0dew-amintime:--] [wind0wind-amax:--] [wind0wind-amaxtime:--] [thb0seapress-ydmax:--] [thb0seapress-ydmaxtime:--] [thb0seapress-ydmin:--] [thb0seapress-ydmintime:--] [thb0seapress-mmax:--] [thb0seapress-mmaxtime:--] [thb0seapress-mmin:--] [thb0seapress-mmintime:--] [thb0seapress-ymax:--] [thb0seapress-ymaxtime:--] [thb0seapress-ymin:--] [thb0seapress-ymintime:--] [thb0seapress-amax:--] [thb0seapress-amaxtime:--] [thb0seapress-amin:--] [thb0seapress-amintime:--] [rain0total-allsum:--] [th0temp-davg:--] [mbsystem-lunarsegment:--] [mbsystem-lunarpercent:--] [mbsystem-daylength:--] [mbsystem-moonrise:--] [mbsystem-moonset:--] [wind0wind-davg:--] [th0hum-mmax:--] [th0hum-mmaxtime:--] [th0hum-mmin:--] [th0hum-mmintime:--] [th0hum-ymax:--] [th0hum-ymaxtime:--] [th0hum-ymin:--] [th0hum-ymintime:--] [th0hum-ydmax:--] [th0hum-ydmaxtime:--] [th0hum-ydmin:--] [th0hum-ydmintime:--] _[forecast-text:]


as of tonight thats it from me for a long time (few months) as always download or clone via the github repo..https://github.com/weather34/Meteobridge-Weather34-Template

look out in the future for new support page and developer..brian...
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: the beteljuice on March 10, 2019, 06:53:58 PM
Great stuff as usual Brian.

Good luck with the move, and if your family gatherings are anything like Brits (Think "Old Lace and Arsenic") - Make the most of a few tipples !
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on March 12, 2019, 11:18:13 AM
Good AFTERNOON ...apologise in advance you may get bored before reaching the end of this post and if you do pour yourself a beer or whatever liquor your taste is..

*Most importantly meteobridge requires a reboot to get the new API values there are now a total of 171 different values used . they are all listed below .special thanks to Boris at meteobridge..

1.

Almanac has new values and has been redesigned .

(https://res.cloudinary.com/brian-underdown/image/upload/v1552225834/almanac1_d1u3yx.png)

2.WU Summary forecast re designed and refined layout with additional colors

(https://res.cloudinary.com/brian-underdown/image/upload/v1552225835/forecast1_nxqssx.png)

3.WU 3 period forecast re designed and refined layout with additional colors

(https://res.cloudinary.com/brian-underdown/image/upload/v1552225834/forecast3day_vypg8b.png)


4.new wind run based rolling twenty four hour from midnight to midnight

5. new api values listed below and new file to display called meteobridgedescription.php

Code: [Select]
1 [DD]/[MM]/[YYYY] [hh]:[mm]:[ss]
2 [th0temp-act:--]
3 [th0hum-act:--]
4 [th0dew-act:--]
5 [wind0avgwind-act:--]
6 [wind0wind-act:--]
7 [wind0dir-act:--]
8 [rain0rate-act:--]
9 [rain0total-daysum:--]
10 [thb0seapress-act:--]
11 [wind0dir-act:--]
12 [wind0wind-act=bft.0:--]
13 m/s
14 C
15 hPa
16 mm
17 [wind0wind-avg5:--]
18 [thb0seapress-val60:--]
19 [rain0total-monthsum:--]
20 [rain0total-yearsum:--]
21 [rain0total-ydaysum:--]
22 [thb0temp-act:--]
23 [thb0hum-act:--]
24 [wind0chill-act:--]
25 [th0temp-val60:--]
26 [th0temp-dmax:--]
27 [th0temp-dmaxtime:--]
28 [th0temp-dmin:--]
29 [th0temp-dmintime:--]
30 [wind0avgwind-dmax:--]
31 [wind0avgwind-dmaxtime:--]
32 [wind0wind-dmax:--]
33 [wind0wind-dmaxtime:--]
34 [thb0seapress-dmax:--]
35 [thb0seapress-dmaxtime:--]
36 [thb0seapress-dmin:--]
37 [thb0seapress-dmintime:--]
38 [mbsystem-swversion:--]
39 [mbsystem-buildnum:--]
40 [wind0wind-max10:--]
41 [mbsystem-platform:--]
42 [mbsystem-station:--]
43 [uv0index-act:--]
44 [rain0total-sum24h]
45 [sol0rad-act:--]
46 [wind0dir-avg10:--]
47 [rain0total-sum60:--]
48 [th0dew-mmax:--]
49 [th0dew-mmaxtime:--]
50 [th0dew-mmin:--]
51 [th0dew-mmintime:--]
52 [th0dew-ydmax:--]
53 [th0dew-ydmaxtime:--]
54 [th0dew-ymax:--]
55 [th0dew-ymaxtime:--]
56 [th0dew-ymin:--]
57 [th0dew-ymintime:--]
58 [uv0index-dmax:--]
59 [th0hum-dmax:--]
60 [th0hum-dmaxtime:--]
61 [th0hum-dmin:--]
62 [th0hum-dmintime:--]
63 [th0dew-dmax:--]
64 [th0dew-dmaxtime:--]
65 [th0dew-dmin:--]
66 [th0dew-dmintime:--]
67 [th0temp-val15:—]
68 [th0hum-val15:—]
69 [th0dew-val15:—]
70 [thb0temp-val15:—]
71 [thb0hum-val15.0:--]
72 [wind0wind-avg15:—]
73 [wind0wind-avg30:—]
74 [lgt0energy-act:--]
75 [lgt0dist-act:--]
76 [lgt0dist-age:--]
77 [lgt0total-daysum.0:--]
78 [lgt0total-monthsum.0:--]
79 [lgt0total-yearsum.0:--]
80 [sol0rad-dmax:--]
81 [mbsystem-uptime:—-]
82 [th0temp-ydmax:--]
83 [th0temp-ydmaxtime:--]
84 [th0temp-ydmin:--]
85 [th0temp-ydmintime:--]
86 [th0temp-mmax:--]
87 [th0temp-mmaxtime:--]
88 [th0temp-mmin:--]
89 [th0temp-mmintime:--]
90 [th0temp-ymax:--]
91 [th0temp-ymaxtime:--]
92 [th0temp-ymin:--]
93 [th0temp-ymintime:--]
94 [wind0wind-ydmax:--]
95 [wind0wind-ydmaxtime:--]
96 [wind0wind-mmax:--]
97 [wind0wind-mmaxtime:--]
98 [wind0wind-ymax:--]
99 [wind0wind-ymaxtime:--]
100 [rain0total-ydmax:--]
101 [rain0total-mmax:--]
102 [rain0total-mmaxtime:--]
103 [rain0total-ymax:--]
104 [rain0total-ymaxtime:--]
105 [sol0rad-dmax:--]
106 [sol0rad-dmaxtime:--]
107 [sol0rad-ydmax:--]
108 [sol0rad-ydmaxtime:--]
109 [sol0rad-mmax:--]
110 [sol0rad-mmaxtime:--]
111 [sol0rad-ymax:--]
112 [sol0rad-ymaxtime:—]
113 [uv0index-dmaxtime:--]
114 [uv0index-ydmax:--]
115 [uv0index-ydmaxtime:--]
116 [uv0index-mmax:--]
117 [uv0index-mmaxtime:--]
118 [uv0index-ymax:--]
119 [uv0index-ymaxtime:—]
120 [th0dew-ydmin:--]
121 [th0dew-ydmintime:--]
122 [mbsystem-lastgooddata:--]
123 [th0temp-avg60:--]
124 [rain0rate-nonzerotime:--]
125 [th0temp-amax:--]
126 [th0temp-amaxtime:--]
127 [th0temp-amin:--]
128 [th0temp-amintime:--]
129 [th0dew-amax:--]
130 [th0dew-amaxtime:--]
131 [th0dew-amin:--]
132 [th0dew-amintime:--]
133 [wind0wind-amax:--]
134 [wind0wind-amaxtime:--]
135 [thb0seapress-ydmax:--]
136 [thb0seapress-ydmaxtime:--]
137 [thb0seapress-ydmin:--]
138 [thb0seapress-ydmintime:--]
139 [thb0seapress-mmax:--]
140 [thb0seapress-mmaxtime:--]
141 [thb0seapress-mmin:--]
142 [thb0seapress-mmintime:--]
143 [thb0seapress-ymax:--]
144 [thb0seapress-ymaxtime:--]
145 [thb0seapress-ymin:--]
146 [thb0seapress-ymintime:--]
147 [thb0seapress-amax:--]
148 [thb0seapress-amaxtime:--]
149 [thb0seapress-amin:--]
150 [thb0seapress-amintime:--]
151 [rain0total-allsum:--]
152 [th0temp-davg:--]
153 [mbsystem-lunarsegment:--]
154 [mbsystem-lunarpercent:--]
155 [mbsystem-daylength:--]
156 [mbsystem-moonrise:--]
157 [mbsystem-moonset:--]
158 [wind0wind-davg:--]
159 [th0hum-mmax:--]
160 [th0hum-mmaxtime:--]
161 [th0hum-mmin:--]
162 [th0hum-mmintime:--]
163 [th0hum-ymax:--]
164 [th0hum-ymaxtime:--]
165 [th0hum-ymin:--]
166 [th0hum-ymintime:--]
167 [th0hum-ydmax:--]
168 [th0hum-ydmaxtime:--]
169 [th0hum-ydmin:--]
170 [th0hum-ydmintime:--]
split
1_[forecast-text:]

[DD]/[MM]/[YYYY] [hh]:[mm]:[ss] [th0temp-act:--] [th0hum-act:--] [th0dew-act:--] [wind0avgwind-act:--] [wind0wind-act:--] [wind0dir-act:--] [rain0rate-act:--] [rain0total-daysum:--] [thb0seapress-act:--] [wind0dir-act:--] [wind0wind-act=bft.0:--] m/s C hPa mm [wind0wind-avg5:--] [thb0seapress-val60:--] [rain0total-monthsum:--] [rain0total-yearsum:--] [rain0total-ydaysum:--] [thb0temp-act:--] [thb0hum-act:--] [wind0chill-act:--] [th0temp-val60:--] [th0temp-dmax:--] [th0temp-dmaxtime:--] [th0temp-dmin:--] [th0temp-dmintime:--] [wind0avgwind-dmax:--] [wind0avgwind-dmaxtime:--] [wind0wind-dmax:--] [wind0wind-dmaxtime:--] [thb0seapress-dmax:--] [thb0seapress-dmaxtime:--] [thb0seapress-dmin:--] [thb0seapress-dmintime:--] [mbsystem-swversion:--] [mbsystem-buildnum:--] [wind0wind-max10:--] [mbsystem-platform:--] -- [uv0index-act:--] [rain0total-sum24h] [sol0rad-act:--] [wind0dir-avg10:--] [rain0total-sum60:--] [th0dew-mmax:--] [th0dew-mmaxtime:--] [th0dew-mmin:--] [th0dew-mmintime:--] [th0dew-ydmax:--] [th0dew-ydmaxtime:--] [th0dew-ymax:--] [th0dew-ymaxtime:--] [th0dew-ymin:--] [th0dew-ymintime:--] [uv0index-dmax:--] [th0hum-dmax:--] [th0hum-dmaxtime:--] [th0hum-dmin:--] [th0hum-dmintime:--] [th0dew-dmax:--] [th0dew-dmaxtime:--] [th0dew-dmin:--] [th0dew-dmintime:--] [th0temp-val15:—] [th0hum-val15:—] [th0dew-val15:—] [thb0temp-val15:—] [thb0hum-val15.0:--] [wind0wind-avg15:—] [wind0wind-avg30:—] [lgt0energy-act:--] [lgt0dist-act:--] [lgt0dist-age:--] [lgt0total-daysum.0:--] [lgt0total-monthsum.0:--] [lgt0total-yearsum.0:--] [sol0rad-dmax:--] [mbsystem-uptime:—-] [th0temp-ydmax:--] [th0temp-ydmaxtime:--] [th0temp-ydmin:--] [th0temp-ydmintime:--] [th0temp-mmax:--] [th0temp-mmaxtime:--] [th0temp-mmin:--] [th0temp-mmintime:--] [th0temp-ymax:--] [th0temp-ymaxtime:--] [th0temp-ymin:--] [th0temp-ymintime:--] [wind0wind-ydmax:--] [wind0wind-ydmaxtime:--] [wind0wind-mmax:--] [wind0wind-mmaxtime:--] [wind0wind-ymax:--] [wind0wind-ymaxtime:--] [rain0total-ydmax:--] [rain0total-mmax:--] [rain0total-mmintime:--] [rain0total-ymax:--] [rain0total-ymaxtime:--] [sol0rad-dmax:--] [sol0rad-dmaxtime:--] [sol0rad-ydmax:--] [sol0rad-ydmaxtime:--] [sol0rad-mmax:--] [sol0rad-mmaxtime:--] [sol0rad-ymax:--] [sol0rad-ymaxtime:—] [uv0index-dmaxtime:--] [uv0index-ydmax:--] [uv0index-ydmaxtime:--] [uv0index-mmax:--] [uv0index-mmaxtime:--] [uv0index-ymax:--] [uv0index-ymaxtime:--] [th0dew-ydmin:--] [th0dew-ydmintime:--] [mbsystem-lastgooddata:--] [th0temp-avg60:--] [rain0total-nonzerotime:--] [th0temp-amax:--] [th0temp-amaxtime:--] [th0temp-amin:--] [th0temp-amintime:--] [th0dew-amax:--] [th0dew-amaxtime:--] [th0dew-amin:--] [th0dew-amintime:--] [wind0wind-amax:--] [wind0wind-amaxtime:--] [thb0seapress-ydmax:--] [thb0seapress-ydmaxtime:--] [thb0seapress-ydmin:--] [thb0seapress-ydmintime:--] [thb0seapress-mmax:--] [thb0seapress-mmaxtime:--] [thb0seapress-mmin:--] [thb0seapress-mmintime:--] [thb0seapress-ymax:--] [thb0seapress-ymaxtime:--] [thb0seapress-ymin:--] [thb0seapress-ymintime:--] [thb0seapress-amax:--] [thb0seapress-amaxtime:--] [thb0seapress-amin:--] [thb0seapress-amintime:--] [rain0total-allsum:--] [th0temp-davg:--] [mbsystem-lunarsegment:--] [mbsystem-lunarpercent:--] [mbsystem-daylength:--] [mbsystem-moonrise:--] [mbsystem-moonset:--] [wind0wind-davg:--] [th0hum-mmax:--] [th0hum-mmaxtime:--] [th0hum-mmin:--] [th0hum-mmintime:--] [th0hum-ymax:--] [th0hum-ymaxtime:--] [th0hum-ymin:--] [th0hum-ymintime:--] [th0hum-ydmax:--] [th0hum-ydmaxtime:--] [th0hum-ydmin:--] [th0hum-ydmintime:--] _[forecast-text:]


as of tonight thats it from me for a long time (few months) as always download or clone via the github repo..https://github.com/weather34/Meteobridge-Weather34-Template

look out in the future for new support page and developer..brian...

Brian,

Great update!

Take care.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on March 12, 2019, 03:28:47 PM
Brian,
Thanks for all your contributions, hard work, and help.  Your template is truly a work of programming art!!
Enjoy your time off with friends and family.
 [tup]
Phil
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 13, 2019, 03:11:01 AM
Thanks i wouldn't call it  a masterpiece of art programming just inspired by sites like dribbble but how far can your imagination go and if I had a disposable income and time  id buy 9 27inch monitors and and if I had my own basement(man cave) this is what boredom can produce..in each monitor just using a module .thanks and do keep an eye open for new info around end of April ..

boredom but feasible :-)

(https://res.cloudinary.com/brian-underdown/image/upload/v1552460599/thefuture_h4br6b.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 13, 2019, 08:36:55 AM
Hello Brian!

I just installed your template and I am awed by the amazing look!
http://dashboard.txweather.org

My only problem is that the modules show randomly for me on my browser Chrome/Firefox both the latest on Linux Fedora 28 x86_64
It could be just me or is it there something wrong with my config?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 13, 2019, 01:24:18 PM
good evening

no expert on linux but looking in the dev console of safari you have internal server 500 errors flagged most likely due to low resources .you need to increase the memory limit
in the server php.ini .however dont ask me where that resides on your server .. also cautionary note if its a low cost hosted sharing package you may be limited by the hosting company package itself ..

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 13, 2019, 05:13:16 PM
Thanks for the pointer. I got it from here.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 13, 2019, 09:28:03 PM
All fixed. Beside the memory limit I also needed to upgrade to php7.2

All is well.

Thanks again!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 14, 2019, 05:28:46 AM
 [tup] good stuff have fun ..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: new2ark on March 14, 2019, 09:50:43 AM
DarkSky info is out of wack after upgrading Meteobridge and Weather34 website

i have been using Weather34 and Meteobridge for over a year and this new problem has me scratching my head...check out my website....https://pwsincabotar.com/
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 14, 2019, 10:37:51 AM
i would say there is more than darksky issue going on here lots of 404 means missing files not on server or in directory .

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: new2ark on March 14, 2019, 10:41:19 AM
Sorry....I wiped out my server files and are now uploading Weather34 to see if it would resolve the issue....should be finished in about 10 min....
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 14, 2019, 11:00:19 AM
might also want to check file folder permissions ..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: new2ark on March 14, 2019, 11:04:55 AM
well before current conditions was working and forecast was giving me high temperatures from DS....now both arent working....hmmm
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 14, 2019, 11:06:59 AM
pm password to setup screen you can change at anytime ..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: new2ark on March 14, 2019, 11:59:43 AM
3 new files did the trick....thanks for resolving this so quickly
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 18, 2019, 04:02:20 PM
Quick question @weather34, I have setup the air quality monitor and the page does not seem to refresh it?

It still shows the default  the 192 Unhealthy AQI

Thanks for the help!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on March 21, 2019, 11:09:43 PM
Assuming you’ve set the right Purple ID, the next thing I’d try is making sure the permissions are set correctly for the folders and files in your web folder. Then make sure your cron job is running without error.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 22, 2019, 12:28:36 PM
Assuming you’ve set the right Purple ID, the next thing I’d try is making sure the permissions are set correctly for the folders and files in your web folder. Then make sure your cron job is running without error.

The instructions did not talk about a cronjob... Can you point me to the right direction please?

Thanks!

Edit: Is it the services setup under meteobridge? If yes, Those are done... After the mysql change I am able to get updates. Not sure what was causing it... Maybe the stationcron.php was stopping due to the errors on the mysql.... Not sure... :)

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 24, 2019, 04:33:14 AM
Good morning

files updated on the repo mainly reflect weather underground and moonphase module .

1.weather underground main page removed night time zero value for UV .
2.new very slim in fact so small Im amazed at its simplicity to achieve the output .requires moonpase.php,mooninfo.php and two css files to be updated.also has minor dutch correction in new moon layout languages/nl.lang.php.

this should be the version handed over next month the changes are minor but improves overall visual experience and clean output(theoretically)

via github you can either clone or just download the updated files look for the date in the listings .
https://github.com/weather34/Meteobridge-Weather34-Template

to get a smooth update process it is advantageous to learn and get to grips with github capabilities , ive used quite successfully in the last two months whilst a bit of learning curve is required but it really is the way to go in the future if you want to follow the updates easily.

like to thank these sites which I frequently monitor for anomalies I dont always see

Singapore Weather(UV readings unlikely to see here in Istanbul & really uncomfortable dewpoint readings that would permanently confine me to A room with 24/7 AC)

Bath(UK) Weather (UK mph with metric values)

Myrtle Beach WX (general non metric values)

Milehighweather (custom version)

Okawville WX( general non metric values)

Baxley, GA Weather Station (general non metric values)

Toulouse Meteo (custom version using multiple hardware types and multiple meteobridge hubs)

screenshots of Meteobridge MB-UB40-EDS version (what does EDS mean ? Earth Dies Screaming a song from my teenage youth years)

(https://res.cloudinary.com/brian-underdown/image/upload/v1553414432/w34updateMar_n0clut.png)

(https://res.cloudinary.com/brian-underdown/image/upload/v1553414430/wuupdate_ox6nmf.png)

as always tested on current PHP public release now at 7.3.3
PHP version 5.x.x was declared End-Of-Life on January 1st 2019...
in short  PHP 7x is up to double as fast as PHP 5.6

(https://res.cloudinary.com/brian-underdown/image/upload/v1553432171/seven3_skbkmc.png)





side note I get a lot of emails about Weatherflow so here is the gist of my responses

1.weatherflow hardware is fully compatible with meteobridge hubs and you have near on full capability as seen with any other hardware connected
to a meteobridge hub.
2.having some new weatherflow hardware with improvements like the much needed solar powered addon (no more expensive lithium aa batteries which basically rapidly lose voltage/current in long cold spells ,ive gone through 24 in 14 months and rapid drop off rate is alarming) ,anti vibration mount addon(sceptical and await how it performs under 70kmh or more winds which get quite frequently in recent months), improved material coating to remove or reduce the loss of wind readings in rainfall periods (stormy and flash flood season is around the corner) .
3. there are no plans to have a dedicated weatherflow version whilst I have a version that works fine using the websocket protocol but big but its redundant unless the browser is open on your device,computer etc..so therefore purchasing a meteobridge hub will give you all the beneficial features currently available in the template .
4. weatherflow hardware is still a product thats evolving its newer haptic technology is a challenging method and I still remain on the sidelines in terms of rainfall measurements under steady to heavy rainfall .a tipping bucket or manual gauge still offers for me a more realistic measurement of rainfall .

as always have a great week ahead...

dont forget to follow Ken True's github page for Cumulus version...https://github.com/ktrue/CU-HWS

and Ian Millard Weewx version via github https://github.com/steepleian/WX-HWS
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 24, 2019, 11:03:30 AM
Thank you for this update!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on March 24, 2019, 01:42:49 PM
Just got the Meteobridge Pro setup properly. Took it a while to arrive, mostly due to customs. Unfortunately Ambient Weather hasn't had them available for months, so had to order international.
The response time is a lot faster that the Moteino setup I was using to receive from my wireless ISS on the ground, and my wireless Wind/UV/Solar sensor setup on the roof. I am still using the Moteino to send to my Davis console which is feeding the AW site since they won't license a MB Pro that isn't purchased through them. I made a custom 915MHz antenna for the Meteobridge pro to improve signal.
The little Raspberry Pi is running MySQL and Apache just fine for hosting the weather34 template.
I just need another UPS for the POE switch that is feeding power to the Raspberry Pi and Meteobridge Pro.

Everything looks to be working well now though.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 25, 2019, 03:20:06 AM
Just got the Meteobridge Pro setup properly. Took it a while to arrive, mostly due to customs. Unfortunately Ambient Weather hasn't had them available for months, so had to order international.
The response time is a lot faster that the Moteino setup I was using to receive from my wireless ISS on the ground, and my wireless Wind/UV/Solar sensor setup on the roof. I am still using the Moteino to send to my Davis console which is feeding the AW site since they won't license a MB Pro that isn't purchased through them. I made a custom 915MHz antenna for the Meteobridge pro to improve signal.
The little Raspberry Pi is running MySQL and Apache just fine for hosting the weather34 template.
I just need another UPS for the POE switch that is feeding power to the Raspberry Pi and Meteobridge Pro.

Everything looks to be working well now though.
good morning
i was going to reply yesterday got sidetracked , playing with antennas can be rewarding i really miss my amateur radio days especially building antennas at VHF/UHF i was obsessed with weak signal reception and the day i first heard W5UN signal reflected off the moon back in the UK I was a happy man as I was using a home made antenna array elevated..
Im no expert on Raspberry PI in fact complete novice to the point no idea where to start lets break it and learn ...

Not sure what size UPS you use but Ive always had a UPS running living in a district that radomly weekly the electric shuts down and nothing to do with weather but I use it like this my UPS i recently replaced as my wife constantly plugging her laptop into it so I gave it to her and bought another roughly $70 but Im sure a 600va or 850va at low cost would be sufficient , i get around 46 hours with no electric with all my hardware connected .so I do it like this

(https://res.cloudinary.com/brian-underdown/image/upload/v1553498093/weather34hardware1_i91bbu.png)

Aside the meteobridge products certainly are versatile and rich in data the more you use it the more you discover its capabilities the template now uses 171 different values(strings) generated by meteobridge software and there are many more ..so have fun...brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on March 28, 2019, 02:44:35 AM
Hello again, Brian! Used the last update of your template. I noticed an interesting feature (seen in the picture): judging by the timeline displays not only the last day, but previous.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 28, 2019, 03:03:18 AM
at a guess i would say your end of day did not run ...truncate

under services tab in meteobridge what time is empty.php set to run other than that cant think of anything why you would have multiple days in the day charts , is it the same for wind etc ..? please always provide a url then i can see it realtime ..
 [ You are not allowed to view attachments ]



Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on March 28, 2019, 11:19:05 AM
Thank you for your time. All done as Your instructions: https://www.weather34.com/homeweatherstation/guides/setupmeteobridge.html
By the way, the same applies to wind and temperature.
https://xn--10-6kcwaznenhomt1p.xn--p1ai/
I did not change the settings of meteobridge. Version of your template (before the latest revision) to work correctly. I did not replace the files selectively, so I completely deleted everything on the server, and then copied the latest version of the template again, configuring it again.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 29, 2019, 01:00:32 AM
looks ok now , as I said i think the end of day was not running its the only way the data from previous days are still present .. anyway have fun and dont forget to change your purple air heading to moonphase :-)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 30, 2019, 04:44:48 AM
a look back did it change that much ??

https://weather34.com/homeweatherstation/weather34timeline/weather34timeline.html

(https://res.cloudinary.com/brian-underdown/image/upload/v1553935427/timeline_axxsro.png)

and who knows the future

(https://res.cloudinary.com/brian-underdown/image/upload/v1553502898/whiteweather34_qcfzuo.png)

have a great weekend..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 30, 2019, 05:46:37 AM
Awesome time line!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on March 30, 2019, 09:20:11 AM
a look back did it change that much ??

https://weather34.com/homeweatherstation/weather34timeline/weather34timeline.html

(https://res.cloudinary.com/brian-underdown/image/upload/v1553935427/timeline_axxsro.png)

and who knows the future

(https://res.cloudinary.com/brian-underdown/image/upload/v1553502898/whiteweather34_qcfzuo.png)


have a great weekend..brian
Brian,

Very interesting timeline!

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: PaulMy on March 30, 2019, 10:11:33 AM
Quote
a look back did it change that much ??
Do you want a copy of any of the old zips?  I've got a few ;)

Enjoy,
Paul
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 30, 2019, 11:14:02 AM
Quote
a look back did it change that much ??
Do you want a copy of any of the old zips?  I've got a few ;)

Enjoy,
Paul

ha ha keep em mate might be worth something one day -:) i have them all and  i have stuff i started on in 2010 then got sidetracked on other stuff didnt realize i was dabbling in weather screens so long ago....still none the wiser and wouldnt do it all again probably settle for something less complex like collecting football cards..have a great weekend..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on March 31, 2019, 02:58:26 AM
thanks to Ken True

wu forecasts much improved and 60-70% reduction in code .  4 files related forecastwu.php , outlookwu.php and two css files (minor alignment for wu forecast)

as always  https://github.com/weather34/Meteobridge-Weather34-Template

ps the ability to track improvements via Github is really beneficial , I simply follow Ken and it gives the ability to track changes,improvements with an email notification..Github is the way forward for getting updates be it a small or significant update.

screenshot no real significant visual change but the underneath quite significant reduction in code..many thanks to Ken True.


(https://res.cloudinary.com/brian-underdown/image/upload/v1554015199/wukt_k6othl.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on March 31, 2019, 05:42:21 AM
Thanks for this awesome update!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on March 31, 2019, 04:14:55 PM
Hi Brian,
Thanks for the kind words about my code simplification of your original WU/TWC scripts.  I try to make code that I can easily maintain in the future, so using a loop to run through the JSON of the forecasts makes for much smaller code and easy to change the presentation of each variable (so it applies to all the instances).

Best regards,
Ken
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 01, 2019, 02:31:59 PM
Brian,

Just noticed that the 40.svg icon (Heavy Rain) must be missing from the WU forecast.

Best Wishes,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 01, 2019, 03:07:35 PM
thanks added 2 icons to repo 40.svg nt_40.svg

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 01, 2019, 03:41:40 PM
thanks added 2 icons to repo 40.svg nt_40.svg

Got it, thanks!

Best wishes,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: bthoven on April 02, 2019, 08:00:15 PM
Hi,

I installed the very early version long time ago for my weewx setup. How can I upgrade to the latest version without having to set up again.

Thank you very much for the beautiful dashboard.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 03, 2019, 02:10:20 AM
hello good morning

you will need to contact Ian Millard for anything reference weewx . I simply have no idea or any experience of weewx.
https://github.com/steepleian/WX-HWS
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 03, 2019, 02:11:57 AM
good morning

new option added based on a idea suggested many thanks Derek .

screen below shot gives the drift of what it does..basically shows current forecast period in a single module

(https://res.cloudinary.com/brian-underdown/image/upload/v1554271694/heatindex_khckey.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 07, 2019, 03:15:24 AM
Hi everyone .. I recently bought the meteobridge nano sd and I'm using the local dashboard included ... Only I noticed that the design is different from the others .. Why? I would like to have what other users who use meteobridge have ... I enclose the 2 screens to let you see the differences ... 😁 😁
The first screen (round temperature icon) is mine, instead I'd like to have the dashboard like the second screen ..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 07, 2019, 09:59:40 AM
good morning

new option added based on a idea suggested many thanks Derek .

screen below shot gives the drift of what it does..basically shows current forecast period in a single module

(https://res.cloudinary.com/brian-underdown/image/upload/v1554271694/heatindex_khckey.png)

Brian,

This is a nice option!

Thanks to you, and Derek.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 07, 2019, 02:44:13 PM
no problem chuck

think thats as much as I can do with the newer WU api and always good to have options.. needs a slight tweak on the colors for temperature but apart from that think ill just fix some other minor issues this week and then hand it all over ..let someone else focus on anything in the future..

as always chuck its good you follow the updates and your station and area always highlighs those minor annoyances I just dont see or forget to cross check ..i.e colors on the wu temperature and feels like
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on April 09, 2019, 04:06:06 AM
Hi

Just some cosmetic things.

With the latest WU Forecast update, You have "AM Clouds" and "PM Sun". Using the 24-hour clock the correct wording could be "Morning Clouds" and "Afternoon Sun"

Also in the Moon Phase module and the Moon Info module there are some AM/PM, even I'm using the 24-Hour clock.

Thanks for a great template.

Rgds
gand
https://lynghuzed.dk/ (https://lynghuzed.dk/)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 09, 2019, 04:25:46 AM
Hi

Just some cosmetic things.

With the latest WU Forecast update, You have "AM Clouds" and "PM Sun". Using the 24-hour clock the correct wording could be "Morning Clouds" and "Afternoon Sun"

Also in the Moon Phase module and the Moon Info module there are some AM/PM, even I'm using the 24-Hour clock.

Thanks for a great template.

Rgds
gand
https://lynghuzed.dk/ (https://lynghuzed.dk/)
good morning mr cosmetic :-)

the weather underground is like that in the API output apart from writing a load of what if ! or else ! statements not much we can do

you can see in the api output
"wxPhraseLong":["AM Clouds/PM Sun","Mostly Clear","Partly Cloudy","Mostly Cloudy","Cloudy","Partly Cloudy","Cloudy","Cloudy","Cloudy/Wind","Cloudy","Cloudy/Wind","Partly Cloudy/Wind"],"wxPhraseShort":["AM Clouds","M Clear","P Cloudy","M Cloudy","Cloudy","P Cloudy","Cloudy","Cloudy","Cloudy/Wind","Cloudy","Cloudy/Wind","P Cldy/Wind"]}]}

ive updated the repo the file livedata.php see if that helps ? let me know ..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1554798169/gand_ydnpqa.png)

(https://res.cloudinary.com/brian-underdown/image/upload/v1554798317/gand2_v5kcsw.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on April 09, 2019, 04:33:52 AM
Hi Brian

Thanks for the fast reply/fix.

Moon Info and Moon Phase are perfect now.

Thanks

Rgds
Gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 09, 2019, 04:53:40 AM
have a great day..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 09, 2019, 01:01:40 PM
a long overdue idea finally done barometer almanac (barometeralmanac.php )
and simplifying the basic days ahead awareness using weather underground API (forecast3wularge.php)

as always https://github.com/weather34/Meteobridge-Weather34-Template

(https://res.cloudinary.com/brian-underdown/image/upload/v1554829259/barometeral_tyikv8.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 09, 2019, 01:03:17 PM
no problem chuck

think thats as much as I can do with the newer WU api and always good to have options.. needs a slight tweak on the colors for temperature but apart from that think ill just fix some other minor issues this week and then hand it all over ..let someone else focus on anything in the future..

as always chuck its good you follow the updates and your station and area always highlighs those minor annoyances I just dont see or forget to cross check ..i.e colors on the wu temperature and feels like

We will certainly miss your tweaks and updates, but you have earned a well deserved break from WX templates!

Best wishes,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on April 09, 2019, 01:14:24 PM
Thanks for your update!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 09, 2019, 01:14:57 PM
chuck 23rd april cant come quick enough not because of wx  templates just last minute thoughts of having prepared everything and that nervousness feeling inside the stomach.its like one hand on the pot of gold but you need two hands on it to own it ..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 11, 2019, 04:51:41 AM
nearing completion of all ideas ...

all almanac modules simple rework with relative indicators ...

(https://res.cloudinary.com/brian-underdown/image/upload/v1554972567/alama_hyvbt7.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 11:36:32 AM
Hi everyone, I have a meteobridge nano sd and besides the local dashboard I wanted (through the altervista site that I just created) to meet the weather34 dashboard on the site to share it on the net .... I followed the steps described on the site, so I have downloaded the zip file, unzipped on the desktop, then through filezilla I created a folder (pws) and transferred via ftp to altervista the files inside the folder created on the desktop ... the next step would be to identify my domain to enter the dashboard , I just don't know how to do it or I don't know how to do it anyway .. because if I try to click to enter my site it gives me nothing ... what am I wrong ??? could you help me ??? thank you so much
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 11, 2019, 02:56:18 PM
Hi everyone, I have a meteobridge nano sd and besides the local dashboard I wanted (through the altervista site that I just created) to meet the weather34 dashboard on the site to share it on the net .... I followed the steps described on the site, so I have downloaded the zip file, unzipped on the desktop, then through filezilla I created a folder (pws) and transferred via ftp to altervista the files inside the folder created on the desktop ... the next step would be to identify my domain to enter the dashboard , I just don't know how to do it or I don't know how to do it anyway .. because if I try to click to enter my site it gives me nothing ... what am I wrong ??? could you help me ??? thank you so much

I don't have any specific knowledge concerning Altervista, but you should be able to login to your Dashboard at http://"Your_Altervista_Domain_Name"/pws/easyweathersetup.php.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 03:08:37 PM
Don't work..  I don't understand what I'm wrong..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on April 11, 2019, 03:23:26 PM
On altervista, you have to enable external HTTP requests in the control panel .. otherwise, the forecast won't work at all.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 03:58:34 PM
On altervista, you have to enable external HTTP requests in the control panel .. otherwise, the forecast won't work at all.
I Do not find this option...
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on April 11, 2019, 04:13:58 PM
Hmmm... they appear to have dropped that from the settings area.. maybe they're just allowing altervista websites to access external data now.  I couldn't find that setting on my dashboard either  #-o
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 04:16:39 PM
Hmmm... they appear to have dropped that from the settings area.. maybe they're just allowing altervista websites to access external data now.  I couldn't find that setting on my dashboard either  #-o
Could you recommend me some other site that is easy to use and free to use weather 34?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: saratogaWX on April 11, 2019, 04:29:52 PM
What is the URL to your altervista PWS site?  I'll take a look.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 04:31:48 PM
What is the URL to your altervista PWS site?  I'll take a look.
lamiastazionemeteo.altervista.org
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on April 11, 2019, 04:36:01 PM
What is the URL to your altervista PWS site?  I'll take a look.
lamiastazionemeteo.altervista.org
The one http://lamiastazionemeteo.altervista.org/pws/  fails.
This one works
http://lamiastazionemeteo.altervista.org/PWS/
Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 04:48:40 PM
What is the URL to your altervista PWS site?  I'll take a look.
lamiastazionemeteo.altervista.org
This is the message I get, the folder is there but the index.php is missing.
Or you are still in the 24-hour blocked time for new sites.
Quote
alterVista
Index page missing
The directory /pws/ does not contain an index file.

You have to create a page called index.html, index.htm or index.php (lower case).

Warning: if you have just activated your site you might have to wait up to 24 hours before it is visible.

Can you check with your filezilla if that index.php really is there or not?

But this one works
http://lamiastazionemeteo.altervista.org/PWS/
Wim
Yes, but that's not the data from my station... It'S like it's a demo...
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on April 11, 2019, 04:51:17 PM
. . . shortened . . .
But this one works
http://lamiastazionemeteo.altervista.org/PWS/
Wim

Yes, but that's not the data from my station... It'S like it's a demo...
1.You now have to run the setup from the menu
2. You need to tell the meteobridge to upload your data using mb-api
These are some of the steps to get the Meteobridge talking to your website.

Sucess,
Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 11, 2019, 04:59:56 PM
. . . shortened . . .
But this one works
http://lamiastazionemeteo.altervista.org/PWS/
Wim

Yes, but that's not the data from my station... It'S like it's a demo...
1.You now have to run the setup from the menu
2. You need to tell the meteobridge to upload your data using mb-api
These are some of the steps to get the Meteobridge talking to your website.

Sucess,
Wim
Could you help me configure it? I'm Sorry but I'm a novice.. 😁 😁 😁
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on April 12, 2019, 03:13:38 AM
. . . shortened . . .
1.You now have to run the setup from the menu
2. You need to tell the meteobridge to upload your data using mb-api
These are some of the steps to get the Meteobridge talking to your website.
. . . shortened . . .
Could you help me configure it? I'm Sorry but I'm a novice.. 😁 😁 😁
That is very difficult to do from outside, in a strange language.
And I am not familiar with this version of the weather34/ template

But you yourself use Italian,
you know the name of your station,
you know your e-mail-address and you can read the mails which can come in when requesting an API-key for METAR and Darksky.

If you start with opening the settings
described here https://weather34.com/homeweatherstation/guides/setup.html
and doing it question by question, it will work.

Setting the Meteobridge option is described at https://weather34.com/homeweatherstation/guides/mb34.html

Wim

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 12, 2019, 05:35:18 AM
this is just a copy of the edited 1st post in this thread ..

Please read carefully and don’t assume it is what it reads !

As of April Friday 19th 2019 i can no longer offer support or maintain this template going forward , it is not a case of not wanting too or being just overwhelmed or bored with it .Other personal circumstances will take a majority of my time away from being able to offer support and offer any response in a timely manner , it may be many months before I can actually focus on it again and probably the chances I would have to re educate myself on most things relative to the template . As of now i can usually spot the obvious issue pretty much in a few minutes and resolve them in a timely manner(most issues I see are at server level in fact 90% is server issues and 10% is my oversight or just my stupidity not in crosschecking).

I kindly ask do not email me or send any PM(personal messages via forums) i can not respond in any timely manner and probably by the time I get to read it or in a position to offer any possible answer you would have either resolved it with help from the forum users or just moved on with something else and gave up..

As the template is today it is primed for meteobridge users only , there other variants to support other software,hardware being maintained by other experienced enthusiasts listed below.

Meteobridge version is now in a bit of a limbo the offer back in January of being maintained as got some unexpected outcome his wife announced their having their first child and also he needs to relocate in his work to nearer home  ,so if that was me I would be a happy man so it is what it is and I have not been able to find anyone willing to maintain it ,

Updated : William Bailey aka lighmaster has agreed to maintain the GITHUB repo taking over support and maintaining the template for the foreseeable future .

so the GITHUB version https://github.com/weather34/Meteobridge-Weather34-Template is the master version.

I kindly ask do not distribute any variants of this meteobridge version as I may in 6-12 months time pick up where it is today. I understand the personal tweaks many make for themselves I see no issues that it is your domain,website and you want it to suit your needs but importantly not all personal tweaks work for others for various reasons ,perhaps hardware differences,or a particular feature that is unique to your needs. So please this is the master version and having any chance to pick up in the future it would
likely need to be where I left off.https://github.com/weather34/Meteobridge-Weather34-Template

Cumulus Version is kindly and much appreciated maintained by Ken True(saratoga) this version resembles a similar code to what is used in meteobridge version and has the possibility to use various modules from the meteobridge version where applicable based on cumulus realtime.txt values.Im in debt too many users from the cumulus forum over the last few years they were incredibly helpful and constructive in there ideas and resolving issues.

Weather Display Version is kindly maintained/developed and much appreciated by Wim van de Kuil(Leuven) this version is not really anything todo with myself or the meteobridge version completely different in its code structure and has little chance of using any recent modules made for the meteobridge version without some extensive rewriting of pretty much anything. This version just looks similar but underneath its completely not my code and therefore it is very important you liaise with Wim to iron out any issues .

Weewx Version there are a few variants but the main one is maintained by Ian Millard(claydonsweather) and is built on the recent framework of the current meteobridge this version seems to have very little issues and has a good chance of using any recent modules or design ideas from the meteobridge version.

Other variants like weathercat,atmocomm,rasperry Pi are around but I understand very little about these I guess google is your friend to try and source information.

Im often asked why I just focused on meteobridge ? the answer is really quite simple I trust the meteobridge  product range and the developer(Boris) it simply does what I want without much upkeep I can leave it on for months just doing what I want it todo, im currently at 107 days without any changes or reboots now thats what i wanted stability and install / forget ..

as for the meteobridge product range  runs exactly how I wanted to run a weather station from when I first was interested in owning a weather station, Ive never been interested in trying a dedicated computer to do what I want personally  .Ive tried software approach many years ago but it never fulfilled my needs or offer any trust factor in terms of stability id wake up next day with a blue screen or come back a few hours later with locked up mouse.I simply loathe windows based computers and have never used one for anything reliable or dependancy for 14 years after losing many years of photography work due to a corrupt OS after an update,i learnt the hard way and I know what i should have done but hindsight always tells you that after and today I do it every day at 11:59pm automatically..

Also please never forget this template as always been free and has never been surrounded by calls for donations and costs of personal time or server upkeeps (i get that part and see no reason to question anyone why they feel the need to cover the costs for server and cost of there personal time but to me it is always a hobby the day it doesn’t feel like an hobby it is time to move on to find something else to occupy the free time) .
I also used the simplest methods of distributing where possible in recent years (early on I tried the get in touch approach and issue download but that just raised unnecessary assumptions about something that never existed and you just end up just dealing with a noisy bunch of paranoid views instead of trying to produce something useful). I also used a local server an old 2010 mac mini with XAMPP this allowed to constantly keep up with changes in various PHP releases from 5.7 upto the current XAMPP PHP 7.3.3 release.

Lastly a special thanks to two individuals

Boris at meteobridge(smartbedded) https://www.meteobridge.com/wiki/index.php/Home a true realistic logical person you know exactly where you stand and he gives the most honest answers and you get realistic outcomes .he is a generous man and strives for the perfect weather station solution , I honestly would not have a such a reliable setup in my honest opinion if I had never been able to work with him and communicate in a collaborative manner.

David St John at Weatherflow  http://weatherflow.com, another individual who is logical and responsively thoughtful ,his patience and understanding is admirable .this is also reflected in the way weatherflow reacts to there customer base .I strongly recommend to get behind this company if you want something fresh and innovative in the near future.



phew so you read this far
have a cigar,You're gonna go far,You're gonna fly high

or you may feel like singing aloud

When I was a child I had a fever
My hands felt just like two balloons
Now I've got that feeling once again
I can't explain you would not understand
This is not how I am
I have become comfortably numb

have a great year ahead and do what makes you happy ….brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1555060577/dark_lijb6o.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: PaulMy on April 12, 2019, 08:51:23 AM
All the best Brian and hope to still see you here on occasion.

Enjoy,
Paul
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on April 12, 2019, 10:38:02 PM
Brian,
Thanks for all your support the many times I needed it.  You are a stand-up contributor to your craft.

Stay healthy and keep singing vintage Pink Floyd & stay numb!

Phil A.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 13, 2019, 04:13:08 AM
good morning thank you paul and phil glad I was able to help in some way . as for the meteobridge it is now in safe hands William as agreed to maintain it for the foreseeable future and already has some improvements under the hood to add .so good outcome for all versions .I hope it gives many some enjoyment and a friendly user experience.

William has a good understanding of how the template works and is compiled. I approached him a few weeks ago because of his input and ability to use the GITHUB features ,he has contributed positively in the last few months so I put my trust in him . think he a similar view of how the template appearance should be. anyway have a great weekend and yes Pink Floyd the music i put on when i need some inspiration
"There is no pain you are receding
a distant ship's smoke on the horizon
you are the only coming through in waves
your lips move but I can't hear what you're saying" :-)

https://github.com/weather34/Meteobridge-Weather34-Template

(https://res.cloudinary.com/brian-underdown/image/upload/v1555142818/repo_zd4bvr.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 13, 2019, 08:25:24 AM
Brian,

Many thanks for your outstanding contributions to the WX community. I have appreciated your gracious help and support and I am glad to hear that William has agreed to stand in, during your absence.

Best wishes to you and your family, and keep in touch!

Thanks again,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Jáchym on April 13, 2019, 04:12:21 PM
Brian I think you should always include a poll in your posts asking "when is Brian going to start supporting and developing his template again" or vice-versa, when is he going to quit again.

I remained quiet for quite a while, but I just can no longer resist, this is plain hilarious. If I ever decide to call it a day, similarly to what Wim did recently, that will mean the end (not tham Im planning that right now). In just the last year you stopped and started again supporting your template at least 5 times and in previous years likewise.

You should realize that this is only causing great confusion to all users of your IMHO quite nice template. I think no-one really knows now, which version is supported, which platform... just a huge mess.

And yes I know this will make you hate me even more, but I just had to say it (and Im by far not the only one with this opinion, just that it is discussed by emails or PMs).

Im just used to say what I think...
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: droiddk on April 13, 2019, 04:16:56 PM
Brian I think you should always include a poll in your posts asking "when is Brian going to start supporting and developing his template again" or vice-versa, when is he going to quit again.

I remained quiet for quite a while, but I just can no longer resist, this is plain hilarious. If I ever decide to call it a day, similarly to what Wim did recently, that will mean the end (not tham Im planning that right now). In just the last year you stopped and started again supporting your template at least 5 times and in previous years likewise.

You should realize that this is only causing great confusion to all users of your IMHO quite nice template. I think no-one really knows now, which version is supported, which platform... just a huge mess.

And yes I know this will make you hate me even more, but I just had to say it (and Im by far not the only one with this opinion, just that it is discussed by emails or PMs).

Im just used to say what I think...

 [tup] [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 13, 2019, 04:44:34 PM
your the one with issues I'm afraid not me and we can all be socially inept thats what determines a troll sorry you feel that way but it is what it is I'm not going to lose any sleep over it you may think what you want ,makes no odds to me at all why would it ? .this a thread about a template not a thread to troll and throw derogatory personal opinions ,  but you are who you are your entitled to your opinion and if thats the way you feel not much i want to say or can do. never met you so to me throwing insulting screen messages at each other doesn't really resolve anything or give myself any satisfaction perhaps the onlookers like to get a kick out of it and get there popcorn out:-) ..

I seriously certainly wouldn't have gone to all the trouble of finding enthusiasts to maintain various versions especially respected enthusiastic developers amongst these forums thats just dumb or ignorant of other peoples time and commitment .

end of the day i don't hold grudges to wise to lose time and waste energy and i don't use forums to openly insult unless provoked or I dont judge.if  people  have an issue with myself then I can only say sorry perhaps if you actually new me then you might hold a different view .. so I can only say sorry to anyone who feels I have insulted them ..move on Jachym its a waste of time focus on your on work make it better make your user base happy im sure they miss the days of your daily plugin , block releases ..FWIW take care..

brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on April 14, 2019, 04:58:23 AM
I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on April 14, 2019, 05:09:22 AM
I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.

good morning

only last night i found some emails from piet mentioning similar , is it weather underground  when selected the only time it happens .if i dont find anything today i will forward on to william..im sure he will be able to help..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on April 14, 2019, 02:44:36 PM
I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.

good morning

only last night i found some emails from piet mentioning similar , is it weather underground  when selected the only time it happens .if i dont find anything today i will forward on to william..im sure he will be able to help..

I have this same problem.

Thanks for updating us!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 15, 2019, 08:20:13 PM
I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.

I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.

good morning

only last night i found some emails from piet mentioning similar , is it weather underground  when selected the only time it happens .if i dont find anything today i will forward on to william..im sure he will be able to help..

I have this same problem.

Thanks for updating us!

When you say "update issues", what exactly is it doing? Do you mind opening a Github Issue (https://github.com/weather34/Meteobridge-Weather34-Template/issues) describing exactly what issue its having with updating?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 20, 2019, 02:09:21 AM
Hello Everyone, finally I managed to properly install the dashboard weather 34 on my nano SD (via Altervista) Now I have only one problem, I do not update the weather forecast of the next 3 days and current conditions. I entered the field both the key API and the name of my station weatherunderground but I do not have the exact current conditions (the temperature in F even if I want it in C) and then, as I said before, are not updated as time...
I Enclose an image to make you account for my problem... Thank you
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 20, 2019, 03:44:08 AM
Hello Everyone, finally I managed to properly install the dashboard weather 34 on my nano SD (via Altervista) Now I have only one problem, I do not update the weather forecast of the next 3 days and current conditions. I entered the field both the key API and the name of my station weatherunderground but I do not have the exact current conditions (the temperature in F even if I want it in C) and then, as I said before, are not updated as time...
I Enclose an image to make you account for my problem... Thank you

Double check all your units on the settings page, particularly the WU and Darksky ones. Also, what's the url of your site?

(https://i.postimg.cc/4yjh9T7L/Screenshot-20190420-034151-Chrome-Beta.jpg) (https://postimg.cc/H84LqRtX)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 20, 2019, 03:55:07 AM
Hello Everyone, finally I managed to properly install the dashboard weather 34 on my nano SD (via Altervista) Now I have only one problem, I do not update the weather forecast of the next 3 days and current conditions. I entered the field both the key API and the name of my station weatherunderground but I do not have the exact current conditions (the temperature in F even if I want it in C) and then, as I said before, are not updated as time...
I Enclose an image to make you account for my problem... Thank you

Alright, figured it out, in your Meteobridge, you need to set a http request to run every 15 mins. Have it call the url http://lamiastazionemeteo.altervista.org/pws/mbdbfiles/stationcron.php

Also, make sure you have a http request set for 23:45 that calls the addtoyear.php for your url and another set for midnight that calls the empty.php like in the picture below.

(https://i.postimg.cc/TYXbfTx1/Screenshot-20190420-035428-Chrome-Beta.jpg) (https://postimg.cc/WtXz7Lhc)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 20, 2019, 07:07:40 AM
Hello Everyone, finally I managed to properly install the dashboard weather 34 on my nano SD (via Altervista) Now I have only one problem, I do not update the weather forecast of the next 3 days and current conditions. I entered the field both the key API and the name of my station weatherunderground but I do not have the exact current conditions (the temperature in F even if I want it in C) and then, as I said before, are not updated as time...
I Enclose an image to make you account for my problem... Thank you

Alright, figured it out, in your Meteobridge, you need to set a http request to run every 15 mins. Have it call the url http://lamiastazionemeteo.altervista.org/pws/mbdbfiles/stationcron.php

Also, make sure you have a http request set for 23:45 that calls the addtoyear.php for your url and another set for midnight that calls the empty.php like in the picture below.

(https://i.postimg.cc/TYXbfTx1/Screenshot-20190420-035428-Chrome-Beta.jpg) (https://postimg.cc/WtXz7Lhc)
ok, thanks I'il Try later... [tup]

edit: thanks, I solved .. now everything works for the best ..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 22, 2019, 09:29:45 PM
Please make sure you backup your template prior to any major update, none of my updates should have any negative effects on anyone's site, but it's always better to be safe than sorry. If you aren't particularly familiar with computers or websites and aren't sure how to backup your site, just create a copy if it in a new folder (ie: 'cp -r ./pws ./pws.bak' if you're on a Linux server. Post here or email me at support@lightmaster.pw if you ever need help.
 
 
 
I just pushed out a fix to the Wind Module that changes the left speed to be the current wind speed as of when your MB last sent data to your site, and the right speed is now actually reading the gust speed. Previously, gust speed had been the instantaneous speed, now it is the max speed within the last 10 minutes as per NOAA/NWS standards. The chart for hourly wind will look a bit different from here on out, with the gust part always being above the average speed, unless there's been no wind at all for a 10 min interval, since the max can never be below the average.
 
(https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg) (https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg)
 
 
To update, if you use git just a normal pull using 'git pull' should work. If you manually update individual files, you'll need to replace 'livedata.php', 'mbridge/mb.php', and 'windspeeddirection.php'.
 
(https://i.postimg.cc/13FWKdnb/Screenshot-20190422-210535-Chrome-Beta.png) (https://i.postimg.cc/c09Vdys1/Screenshot-20190422-210535-Chrome-Beta.png)
 
 
There have also been a number of small changes in the last week or so, so if you don't update regularly with git, check the commit history (https://github.com/weather34/Meteobridge-Weather34-Template/commits/master) to see what you missed.
 
 
Tonight or tomorrow, I'll be updating the charts to auto adjust the axis markers so you don't have so many labels on the side that you can't read the numbers (like when your temp decides to change by 40 degrees in a single day :sad:), and some of the graphs will become line graphs to make them look better (like the gusts part of the wind graph). Also, unless anyone has an objection, I'm gonna turn on the animations on the charts. Shouldn't effect anyone server performance, and makes them load a bit nicer.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on April 22, 2019, 09:47:39 PM
Thanks for this update light! Looking forward to the many to come! :D
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 23, 2019, 01:49:17 AM
Hello,
what am I doing wrong?
With me is not the Metar Station I have entered.

$metar   = "yes";
$icao1   = "LSMM";
$airport1   = "Meiringen";
$airport1dist   = "6";

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 23, 2019, 01:59:06 AM
Hello,
what am I doing wrong?
With me is not the Metar Station I have entered.

$metar   = "yes";
$icao1   = "LSMM";
$airport1   = "Meiringen";
$airport1dist   = "6";

Check it now. The Metar station only updates every 15 minutes when the forecasts update. If you want the change to show up as soon as you set your Metar station, open up the "mbdbfiles/stationcron.php" file in your browser by typing it into your Address Bar. For you that would be https://www.wetterbrienz.ch/MB/mbdbfiles/stationcron.php.

Also, please update to the latest version of the template at https://github.com/weather34/Meteobridge-Weather34-Template. I noticed the Metar's window is a little messed up and I believe that was fixed in an update a little while back.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 23, 2019, 02:22:50 AM
Sorry, my mistake.
I have installed the newest version at https://www.wetterbrienz.ch/MB1. But at the Meteobridge I entered the stationcron.php for the other url.
Sorry .........
Works wonderfully .....
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 23, 2019, 02:29:25 AM
Sorry, my mistake.
I have installed the newest version at https://www.wetterbrienz.ch/MB1. But at the Meteobridge I entered the stationcron.php for the other url.
Sorry .........
Works wonderfully .....

I noticed on your daily charts you have data for 23:45-midnight. Double check in your Meteobridge that you have the empty.php set to run at local midnight and that it's pointing to the correct url for empty.php.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 23, 2019, 02:46:53 AM
Please make sure you backup your template prior to any major update, none of my updates should have any negative effects on anyone's site, but it's always better to be safe than sorry. If you aren't particularly familiar with computers or websites and aren't sure how to backup your site, just create a copy if it in a new folder (ie: 'cp -r ./pws ./pws.bak' if you're on a Linux server. Post here or email me at support@lightmaster.pw if you ever need help.
 
 
 
I just pushed out a fix to the Wind Module that changes the left speed to be the current wind speed as of when your MB last sent data to your site, and the right speed is now actually reading the gust speed. Previously, gust speed had been the instantaneous speed, now it is the max speed within the last 10 minutes as per NOAA/NWS standards. The chart for hourly wind will look a bit different from here on out, with the gust part always being above the average speed, unless there's been no wind at all for a 10 min interval, since the max can never be below the average.
 
(https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg) (https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg)
 
 
To update, if you use git just a normal pull using 'git pull' should work. If you manually update individual files, you'll need to replace 'livedata.php', 'mbridge/mb.php', and 'windspeeddirection.php'.
 
(https://i.postimg.cc/13FWKdnb/Screenshot-20190422-210535-Chrome-Beta.png) (https://i.postimg.cc/c09Vdys1/Screenshot-20190422-210535-Chrome-Beta.png)
 
 
There have also been a number of small changes in the last week or so, so if you don't update regularly with git, check the commit history (https://github.com/weather34/Meteobridge-Weather34-Template/commits/master) to see what you missed.
 
 
Tonight or tomorrow, I'll be updating the charts to auto adjust the axis markers so you don't have so many labels on the side that you can't read the numbers (like when your temp decides to change by 40 degrees in a single day :sad:), and some of the graphs will become line graphs to make them look better (like the gusts part of the wind graph). Also, unless anyone has an objection, I'm gonna turn on the animations on the charts. Shouldn't effect anyone server performance, and makes them load a bit nicer.
Hi, to update a single github file (the new one for wind, for example) is it enough to overwrite the single file via filezilla?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 23, 2019, 02:50:29 AM
So I think now it is true.
https://www.wetterbrienz.ch/MB/

23:45 o'clock is io. At midnight, I reboot the system.

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 23, 2019, 03:18:33 AM
So I think now it is true.
https://www.wetterbrienz.ch/MB/

23:45 o'clock is io. At midnight, I reboot the system.

 [ You are not allowed to view attachments ]

Running the empty.php at 23:45 means that any data from 23:45 to midnight will be recorded as the next day. It would be better to run addtoyear.php at 23:45 (saves daily data), empty.php at 00:00 (resets for the next day), and reboot as soon as you can after that which I think is 00:15.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 23, 2019, 03:25:40 AM
With the reboot I can only enter after changing the day. Otherwise I changed it.

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 23, 2019, 03:29:00 AM
Hi, to update a single github file (the new one for wind, for example) is it enough to overwrite the single file via filezilla?

Yes, overwriting a single file is sufficient. If you were up to date before this update, you can look at https://github.com/weather34/Meteobridge-Weather34-Template/compare/master@%7B3day%7D...master (https://github.com/weather34/Meteobridge-Weather34-Template/compare/master@%7B3day%7D...master) to see the changed files to overwrite. I am making a point to make changes to the beta branch and then merge those changes all at once so I can post on here an easy list of files to replace.

Btw everyone, there is a beta branch on GitHub where I will be testing new things before pushing them to the master branch. I would strongly recommend not using the beta branch unless you make regular backups because any changes in the beta branch are untested. Unlikely to cause any issues, but never the less, beta is untested features and I can make no promises about the outcome. The Master branch is what has been tested and I've deemed ready for general public use.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 23, 2019, 03:36:01 AM
With the reboot I can only enter after changing the day. Otherwise I changed it.

 [ You are not allowed to view attachments ]

According to Google Translate, you have it set for periodic, and then After Changing the Day. You can set a script to run at a "specific time" instead and then select the reboot script for 00:15.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 23, 2019, 04:11:13 AM
I did not think about that. Merci for the tip.

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on April 23, 2019, 01:33:56 PM
Please make sure you backup your template prior to any major update, none of my updates should have any negative effects on anyone's site, but it's always better to be safe than sorry. If you aren't particularly familiar with computers or websites and aren't sure how to backup your site, just create a copy if it in a new folder (ie: 'cp -r ./pws ./pws.bak' if you're on a Linux server. Post here or email me at support@lightmaster.pw if you ever need help.
 
 
 
I just pushed out a fix to the Wind Module that changes the left speed to be the current wind speed as of when your MB last sent data to your site, and the right speed is now actually reading the gust speed. Previously, gust speed had been the instantaneous speed, now it is the max speed within the last 10 minutes as per NOAA/NWS standards. The chart for hourly wind will look a bit different from here on out, with the gust part always being above the average speed, unless there's been no wind at all for a 10 min interval, since the max can never be below the average.
 
(https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg) (https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg)
 
 
To update, if you use git just a normal pull using 'git pull' should work. If you manually update individual files, you'll need to replace 'livedata.php', 'mbridge/mb.php', and 'windspeeddirection.php'.
 
(https://i.postimg.cc/13FWKdnb/Screenshot-20190422-210535-Chrome-Beta.png) (https://i.postimg.cc/c09Vdys1/Screenshot-20190422-210535-Chrome-Beta.png)
 
 
There have also been a number of small changes in the last week or so, so if you don't update regularly with git, check the commit history (https://github.com/weather34/Meteobridge-Weather34-Template/commits/master) to see what you missed.
 
 
Tonight or tomorrow, I'll be updating the charts to auto adjust the axis markers so you don't have so many labels on the side that you can't read the numbers (like when your temp decides to change by 40 degrees in a single day :sad:), and some of the graphs will become line graphs to make them look better (like the gusts part of the wind graph). Also, unless anyone has an objection, I'm gonna turn on the animations on the charts. Shouldn't effect anyone server performance, and makes them load a bit nicer.

We appreciate your willingness to take the lead during Brian's absence.

Thanks again,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 24, 2019, 01:32:06 AM
Hello,
would it be possible to make a Swiss flag?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on April 24, 2019, 10:28:31 AM
Hi

Just before Brian left he very kindly changed some files so that I could have my wind data displayed as Knots . However this means that I cannot update my templates without losing the changes that Brian made . The files concerned were windgustyear,windalmanac,forecast3wu,windspeeddirection and settings (all php) Would it be possible to have the option to choose knots included as a permanent option via settings from the Admin drop down menu so that I can update the  WEATHER34 TEMPLATE with meteobridge options without fear of losing any changes

Many thanks

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: iccb on April 24, 2019, 10:47:39 AM
Is there option to use Wxsim-made forecast in forecast block?

Can weather alerts from https://www.meteoalarm.eu be used in this version of template?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 25, 2019, 02:27:26 AM
Hello,
would it be possible to make a Swiss flag?

I'm not all that familiar with other nations languages, but Google says that German is mainly spoken in Switzerland... What language were you hoping to add? If you want to have any language added, I can send you a file so you can translate it for me and then I'll add it to the template.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on April 25, 2019, 02:33:19 AM
Please make sure you backup your template prior to any major update, none of my updates should have any negative effects on anyone's site, but it's always better to be safe than sorry. If you aren't particularly familiar with computers or websites and aren't sure how to backup your site, just create a copy if it in a new folder (ie: 'cp -r ./pws ./pws.bak' if you're on a Linux server. Post here or email me at support@lightmaster.pw if you ever need help.
 
 
 
I just pushed out a fix to the Wind Module that changes the left speed to be the current wind speed as of when your MB last sent data to your site, and the right speed is now actually reading the gust speed. Previously, gust speed had been the instantaneous speed, now it is the max speed within the last 10 minutes as per NOAA/NWS standards. The chart for hourly wind will look a bit different from here on out, with the gust part always being above the average speed, unless there's been no wind at all for a 10 min interval, since the max can never be below the average.
 
(https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg) (https://i.postimg.cc/bNBMgb6S/Screenshot-20190422-205932-Chrome-Beta.jpg)
 
 
To update, if you use git just a normal pull using 'git pull' should work. If you manually update individual files, you'll need to replace 'livedata.php', 'mbridge/mb.php', and 'windspeeddirection.php'.
 
(https://i.postimg.cc/13FWKdnb/Screenshot-20190422-210535-Chrome-Beta.png) (https://i.postimg.cc/c09Vdys1/Screenshot-20190422-210535-Chrome-Beta.png)
 
 
There have also been a number of small changes in the last week or so, so if you don't update regularly with git, check the commit history (https://github.com/weather34/Meteobridge-Weather34-Template/commits/master) to see what you missed.
 
 
Tonight or tomorrow, I'll be updating the charts to auto adjust the axis markers so you don't have so many labels on the side that you can't read the numbers (like when your temp decides to change by 40 degrees in a single day :sad:), and some of the graphs will become line graphs to make them look better (like the gusts part of the wind graph). Also, unless anyone has an objection, I'm gonna turn on the animations on the charts. Shouldn't effect anyone server performance, and makes them load a bit nicer.

We appreciate your willingness to take the lead during Brian's absence.

Thanks again,

Chuck
Hi, I updated the files as I have coined you, but I do not see the new  animations you speak of.. I replaced the files you said..  Thank you
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 25, 2019, 09:11:45 AM
@lightmaster
With the German flag it always looks like my Station is in Germany. That's why a Swiss flag would be great for me. Language is already german with me.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 25, 2019, 09:08:55 PM
@lightmaster
With the German flag it always looks like my Station is in Germany. That's why a Swiss flag would be great for me. Language is already german with me.

I see what you mean now. Mine shows England even though I'm in America, lol.

What's the abbreviation for Switzerland? On Google, some say CH and others SUI
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 25, 2019, 09:42:23 PM
Anyone else need a Country flag added?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 26, 2019, 12:27:59 AM
I always write CH.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 26, 2019, 12:40:10 AM
Hey Cooool,
Thank you very much..
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 26, 2019, 05:48:54 AM
I took a chance with CH, glad I got it right. And you're welcome. I had misunderstood at first and thought you were talking about the languages not the country flag in the footer.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 26, 2019, 06:15:59 AM
There are four National languages in Switzerland.
German, French, Italian and Romansh.
Merci again.... [tup] [tup] [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on April 30, 2019, 01:23:49 AM
Hi

I get this error when I try to Push Origin. I'm logged in and it has been working for weeks.

See screenshot.

Any ideas?

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on April 30, 2019, 01:25:41 AM
I'm getting that message too. It worked yesterday.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on April 30, 2019, 01:34:36 AM
Hi

I get this error when I try to Push Origin. I'm logged in and it has been working for weeks.

See screenshot.

Any ideas?

Rgds
gand

The top of that screenshot, it says Push Origin with a 5 to the right. That means you've modified 5 files locally and are trying to upload them to GitHub. Rather than using that big button on the right of the top bar, go into Repository menu at the very top and click "Pull" to download any updated files.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on April 30, 2019, 02:46:43 AM
Thanks
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 02, 2019, 04:24:52 AM
There's a new update on GitHub that changes the the charts to be more mobile friendly. Please hold of on updating to it until I can look over the changed code. Also, please don't do a "git pull", settings1.php was updated and git pull will likely fail.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on May 02, 2019, 07:50:24 AM
There's a new update on GitHub that changes the the charts to be more mobile friendly. Please hold of on updating to it until I can look over the changed code. Also, please don't do a "git pull", settings1.php was updated and git pull will likely fail.

Thanks for the heads up light!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on May 03, 2019, 01:37:35 AM
Would it be hard to add another row of modules with the same options as the last 2 modules?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on May 03, 2019, 01:44:01 AM
I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.

I'm going through a MeteoBridge Pro now, so I ran across this, and I'm curious if anyone else is seeing it. If you are using an MBP, you can't use the davisconsoleoutlook advisory (possition4) since it bypasses or replaces the console, so I turned on the standard advisory which uses darksky. Then I enabled forecast3wu (possition6), and after a few hours I noticed update issues in those 2 cells, it seems like Davis and WU want to work together, and darksky and darksky want to work together for the advisory and forecast fields.

good morning

only last night i found some emails from piet mentioning similar , is it weather underground  when selected the only time it happens .if i dont find anything today i will forward on to william..im sure he will be able to help..

I have this same problem.

Thanks for updating us!

When you say "update issues", what exactly is it doing? Do you mind opening a Github Issue (https://github.com/weather34/Meteobridge-Weather34-Template/issues) describing exactly what issue its having with updating?

Sorry for the dramatic pause in responding, have been distracted with other life things. There have been quite a few changes (nice work BTW), So I've reloaded my site with all new files. I'll see if the problem still reproduces after these updates, then open an issue if still needed.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on May 03, 2019, 02:51:26 AM
Hi, since yesterday, (after updating the files with the latest updates on GitHub) I do not update anymore the current conditions. Remained stationary to when I did update the files.. How can I fix it?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 03, 2019, 02:58:31 AM
Hi, since yesterday, (after updating the files with the latest updates on GitHub) I do not update anymore the current conditions. Remained stationary to when I did update the files.. How can I fix it?

I'm working a fix for this right now. A number of fixes disappeared in the last uodate, including one that kept Darksky and WU updated together. Trying to get this update out quick as I can.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on May 03, 2019, 03:00:26 AM
Hi, since yesterday, (after updating the files with the latest updates on GitHub) I do not update anymore the current conditions. Remained stationary to when I did update the files.. How can I fix it?

I'm working a fix for this right now. A number of fixes disappeared in the last uodate, including one that kept Darksky and WU updated together. Trying to get this update out quick as I can.
oohh, thanks for your hard work.. Waiting for new update 😊😊
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 03, 2019, 04:28:31 AM
Large updating coming soon but not quite yet.

I am currently testing the new update to (hopefully) fix any outstanding issues. Please don't anyone update to the newly created beta branch. I will be merging it into the main branch this afternoon (Friday afternoon, US Eastern Time).

This new update will require a fresh install, especially if you want to use the easy to up date method with "git pull". Please backup up your site soon as you read this message to get ready for the update. In particular, backup your "settings1.php", mbcharts/year folders, mbcharts/year.csv files, mbcharts/result.csv files, and optionally jsondata/ text files. Make sure to back these files up prior to my update this afternoon as well so the backup has the latest historical data. If anyone is unfamiliar with backing up in this context, just copy the folder and files to a new folder (copy, not move). So if your site is in the folder pws, create a copy of that folder called pws-bak.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 05, 2019, 05:22:45 PM
Hi

I can see there are some new files at the Github (better mobile support). Should I still wait to update as Lightmaster recommend?

Thanks

gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 05, 2019, 05:27:35 PM
Gimme just a little bit and there will be a new version in the GitHub repo.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on May 05, 2019, 05:30:00 PM
Gimme just a little bit and there will be a new version in the GitHub repo.
let us know when we can install everything properly ;) ;)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on May 05, 2019, 05:35:39 PM
my parting gift and also checkout the new themed charts from William ...safely say your in capable hands..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1557092069/will2_ox4iyx.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 05, 2019, 07:17:54 PM
EVERYONE PLEASE READ BELOW BEFORE UPDATING

The next HomeWeatherStation update requires a reinstall of your site so some precautions are required for existing installs.. There are many many changes, and hopefully going forward, no future update will require a full reinstall.

You must backup some files listed below before installing  the next update that I push to the master branch (the main part you land on when you go to https://github.com/weather34/Meteobridge-Weather34-Template (https://github.com/weather34/Meteobridge-Weather34-Template)). This affects anyone who currently uses git to update or wants to switch to using git to update (I recommend if you don't modify anything past the settings). After you backup the following files, then do a fresh install, and then copy those backed up files back into your site. This is because those files are currently tracked by git, and if they are ever updated by mistake in the GitHub repo, then they will give you problems updating your site with a simple "git pull" command. I have removed them from the git site so that going forward, they won't cause any problems. On a fresh install, these files will be automatically created so new users won't have any issues since they don't already exist on their site. Rest assured that as long as you copy them to another folder before doing a fresh install, then there won't be any issues. I know that this warning might seem scary to anyone who isn't particularly techie. If you are worried about doing this, just email me at support@lightmaster.pw and I'll gladly walk you through it and help you out.

The files to back up are:


These files contain your basic settings (settings1.php), and the weather history used for charts and almanacs (the .csv files in mbcharts).

To install with git, which requires shell/ssh access to your site, perform the following actions:
Code: [Select]

git clone https://github.com/weather34/Meteobridge-Weather34-Template.git

If you have any issues, just move your backed up folder back to where it was originally and email me at support@lightmaster.pw that you need help.

If you don't want to use git, or you don't have shell/ssh access, then just backup the files above and install the new version of the site as you normally do.



If you're particularly technically inclined and you see any issue with my instruction above, please post and let me know. We're all susceptible to mistakes.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 05, 2019, 08:40:49 PM
For Updating without using Git

If you either don't have shell/ssh access to your server, or you prefer to do things manually without letting git modify your files, then perform a fresh install as you've previously done


That zip file url will always be the latest version.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on May 05, 2019, 09:31:10 PM
Thank you for your hard work Light!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 06, 2019, 03:44:14 AM
Hi

Many thanks for the last update, it seems perfect.

However, I have a question. If in, Module 12, I choose Moon Phase, I also have the option of choosing the Live Webcam and Indoor Guide. Before the update I could only select Moon Info, which make sense. Is this by purpose?

The same applies to Last Module, if I choose Webcam Small I can also choose Moon Info and Indoor Guide. Before I could only choose Live Webcam.

Thanks

Rgds
gand
https://lynghuzed.dk/ (https://lynghuzed.dk/)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 03:47:16 AM
Hi

Many thanks for the last update, it seems perfect.

However, I have a question. If in, Module 12, I choose Moon Phase, I also have the option of choosing the Live Webcam and Indoor Guide. Before the update I could only select Moon Info, which make sense. Is this by purpose?

The same applies to Last Module, if I choose Webcam Small I can also choose Moon Info and Indoor Guide. Before I could only choose Live Webcam.

Thanks

Rgds
gand
https://lynghuzed.dk/ (https://lynghuzed.dk/)

Yes, there's a lot of open space at the bottom of the modules, so added some of the other links below.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 06, 2019, 03:54:44 AM
Hi Lightmaster

One more question

Yesterday You uploaded a new version of HWS to the Github. This morning Brian uploaded some new files. Should these files replace the files that You have uploaded?

Thanks

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 03:57:28 AM
Yea, any new files replace the existing ones. The commits list shows which files are new https://github.com/weather34/Meteobridge-Weather34-Template/commits/master (https://github.com/weather34/Meteobridge-Weather34-Template/commits/master)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 04:02:58 AM
Hi Lightmaster

One more question

Yesterday You uploaded a new version of HWS to the Github. This morning Brian uploaded some new files. Should these files replace the files that You have uploaded?

Thanks

Rgds
gand

Looks like he merged the master branch into the master branch, which means nothing was actually changed and I wasn't aware you could do that..... Lol

Replace these files

 css/aqi/cold.svg
Css/aqi/hot.svg
css/aqi/mild.svg
 css/aqi/warm.svg
homeindoor.php
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on May 06, 2019, 04:35:03 AM
hi im sorry i missed off some files yesterday and run out of time to finish any of the others but hopefully you can work it out particularly the dark sky modules . the files replaced and new this morning should reflect the screenshot below.

temperaturein.php needed a slight change to use newer pop up script data-lity replaces data-featherlight="iframe"

so I have never had the time to fully discover all of Github features so I think Lightmaster is your expert on anything related to Github.

as always have a great day and look forward to see how it all evolves in the future..brian

(https://res.cloudinary.com/brian-underdown/image/upload/v1557131354/indoor_sdxxqs.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 06, 2019, 04:42:37 AM
Hi

When I move the cursor over the Year Graph (2019), I used to see the data from that day where the cursor was. When I move the cursor over the graph now, i don't see any data. Should it work this way?

Thanks

Rgds
gand


Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 04:45:10 AM
Hi

When I move the cursor over the Year Graph (2019), I used to see the data from that day where the cursor was. When I move the cursor over the graph now, i don't see any data. Should it work this way?

Thanks

Rgds
gand

Pm or email me a url to your site. I don't see a link under your name on the left side
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 06, 2019, 05:15:04 AM
Hi

Cany you confirm if the option to use Knots as a windspeed option is included in this update

Many thanks

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 05:44:05 AM
Hi

Cany you confirm if the option to use Knots as a windspeed option is included in this update

Many thanks

Graham

(https://i.postimg.cc/85Gm51jd/Screenshot-20190506-054221-Chrome-Beta.png) (https://i.postimg.cc/85Gm51jd/Screenshot-20190506-054221-Chrome-Beta.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 05:55:24 AM
Hi

When I move the cursor over the Year Graph (2019), I used to see the data from that day where the cursor was. When I move the cursor over the graph now, i don't see any data. Should it work this way?

Thanks

Rgds
gand

Forgot about this little caveat. The 2019.csv and montly .csv files previously had some empty lines in them which could upset the chart software. I made some changes to mbdbfiles/addtoyear.php that removes any unnecessary empty lines between dates in the files. You (and everyone else) can do one of 2 things, wait till local midnight when the addtoyear.php file should run according to your settings in your meteobridge, or manually run the mbdbfiles/addtoyear.php file and then remove the extra day that's added to the end of the 2019.csv and 2019/May.csv files. Either way, it'll fix itself within 24 hours.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 06, 2019, 06:21:20 AM
Hi

Cany you confirm if the option to use Knots as a windspeed option is included in this update

Many thanks

Graham

(https://i.postimg.cc/85Gm51jd/Screenshot-20190506-054221-Chrome-Beta.png) (https://i.postimg.cc/85Gm51jd/Screenshot-20190506-054221-Chrome-Beta.png)

Hi

I have the setting set to knots in my easyweathersetup.php settings but I dont get the option to use knots on my website
http://www.gandmwoolf.co.uk/PWS/index.php

I have attached a screenshot of my settings - I am using a windows platform

Kind Regards

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 06:36:46 AM
I see knots on your site. Try clearing your browsers cache.
 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 06, 2019, 06:44:36 AM
Hi

Great - that sorted it. Thanks

Kind Regards

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 06:47:23 AM
 [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on May 06, 2019, 06:49:48 AM
[tup]
hi light,I sent you an e-mail ;)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 06, 2019, 07:08:24 AM
Hi

In the Wind module is the right speed still the max speed within the last 10 minutes ?

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 07:19:16 AM
Hi

In the Wind module is the right speed still the max speed within the last 10 minutes ?

Rgds
gand

Right now, the left one is the average of the last few minutes, the right one is the instantaneous speed. Brian had changed it a few days ago and I was gonna get everyone's opinion on which they liked better.

The thing with that right one is that while it has always said gust, up until a week or 2 ago, it was actually showing the instant wind. I had changed it to actually show gust, and then it got changed back to instantaneous. Now the graph right now really is showing the gust (max wind in last 10 mins). It doesn't matter to me what shown on the front, so whatever y'all want is fine. Gust or Instantaneous Wind Poll (https://docs.google.com/forms/d/e/1FAIpQLSfUuqfq6ezoUhV1vLuNtgi53UCYfbcq_4ujuY8GO2GBbG3cMA/viewform).
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 06, 2019, 07:23:38 AM
Hi

Can anyone tell me if there is an easy way (I suspect not) of getting my old Cumulus data into my new meteobridge template data

I have only had my Pro for about a month but have years of data accumulated with Cumulus

Thanks

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on May 06, 2019, 07:34:42 AM
let you guys resolve that is davis reporting instant wind gust or actual wind speed is the windgust formulated from last 10 minutes of wind speed ?? never been able to fathom that one so I went for console output view..

so another idea i never got to fully add-on but may be inspire others to really turn the modules pop ups into a real dashboard feel .

the popup modules have a really simple css grid control it doesnt any simpler for designing grid layouts example below
note the minmax(180px,2fr) and we dont need 100s or 1000s of bootstrap code to achieve it go here my favourite css learning site for
a bit of read up https://css-tricks.com/introduction-fr-css-unit/

Code: [Select]
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 2fr));
  grid-gap: 5px;
  align-items: stretch;
  color:#f5f7fc;
 
  }

(https://res.cloudinary.com/brian-underdown/image/upload/v1557141617/ideas_zlunpo.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 06, 2019, 09:31:52 AM
William/Brian,

Great update with mobile charts view! I did notice a small issue with the Earthquake module (eqlist.php). See the attached capture.

Thanks again,

Chuck [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 06, 2019, 12:19:29 PM
William/Brian,

Great update with mobile charts view! I did notice a small issue with the Earthquake module (eqlist.php). See the attached capture.

Thanks again,

Chuck [ You are not allowed to view attachments ]

Sorry guys - it was my bad edit that caused this issue.

Works fine, now.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on May 06, 2019, 03:00:20 PM
I tried a new update, a lot of work has been done - the current template confidently strive for the ideal. Finally in the mobile version appeared history of observations.
All charts for the month, pop-up Windows are displayed on a black background except the graph of pressure changes for the month (white). Maybe this is only my problem, but I cleaned the cache and used different browsers.
Clearing history helped :-P
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 03:03:40 PM
I tried a new update, a lot of work has been done - the current template confidently strive for the ideal. Finally in the mobile version appeared history of observations. But in the "desktop" version of all the graphics that open in a new pop-up window have a low resolution, the picture is blurred and not clear (https://xn--10-6kcwaznenhomt1p.xn--p1ai/).

Clear your browser's cache and if it still looks low res, post a screen shot cuz it looks alright to me.

Also, looks you you didn't copy over your mbcharts/2019.csv file.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on May 06, 2019, 03:17:06 PM
Sorry, I "crooked" copied the files to the server. It's working!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 03:22:09 PM
Sorry, I "crooked" copied the files to the server. It's working!

 [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on May 06, 2019, 03:34:03 PM
I noticed that all the graphs appeared the inscription: "Non-commercial version". Does this mean that in the future we should expect a version that costs money?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 03:44:20 PM
I noticed that all the graphs appeared the inscription: "Non-commercial version". Does this mean that in the future we should expect a version that costs money?

No. This template will never cost money as long as I am maintaining it. That is added by the chart software because it's using a non commercial license.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 06, 2019, 04:47:27 PM
Hi

When I'm using Firefox I'm missing the date when I move the cursor over 2019 graph. Using Vivaldi it seems to work fine. I have tried to clear the Firfox cache.

See attachments.

Any ideas?

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 06, 2019, 09:28:33 PM
I have pushed an update to the GitHub repo that prevents a potential issue with saving to the MySQL database. Under some circumstances, the MB can send "--" for UV and/or Solar Radiation if those sensors aren't present on your weather station. If your database is set up with those columns being decimal numbers, then it will throw an error when trying to save "--". Now when mb.php receives a "--" for UV or Solar Radiation, it'll turn those into zeroes to save into the database.

Updating

https://github.com/weather34/Meteobridge-Weather34-Template/commit/5585653aa7dcaaed34482b709f6cc2047e26bd67
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on May 07, 2019, 02:21:14 AM
Hi Lightmaster.
In one of my posts I wrote that when opening charts the picture is "fuzzy". I use Chrome and a monitor with a resolution of 1920x1080.
Everything turned out to be simple: I increased the page scale from 100 percent to 125 ( for better readability ), the page itself remained clear and not blurred, and the graphics lost "sharpness", I cleared the browser cache on Your advice, the scale changed again by 100 percent and everything was fine. By the way before this update this was not and with a scale of 125 percent fonts and graphics in pop-ups looked as it should. Is there any way to fix this?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 07, 2019, 02:23:42 AM
Hi Lightmaster.
In one of my posts I wrote that when opening charts the picture is "fuzzy". I use Chrome and a monitor with a resolution of 1920x1080.
Everything turned out to be simple: I increased the page scale from 100 percent to 125 ( for better readability ), the page itself remained clear and not blurred, and the graphics lost "sharpness", I cleared the browser cache on Your advice, the scale changed again by 100 percent and everything was fine. By the way before this update this was not and with a scale of 125 percent fonts and graphics in pop-ups looked as it should. Is there any way to fix this?

I'll have to play with it and see what's going on with increasing the scale.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 07, 2019, 04:44:11 AM
Update to make the Rainfall - All Years data show up, and not take up too much space when you have thousands and thousands of mm of rain, lol.

Update with git pull
Or replace the following files:
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 08, 2019, 04:52:37 AM
If anyone find any bugs or has any feature requests or fixes, please post them to the GitHub Issues Page (https://github.com/weather34/Meteobridge-Weather34-Template/issues). If they're posted there, it's a nice easy to check list where I won't forget about any of them. If you post them here or PM or email me, it's pretty easy for them to get lost in a mess of other things. Not saying you can't post them in any of those other places, just don't want anyone's issues to fall through the cracks.

If you have a support related question like that you're having trouble creating your MySQL database, do email me about that since it'll likely involve some amount of personal information and/or access codes.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 08, 2019, 12:46:00 PM
Hi

My UV index does not appear to be working

I have attached a screenshot and my site is here http://www.gandmwoolf.co.uk/PWS/index.php

Kind Regards

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 08, 2019, 02:16:45 PM
Hi

There is also a problem with the Wind Almanac . I have knots set for my wind speed but the Almanac is showing Km and also the formatting seems wrong

Again a screenshot is attached

Regards

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 08, 2019, 03:36:39 PM
Hi

There is also a problem with the Wind Almanac . I have knots set for my wind speed but the Almanac is showing Km and also the formatting seems wrong

Again a screenshot is attached

Regards

Graham

Update your site and let me know if the issues are still there.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 08, 2019, 04:13:02 PM
Hi

There is also a problem with the Wind Almanac . I have knots set for my wind speed but the Almanac is showing Km and also the formatting seems wrong

Again a screenshot is attached

Regards

Graham

Update your site and let me know if the issues are still there.

Hi

I have uploaded all the latest files - the wind issue appears to be fixed but the UV Alamanac is still not showing the correct data , It has dates such as Jan 1st at 01:00

Regards

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: woolfg on May 09, 2019, 03:59:15 AM
Hi

There is also a problem with the Wind Almanac . I have knots set for my wind speed but the Almanac is showing Km and also the formatting seems wrong

Again a screenshot is attached

Regards

Graham

Update your site and let me know if the issues are still there.

Hi

I have uploaded all the latest files - the wind issue appears to be fixed but the UV Alamanac is still not showing the correct data , It has dates such as Jan 1st at 01:00

Regards

Graham

Hi

Its all sorted now thanks - I had the wrong setting for UV display in my settings page

Regards

Graham
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 09, 2019, 05:52:11 AM
I pushed an update to the GitHub Repo tonight that sets the wind units on the Windy popups to whatever you're using on your site. Once Windy fixes some bugs on their side, the popups will also the temperature and rain units that your site uses. The bug on Windy's site was originally reported back in October 2018, so no idea how long until they fix it.

Anyways, update with git pull or by replacing the windywind.php (https://github.com/weather34/Meteobridge-Weather34-Template/raw/master/windywind.php) and windyradar.php (https://github.com/weather34/Meteobridge-Weather34-Template/raw/master/windyradar.php) files.    <= (Right click links and save as to download the updated files.)

https://github.com/weather34/Meteobridge-Weather34-Template/commit/eaebdc17c901a58c33b4d7a40a03f28787056172 (https://github.com/weather34/Meteobridge-Weather34-Template/commit/eaebdc17c901a58c33b4d7a40a03f28787056172)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 09, 2019, 12:02:57 PM
I pushed an update to the GitHub Repo tonight that sets the wind units on the Windy popups to whatever you're using on your site. Once Windy fixes some bugs on their side, the popups will also the temperature and rain units that your site uses. The bug on Windy's site was originally reported back in October 2018, so no idea how long until they fix it.

Anyways, update with git pull or by replacing the windywind.php (https://github.com/weather34/Meteobridge-Weather34-Template/raw/master/windywind.php) and windyradar.php (https://github.com/weather34/Meteobridge-Weather34-Template/raw/master/windyradar.php) files.    <= (Right click links and save as to download the updated files.)

https://github.com/weather34/Meteobridge-Weather34-Template/commit/eaebdc17c901a58c33b4d7a40a03f28787056172 (https://github.com/weather34/Meteobridge-Weather34-Template/commit/eaebdc17c901a58c33b4d7a40a03f28787056172)

Hi

Thanks for the Wind Map update.

Working perfect.

Rgds
ganf
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on May 09, 2019, 01:08:07 PM
Thanks light!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: mkutche on May 11, 2019, 11:31:08 AM
For some reason my WUnderground forecast and current conditions decide not to show up anymore.. http://gosportwx.com/PWS/
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on May 11, 2019, 12:30:19 PM
For some reason my WUnderground forecast and current conditions decide not to show up anymore.. http://gosportwx.com/PWS/
The link you posted leads to a very old template-version  for Cumulus.
The WeatherUnderground forecast needs a new API-key and new scripts as the data is in a different format.

There are two totally different versions available for a Cumulus user.
1. https://cumulus.hosiene.co.uk/viewtopic.php?t=17090 , this version can also support Weewx
2. https://www.weather-watch.com/smf/index.php/topic,67862.0.html supports Cumulus and a few other weather-programs.

Wim
http://wd34.weather-template.com/
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 12, 2019, 09:43:48 PM
I goto http://www.gosportwx.com/PWS/easyweathersetup.php type in the password per what im looking at in the WD34_first_install.pages (http://wd34.weather-template.com/documentation/WD34_first_install-2019-04.pdf) and it doesn't appear to accept it. I'll delete everything in my PWS folder and redownload pwsWD-04-10.zip & reupload it

Are you trying to use the Meteobridge version of HomeWeatherStation template that this forum thread is about, or the Weather Display version? Cuz if you're  installing the Meteobridge version, on initial install there  is no password.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: mkutche on May 13, 2019, 06:03:21 AM
I goto http://www.gosportwx.com/PWS/easyweathersetup.php type in the password per what im looking at in the WD34_first_install.pages (http://wd34.weather-template.com/documentation/WD34_first_install-2019-04.pdf) and it doesn't appear to accept it. I'll delete everything in my PWS folder and redownload pwsWD-04-10.zip & reupload it

Are you trying to use the Meteobridge version of HomeWeatherStation template that this forum thread is about, or the Weather Display version? Cuz if you're  installing the Meteobridge version, on initial install there  is no password.

I have it working.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on May 16, 2019, 11:47:16 AM
Hi All:
I've been using Weather34/ w Meteobridge for a couple of years with great success.  Two days ago it stopped working.  My website stopped updating and shows offline.  No changes have been made to my website, MB, network, or hardware.  I checked the Meteobridge settings and noticed that http uploads had failed.  I suspect my web hosting company made a change somewhere, but I'm not technically savvy enough to effectively troubleshoot. 

I've installed the latest github version of Weather34 on my website and receive the same error??  I also installed an earlier version of MB and still receive the http error.  My web hosting company has denied any changes on their end??  They've also said that before. 

As you can see below, MB is uploading data successfully to a number of other services.

Any help, guidance, or insight is greatly appreciated.  Thanks,  Phil
******************************************************************************************************************
I'm receiving the following error - "Read error (Connection reset by peer) in headers"
   
Home Weather Station:   2019-05-16 10:53:54 Error: 2019-05-16 10:50:23 Read error (Connection reset by peer) in headers. (1 more tries, next in 5 secs)
AWEKAS:   2019-05-16 10:53:37 Success: 2019-05-16 10:53:29
PWS Weather:   2019-05-16 10:53:38 Success: 2019-05-16 10:53:29
Windy:   2019-05-16 10:53:44 Success: 2019-05-16 10:53:29
CWOP:   2019-05-16 10:53:42 Success: 2019-05-16 10:53:29
HTTP Upload:   2019-05-16 10:51:53 Sent: 2019-05-16 10:51:48 Read error (Connection reset by peer) in headers.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 17, 2019, 01:39:58 AM
Hi All:
I've been using Weather34/ w Meteobridge for a couple of years with great success.  Two days ago it stopped working.  My website stopped updating and shows offline.  No changes have been made to my website, MB, network, or hardware.  I checked the Meteobridge settings and noticed that http uploads had failed.  I suspect my web hosting company made a change somewhere, but I'm not technically savvy enough to effectively troubleshoot. 

I've installed the latest github version of Weather34 on my website and receive the same error??  I also installed an earlier version of MB and still receive the http error.  My web hosting company has denied any changes on their end??  They've also said that before. 

As you can see below, MB is uploading data successfully to a number of other services.

Any help, guidance, or insight is greatly appreciated.  Thanks,  Phil
******************************************************************************************************************
I'm receiving the following error - "Read error (Connection reset by peer) in headers"
   
Home Weather Station:   2019-05-16 10:53:54 Error: 2019-05-16 10:50:23 Read error (Connection reset by peer) in headers. (1 more tries, next in 5 secs)
AWEKAS:   2019-05-16 10:53:37 Success: 2019-05-16 10:53:29
PWS Weather:   2019-05-16 10:53:38 Success: 2019-05-16 10:53:29
Windy:   2019-05-16 10:53:44 Success: 2019-05-16 10:53:29
CWOP:   2019-05-16 10:53:42 Success: 2019-05-16 10:53:29
HTTP Upload:   2019-05-16 10:51:53 Sent: 2019-05-16 10:51:48 Read error (Connection reset by peer) in headers.

have yu double checked the url for HWS? What's the url you used?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on May 17, 2019, 08:59:00 AM
it's now working fine......after three hours of phone time with my hosting service, it now works.  They deny there was an issue on their end, which I suspect is not true.   Http shows fine on MB, live data is flowing.  Green check marks all around. Site is up, running, and updating.  This has been one too many times where the hosting company has caused me grief.  They think change management has something to do with underwear!! lol

Last night I jumped ship and will migrate my sites to a new hosting provider with glowing support reviews.  Once the dust settles, I plan to update my Weather34 to the latest version.  My current version is several versions behind.

Thanks Light for the reply.  Keep up the good work!!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 18, 2019, 10:33:21 AM
Got a new update out, and forgot to announce a few previous updates.

Details
I've added the ability to install the template as a Progressive Web App, meaning that on Android, Apple, and Desktops, you and all your users can now install your site like its a normal app. The installed "app" gets updated automatically from your site because in reality, its basically just opening up a browser tab without it looking like a browser. Screenshots below of how to install, though most browsers make it obvious when they notice a site is capable. Works best with Chrome on Android because it adds an app to your app drawer, though Firefox does work too by adding an icon to your home screen (but not app drawer). On iPhones, only works with Safari, because that's the Apple way. On Windows/Linux desktop, Chrome and Firefox do a good job, though any browser should work too. On Mac Desktop, I assume only Safari but could possibly work with other browsers as well. Not sure since I don't have a Mac.

In Chrome and most browsers, there's an option within the menu about installing the app (see screenshot), and Android it popups up a message about installing. The Android message is a one time thing that shows up once per user, afterwards its found in the menu so as to not annoy users that don't want to install. On iPhones and iPads, click the share button, and then "Add to Homescreen".

How to Update
As always, if you use git, just use the command git pull to update.

For those of you that don't update with git, seems Brian has been making quite a few updates to formatting of the almanacs and whatnot, so there are quite a few files to update by hand. Best bet is to use the url "https://github.com/weather34/Meteobridge-Weather34-Template/compare/master@%7B05-10-19%7D...master#files_bucket". Replace the red 05-01-19 with the last date you updated, in the format MM-DD-YY (GitHub decided to use that date format, not me). Here's the url as an easy click link (https://github.com/weather34/Meteobridge-Weather34-Template/compare/master@%7B05-10-19%7D...master#files_bucket), just replace the date in it. Click the blue text that says "Showing 26 file changes" to see the list of files that have been changed. With all of the resent silent updates to formatting, the list of files to update gets very long very quickly, so if you haven't updated in the last few weeks, might be best to do download the .zip (https://github.com/weather34/Meteobridge-Weather34-Template/archive/master.zip) and reinstall, backing up your settings1.php, jsondata, and the .csv files in mbcharts.


Screenshots

(https://i.postimg.cc/kBw4ZhkB/Install-from-desktop.png) (https://i.postimg.cc/MpJQnC5b/Install-from-desktop.png) (https://i.postimg.cc/ph6Tr9Jz/Desktop-App.png) (https://i.postimg.cc/7hxTB0Cs/Desktop-App.png)

(https://i.postimg.cc/0MJK1d7h/Install-from-Chrome-Android.jpg) (https://i.postimg.cc/cHFRYFC1/Install-from-Chrome-Android.jpg) (https://i.postimg.cc/PvspXp4J/Install-from-Firefox-Android.png) (https://i.postimg.cc/Vv5jFX0q/Install-from-Firefox-Android.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 18, 2019, 12:35:55 PM
Hi

Thanks for the PWA update. It's a very nice feature.

After the last update, it seems All Time Temperature is gone. By purpose?

Rgds
gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 18, 2019, 12:58:46 PM
I completely forgot to mention that there's a new setting in the settings page for Web App Name. This name should ideally be under 10 letters, since Android and iPhone will cut it off at 10 letters and just add "..." to the end of the name.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 19, 2019, 06:24:13 AM
Hi

Thanks for the PWA update. It's a very nice feature.

After the last update, it seems All Time Temperature is gone. By purpose?

Rgds
gand

Looks like it was taken out to save space on that page, but has since been readded. https://github.com/weather34/Meteobridge-Weather34-Template/commit/da6c8b8c03cd2a97179f59d9f53d66590fde5132
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on May 19, 2019, 11:05:53 AM
Hi

Thanks for bringing it back.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 20, 2019, 11:22:02 AM
Brian/William,

New updates look great!

Brian - like the "Nest Thermostat" and your indoor humidity graph.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 20, 2019, 06:56:49 PM
FYI to everyone. I'm switching my support email to support at baxleyweather.com since I've switched my site over to that url now. I'll still receive email at the old email address too, but I'd prefer if everyone used the new one.

Ed note: changed email to be spam harvester resistant form.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on May 21, 2019, 04:08:11 AM
Brian/William,

New updates look great!

Brian - like the "Nest Thermostat" and your indoor humidity graph.

Chuck

good morning meant to reply last night but fell asleep cant seem to get beyond 11pm these days

the charts hopefully will appear for indoor temp/humidity in the late December release also there will be charts for purple air and other
air quality . I have an indoor air quality monitor so im going to build that into it as an option for those using meteobridge with newer hardware where supported.
you will see the puple air popup got some rework as I know you use that so hopefully its to your liking.
The December beta release will be a different beast all together and really feel like a true dashboard with options coming out of your ears though it wont lose its appearance and can be used just like the current one if extra options are not used.

so two popup modules should resemble something like this though the indoor air quality and charts are not available in current release. have a good day Im off to spend some time in the sun and sea get a bit of colour into my skin need lots of vitamin D ..have a great week and do follow William's enhancements he is more of a coder for the finer things that i just failed to sit down and do or listen, personally i like working on the visual design stuff always have but having William's(lightmaster) input,skills,ideas makes it more manageable and outcome is more appealing to everyones needs theoretically :-)

(https://res.cloudinary.com/brian-underdown/image/upload/v1558425019/chuck_vfcykw.png)

and what to expect in end of december :-)

(https://res.cloudinary.com/brian-underdown/image/upload/v1557736951/december2019_mqrll6.png)

 ...brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 21, 2019, 08:31:37 AM
I look forward to all of the improvements that you and William are providing.

Have fun at the beach - going over today, myself. Sunlight beats those vitamin D supplements.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 21, 2019, 11:12:48 AM
How do you guys have time to go to the beach in the middle of the week? Even if I lived within a few miles I still wouldn't have time except on the weekend.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on May 21, 2019, 11:57:53 AM
How do you guys have time to go to the beach in the middle of the week? Even if I lived within a few miles I still wouldn't have time except on the weekend.

the luxury comes with age and retirement, this time of year is perfect in a month or two it’s unbearable to the point of walking 10 yards and turning into a walking sweaty uncomfortable irritable neanderthal  and living under an ac 24/7 this part of istanbul is notorious for ridiculous high dew point values walk 2km inland feel likes you walked into a different climate so cool..  .. hopefully by then we will have moved..ps i live 150 meters from the beach and its the holy month of ramadan so there all empty till just after sunset..brian
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 21, 2019, 12:19:19 PM
How do you guys have time to go to the beach in the middle of the week? Even if I lived within a few miles I still wouldn't have time except on the weekend.

the luxury comes with age and retirement, this time of year is perfect in a month or two it’s unbearable to the point of walking 10 yards and turning into a walking sweaty uncomfortable irritable neanderthal  and living under an ac 24/7 this part of istanbul is notorious for ridiculous high dew point values walk 2km inland feel likes you walked into a different climate so cool..  .. hopefully by then we will have moved..ps i live 150 meters from the beach and its the holy month of ramadan so there all empty till just after sunset..brian

Same here. Old retired guy. Quick bike ride or 15 min. walk to the beach.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 23, 2019, 10:19:31 AM
Brian/William,

I am curious about the NULLs that appear in our template data files, periodically. What causes these?

 [ You are not allowed to view attachments ]

The reason I ask is because Chrome Desktop on Windows puts a small square wherever the NULL is in the data (see below).

 [ You are not allowed to view attachments ]


Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 23, 2019, 12:09:56 PM
Brian/William,

I am curious about the NULLs that appear in our template data files, periodically. What causes these?

 [ You are not allowed to view attachments ]

The reason I ask is because Chrome Desktop on Windows puts a small square wherever the NULL is in the data (see below).

 [ You are not allowed to view attachments ]


Thanks,

Chuck

I don't have an answer as to why they were being added in an older version...

As for removing/hiding them, I can definitely add them to the find/replace that hides the quotes on charts, and might be able to actually automate replacing them in the files with quotes.

You mind emailing me a file with them in it so I can see exactly which character it is?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 23, 2019, 12:43:25 PM
Brian/William,

I am curious about the NULLs that appear in our template data files, periodically. What causes these?

 [ You are not allowed to view attachments ]

The reason I ask is because Chrome Desktop on Windows puts a small square wherever the NULL is in the data (see below).

 [ You are not allowed to view attachments ]


Thanks,

Chuck

I don't have an answer as to why they were being added in an older version...

As for removing/hiding them, I can definitely add them to the find/replace that hides the quotes on charts, and might be able to actually automate replacing them in the files with quotes.

You mind emailing me a file with them in it so I can see exactly which character it is?

No problem - I just sent you an email.

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 24, 2019, 04:05:19 AM
Just pushed a fix for the odd unicode character that Prestwickwx noticed in the monthly and yearly charts. Please either git pull or update the following files: (there's a lot of files, make sure you scroll down the list)

Code: [Select]
mbcharts/monthlybarometer.php
mbcharts/monthlydewpoint.php
mbcharts/monthlyrainfall.php
mbcharts/monthlysolar.php
mbcharts/monthlytemperature.php
mbcharts/monthlywindspeedgust.php
mbcharts/todayuvsmall.php
mbcharts/yearlybarometer.php
mbcharts/yearlybarometermedium.php
mbcharts/yearlydewpoint.php
mbcharts/yearlyrainfall.php
mbcharts/yearlyrainfallmedium.php
mbcharts/yearlysolar.php
mbcharts/yearlytemperature.php
mbcharts/yearlytemperaturemedium.php
mbcharts/yearlywindspeedgust.php
mbcharts/yearlywindspeedgustmedium.php
mbdbfiles/stationcron.php
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 24, 2019, 09:42:38 AM
Just pushed a fix for the odd unicode character that Prestwickwx noticed in the monthly and yearly charts. Please either git pull or update the following files: (there's a lot of files, make sure you scroll down the list)

Code: [Select]
mbcharts/monthlybarometer.php
mbcharts/monthlydewpoint.php
mbcharts/monthlyrainfall.php
mbcharts/monthlysolar.php
mbcharts/monthlytemperature.php
mbcharts/monthlywindspeedgust.php
mbcharts/todayuvsmall.php
mbcharts/yearlybarometer.php
mbcharts/yearlybarometermedium.php
mbcharts/yearlydewpoint.php
mbcharts/yearlyrainfall.php
mbcharts/yearlyrainfallmedium.php
mbcharts/yearlysolar.php
mbcharts/yearlytemperature.php
mbcharts/yearlytemperaturemedium.php
mbcharts/yearlywindspeedgust.php
mbcharts/yearlywindspeedgustmedium.php
mbdbfiles/stationcron.php

William,

That fixed it.

Thank you for the fast update!

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 24, 2019, 12:44:31 PM
Just pushed a fix for the odd unicode character that Prestwickwx noticed in the monthly and yearly charts. Please either git pull or update the following files: (there's a lot of files, make sure you scroll down the list)

Code: [Select]
mbcharts/monthlybarometer.php
mbcharts/monthlydewpoint.php
mbcharts/monthlyrainfall.php
mbcharts/monthlysolar.php
mbcharts/monthlytemperature.php
mbcharts/monthlywindspeedgust.php
mbcharts/todayuvsmall.php
mbcharts/yearlybarometer.php
mbcharts/yearlybarometermedium.php
mbcharts/yearlydewpoint.php
mbcharts/yearlyrainfall.php
mbcharts/yearlyrainfallmedium.php
mbcharts/yearlysolar.php
mbcharts/yearlytemperature.php
mbcharts/yearlytemperaturemedium.php
mbcharts/yearlywindspeedgust.php
mbcharts/yearlywindspeedgustmedium.php
mbdbfiles/stationcron.php

William,

That fixed it.

Thank you for the fast update!

Chuck

It already should have been filtering out that Unicode character, but apparently you have to type in the code \u0000 instead of pasting the character itself.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ToTo on May 24, 2019, 01:33:40 PM
Is it possible to update the template on my Nano SD or can this update only from Boris in a Firmware Release?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on May 24, 2019, 04:56:12 PM
I apologize if this is not the correct place to ask this question.

I just purchased a meteobridge Nano SD and was trying to install the WEATHER34 templates.  I made the modifications to the Meteobridge services screen (but I don't seem to see the txt file in my PWS directory on the site).  I also uploaded all of the files to my server.  I also went through and entered all of the settings and saved them on the configuration screen.  When I enter the URL [HTTPS://DOMAIN/PWS/], the screen looks like it is trying to load the template, but there are several copies overlapping each other and they continually jump around and reload.  Here is an image to give you an idea of what I am seeing:

(https://photos.app.goo.gl/1GhYeDXhuGUDSjhU8)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on May 25, 2019, 02:21:23 AM
Hello,
can you specify the url completely to your directory?
Let's see what it looks like for me.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on May 25, 2019, 02:34:36 AM
With me still the problem with the forecast.
stationcron. php was executed.

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 25, 2019, 02:38:34 AM
I apologize if this is not the correct place to ask this question.

I just purchased a meteobridge Nano SD and was trying to install the WEATHER34 templates.  I made the modifications to the Meteobridge services screen (but I don't seem to see the txt file in my PWS directory on the site).  I also uploaded all of the files to my server.  I also went through and entered all of the settings and saved them on the configuration screen.  When I enter the URL [HTTPS://DOMAIN/PWS/], the screen looks like it is trying to load the template, but there are several copies overlapping each other and they continually jump around and reload.  Here is an image to give you an idea of what I am seeing:

(https://photos.app.goo.gl/1GhYeDXhuGUDSjhU8)

What's your url?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 25, 2019, 02:47:42 AM
With me still the problem with the forecast.
stationcron. php was executed.

 [ You are not allowed to view attachments ]

Make sure your mbdbfiles folder was uploaded correctly.

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on May 25, 2019, 02:56:54 AM
Uploaded it again and executed stationcron.php again.
Unfortunately no success. . . .
API keys are correct. . .
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on May 25, 2019, 09:24:17 AM
I apologize if this is not the correct place to ask this question.

I just purchased a meteobridge Nano SD and was trying to install the WEATHER34 templates.  I made the modifications to the Meteobridge services screen (but I don't seem to see the txt file in my PWS directory on the site).  I also uploaded all of the files to my server.  I also went through and entered all of the settings and saved them on the configuration screen.  When I enter the URL [HTTPS://DOMAIN/PWS/], the screen looks like it is trying to load the template, but there are several copies overlapping each other and they continually jump around and reload.  Here is an image to give you an idea of what I am seeing:

(https://photos.app.goo.gl/1GhYeDXhuGUDSjhU8)

What's your url?

The url is:

https://giovas-is-a-geek.com/PWS/ (https://giovas-is-a-geek.com/PWS/)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 25, 2019, 11:36:55 AM
I apologize if this is not the correct place to ask this question.

I just purchased a meteobridge Nano SD and was trying to install the WEATHER34 templates.  I made the modifications to the Meteobridge services screen (but I don't seem to see the txt file in my PWS directory on the site).  I also uploaded all of the files to my server.  I also went through and entered all of the settings and saved them on the configuration screen.  When I enter the URL [HTTPS://DOMAIN/PWS/], the screen looks like it is trying to load the template, but there are several copies overlapping each other and they continually jump around and reload.  Here is an image to give you an idea of what I am seeing:

(https://photos.app.goo.gl/1GhYeDXhuGUDSjhU8)

What's your url?

The url is:

https://giovas-is-a-geek.com/PWS/ (https://giovas-is-a-geek.com/PWS/)

Try removing the entire template from your site and download it again from github. Something may have been corrupted when downloading it or uploading to your website
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on May 25, 2019, 01:49:17 PM
Try removing the entire template from your site and download it again from github. Something may have been corrupted when downloading it or uploading to your website

Thanks, I wiped the directory clean and re-uploaded the files.  That made the template appear as it should, but I don't have any data.  I went back through all of the settings on the config screen and on the meteobridge, but can't figure out where the error is.  Are there any log files I can check?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 25, 2019, 03:14:03 PM
Try removing the entire template from your site and download it again from github. Something may have been corrupted when downloading it or uploading to your website

Thanks, I wiped the directory clean and re-uploaded the files.  That made the template appear as it should, but I don't have any data.  I went back through all of the settings on the config screen and on the meteobridge, but can't figure out where the error is.  Are there any log files I can check?

In the Meteobridge network's tab, you've selected HomeWeatherStation and entered https://giovas-is-a-geek.com/PWS/mbridge right? Also, if you go to https://giovas-is-a-geek.com/PWS/mbridge/mb.php it says there's a connection issue to your MySQL database, looks like no password.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on May 25, 2019, 04:12:08 PM
Try removing the entire template from your site and download it again from github. Something may have been corrupted when downloading it or uploading to your website

Thanks, I wiped the directory clean and re-uploaded the files.  That made the template appear as it should, but I don't have any data.  I went back through all of the settings on the config screen and on the meteobridge, but can't figure out where the error is.  Are there any log files I can check?

In the Meteobridge network's tab, you've selected HomeWeatherStation and entered https://giovas-is-a-geek.com/PWS/mbridge right? Also, if you go to https://giovas-is-a-geek.com/PWS/mbridge/mb.php it says there's a connection issue to your MySQL database, looks like no password.

on the weather networks tab, I did create a home weather station which has this link:  https://giovas-is-a-geek.com/PWS/mbridge/mb.php.  When I test it, I get a green checkmark on the live data tab showing that it just updated.

I was trying to figure out if the database was working properly, so I had temporarily removed the info from the settings.  I put it back in and now I am getting an error that says "mysql failed"  I gave the user full read write access to the database, but I don't know if there is another connection issue.  I created the database by importing it through phpmyadmin (using the file that was in the downloaded zip).  It appears that it did create the table.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 25, 2019, 04:15:42 PM
Try dropping the mb.php from the end of the url.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on May 25, 2019, 04:38:21 PM
Try dropping the mb.php from the end of the url.

I tried it both ways with the same result.  I'm not sure if there is a setting somewhere else I am missing.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 25, 2019, 09:04:26 PM
Pushing out a new update now.

THIS UPDATE REQUIRES A REBOOT OF YOUR METEOBRIDGE
The API from the Meteobridge has been updated to include some new 5 minute averages. With this new update, if your using the new API, your data will be saved to the database every 5 minutes. The dashboard itself and all the modules on it will still show realtime info as they always have, however the daily charts will now be of the average data for the last 5 minutes. The goal of this is to smooth out the graphs some without losing any weather data. It makes an especially big difference on the barometer graph, helping to prevent jagged lines as your pressure fluctuates up and down by a tiny bit (like 1018.01 to 1018.02 to 1018.01 etc). Also makes the graphs more usable and a bit quicker since there aren't literally 6000+ data points by the end of the day.

If however you have opted to not pay the 2 year subscription for MB updates (meaning your Meteobridge license, not a subscription to the template), then never fear, we're not leaving you behind or anything. The new mb.php will see that you're using the old API still and continue on as if nothing ever happened.

There's also a small fix in stationcron.php for if you use the advisory (non-davis) in the fourth position.

So, as usual, if you update with git, use the command git pull from inside your template folder.

If you update manually, replace these files:
Code: [Select]
mbdbfiles/stationcron.php
mbridge/mb.php
meteobridgedescr.txt (formerly meteobridgedescr.php, delete this old file)

There have also been a number of formatting updates done by Brian in the last week. Check https://github.com/lightmaster/Meteobridge-Weather34-Template/commits/master (https://github.com/lightmaster/Meteobridge-Weather34-Template/commits/master) for any updates you've missed.


Lastly, the repo has now officially moved to my account on GitHub due to Brian's upcoming hiatus. The previous link will still work, however the new link is https://github.com/lightmaster/Meteobridge-Weather34-Template (https://github.com/lightmaster/Meteobridge-Weather34-Template). If you update with git, issue this command to change to the new url: git remote set-url origin https://github.com/lightmaster/Meteobridge-Weather34-Template.git.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on May 26, 2019, 10:40:05 PM
huge thanks to Lightmaster for spending hours helping me work out the bugs in my template install.  Finally got everything up and running thanks to his effort.   [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: webcam on May 27, 2019, 02:09:51 AM
I, too, have to thank. . . . .
Great support.
Merci.
 [tup] [tup] [tup] [tup] [tup] [tup] [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 27, 2019, 02:21:48 AM
You're welcome guys/girls. I know someone I helped today, the only issues were cuz of restrictions placed on sites by their host. Too many hosts think they know what's best for their customers, even when they don't.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on May 27, 2019, 10:58:56 AM
Yet another novice weather geek that owes much to William/LightMaster. He spent an enormous amount of time early into the morning helping to unravel my website!  This was after he got home from work.  Because of William's hard work, I now have the latest version of HWS running and GitHub enabled.  HWS looks great and my fear of "FTP" has been eliminated!!  lol

Thanks again William for all your help!!! 

Phil A.
Southern NJ
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 27, 2019, 02:17:47 PM
Heads up to everyone with a Nano or NanoSD: There's a bug that prevented reboots from the UI that was fixed in the MB update on the 25th. If your version is still from before the 25th pull the plug and battery on your console to force a reboot. Also, double check your Console's date and time when the console restarts.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on May 28, 2019, 11:37:35 AM
I think the PurpleAir module may be having an issue. I have not made any changes, and have not installed the updates posted on the 25th yet, I am still running the latest you posted prior to the 25th update. It worked until sometime yesterday, and now reports 500.0. I've confirmed the updates look good on their site, and that the purpleair.txt file is being created and using the right ID when the cron job runs. I'm now wondering if they have made a change to how they are presenting data to us?
I'll have to dig more after work.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on May 29, 2019, 12:12:36 AM
Go figure, it was broken for at least 14 hours, and magically is working now that I am back home from work.  ;)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 29, 2019, 12:23:17 AM
Go figure, it was broken for at least 14 hours, and magically is working now that I am back home from work.  ;)

Must have been an issue on their end, nothings changed with PurpleAir on the template in a good bit.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on May 29, 2019, 07:31:39 AM
Have not seen any issues with my Purple Air Module. It has been fine.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 30, 2019, 04:43:02 AM
New update. If you don't use a weather camera, set the webcamurl in settings to either be blank or Null and the menu option for it will be hidden.

To update, use git pull or replace menu.php.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on May 31, 2019, 04:39:28 AM
I am planning to add an optional live video stream to the weather camera popup. It'll be an optional thing, if you provide a url for the Live Video, it'll be used in the popup, otherwise if you leave the Live Video URL as the default blank, it'll use the static image that it currently uses with a 1 minute refresh on the page. Either way, the template's main module for weather camera will continue to use the static image provided for the sake of increased speed for your visitors.

With this though, I need some Live Video URLs to test to make sure the code works with just about any video stream. Anyone who's interested in using the optional Live Video stream, please email me a publicly accessible url for your video stream so I can make sure most of them will work.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 01, 2019, 09:43:19 PM
Have not seen in issues with my Purple Air Module. It has been fine.

Chuck
From what I can tell, it looks like ~10PM every night, it goes to 500 and stays there until ~10AM it starts reading normal every day. I'm going to go ahead and update to the latest template files and see if that helps for tonight.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 02, 2019, 02:24:53 AM
Looks to be working just fine now with the new files.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 07, 2019, 08:39:00 PM
Just pushed out a new update
Commit 0e75f2c (https://github.com/lightmaster/Meteobridge-Weather34-Template/commit/0e75f2ca0839ebbc9462800df656c8293c261915)

First, added an optional video stream to the live webcam popup to actually make it live.
Added new setting to easyweathersetup.php to input your video link alongside the existing static image link.
If your particular video link doesn't work, but you can view it in a normal browser with no extra extensions or anything, submit an issue on GitHub or email me and I'll attempt to add support for your live webcam.
If you don't want this, just leave the video link empty and the popup will use the static image link instead.

Secondly, a fairly big formatting and alignment update to the easyweathersetup.php
I tried to fix the odd alignment of the sections and break up some of the larger sections that covered multiple topics.
Fixed a bit of the formatting across all the descriptive texts on the page.

Updating
If you update with git, then use git pull. If you missed it a couple days ago, the url for GitHub has changed run this command to update your clone of the repository:
Code: [Select]
git remote set-url origin https://github.com/lightmaster/Meteobridge-Weather34-Template.git

If you manually update, the modified files are: (right-click and hit save to download)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 08, 2019, 05:32:09 AM
Two more updates tonight!
MB update is required, please reboot your MB

First brings about the return of current wind and gusts on the main wind module that a couple people have contacted me about. This was accidentally overwritten a little while back and no one had asked about it for a week or 2, so figured no one cared. Got a couple emails about it so figured I'd bring the live gusts (10 min max wind) display back.

Second, did some tweaking of the almanacs tonight, including replacing another hardcoded date. Think there's only one more hard coded date to fix and that was waiting on an update of the MB software which Boris pushed tonight. So make sure you update your MBs, both for the bug fixes and for the new API values.


For MB Pro and Nano SD, will now calculate when the 'rain all time' total started. Unforuately, this value isn't reported by the other MBs, at least according to the documention.
Centers the headers of the almanacs
Makes the barometric almanac min and max text colored like the boxes next to them.
Changes most Month names to be the abreviated name to save space on pages.
Fixes another bit of hardcoded dates from Issue #41.

Updating
git pull

Or replace the following files:

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 08, 2019, 11:21:02 AM
Looks to be working just fine now with the new files.
I've found it had nothing to do with the template at all.
One of the 2 sensors in my PurpleAir unit was dirty. One sensor was showing a PM2.5 value of around 3, while the other was showing a PM2.5 value of around 3000. It turns out the PurpleAir map site has logic that discards the obviously bad value and used the good value only, so on their site everything looks happy. While the template page uses the 3000 value and registers the max value 500. I used their json data to confirm this; https://www.purpleair.com/json?show=23813 (https://www.purpleair.com/json?show=23813)
You can do the same, just replace 23813 with your sensor's ID. For me it was caused by the pesky cottonwood trees in the area, their fluff got into my sensor.

Remember kids, clean your sensors.   [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on June 09, 2019, 05:58:24 AM
hi, I have a problem I can't access in the dashboard settings .. I enter the password I set, but I can't log in from any device..tab / pc / smartphone .. how can I solve ?? thank you
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 09, 2019, 11:08:41 AM
hi, I have a problem I can't access in the dashboard settings .. I enter the password I set, but I can't log in from any device..tab / pc / smartphone .. how can I solve ?? thank you

Open your settings1.php file and look for the line $password =
It should be one of the last few lines.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: xxvincixx on June 09, 2019, 11:20:54 AM
hi, I have a problem I can't access in the dashboard settings .. I enter the password I set, but I can't log in from any device..tab / pc / smartphone .. how can I solve ?? thank you

Open your settings1.php file and look for the line $password =
It should be one of the last few lines.
Thanks light,solved
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 11, 2019, 08:21:50 PM
Translators Needed
I need to get together a group of people fluent in the languages offered by HWS. If anyone is willing to help out, please PM a list of languages that you are fluent in and a contact email for you. I will update the list below as people (hopefully) volunteer. As encouragement, know that for any language that doesn't have someone volunteer, Google Translate will have to be used instead, and we all know how amazing it is at accurately translating........


If I missed any languages, please let me know. If you would like a new language added, again, please let me know.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: txweather.org on June 11, 2019, 08:54:59 PM
Translators Needed
I need to get together a group of people fluent in the languages offered by HWS. If anyone is willing to help out, please PM a list of languages that you are fluent in and a contact email for you. I will update the list below as people (hopefully) volunteer. As encouragement, know that for any language that doesn't have someone volunteer, Google Translate will have to be used instead, and we all know how amazing it is at accurately translating........

  • Catalan
  • Danish
  • German
  • French
  • Greek
  • Hungarian
  • Italian
  • Dutch
  • Polish
  • Swedish
  • Spanish
  • Swedish
  • Turkish

If I missed any languages, please let me know. If you would like a new language added, again, please let me know.

Ill take Spanish. :)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Torjan on June 12, 2019, 10:28:14 AM
Hi!
I have a Norwegian translation. Had been nice if it was in the package.

If there should be more to translate then I would love to do it.

Torjan
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: alexeysailman on June 12, 2019, 01:45:06 PM
Hello venerable lightmaster!
I want to offer my help in localization of template into Russian.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 13, 2019, 08:12:38 PM
If anyone has a Meteobridge Pro or Meteobridge Nano SD, I'd highly recommend you check your almanacs and make sure they don't look like the attached screenshot, with basically all timestamps showing near midnight.

If you see this, it's due to a bug in your Pro or Nano SD and has already been fixed in a recent firmware update. So if you do see all your almanac timestamps saying midnight, make sure you reboot your Pro or Nano SD so it can download the latest firmware. If you continue to see it after a reboot as I did, go to your MB's History tab and click the "reconstruct button". This button is just Bellow the date selectors in about the middle of the page.

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on June 15, 2019, 01:35:19 PM
My template crashed sometime yesterday. The only change to the environment was the replacement of my WeatherFlow Air unit......MB is not  updating mbridge/MBrealtimeupload.txt as scheduled and sometimes not at all.  Temp, barometer, etc are kaput.

My hosting company just updated their servers to PHP 7.1  -  Could that be the cause??  What version of PHP is the most recent release of W34 written in??


thanks much!!

Phil

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on June 15, 2019, 04:20:58 PM
hello

what you find sometimes when a host does a php upgrade some php modules are disabled and not re enabled . last known version of php i worked on was php 7.3.6  release thats almost three years on from 7.1 release

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: 2thepoint on June 15, 2019, 04:30:31 PM
Thanks Brian.........the problem evolved from replacing a bad WeatherFlow Air unit.  Even though I removed it from config and added the new unit, MB kept looking for data from the old Air.  LightMaster, aka William spent quite some time unraveling the puzzle!!  kudos to him

Hope all's well with you.........stay healthy!!

Phil A.
 
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 15, 2019, 06:15:15 PM
Posting this here in case anyone else has to replace a WeatherFlow sensor. To work with HWS, your main sensors have to be the "main" sensors in MB, aka the th0temp, not th1temp.

Quote from: Lightmaster
Alright, when you need to replace a WF sensor like this, you have to pull the batteries on any extra sensors. Then under MB stations tab, hit unlink and then save

Once main sensors are recognized by MB as the 0 sensors (th0temp, etc), then start adding back extra stations one at a time

So if you have 3 temp sensors, main (th0temp) first, then the first extra (th1temp), once it's recognized, then the next (th2temp)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: eliteharbinger on June 16, 2019, 08:09:55 AM
Hi all,

I have been using Meteobridge and Weather34 Template with my Vantage Vue since January 2019 without any issues.

Now I find that my website isnt being updated with the latest weather, The meteobridge is updating the likes of Wunderground etc ok, the message am getting is 'Error: Home Weather Station: failed: Operation timed out.' However other than template updates and meteobridge updates nothing has changed. 

Am at a loss of what to check and where to be honest other than the settings outlined in the installation guides.

Can anyone throw any light on what I should be checking and where please ?

MB-UB40-RRW  MB TP-Link MR3020-(3.9-12779)   Davis Vantage Vue

Platform:   TL-MR3020V3   (no USB hub)
RAM:   60592 kB total, 18504 kB free (69% used)
SW Version:   Meteobridge 4.0 (Jun 16 2019, build 2161), FW 1.3

Many thanks
 
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 16, 2019, 02:16:19 PM
Hi all,

I have been using Meteobridge and Weather34 Template with my Vantage Vue since January 2019 without any issues.

Now I find that my website isnt being updated with the latest weather, The meteobridge is updating the likes of Wunderground etc ok, the message am getting is 'Error: Home Weather Station: failed: Operation timed out.' However other than template updates and meteobridge updates nothing has changed. 

Am at a loss of what to check and where to be honest other than the settings outlined in the installation guides.

Can anyone throw any light on what I should be checking and where please ?

MB-UB40-RRW  MB TP-Link MR3020-(3.9-12779)   Davis Vantage Vue

Platform:   TL-MR3020V3   (no USB hub)
RAM:   60592 kB total, 18504 kB free (69% used)
SW Version:   Meteobridge 4.0 (Jun 16 2019, build 2161), FW 1.3

Many thanks
 

Can you email me your MB remote url and a temporary password to it?
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: eliteharbinger on June 17, 2019, 05:07:02 AM
Hi lightmaster,

Many thanks for the response, email sent.

Cheers
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 18, 2019, 09:48:04 PM
I'm planning to add some predefined links to the menu that will have settings to customize them to point at other sites you upload data to, like WU (queue the booing, lol), CWOP, PWS Weather, etc. Any requests for links to add?

And yes, all these links will default to not showing so if you don't want them, you don't have to have them.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: gand on June 18, 2019, 11:33:34 PM
I'm planning to add some predefined links to the menu that will have settings to customize them to point at other sites you upload data to, like WU (queue the booing, lol), CWOP, PWS Weather, etc. Any requests for links to add?

And yes, all these links will default to not showing so if you don't want them, you don't have to have them.

Hi

Good idea, I'll suggest:

Awekas: https://www.awekas.at (https://www.awekas.at)
Weathercloud: https://app.weathercloud.net (https://app.weathercloud.net)
Met Office: http://wow.metoffice.gov.uk (http://wow.metoffice.gov.uk)

gand
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 18, 2019, 11:54:23 PM
I'm planning to add some predefined links to the menu that will have settings to customize them to point at other sites you upload data to, like WU (queue the booing, lol), CWOP, PWS Weather, etc. Any requests for links to add?

And yes, all these links will default to not showing so if you don't want them, you don't have to have them.

Hi

Good idea, I'll suggest:

Awekas: https://www.awekas.at (https://www.awekas.at)
Weathercloud: https://app.weathercloud.net (https://app.weathercloud.net)
Met Office: http://wow.metoffice.gov.uk (http://wow.metoffice.gov.uk)

gand

 [tup]

Also planning a custom link or 2 where you provide the full text for it and full URL, useful for if you also run a Meteotemplate or other on your site.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on June 19, 2019, 05:32:50 AM
I'm planning to add some predefined links to the menu that will have settings to customize them to point at other sites you upload data to, like WU (queue the booing, lol), CWOP, PWS Weather, etc. Any requests for links to add?

And yes, all these links will default to not showing so if you don't want them, you don't have to have them.
I attach the w34_frames.php script which contains the list of  optional menu entries as used in the WD34 version.

It contains the correct (as of today) URL's of most of the sites users are uploading to.
Can be of help as the links often changed in the past.
Also for users in the US it has the link to the NWS point-click forecast and a few other examples.

I decided to use for the optional items a similar solution as I use in the Leuven-Template.
Demo at: http://wd34.weather-template.com/pws07/

"Remarks"
The "production" WD34 download has all frames set to 'not' , the user has to modify the script.   ](*,)
I think the easyweather is in my case already far to long.

The menu list can grow to long also. One user has already 18 extra menu entries.
I will therefor add subheadings in the October release

Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 20, 2019, 03:29:22 AM
Its Update Time [tup]

If you haven't recently, be sure to reboot your MB to make sure you're using the latest version of the API. A simple and quick reboot is all it takes.

This is a fairly big update that basically rewrites notifications and then some. Just gonna copy/paste my change log from GitHub (https://github.com/lightmaster/Meteobridge-Weather34-Template)

Quote from: https://github.com/lightmaster/Meteobridge-Weather34-Template/commit/97e7a170d9b085d0c92139cf2c37ea77f6e1d669
Move notifications (Notify) from barometer.php to its own file.
Added a red Alert color to the css and shared.php
Added notification for if the console and/or station batteries are low.
Expanded the Wind notifications to include Extreme (>100knots), High (>50knots gusts or >34knots sustained), and Wind Advisory (>40knots gusts or >22 knots sustained)
Added option to enable/disable Earthquake and Wind notifications, as well as a working minimum Magnitude limit.
Add new language strings for Notify
Update language files to all match the master
Remove Canadian and US language files since they were identical to English. Can and US now use the lang.en.php file instead
Added Norwegian language file (thanks Torjan)
Fixed a bug with menu.php that left some <div> tags open that could effect notifications if the language options were shown in menu.
Update refresh times for most modules so they refresh closer to realtime (probably add a customizable setting for these later)
Modules 12 and 13 will now refresh faster as long as they aren't the weather camera module.
Weather camera module now has its own refresh rate, defaults to every 60 seconds
Fixed bug where settings notifyRefresh to 0 would bug out the clock and could crash the site
Fixed a bug with webcam online/offline where it would show as offline if it was a local file.
Updated menu links to new GitHub url.
Added Earthquake scale to notify
stationcron.php will no longer stop updating everything if MySQL settings are messed up. Metar, Forecasts, etc will continue to update regardless.
Added some status messages to stationcron.php, if something doesn't seem right, go to http://YourURL/mbdbfiles/stationcron.php to see what's wrong.

Big takeaways from that changelog is that notify (notification popups) is now in its own file, so barometer can be refreshed more often. Previously, if you made barometer refresh faster, you'd start getting spammed with the notify popup. Not a huge issue on desktop, but on mobile it would be constantly covering the top of the screen and you could never see the temperature. Temporary disadvantage is that notify won't repeatedly popup now. You'll still see it every time you load the page, though. I am working on a new way to make it refresh automatically like the rest of the modules do.

Another change is the warnings in notify about wind speed. It will let you know about Extreme Wind (>100 knots), High Winds (>50knots for gusts or >34knots for the 30 minute average wind), and Wind Advisory (>40knots gusts or >22knots for the 30 minute average). These are based on the NOAA wind advisories for non-hurricane and non-thunderstorm related winds.

Earthquake notifications will currently show the most recent Earthquake that is greater than or equal to the amount you set in the easyweathersetup.php page. It will also tell you which category the Earthquake is based on the Richter Magnitude Scale (https://en.wikipedia.org/wiki/Richter_magnitude_scale#Richter_magnitudes). I am planning to further enhance this with some more features like setting a limit so it only alerts you of earthquakes closer than say 1000 miles.

Stationcron.php will now let you know what's wrong if you visit it in your browser, like if you forgot to set your WU or DarkSky API and you're using a module that requires it. It will also no long stop Metar and Forecasts from updating if your MySQL settings are messed up or the database is wrong. In this case, opening stationcron.php in your browser will give you an error message about MySQL being messed up, but everything after it in the php file will continue to run.

And yes, the Canadian and US language files are supposed to be deleted, even if you are in one of those 2 countries. Common.php has been updated so that Canada and US now use the same language file as English. You don't have to change your language selection in the settings or anything, just be sure to update common.php and remove lang.can.php and lang.us.php.

How to Update

Anyway, onto the exceedingly long list of files that need to be changed. To those of you using git, git pull like always.

Those manually changing files, have fun, lol:

Copy over these modified/new files: (right click => Save link as... to download)

Delete these existing files:

Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Ikoth on June 21, 2019, 09:43:08 AM
Is there a way to reduce the frequency of API calls being made to Dark Sky and CheckWX? I'm burning through the daily, free tier, call allowance in a few hours.

I don't see an option for this in the quick config GUI, but I guess there's a parameter buried in a config file somewhere?

New Davis  / Nano SD / Weather34 user he and absolutely loving it!

Cheers,

I.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on June 21, 2019, 09:50:36 AM
hi glad your loving the nano best product out there and weather34 meteobridge version is built around it .
so check stationcron.php setting in meteobridge services screen itself might be set at a short interval .

might throw some insight https://weather34.com/homeweatherstation/guides/nano34.html

ps edit reason  my crap typing...

screenshot
 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 22, 2019, 02:39:58 AM
Small Update This Time

Fixed a couple little issues with Heat Index calculations:

As a said, its a small update that honestly probably won't change your "Feels like" values by even 0.1 degrees.

To update, use git pull

or replace the shared.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/shared.php) file.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on June 22, 2019, 10:57:28 AM
After the last major update I noticed something odd in my Meteobridge Live data. Have not seen it before. I did update my Nano to (Meteobridge Nano-4.0-2161) before the update. See attached screenshot.

 [ You are not allowed to view attachments ]

Thanks,

Chuck


Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on June 22, 2019, 11:01:41 AM
After the last major update I noticed something odd in my Meteobridge Live data. Have not seen it before. I did update my Nano to (Meteobridge Nano-4.0-2161) before the update. See attached screenshot.

 [ You are not allowed to view attachments ]

Thanks,

Chuck

Sorry. I see that William has answered this question over on Github.

Thanks,

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 22, 2019, 11:47:43 AM
Quote from: GitHub
An issue was brought to my attention where the new echos in mbdbfiles/stationcron.php from commit a0168a7 with it showing a bunch of formatting commands in the HTTP Requests part of the MB's Live Display tab.
This code was designed to make it easier to show the user what is going wrong or if it's all working as it should when they visit this page in their browser, but is have unintended issues in the Live Display tab. Should have an update out this weekend to address this.


Sorry, forgot to post today here as well.

This is definitely one of those happy accidents in life. I didn't realize the MB would display any text returned to it on the Live Display tab, but it's definitely convenient so you can check whether or not everything is good from your MB instead of going to the page itself. Trying to see if there's any way to create a line break on the Live Display so it will show each phrase more obviously. Don't think there is, but in the tooltip text when you hover over the green check mark, it does pay attention to <br>, so will probably use that.

Try to read between the crazy looking formatting commands for the moment, and see that the words themselves do tell you whether or not stationcron.php is able to do everything it needs to do
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 23, 2019, 12:01:33 AM
The last detected lightning strike appears to be in error.
(http://[attachment id=1 msg=383639][/attachment])
It has been a while since my last one, but only about a month.
(http://[attachment id=2 msg=383639][/attachment])
I wonder if it is a bug with the template, or weatherflow, due to their count being 0 now? A month ago when it occurred, the count was greater than 0.

Either way, before the last update the template showed last month, now December.
I've made sure my weatherflow ID is set properly in settings to use mine and not use the default populated one.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 26, 2019, 03:18:03 AM
Adding some sanity and aligning the sun

Put out 3 new commits last night and tonight that clean up the MB's Live Display response for running stationcron.php, adds a sanity check to the data we get from the MB, and tweaks the alignment of the daylight module.


Updating
As always, if you use git, just update with git pull.
If you manually update, replace these files:
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on June 27, 2019, 09:19:40 PM
Thanks to lightmaster, I recently got the weather34 template up and running on my website.  After running it for a few weeks, I decided to try out a new hosting service since my old one kept blocking my IP address.  I am doing a trial on DigitalOcean.  I decided to load the new beta templates that don't require a MySQL database.  I got everything loaded and went through and made all the settings changes and saved them.  Now when I go to my web address http://giovas-is-a-geek.com/PWS/ (http://giovas-is-a-geek.com/PWS/) I only get a blank white page.  I'm not sure what might cause this.  I thought maybe the Apache server wasn't up and running, but I confirmed it is.  I also tried loading the current production site template, but I get the same white page.  I'm not sure what else to check, so I thought I would post to see if anyone has any recommendations.

thanks,
Nick
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on June 28, 2019, 02:20:02 AM
Thanks to lightmaster, I recently got the weather34 template up and running on my website.  After running it for a few weeks, I decided to try out a new hosting service since my old one kept blocking my IP address.  I am doing a trial on DigitalOcean.  I decided to load the new beta templates that don't require a MySQL database.  I got everything loaded and went through and made all the settings changes and saved them.  Now when I go to my web address http://giovas-is-a-geek.com/PWS/ (http://giovas-is-a-geek.com/PWS/) I only get a blank white page.  I'm not sure what might cause this.  I thought maybe the Apache server wasn't up and running, but I confirmed it is.  I also tried loading the current production site template, but I get the same white page.  I'm not sure what else to check, so I thought I would post to see if anyone has any recommendations.

thanks,
Nick
The site returns a 500 error, which normally is a PHP parsing error.

I attached a smal script, it sets all error reporting and then load index.php
Unzip and put that in your pws/ folder and start http://giovas-is-a-geek.com/PWS/test.php
Probably it will tell the script and the line-number with the error.

Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 28, 2019, 02:42:22 AM
Thanks to lightmaster, I recently got the weather34 template up and running on my website.  After running it for a few weeks, I decided to try out a new hosting service since my old one kept blocking my IP address.  I am doing a trial on DigitalOcean.  I decided to load the new beta templates that don't require a MySQL database.  I got everything loaded and went through and made all the settings changes and saved them.  Now when I go to my web address http://giovas-is-a-geek.com/PWS/ (http://giovas-is-a-geek.com/PWS/) I only get a blank white page.  I'm not sure what might cause this.  I thought maybe the Apache server wasn't up and running, but I confirmed it is.  I also tried loading the current production site template, but I get the same white page.  I'm not sure what else to check, so I thought I would post to see if anyone has any recommendations.

thanks,
Nick

Where did you find this beta template, cuz I haven't made any official template yet that doesn't include MySQL. Gonna start work on that in the another week or so.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on June 28, 2019, 02:49:37 AM
Thanks to lightmaster, I recently got the weather34 template up and running on my website.  After running it for a few weeks, I decided to try out a new hosting service since my old one kept blocking my IP address.  I am doing a trial on DigitalOcean.  I decided to load the new beta templates that don't require a MySQL database.  I got everything loaded and went through and made all the settings changes and saved them.  Now when I go to my web address http://giovas-is-a-geek.com/PWS/ (http://giovas-is-a-geek.com/PWS/) I only get a blank white page.  I'm not sure what might cause this.  I thought maybe the Apache server wasn't up and running, but I confirmed it is.  I also tried loading the current production site template, but I get the same white page.  I'm not sure what else to check, so I thought I would post to see if anyone has any recommendations.

thanks,
Nick

Where did you find this beta template, cuz I haven't made any official template yet that doesn't include MySQL. Gonna start work on that in the another week or so.
Quote
no mysql ! now with new small charts and almanac pop ups https://weather34.com/homeweatherstat…
https://weather34.com/homeweatherstation/
https://github.com/weather34/Meteobridge-Beta

Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 28, 2019, 02:56:48 AM
Ah. I'd be careful using that for the next while because Brian left for a 2 week vacation last Sunday and then is doing his big move after that. Not sure when he'll be back or when that repo will be updated again.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on June 28, 2019, 08:59:09 AM
Thanks to lightmaster, I recently got the weather34 template up and running on my website.  After running it for a few weeks, I decided to try out a new hosting service since my old one kept blocking my IP address.  I am doing a trial on DigitalOcean.  I decided to load the new beta templates that don't require a MySQL database.  I got everything loaded and went through and made all the settings changes and saved them.  Now when I go to my web address http://giovas-is-a-geek.com/PWS/ (http://giovas-is-a-geek.com/PWS/) I only get a blank white page.  I'm not sure what might cause this.  I thought maybe the Apache server wasn't up and running, but I confirmed it is.  I also tried loading the current production site template, but I get the same white page.  I'm not sure what else to check, so I thought I would post to see if anyone has any recommendations.

thanks,
Nick
The site returns a 500 error, which normally is a PHP parsing error.

I attached a smal script, it sets all error reporting and then load index.php
Unzip and put that in your pws/ folder and start http://giovas-is-a-geek.com/PWS/test.php
Probably it will tell the script and the line-number with the error.

Wim

Thanks.  I will switch back to the original template for now and then run this.  I was having the same issue with the original template as well, but didn't spend much time trying to figure out why.  Just figured the newer one may be better/easier, but it appears that it isn't ready for primetime :).
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 28, 2019, 08:28:56 PM
Lets get the Weather Flowing again

Updated wflightning.php and the settings file to use a working WeatherFlow API Key.
Not sure how wflightning.php was ever working because WF said they didn't have that API key in their system. The key is now in there system, but an updated to the file is still needed because the key in the file didn't have the necessary hyphens in it.

Update
git pull

Or replace the following files:
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on June 29, 2019, 09:36:25 AM
I now have my site back up and running on my new server, but I had a couple of questions:


Again, thanks to everyone here for all of the help getting my site up and running!
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: wvdkuil on June 29, 2019, 10:28:33 AM
I now have my site back up and running on my new server, but I had a couple of questions:

  • WU, Darksky and Metar are not updating.  I have verified that the API keys are correct for all 3 and there is up to date data on all 3 sites.  Is there a file that requires special permissions, or is there a way to manually execute the command to pull the data so I can try to determine where the issue is?
. . . shortened . . .
You have to run the stationcron.php evry 5 minutes to update the files.
As all versions are different check the documentation also and this topic f.i.
https://www.wxforum.net/index.php?topic=31507.msg352871#msg352871

But you can run stationcron.php manually in the browser and the files will be updated once.
Wim
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: ngiovas on June 29, 2019, 11:09:39 AM
I now have my site back up and running on my new server, but I had a couple of questions:

  • WU, Darksky and Metar are not updating.  I have verified that the API keys are correct for all 3 and there is up to date data on all 3 sites.  Is there a file that requires special permissions, or is there a way to manually execute the command to pull the data so I can try to determine where the issue is?
. . . shortened . . .
You have to run the stationcron.php evry 5 minutes to update the files.
As all versions are different check the documentation also and this topic f.i.
https://www.wxforum.net/index.php?topic=31507.msg352871#msg352871

But you can run stationcron.php manually in the browser and the files will be updated once.
Wim

Thanks.  I already had the cron job set to run (although I had it at 15 minutes), but it still wasn't updating.  I just ran it manually and it says that each service has updated as I scroll through, but there is still an error at the top of the page (and says offline on the template page).

Code: [Select]
Problem getting your data from MySQL
Metar updated
{"latitude":42.79077911,"longitude":-83.36277771,"timezone":"America/Detroit","currently":{"time":1561820708,"summary":"Partly Cloudy","icon":"partly-cloudy-day","nearestStormDistance":63,"nearestStormBearing":122,"precipIntensity":0,"precipProbability":0,"temperature":81.5,"apparentTemperature":84.09,"dewPoint":67.31,"humidity":0.62,"pressure":1018.43,"windSpeed":5.69,"windGust":5.69,"windBearing":305,"cloudCover":0.43,"uvIndex":5,"visibility":10,"ozone":320.5},"minutely":{"summary":"Partly cloudy for the hour.","icon":"clear-day","data":[{"time":1561820700,"precipIntensity":0,"precipProbability":0},{"time":1561820760,"precipIntensity":0,"precipProbability":0},{"time":1561820820,"precipIntensity":0,"precipProbability":0},{"time":1561820880,"precipIntensity":0,"precipProbability":0},{"time":1561820940,"precipIntensity":0,"precipProbability":0},{"time":1561821000,"precipIntensity":0,"precipProbability":0},{"time":1561821060,"precipIntensity":0,"precipProbability":0},{"time":1561821120,"precipIntensity":0,"precipProbability":0},{"time":1561821180,"precipIntensity":0,"precipProbability":0},{"time":1561821240,"precipIntensity":0,"precipProbability":0},{"time":1561821300,"precipIntensity":0,"precipProbability":0},{"time":1561821360,"precipIntensity":0,"precipProbability":0},{"time":1561821420,"precipIntensity":0,"precipProbability":0},{"time":1561821480,"precipIntensity":0,"precipProbability":0},{"time":1561821540,"precipIntensity":0,"precipProbability":0},{"time":1561821600,"precipIntensity":0,"precipProbability":0},{"time":1561821660,"precipIntensity":0,"precipProbability":0},{"time":1561821720,"precipIntensity":0,"precipProbability":0},{"time":1561821780,"precipIntensity":0,"precipProbability":0},


EDIT: It appears that there is a permissions issue with the SQL database.  I guess I need to resolve that and see if it fixes my issue.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 29, 2019, 11:26:19 AM
Is there a way to reduce the frequency of API calls being made to Dark Sky and CheckWX? I'm burning through the daily, free tier, call allowance in a few hours.

I don't see an option for this in the quick config GUI, but I guess there's a parameter buried in a config file somewhere?

New Davis  / Nano SD / Weather34 user he and absolutely loving it!

Cheers,

I.
I'd have to agree, I'm seeing the same thing, there is a pretty substantial increase in the calls, where daily calls were below 500 have drastically increases around the 20th. After that they were capped at 1000, and hit the ceiling every day. I've now paid so I can see how high they go. I've set my cap at 10K now, so we will hopefully see what the new daily average is. The 29th I had the cap set at 2K, and we hit it.
(http://[attachment id=1 msg=384082][/attachment])
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 29, 2019, 12:42:05 PM
I now have my site back up and running on my new server, but I had a couple of questions:

  • WU, Darksky and Metar are not updating.  I have verified that the API keys are correct for all 3 and there is up to date data on all 3 sites.  Is there a file that requires special permissions, or is there a way to manually execute the command to pull the data so I can try to determine where the issue is?
  • Now that I have the site up and running on the new server, I would like to learn how to use GIT to keep the files up to date.  Can anyone point me to any information/tutorial on setting up GIT so I can just run the command from the server to make the updates?

Again, thanks to everyone here for all of the help getting my site up and running!

Your problem is file and folder permissions. Run these 2 commands from your PWS folder. With DigitalOcean, you shouldn't have any issue with using setfacl, but other people using other hosts might get an error about setfacl not being a valid command, just remove the -exec sudo setfacl bits. These commands make it so any new folders have the exact same permissions as it parent folder:

Code: [Select]
find . -type f -exec sudo chown www-data:www-data {} \; -exec sudo chmod 664 {} \; -exec sudo setfacl -d -m g::rwx {} \; -exec sudo setfacl -d -m o::rw {} \;
find . -type f -exec sudo chown www-data:www-data {} \; -exec sudo chmod 664 {} \;

I would definitely not set your stationcron.php to run every 5 minutes unless you want too hit the free API calls limit on one of the services (one of them has a lowish limit, don't remember which). 15 minutes is a good amount so the forecasts are still fresh but nicely before free limits.

Installing with git

If you'd like to use git, install git with
Code: [Select]
sudo apt install git
Then navigate to the root of the webserver, usually /var/www/html/server url

If the template is already in a folder called pws, move it with (change oldfolder to the folder name)
Code: [Select]
mv oldfolder oldfolder.bak

Now issue this command to download the files from the git server
Code: [Select]
git clone https://github.com/lightmaster/Meteobridge-Weather34-Template.git pws
Now copy over the data files (change oldfolder.bak to whatever the old folder is, if you used pws in the previous command, use it here too)
Code: [Select]
cp -rv oldfolder.bak/mbcharts/*.csv oldfolder.bak/mbcharts/20* pws/mbcharts/
cp -rv oldfolder.bak/settings1.php pws/
cp -rv oldfolder.bak/jsondata/*.txt pws/jsondata/

If you changed the folder that the template is installed in, make sure you update the HomeWeatherStation entry in the Networks tab of the MB, and the stationcron.php, empty.php, and addtoyear.php HTTP Requests in the Services tab. While you're at it, make sure stationcron.php is set to "Every full 15 minutes".
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 29, 2019, 12:47:23 PM
Is there a way to reduce the frequency of API calls being made to Dark Sky and CheckWX? I'm burning through the daily, free tier, call allowance in a few hours.

I don't see an option for this in the quick config GUI, but I guess there's a parameter buried in a config file somewhere?

New Davis  / Nano SD / Weather34 user he and absolutely loving it!

Cheers,

I.
I'd have to agree, I'm seeing the same thing, there is a pretty substantial increase in the calls, where daily calls were below 500 have drastically increases around the 20th. After that they were capped at 1000, and hit the ceiling every day. I've now paid so I can see how high they go. I've set my cap at 10K now, so we will hopefully see what the new daily average is. The 29th I had the cap set at 2K, and we hit it.
(http://[attachment id=1 msg=384082][/attachment])

Double check how often you have stationcron.php set to run on the Services tab of your MB. Last person that told me the APIs were being called too frequently had accidentally set stationcron.php to run every 10 seconds....

If its not already, set stationcron.php to run "Every full 15 minutes". This ensures that it run at 00:00, 00:15: 00:30, 00:45, etc. If its already set for the full 15 minutes, email me and i'll send you a debug version of stationcron.php that records how often it is run, so that you can make sure its running when its supposed to.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 29, 2019, 01:00:18 PM
I now have my site back up and running on my new server, but I had a couple of questions:

  • WU, Darksky and Metar are not updating.  I have verified that the API keys are correct for all 3 and there is up to date data on all 3 sites.  Is there a file that requires special permissions, or is there a way to manually execute the command to pull the data so I can try to determine where the issue is?
. . . shortened . . .
You have to run the stationcron.php evry 5 minutes to update the files.
As all versions are different check the documentation also and this topic f.i.
https://www.wxforum.net/index.php?topic=31507.msg352871#msg352871

But you can run stationcron.php manually in the browser and the files will be updated once.
Wim

That is an outdated list of Services. Current correct list is:


If your site uses https, then use https instead of http. If your site is in a folder like pws, use links like yourdomain/pws/mbdbfiles/stationcron.php

(https://i.postimg.cc/pLs1Bfm3/MB-Services-for-MB-HWS.png)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 29, 2019, 01:19:18 PM
Is there a way to reduce the frequency of API calls being made to Dark Sky and CheckWX? I'm burning through the daily, free tier, call allowance in a few hours.

I don't see an option for this in the quick config GUI, but I guess there's a parameter buried in a config file somewhere?

New Davis  / Nano SD / Weather34 user he and absolutely loving it!

Cheers,

I.
I'd have to agree, I'm seeing the same thing, there is a pretty substantial increase in the calls, where daily calls were below 500 have drastically increases around the 20th. After that they were capped at 1000, and hit the ceiling every day. I've now paid so I can see how high they go. I've set my cap at 10K now, so we will hopefully see what the new daily average is. The 29th I had the cap set at 2K, and we hit it.
(http://[attachment id=1 msg=384082][/attachment])

Just to be sure, I checked through the template files again, and the only place the url "api.forecast.io" exists in the template is within mdbdfiles/stationcron.php, so the only way the api can be called is by going to that file in your browser and by the MB calling it every 15 minutes. Make sure you don't have that file open in another tab in your web browser, it could be getting loaded over and over again as your browser tries needs to free up available memory.

Could also be that someone got ahold of your API key. I'd say that's pretty unlikely, but still possible. You could try getting a new API key from them and replace it on the settings page of your template.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 29, 2019, 03:51:55 PM
I went with the new key options, that definitely stopped it. Looks like something was hitting it about once every 5 seconds.
Now things are back to normal.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 29, 2019, 04:34:21 PM
I went with the new key options, that definitely stopped it. Looks like something was hitting it about once every 5 seconds.
Now things are back to normal.

I haven't had to change a key with them yet, is your old key still active or only the new one? Trying to figure out what could have happened.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 29, 2019, 10:42:30 PM
I've figured it out.  :oops:
Man, it had me worried for a bit. I have a Raspberry Pi hosting this template, that I use daily, and it works in coordination with a Meteobridge-Pro. I totally forgot that I also have a NanoSD running in my display in another room that had a basic config on it, so it's W34 template displays properly. When ever I reboot 1 meteobridge to get updates, I reboot all of them. Looks like a recent update to the Nano-SD caused its refresh timing for querying API keys to switch to every 5 seconds, on or around the 20th.
That query every 5 seconds, combined with the every 15 minutes of my usual W34 template burned through my API limits.

I'm just glad it was me, and not someone somehow getting a hold of my keys.

Unfortunately the MAX the NanoSD can be set to refresh for its local dashboard is every 1 minute, wish it had a 15 minute option too.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on June 30, 2019, 03:35:10 PM
I've noticed a minor bug in regard to colors. I'm trying to set the title for the Lightning tile to use <ored> but it displays as orange. It's like the red definition is missing from somewhere. I tried hunting for it, but haven't discovered where the color definitions are stored yet. Blue and orange seem to work fine.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on June 30, 2019, 03:54:15 PM
I've noticed a minor bug in regard to colors. I'm trying to set the title for the Lightning tile to use <ored> but it displays as orange. It's like the red definition is missing from somewhere. I tried hunting for it, but haven't discovered where the color definitions are stored yet. Blue and orange seem to work fine.

Huh, I see that too, as the Davis Console <ored>Forecast</ored> is showing orange. Give me a little and I'll push a fix for it.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 02, 2019, 08:33:33 PM
Working on an update I hope to get out tonight that addresses some issues with monthly and yearly charts when there's only one day on a chart, like how if it's a line graph, it's invisible. Also centers up the graph when the month starts anew, so the graph isn't hidden under the y axis. Hope to get this update out tonight.

(https://i.postimg.cc/Bn3RC7zm/Screenshot-20190702-202409-Chrome-Beta.jpg)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: seaman55 on July 02, 2019, 10:12:19 PM
@lightmaster
Thank you for all the great work, attention, and effort.  [tup]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 03, 2019, 01:31:57 AM
One-A-Day For Charts

Fixed the <ored>, <ored1>, etc tags so they actually are the chart's themed red color. If you prefer the old style for your top row modules, in the settings page, change the <ored> title </ored> codes to <oorange> title </oorange>.
Also made a number of tags similar to these to be bold, since the colored words seemed a bit thin, particularly on the light theme. This had the added benefit of bolding (is that a word?) some of the words used in other modules which made them stand out more and looked better.

Also, fixed a number of issues with the charts, particularly when there's only a single point of data on a chart (as many pointed out to me July 1st). Now a single day of data should always show up, and it will be positioned in the middle of the graph instead of being underneath the Y-Axis. For the line charts that normally don't have any markers for the days, just a smooth line, they will have markers when there is only one point of data so they can be seen, and these markers will disappear once a second day is included on the graph. (see screenshot above).

UPDATE
For those of you using git, you luckily only have to type the command git pull.

For everyone else, all charts need to be replaced, as well as the main.dark.css and main.light.css files:

Update these files (right-click => Save link as... to download)

Delete these files
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: prestwickwx on July 03, 2019, 09:35:37 AM
One-A-Day For Charts

Fixed the <ored>, <ored1>, etc tags so they actually are the chart's themed red color. If you prefer the old style for your top row modules, in the settings page, change the <ored> title </ored> codes to <oorange> title </oorange>.
Also made a number of tags similar to these to be bold, since the colored words seemed a bit thin, particularly on the light theme. This had the added benefit of bolding (is that a word?) some of the words used in other modules which made them stand out more and looked better.

Also, fixed a number of issues with the charts, particularly when there's only a single point of data on a chart (as many pointed out to me July 1st). Now a single day of data should always show up, and it will be positioned in the middle of the graph instead of being underneath the Y-Axis. For the line charts that normally don't have any markers for the days, just a smooth line, they will have markers when there is only one point of data so they can be seen, and these markers will disappear once a second day is included on the graph. (see screenshot above).

UPDATE
For those of you using git, you luckily only have to type the command git pull.

For everyone else, all charts need to be replaced, as well as the main.dark.css and main.light.css files:

Update these files (right-click => Save link as... to download)
  • css/main.dark.css (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/css/main.dark.css)
  • css/main.light.css (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/css/main.light.css)
  • mbcharts/monthlybarometer.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/monthlybarometer.php)
  • mbcharts/monthlydewpoint.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/monthlydewpoint.php)
  • mbcharts/monthlyrainfall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/monthlyrainfall.php)
  • mbcharts/monthlysolar.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/monthlysolar.php)
  • mbcharts/monthlytemperature.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/monthlytemperature.php)
  • mbcharts/monthlywindspeedgust.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/monthlywindspeedgust.php)
  • mbcharts/todaybarometer.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaybarometer.php)
  • mbcharts/todayrainfall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todayrainfall.php)
  • mbcharts/todaysolar.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaysolar.php)
  • mbcharts/todaysolarsmall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaysolarsmall.php)
  • mbcharts/todaytemperature.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaytemperature.php)
  • mbcharts/todayuv.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todayuv.php)
  • mbcharts/todayuvsmall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todayuvsmall.php)
  • mbcharts/todaywinddirection.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaywinddirection.php)
  • mbcharts/todaywindspeedgust.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaywindspeedgust.php)
  • mbcharts/yearlybarometer.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlybarometer.php)
  • mbcharts/yearlybarometermedium.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlybarometermedium.php)
  • mbcharts/yearlydewpoint.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlydewpoint.php)
  • mbcharts/yearlyrainfall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlyrainfall.php)
  • mbcharts/yearlyrainfallmedium.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlyrainfallmedium.php)
  • mbcharts/yearlysolar.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlysolar.php)
  • mbcharts/yearlytemperature.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlytemperature.php)
  • mbcharts/yearlytemperaturemedium.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlytemperaturemedium.php)
  • mbcharts/yearlywindspeedgust.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlywindspeedgust.php)
  • mbcharts/yearlywindspeedgustmedium.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/yearlywindspeedgustmedium.php)

Delete these files
  • mbcharts/todaybarometersmall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaybarometersmall.php)
  • mbcharts/todayrainfallsmall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todayrainfallsmall.php)
  • mbcharts/todaytempsmall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaytempsmall.php)
  • mbcharts/todaywindspeedsmall.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/mbcharts/todaywindspeedsmall.php)

Working great now!

Thanks again for your continuing support.

Chuck
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on July 05, 2019, 06:28:36 AM
Lets get the Weather Flowing again

Updated wflightning.php and the settings file to use a working WeatherFlow API Key.
Not sure how wflightning.php was ever working because WF said they didn't have that API key in their system. The key is now in there system, but an updated to the file is still needed because the key in the file didn't have the necessary hyphens in it.

Update
git pull

Or replace the following files:
  • settings.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/settings.php)
  • wflightning.php (https://github.com/lightmaster/Meteobridge-Weather34-Template/raw/master/wflightning.php)

guess thats a classic weatherflow staff response , the original key was issued by them in 2017 , back then it was one key for all developers guess thats changed in recent months, gave up with weatherflow after there latest rain fiasco ,had high hopes for there product but its pretty dam awful when it comes to rain measurements..say no more...

as for beta version there are a few users using it but its far from ready to be used as a main site and unlikely that will be finished before December or perhaps later ,one advantage there is no mysql requirement at all so you may want to look at doing something for the meteobridge version in the future, ive been using for the last month at https://weather34.com . its quite simple to do and eradicates issues for those not so fluent or experienced in mysql setup. aim is to make it smart in all aspects just takes time ..

keep up the good work william and thanks for all your perseverance in keeping it available .it was good to skype the other week ...brian (back from vacation now for the boxing up) :-(
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 06, 2019, 11:40:43 PM
To anyone who noticed their Darksky and CheckWx (Metar) APIs being used up ridiculously fast each day, turns out this was due to a bug in the Nano SD's internal HWS dashboard, not with this version. The internal copy was allowed to update every 10 to 15 seconds, using 5760 API calls a day, plus the 96 API calls from this version if you used the same API keys between both versions. Boris has pushed an update as of today to fix this by limiting API calls to every 10 minutes instead. Just need to reboot your MB Nano SD for it to update
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 12, 2019, 02:22:42 AM
Any more requests for Links, this is what I've gotten so far:

 [ You are not allowed to view attachments ]
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 23, 2019, 09:43:58 PM
Linking to the World

Couple of updates here:

Added hardware images for the Ecowitt GW-1000 (courtesy of @txweather.org)
Fixed an issue with the barometer trend where I could show without any color formatting.
Added optional links to the menu inside a flyout menu. These links are all disabled by default and must be enabled within the easyweathersetup.php page. There's an option to enable/disable the overall Links menu, and each menu entry will automatically enable and disable itself based on whether or not you fill out the various required id's or usernames. Any ones of them that are blank will be disabled, input anything into the box and they will be enabled.
There are also 2 customizable links within the menu where you can link to any other site you want to, just supply a title for the link and the url, as well as a custom link in the main menu as well.
Added an optional menu option for USA Weather Finder (https://usaweatherfinder.com/). This is a US only service that lets you see how many people visit your site. Just like with the links, it is completely disabled as long as you leave the settings entries for it blank.

Make sure you download the new css/easyweathersetup.css or else your settings page won't look right. If your settings page does look weird after updating, make sure to clear your browser's cache and make sure that the css/easyweathersetup.css file has permissions that let your webserver read it (usually 664, or worse case 666).

If anyone wants new menu links added, add a request to the github issues page (https://github.com/lightmaster/Meteobridge-Weather34-Template/issues/new?assignees=lightmaster&labels=links&template=Link+Request.md&title=) or email me and I'll add it.
If anyone knows any good site similar to USA Weather Finder that is meant for the rest of the world, let me know and I'll see about adding support for it too.

How to Update

Use git pull if you installed using git.

Download (right-click => save link as)

Delete:
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: GeoAir.pt on July 24, 2019, 09:19:03 AM
Translators Needed
I need to get together a group of people fluent in the languages offered by HWS. If anyone is willing to help out, please PM a list of languages that you are fluent in and a contact email for you. I will update the list below as people (hopefully) volunteer. As encouragement, know that for any language that doesn't have someone volunteer, Google Translate will have to be used instead, and we all know how amazing it is at accurately translating........

  • Catalan
  • Danish: @gand
  • German
  • French
  • Greek
  • Hungarian
  • Italian
  • Dutch
  • Norwegian: @Torjan
  • Polish
  • Russian: @alexeysailman
  • Swedish
  • Spanish: @txweather.org
  • Swedish
  • Turkish

If I missed any languages, please let me know. If you would like a new language added, again, please let me know.

I can help with the portuguese (PT-PT) translation.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 24, 2019, 08:02:50 PM
Quick little amendment to yesterdays update

Fixed some typos in the setup page, and some formatting/spacing issues in the menu.

Update with git pull or replace these files if you don't use git (right click => save link as)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on July 25, 2019, 08:01:01 PM
Need a little help here from people outside the USA. I'm planning to add NOAA GOES animated maps to the template, but they only cover North and South America. Does anyone know of any similar maps that are automatically updated for other parts of the world? Preferably real satellite images rather than Google Maps like images with clouds drawn over them. An example of one for my area is
(https://cdn.star.nesdis.noaa.gov/GOES16/ABI/GIFS/GOES16-SE-GEOCOLOR-600x600.gif) (https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G16&sector=se)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: the beteljuice on July 25, 2019, 10:15:49 PM
Have you seen ... https://en.sat24.com/en/freeimages  approx. 45min delay on delivery (their static history pics are usually 5 > 13 min old ?)

sun & clouds actually changes to a different scale infrared ani when the lights go out, better to opt for infrared to start with.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Scubad on August 06, 2019, 04:40:32 PM
I'm using the Weather34 Template with the Beta scripts, so i don't have mysql installed.  Running on a local MAMP server via a NanoSD.

All up and running but I saw that the real feel is way out of whack.  Plus the Wet Bulb is having issues.

Thoughts on why?   [ You are not allowed to view attachments ]

Dennis
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on August 06, 2019, 09:42:57 PM
I'm using the Weather34 Template with the Beta scripts, so i don't have mysql installed.  Running on a local MAMP server via a NanoSD.

All up and running but I saw that the real free is way out of whack.

Thoughts on why?   [ You are not allowed to view attachments ]

Dennis

That is Brian's new template that is exclusively for Davis VP2s with a NanoSD. He's in the middle of moving houses and will be gone for several months. Since it's not an update for this template, I imagine he'll be starting a new thread for it when he's done with his move.

Also, I intend to continue updating this template independently of his new version.

A little bit of a State of the Template update, I'm working on integrating the charts that are built into the MB Pro and Nano SD as a second option for the templates charts. One big advantage is that the charts get data directly from your MB Pro or Nano SD, so new users will have charts that already contain as much of a history as their MB does, and there is no MySQL server or .csv files to deal with on your server, and *hopefully*, no cronjobs to setup on your MB Services tab. The last bit is still being worked on to ensure reliability, but I don't see any reason that it won't work.

Of course, down side is that the new charts are only available to Pro or NanoSD users since the "normal" MB versions like the TP-Link one do not have an internal database to pull data from. If you are a "normal" MB user, don't worry, the mbcharts option isn't going anywhere.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: Scubad on August 06, 2019, 10:24:10 PM
Thanks for the response.  So as a new user/new station owner, which should I deploy?

Trying to get things to work on my hosting provider(bluehost).  So should i just bite the bullet and use yours and deploy a db?

Thanks for the advice.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on August 06, 2019, 10:33:19 PM
Thanks for the response.  So as a new user/new station owner, which should I deploy?

Trying to get things to work on my hosting provider(bluehost).  So should i just bite the bullet and use yours and deploy a db?

Thanks for the advice.

Especially considering Brian is in the middle of a big move and his earliest estimate for when he's releasing his new version is December 2019, I'd recommend using my version. Setup the database for mbcharts. I hope to have the initial release of the new charts out in a couple weeks. Gotta work out some positioning issues with the mobile portrait version of the charts and finish getting the coloring to match the template themes.

Checkout the yearly and daily charts on https://BaxleyWeather.com to get an early preview of the new charts.
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: weather34 on August 07, 2019, 01:11:26 AM
Thanks for the response.  So as a new user/new station owner, which should I deploy?

Trying to get things to work on my hosting provider(bluehost).  So should i just bite the bullet and use yours and deploy a db?

Thanks for the advice.

Good morning

that Beta version is a long way off and is just a personal project, there are only a few users collaborating and weening out the discrepancies and each day I spend an hour each morning going through the list of things todo ,cross it off move on the next there is not many left mostly languages,importing chart data(barometer).the wetbulb/feels like was addressed yesterday .

It  is 100% not a replacement for William's version https://github.com/lightmaster/Meteobridge-Weather34-Template he maintains and improves and I have no intention of creating a another thread. Williams version is more flexible and supports a wider array of configurations, hardware has more to offer for those that want more .
also Im in absolutely no position to offer any dependable or regular support ,its a personal project thats all .its 100% not ready for primetime and may never be though one user is finding things ok https://singaporeweather.info . once *note once its stable it will be archived and only available on request based on you have a GITHUB account. Cant reiterate enough its a personal project and gives me the chance dabble in many new CSS features where supported by browsers *css GRID amazing results and flexibility , last few years flexbox was the best around but the feature css GRID is pretty neat, more powerful and easy to produce layouts ,though its been around for around 3 years its now being fully supported in most modern browsers ..https://cssgrid-generator.netlify.com https://learncssgrid.com

William i tried the using the internal charts last year , two things observed slow performance due to the fact the nanosd/mbpro were never designed to act as a server .Often saw a few timeouts when pinging the charts over the internet especially noticeable when a lot of historical (years were available) .NANOSD would really warm up at times you could see that by monitoring the indoor temperature from the console (even with the -7 offset to compensate the heat readings already generated) noticeable especially if opening multiple charts so I envisioned if you have a popular accessed site and multiple visitors were pinging/calling the charts simultaneously things would get really slow and hot ..best thing todo william setup a beta with a small amount of users and sit back and see how it runs for others perhaps where they have a lot of historical data also you would be surprised where there data may throw up issues you don't always see locally..

As always William keep up the improvements as one user commented in an email recently "he is such a helpful and knowledgeable chap. He has helped me out with various template things, but has also helped me upgrade to https and also sftp for MB uploads. You found a good one there to take over!"...

have a good shift:-) brian

edit..typo as usual :-)
Title: Re: WEATHER34 TEMPLATE with meteobridge options
Post by: lightmaster on August 28, 2019, 08:02:22 PM
Anyone having an issue with wind run always be zero? Someone brought it to my attention about this issue on their server, so I'm working on an improved way to calculate wind run and would like to test it on a couple servers that don't work with the current formula. If your wind run is always zero and you're up to test a new method, send me an email at (support @baxleyweather.com).