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

Is already in the lates update download. Always check at Leuven Home Weather Station (wf version)

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

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/

100% BrianUnderdown (weather34) for the design and original scripts. I myself are your humble servant to do the support for this version

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
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

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.

Hello Wim
Great work. I see some small fixes on the installation page. How do you update the build?

Thanks
Steve

You should unzip the update.
The 10 changed scripts go into the pwsWD/ folder on your server.
There are two folders with a name "copy to "
One has the extra flag, goes into pwdWD/img/flags/ The other has the extra language files for pwdWD/languages/

Succes,
Wim

One small typo, in line 137 of W34_menu.php: ‘Select langauge’ should read ‘Select language’

(That works in my menu, but I don’t know if there are any other places I should look?)

And the words “Template by weather34.com” at bottom right overhang the main template “frame”. . .?

Ok Wim will give it a go.

Thanks
Steve

Very easy solution:
Correct all typing errors by using the language files. |'Select langauge|Select language|
That way you are sure that with a new release the error does not return.
And that visitors using another language can see the translation to their language also.
The script-editors do not catch those typing errors and English is not my native language either
This: |from text in script |to text visitor sees| is therefor used by multiple template authors.

And the words “Template by weather34.com” at bottom right overhang the main template “frame”. . .?
Can you make a small screenshot, as I do not understand what the problem is at my test site, thanks.
Wim

Thanks, Wim.

1.JPG shows my site, 2.JPG shows your test site. Legends (Data source, Hardware, etc.) not centred, either.


Hello, the page
http://www.meteotorrelavega.com/pwsWD/w34_cron_stationcron.php
Give me this:
No loading of DB neededsuccess files loaded + to day file
Y :
http://www.meteotorrelavega.com/pwsWD/w34_util_createdb.php

weather34 Error creating database: Access denied for user ‘meteotorkcmilio’ @ ‘%’ to database ‘weatherstation’
I have checked name database, use password everything is fine
I connect to phpMyAdmin right
attached images
the second is what I think by importing the sql file
any suggestions
emilio #-o 8O 8O


sshot-3.png

Win direction and avg wind direction always have some direction although they have different ones


windir.JPG

your site http://swanston.maui.co.uk/pws/ shows differently at my place with chrome and FF. I think the height has to be adjusted to fit.
Script w34_index.php line 261 reads now

        <img src="img/weather34logo.svg" width="40px" alt="https://weather34.com/homeweatherstation/" class="homeweatherstationlogo" ></a>';}

change the height to 30px so we can see if that solves it.

        <img src="img/weather34logo.svg" width="30px" alt="https://weather34.com/homeweatherstation/" class="homeweatherstationlogo" ></a>';}

Wim


logo+text.jpeg

You have to specify in the settings if the cron file should store the data + you should have a working database

Y :
http://www.meteotorrelavega.com/pwsWD/w34_util_createdb.php
Did you give the user all rights to the database? Seems not as the checkboxes are empty.
That user must be allowed to define new tables ans so on, as that is what the
And what are those strange characters '@ ‘%’ doing in the error message?
weather34 Error creating database: Access denied for user ‘meteotorkcmilio’ @ ‘%’ to database ‘weatherstation’
I have checked name database, use password everything is fine
I connect to phpMyAdmin right
attached images
the second is what I think by importing the sql file
That image is correct as the test record is inserted in the databas-table.
any suggestions
emilio #-o 8O 8O
You should now give the user all rights. And set the cron-job to do the updates,
Success, Wim

Apologies: I’m using Edge, and didn’t think to check in Chrome #-o

I think the height has to be adjusted to fit. change the height to 30px so we can see if that solves it.

Afraid not. . . see screenshots. (Chrome is better, though, as the logo doesn’t interfere with the text!)


3Edge.JPG

4Chrome.JPG

[quote author=Boce link=topic=67468.msg541882#msg541882 date=1546711030]
Win direction and avg wind direction always have some direction although they have different ones


wind_gust_block.php.zip (3.57 KB)

Sorry, do I add that to lang_extra.txt?

No to lang.en.php if you use English.
It should look like

$lang['Select langauge'] = 'Select language';

I did not redo the English file as most untranslated words are in English.
The typing errors should be added to the english file in the PHP way as in the original weather34.

sorry, Wim

The chrome screenshot looks acceptable.
And yes edge. I do not know how much more differences will show with the very complex css which is used
At least microsoft will build a new Edge using the chromium engine and then these problems will fade away.
As soon as Brians new css can be used I will start testing with edge also.

Wim

Thank you, again!

Can’t wait :slight_smile: