cloudy cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #60 on: January 03, 2019, 09:07:44 PM »
Wim, why is the data from both the Davies Instruments and WeatherFlow weather stations being processed in this newer version of the 'weather34. . . shortened . . .
A weatherwebsite can have multiple extra sensors, f.i.   AirQuality sensor => supported Luftdaten, Purpleair and official, a lightning-sensor => supported Nextstorm and WeatherFlow. Same as for current conditions, supported WD, Metar or Darksky.
In this version of weather34,  the WeatherFlow measurements used are only the lightning ones. No other values.
And UV/solar for those stations who are missing an UV / Solar-sensor.
There is als a weather34  version for Weatherflow where almost all data comes from Weatherflow.
The 2017 version for WD also used some WF values, at least the version I had to start with making this new one from.

Also nobody has to use the weatherflow. All extra sensors arte optional.

Same for forecasts. As soon as the new WU-api is available one can choose between DarkSky or WU again for forecasts.
Wim, may I make a suggestion - when replying to a message could you either not quote the whole message or only quote the part of the message you are replying to - otherwise the message thread very long very quick.  :wink:
As > 90% of my post are answers to questions or other posts I burned myself a few times by not quoting completely.
Some persons change their original quote AFTER they get an answer so that the answer is not valid anymore.
That is why I try to include their complete original text, to make sure that my answers make sense, even after the original post is changed or removed.
Wim
« Last Edit: January 04, 2019, 07:48:42 AM 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 eb3bvb

  • Posts: 157
  • Torrelavega, Cantabria
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • meteotorrelavega
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #61 on: January 04, 2019, 08:08:29 AM »
Hello Wim,
checking the template missing put:
in w34_easyweathersetup.php
the catalan language
line 225
original: | 02 | - | - | flag | select | en | en # English! nl # Dutch! fr # French! de # German! it # Italian! sp # Spain |
modified:
| 02 | - | - | flag | select | en | en # English! Nl # Dutch! Fr # French! De # German! It # Italian! Sp # Spain! Ct # Catalan |
  and so that the flag comes out at the end of the sript
ask for a flag: img / flags / ct.svg
is not, you would have to add or modify the script to call ct.svg
Thank you
Emilio
« Last Edit: January 04, 2019, 08:10:39 AM by eb3bvb »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #62 on: January 04, 2019, 08:16:41 AM »
Hello Wim,
checking the template missing put:
in w34_easyweathersetup.php
the catalan language
line 225
original: | 02 | - | - | flag | select | en | en # English! nl # Dutch! fr # French! de # German! it # Italian! sp # Spain |
modified:
| 02 | - | - | flag | select | en | en # English! Nl # Dutch! Fr # French! De # German! It # Italian! Sp # Spain! Ct # Catalan |
  and so that the flag comes out at the end of the sript
ask for a flag: img / flags / ct.svg
is not, you would have to add or modify the script to call ct.svg
Thank you
Emilio
It is already in the downloads since yesterday on http://wd34.weather-template.com/
Additional/changed scripts to support the Italian, Spanish and Catalan language. Thank you Daniel and Emilio
Before posting the update I installed at the demo site, it looks catalan to me, the flag looks different, so i assume it is working. http://wd34.weather-template.com/pwsWD/
Please check again and e-mail me if there are problems.

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 eb3bvb

  • Posts: 157
  • Torrelavega, Cantabria
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • meteotorrelavega
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #63 on: January 04, 2019, 08:33:09 AM »
I attach two images of the problem
the first image is with the modified sript so that it comes out catalan

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #64 on: January 04, 2019, 08:45:12 AM »
I attach two images of the problem
the first image is with the modified sript so that it comes out catalan
:oops:  I misunderstood, thought you referred to the flag in the menu. Thanks for spotting the error.
I adapt the easyweathersetup and upload a new version.
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 Boce

  • Posts: 46
  • Knjazevac, Serbia
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Meteo Knjazevac
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #65 on: January 04, 2019, 09:38:16 AM »
I think that light breeze should be 2 Bft not 6 Bft  :?

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #66 on: January 04, 2019, 11:05:14 AM »
I think that light breeze should be 2 Bft not 6 Bft  :?
Yes, it should be 6 Kts or 2 Bft  or both.
Will check if there is enough space for both.OK at http://wd34.weather-template.com/pwsWD/?units=metric
Wim
« Last Edit: January 04, 2019, 11:21:47 AM 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: 970
  • 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 #67 on: January 04, 2019, 11:42:58 AM »
The line for windrun should be
Code: [Select]
$weather["wind_run"]            = convert_speed ($wd[173],'km/h',$to);

Did we have a definitive answer to the windrun problem yet? Apologies if I've missed it.
It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #68 on: January 04, 2019, 11:48:33 AM »
Did we have a definitive answer to the windrun problem yet? Apologies if I've missed it.
Just try the block from #66 above.
It should work OK, but as changes, it needs a few days testing.

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 Boce

  • Posts: 46
  • Knjazevac, Serbia
  • OS/Browser:
  • Win NT 10.0
  • Firefox 64.0
    • Meteo Knjazevac
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #69 on: January 04, 2019, 12:36:47 PM »
Yes, it should be 6 Kts or 2 Bft  or both.
Will check if there is enough space for both.OK at http://wd34.weather-template.com/pwsWD/?units=metric
Wim

I think that is now OK. Maybe you could at the same time make a change for Wind run for scandinavia meters and wind block. 

In settings I set DarkSky forecast language English but on main page I have Dutch language (I set default Duch language in Settings).
« Last Edit: January 04, 2019, 12:39:48 PM by Boce »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #70 on: January 04, 2019, 12:57:41 PM »
I think that is now OK. Maybe you could at the same time make a change for Wind run for scandinavia meters and wind block. 
Is already in the lates update download. Always check at http://wd34.weather-template.com/pwsWD/
Quote
In settings I set DarkSky forecast language English but on main page I have Dutch language (I set default Duch language in Settings).
Darksky has its own language setting! Nearly at the bottom where the API key is entered. You can select Serbian also there.
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 #71 on: January 05, 2019, 05:10:26 AM »
Wim, the weather34 template is really a nice piece of work.  Kudos to you and the team for creating it.  I have mine setup and working but, for some reason, I am not getting the current forecast.  What could I be missing? Also, where are the current weather alerts supposed to come from?  Right now, we have a Wind Advisory posted for our area and there is no alert in the Weather Alert box.

http://ucweather.org/pwsWD/
« Last Edit: January 05, 2019, 05:50:01 AM by Harry »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,341
  • 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 #72 on: January 05, 2019, 09:21:30 AM »
Wim, the weather34 template is really a nice piece of work.  Kudos to you and the team for creating it.
100% BrianUnderdown (weather34)  for the design and original scripts. I myself are your humble servant to do the support for this version
Quote
I have mine setup and working but, for some reason, I am not getting the current forecast.  What could I be missing?
You have to apply for a DarkSky api key and enter it in easyweathersetup. Nearly at the bottom
Quote
Also, where are the current weather alerts supposed to come from?  Right now, we have a Wind Advisory posted for our area and there is no alert in the Weather Alert box.
http://ucweather.org/pwsWD/
The weather alerts come from the weather-values in the scripts themselves. Not from an outside company as NWS or Meteoalarm.

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 #73 on: January 05, 2019, 10:58:15 AM »
Thanks a lot, Wim.  Working great now, even got a weather alert.  Should be interesting to watch the next several days as we are supposed to get a lot of wind and rain.  BTW, I really like the air quality sensor feature.

Offline pricey

  • Posts: 190
  • Llanelli Wales United Kingdom
  • OS/Browser:
  • Android 8.0.0
  • Chrome 71.0.3578.99
    • Llanelli Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #74 on: January 05, 2019, 11:28:05 AM »
Hello Wim
Great work. I see some small fixes on the  installation page. How do you update the build?

Thanks
Steve


 

cumulus