I have tried everything to get this to work. I received all the keys I needed and have tried altering my lat and long many times, but to no avail.
The forecast is wrong, it will get to near 30C tomorrow. The sunrise and sunset are wrong. I am unsure of the current conditions.
Here is an image. The red squares, I’m so are wrong. The green ones, I’m uncertain.
Any help please.
Without a link to the pws folder, there is nothing I can do.
I think it is pwdWD/ but that also gives a 404 http://www.maryweather.net.au/pwsWD/
Wim
P.S. The footer of the page also displays if it is clientraw or WD-api, but that is not copied either
You used the wrong coordinates, this is from the DarkSky data which locates your station north of Hawai i in the ocean.
latitude":25.5225,"longitude":-152.692,
Maryborough AU coordinates are
-25.539595 = minus = south of the equator
152.6654131 = plus = right of Greenwhich.
DO NOT use the + or - before the coordinates as set in WD, but use the “official” + and -.
Wim
P.S. It will take about an hour before the changes of the coordinates take effect as the DarkSky data is cached.
I thought that I had tried all of them.
Again, tanks you very much.
:oops:
forgot to update the pwsWD/ version also. Attached a new version of the script
metar_load_funct.php.zip (3.68 KB)
Good deal. Anxiously awaiting the April release…
You should test the latest beta fro March 1, is as good as the April release, but it still has all error reporting switched on.
http://wd34.weather-template.com/beta.php
Wim
Corrected on both points. All menu items are now translated. So "FIRST SETUP (protected) " can be translated also.
Check the latest beta at http://wd34.weather-template.com/pwsTEST/index.php?lang=nl
I will update the other language files before the end of March and will also move the english .php to a .txt file also.
Wim
In April release there is a “lightgrey” background-color.
<img src="http://www.weewx.com/weewx-logo-128x128.png" width="35" height="35" alt="Weewx"
style="background-color: lightgrey; padding: 2px;">
Looks good in Dark and Light I think.
Good job, Wim! (But the “FIRST SETUP” heading “Instellingen” is in cap and lower case?)
One can translate as one wants.
|FIRST SETUP|INSTELLINGEN|
of
|FIRST SETUP|Instellingen|
But it would be better to be more consistent, :oops:
I prefer lowercase as it reads easier. So I changed the language file for Dutch to have lowercase entries in the menu.
Wim
Should this code snippet be inserted into w34_index.php?
No this is strictly BETA.
In the beta/April release I moved the images from index.php and the frames.php to the settings. So that we can add and change it at one place without changing at multiple others.
Wim
w34_cron_stationcron.php is not executed. I can run it manually using _test.php?test=w34_cron_stationcron.php.
- [li]What is the URL?
PLEASE understand that you are not the only one using these scripts and I have to support my own scripts also on four forums in multiple languages. I am not clairvoyant and can not remember every individual request[/li]
[li]As you state that the cron-job runs from the browser, there seems to be no problem with the cronjob itself.
So please tell me what your problem is.[/li]
[li]Adding _test.php only adds the display of all debug info.
Do not use that when running a job from WeatherDisplay or whatever cron-server-program you are using.
Cron servers do not like to get large blobs of data from the jobs they start.[/li] - http://wd34.weather-template.com/documentation/WDapi-stationcron-2019-01.pdf
Wim
Thank you!
Sorry to Wim that I forgot to include url
My problem is that cron job is not executed.
I use WeeWX. WDapi is not possible with current setup.
http://weather.meisal.com