:oops:
forgot to update the pwsWD/ version also. Attached a new version of the script
metar_load_funct.php.zip (3.68 KB)
: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.
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
Cronjobs are started from somewhere else and only executed on your weather34/ website.
WeatherPrograms such as WeatherDisplay or Meteobridge are able to function as a cron-server themselves.
Small linux computers such as RaspBerry have built in cron-servers also.
Or you can use a free (or almost free) con-provider.
There are multiple discussions on the weather-fora about which providers can be used.
Sometimes your website provider has a free cron service also.
Some of the names I got when using Google Free cronjobs - from minutely to once a year. - cron-job.org https://www.cronjob.de/ https://www.setcron.com/
But this topic/discussion is not the right place and by hiding it here in this topic you will get far less answers than starting a topic such as" Which (free) cronjob server should I use?"
Wim
This states why the script is not executed when not using programs like WeatherDisplay.
It was not very clear anywhere that I need to create a cron job myself. At least could not find it anywhere.
With this knowledge I’m able to move forward.
Thank’s again for helping!
Ended up defining this cron task:
*/1 * * * * /usr/bin/php -q /home/weather/public_html/w34_cron_stationcron.php
I verified it is running once every minute and updates MYSQL db and csv file as expected
I assume I will also need two additional jobs running w34_cron_addtoyear.php and w34_cron_empty.php.
Correct?
Wim
Confirming that I do not upload to WeatherUnderground.
I should be good to go then.
G400
Yes, you need the two other cron-jobs also. Wim