***closed*** weather34 for WeatherDisplay (clientraw and WDapi)

There has been other discussions about support for WeatherDisplay in the “weather34” template as designed and developed by BrianUnderdown.
BrianUnderdown now fully supports the Meteobridge version at his template-site.
You can check there (scroll down to Notice Please Read) which other versions are supported by which person and where to find those versions.

As from today, the first release of “weather34 version for WeatherDisplay” is available for download at http://wd34.weather-template.com/index.php

[ul]
[li]This version supports FTP-upload of clientraw.txt and HTTP-upload using the WDapi.[/li]
[li]The current conditions can be from WD-clientraw, DarkSky (needs an API-key) or METAR (needs an API-key).[/li]
[li]Forecast data only from DarkSky (+API-key) for this version, probably wxsim and met.no will be available in the next release[/li]
[li]Next release (April) will also use the latest css I just received from Brian Underdown[/li]
[li]Graphs can be generated from your WU-data or from a SQL-table which is relative easy to setup[/li][/ul]

Please use this post for comments and questions for the WD-version so we keep them separated from the discussions about the other versions.

Wim


Very nice Wim…excellent work… :wink:

http://travelingrvwx.com/pwsWD/

Yes, nice work Wim! It’s very good to see this option actively supported again :smiley:

Great work Wim :slight_smile:

Wim,
Working here - thanks for your hard work.
https://carseweather.uk

However

you just need to create a file (for now) called homeweatheron.txt
where WD is installed
Wim must have that mentioned somewhere I am sure

Brian,
Thanks - I should have RFTM. :oops: :oops: :oops: I will have play later.

Chris

I do not see the W34 logo in the WD version 10,37s85
what to do
Thank you

see Brian’s reply above

Chris

Having an issue setting up my webcam with Weather 34 for Weather Display.

Weather 34 is in the pwsWD directory (Public_html/pwsWD/)

The webcam is at (public_html/webcam/image.jpg) in the settings page I have tried all the following - (./webcam/image.jpg ) (…/webcam/image.jpg) I also tried adding the public_html/webcam/image.html.

Any suggestions would be greatly appreciated.

Thank you, John

$webcam_img = ‘…/webcam/jpgwebcam.jpg’;

Works for me here…

Sorry, I did not write it clear enough in the settings script.
You set the link to “…/webcam/image.jpg” which is 100% correct
The scripts add a timestamp to the static image link to bypass old images in the browser cache.
If you change it in the settings to “…/webcam/image.jpg?” (so add an ? to the link) it will function as it should.

Wim

This is normal, to do the translation
is in lang_extra.txt

days

                         |Fri |Fri |
                       [color=red]   |Mon|Mon|
                         |Mon |Mon [/color]|
                         |Sat |Sat |
                         |Sun |Sun |
                        |Thur |Thur |
                         |Tue |Tue |
                         |Wed |Wed |

The re are a lot of scripts with a lot of words which should be translated
If you want to make your own translation, as an example to Spanish, translate only the right part.
So


                              |Mon|Lun|
                             |Mon |Lun |

If that is not your question, please clarify what you want to ask. Leave a space in the translation as that is probably needed to keep the words apart.
Wim

Hi everyone,
in the guide is written to set to WD “Home weather station” in Control Panel, but I do not have it, I have the latest version installed, why?
I am attaching the image
Thank you


See reply #5, above.

I adapted the sentence about the needed “unhide” file as it was overlooked easily.
Step 1
To use the api (lets call it WDapi for short) you first have to “unhide” the setup in WeatherDisplay.
Therefor you should create a file (can be empty) called
homeweatheron.txt in the same folder where WD is installed

Wim

Installed OK, but: Dark Sky API Forecast and Current Conditions not working (language is set to English); CheckWX API metar not working (for “nearby” EGPH); Sun, Moon & Space module not working; and no WU graphs. See http://swanston.maui.co.uk/pwsWD/

I have had server problems before with, e.g., the WU API in W34 setup, so I guess I’ll speak to my service provider about that, but not sure about the missing module.

It seems that you r website is not allowed to access files outside your server.
The scripts to load files from outside your server all time-out.
The sun script fails as a PHP function is not defined, first time I see that

Fatal error: Call to undefined function gregoriantojd() in /web/maui/swanston/htdocs/pwsWD/sun_block.php on line 7

It is a standard PHP function for versions 4 to 7.2 but the provider should enable that (most do)
http://php.net/manual/en/calendar.installation.php

To get these functions to work, you have to compile PHP with --enable-calendar .
Wim

Thanks, Wim, I’ll pass that on when I ask about access to outside files. Does this lack of access explain the lack of pop-up d/m/y graphs?

If so, I’ll ask my provider about that too, because the graphs on my old W34 version (at /pws, not /pwsWD) have recently stopped working as well.