cloudy cloudy

Author Topic: ***closed*** weather34 for WeatherDisplay (clientraw and WDapi)  (Read 23439 times)

0 Members and 1 Guest are viewing this topic.

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,553
  • Davis Vue/Win10
  • Ocean Park, WA.
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 71.0.3578.98
    • Traveling RV Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #90 on: January 05, 2019, 09:05:53 PM »
How hard would it be to incorporate this image onto the webpage?  WD is already creating the files, and I don't care if it links to anything, but I would like to display the watches and warnings box to show visitors there is an active watch or warning for our area.


Offline Dale Reid

  • Posts: 255
  • Eau Claire, Wisconsin
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #91 on: January 05, 2019, 09:27:40 PM »
I am new to trying this template, so please bear with my new user questions.  I have gone through the various instruction sheets (thank you for the details for WD setup) and have a couple questions.

#1--I have registered for the Dark Sky key and inserted it.  I see from there site that a 1000 queries per month are free.  How many does this program request?  One/hour?  Is there a frequency to select so I don't get billed?

#2--I have in the upper right corner a "Current Conditions" Block the third over.  Right now it is linked to Brussels, and yet I have entered as my nearest airport the KEAU which I not only got from other sources and knew was accurate, but also was the one presented when I searched the link for the nearest airport designation.

Is there some way to update that block so it doesn't reflect what the conditions are at Brussels?

#3--One of the users of this template directed me to investigate this template when I asked in the Weather-Watch forum if there were a command string for custom text output from Weather Display to include the sun elevation and azimuth, among the numerous other data points Brian Hamilton provides through that program.  He said as of now, there isn't a command to output those values, and a user said that Weather34 does indicate the real time elevation and azimuth for the sun. 

Indeed it does, and I assume the program generates those values based on my latitude, longitude and time.  But seeing them on the screen and getting those numbers to use in other things that I want to do are two different things.  Is there an 'output' available from Weather34 to read those numbers for use in other programs?  Is there a matrix or database that can be read by other software to extract those numbers, or does the template just generate and display them in that block?

Thank you and it is a very fun and solid program to deal with, even with my inexperience.
Dale


Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #92 on: January 06, 2019, 08:00:53 AM »
How hard would it be to incorporate this image onto the webpage?  WD is already creating the files, and I don't care if it links to anything, but I would like to display the watches and warnings box to show visitors there is an active watch or warning for our area.
WD is IMHO not creating the files behind that message.  Those are server side scripts from @Curly maintained by Ken True for the Saratoga template. And they are suitable for the US only. And maybe they need to be changed with the upcoming NWS cutover.

Canada and Europe use totally different sources for the data  as do some other larger countries.

In all cases, if there is a "WeatherDsiplay"-tag in the WD-taglist is is relative easy to use it.
Writing extra scripts and then adding them to the moving target "weather34" is a daunting task.
But I will put in on the " list with wishes " for the next releases.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #93 on: January 06, 2019, 08:19:53 AM »
. . . shortened . . .
#1--I have registered for the Dark Sky key and inserted it. I see from there site that a 1000 queries per month are free.  How many does this program request?  One/hour?
https://darksky.net/dev/docs/faq : The allowed free calls with DarkSky are 1,000 API calls for free each day. All external information loaded in this template is cached, in this case in pwsWD/jsondata/  It is refreshed when needed. For Darksky the allowed age is 24 minutes when using a cronjob. Total calls / day even with multiple languages will be  far below the allowed maximum.
Quote
#2--I have in the upper right corner a "Current Conditions" Block the third over.  Right now it is linked to Brussels, and yet I have entered as my nearest airport the KEAU
. . . . shortened . . . Is there some way to update that block so it doesn't reflect what the conditions are at Brussels?
You should also apply for a "CheckWX Metar API KEY you need to sign up" nearly at the bottom of easyweather
Quote
#3--One of the users of this template directed me to investigate this template when I asked in the Weather-Watch forum if there were a command string for custom text output from Weather Display to include the sun elevation and azimuth,
. . .  shortened . . .
 Is there a matrix or database that can be read by other software to extract those numbers, or does the template just generate and display them in that block?
That is a mix of PHP and javascripts, some very old. All data is generated on the fly. Even touching them is not advised.
Quote
Thank you and it is a very fun and solid program to deal with, even with my inexperience.
Dale
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline weatherist34

  • Posts: 325
  • OS/Browser:
  • Mac OS X 10.13.6
  • Safari 11.1.2
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #94 on: January 06, 2019, 08:47:32 AM »
good morning

*important please note weather34 does not offer any support for this weather display version so please no more emails .Much of the code/structure has been completely re-written by Wim van der Kuil and this structure of code is not something Im familiar with and none of the code resembles any versions from Meteobridge or Cumulus so therefore it is important you raise your issues , ideas to Wim van der Kuil not weather34 to get a positive outcome . Wim van der Kuil has done a remarkeable re-write of the template to be used with weather display in a very short time and remember other versions like meteobridge and cumulus were designed and coded to be developed alongside each other continuously to make it easy to maintain and implement ideas across those versions where possible.Many of the current features,display seen in the meteobridge ,cumulus versions are not fully compatible with this version they require a lot of re-writing due to the differences in code structure. The weather display version I last worked on was in Novemebr 2017 since then it recieved no significant updates or major improvements so I think where Wim has got it today in such a short period is an achievement itself and I encourage you all to work with him constructively and collaborate.

sometime in the future I will try and liase with Wim to add similar features as seen in the current meteobridge version if required if not i still think where he has got it today is a great platform for further enhancements .but thats something for the future and choose a suitable period thats suits both of us right now too many other things going on .

screenshot of meteobridge version as of today..



brian
« Last Edit: January 06, 2019, 09:04:33 AM by weatherist34 »

Offline bitsostring

  • Posts: 976
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #95 on: January 06, 2019, 02:14:17 PM »
You should unzip the update.
The 10 changed scripts go into the pwsWD/ folder on your server.

Shortly after I did that the DarkSky, CheckWX and WU uploads stopped working. Apparently w34_load_files.php needs a line added to make it use the proxy server in my setup. . . now I know that, I can watch out for any more updates to that script and make the necessary addition!
It's meant to be fun. . .

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,553
  • Davis Vue/Win10
  • Ocean Park, WA.
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 71.0.3578.98
    • Traveling RV Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #96 on: January 06, 2019, 07:07:05 PM »
WD is IMHO not creating the files behind that message.  Those are server side scripts from @Curly maintained by Ken True for the Saratoga template. And they are suitable for the US only. And maybe they need to be changed with the upcoming NWS cutover.

Canada and Europe use totally different sources for the data  as do some other larger countries.

In all cases, if there is a "WeatherDsiplay"-tag in the WD-taglist is is relative easy to use it.
Writing extra scripts and then adding them to the moving target "weather34" is a daunting task.
But I will put in on the " list with wishes " for the next releases.

Wim

Fair enough. 

The tag is -  $NOAAEvent = '%NOAAEvent%' ; // NOAA Watch/Warning/Advisory
 

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #97 on: January 06, 2019, 08:42:42 PM »
Fair enough. 

The tag is -  $NOAAEvent = '%NOAAEvent%' ; // NOAA Watch/Warning/Advisory
 
Do you have real life content of that tag?   It seems to be only a string?  This is the description I found in taglist.txt
Code: [Select]
%NOAAEvent%.................if you have setup the Noaa warning system (if no warning, then it will be NO CURRENT ADVISORIES)
Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline eddiegonzales

  • Posts: 14
  • Felsted, Denmark
  • OS/Browser:
  • Mac OS X 10.14.3
  • Chrome 71.0.3578.98
    • Felsted Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #98 on: January 06, 2019, 08:44:08 PM »
Hi there,

Great work with the Weather34 for WD with API!

Is there a Danish translation underway or should i give it a try?

BR
Stephan

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #99 on: January 06, 2019, 08:54:42 PM »
Hi there,
Great work with the Weather34 for WD with API!
Is there a Danish translation underway or should i give it a try?
BR
Stephan
Well maybe another Danish person is doing it, but I do not know of it. It is not a lot of work but after the first batch,  new untranslated words will pop-up. Some weather-descriptions come from outside sources  and all possibile words are not known yet.

So give it a try, maybe other Danish users can help?

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Harry

  • Posts: 797
  • Union City, CA USA
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Union City, CA Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #100 on: January 06, 2019, 11:33:28 PM »
WD is IMHO not creating the files behind that message.  Those are server side scripts from @Curly maintained by Ken True for the Saratoga template. And they are suitable for the US only. And maybe they need to be changed with the upcoming NWS cutover.

Canada and Europe use totally different sources for the data  as do some other larger countries.

In all cases, if there is a "WeatherDsiplay"-tag in the WD-taglist is is relative easy to use it.
Writing extra scripts and then adding them to the moving target "weather34" is a daunting task.
But I will put in on the " list with wishes " for the next releases.

Wim

Just for info/idea, I was able to include the advisory scripts that I have been using on my main site for years with no problem.  These scripts were created separately using a third party RSS/Atom feed parser and not part of the Saratoga/Curly advisory scripts.  As far as any impact from any NWS cutover goes, I'll cross that bridge when I come to it.

http://ucweather.org/pwsWD/
http://ucweather.org/

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,553
  • Davis Vue/Win10
  • Ocean Park, WA.
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 71.0.3578.98
    • Traveling RV Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #101 on: January 07, 2019, 05:09:48 PM »
Just for info/idea, I was able to include the advisory scripts that I have been using on my main site for years with no problem.  These scripts were created separately using a third party RSS/Atom feed parser and not part of the Saratoga/Curly advisory scripts.  As far as any impact from any NWS cutover goes, I'll cross that bridge when I come to it.

Looks great...wish I was smart enough to know how to code that into my site.  I can't even figure out what file I would need to edit in the pwsWD directory to even attempt this mod.  Would you mind sharing your code so I could get some ideas?

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #102 on: January 07, 2019, 05:24:45 PM »
Looks great...wish I was smart enough to know how to code that into my site.  I can't even figure out what file I would need to edit in the pwsWD directory to even attempt this mod.  Would you mind sharing your code so I could get some ideas?
There will be a "alerts.weather.gov" advisory box and a "meteoalarm.eu" box in the April (2019-04-01) version.
The "alerts.weather.gov" version will use this feed: https://alerts.weather.gov/cap/wwaatmget.php?x=CAZ095&y=0
The "meteoalarm.eu"  version will use: https://www.meteoalarm.eu/documents/rss/nl.rss

The "alerts.weather.gov" feed is  already used in the Leuven-Template, but as always, one needs some time to test and integrate it in the other scripts.

Have had no indication that the  "alerts.weather.gov"  is affected by any planned change.

Wim

« Last Edit: January 07, 2019, 05:26:46 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline bitsostring

  • Posts: 976
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #103 on: January 07, 2019, 05:45:34 PM »
But I will put in on the " list with wishes " for the next releases.

Let us know when you feel ready for more "wish list" suggestions  :)
It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,346
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 71.0.3578.98
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #104 on: January 07, 2019, 06:28:44 PM »
Let us know when you feel ready for more "wish list" suggestions  :)
I forgot to tell, there is already a "wish list" topic in Dutch for the "locals" .
If the "wish" also contains a screenshot or an URL it would be helpfull.

Please make a wish list topic in English also here on the forum.
That way the wishes do not get lost in the installation questions in this topic.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

 

cumulus