cloudy cloudy

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

0 Members and 2 Guests are viewing this topic.

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #390 on: March 02, 2019, 04:15:32 PM »
Still having problems with the metar...
:oops:
forgot to update the pwsWD/ version also. Attached a new version of the script
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 NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,553
  • Davis Vue/Win10
  • Ocean Park, WA.
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 72.0.3626.119
    • Traveling RV Weather
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #391 on: March 02, 2019, 04:27:11 PM »
:oops:
forgot to update the pwsWD/ version also. Attached a new version of the script

Good deal.  Anxiously awaiting the April release...

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #392 on: March 02, 2019, 04:47:56 PM »
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

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 wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #393 on: March 03, 2019, 02:56:04 PM »
Still on the subject of Menu headings, I find it strange that "Settings" is headed "FIRST SETUP" because it is only FIRST the first time you use it.

I use Settings three or four times a day  :)
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
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 wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #394 on: March 03, 2019, 03:08:04 PM »
Perfect! Works like a charm.
However, official WeeWX logo does not look good on black background, but that is not anything we expect you to fix :-)
In April release there is a "lightgrey" background-color.
Code: [Select]
<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.
« Last Edit: March 03, 2019, 03:41:06 PM 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: 975
  • 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 #395 on: March 03, 2019, 03:11:28 PM »
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

Good job, Wim! (But the "FIRST SETUP" heading "Instellingen" is in cap and lower case?)
It's meant to be fun. . .

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #396 on: March 03, 2019, 03:20:45 PM »
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
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 GW400

  • Posts: 83
  • Klepp, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.119
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #397 on: March 03, 2019, 06:37:52 PM »
In April release there is a "lightgrey" background-color.
Code: [Select]
<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.

Should this code snippet be inserted into w34_index.php?
Regards G400

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #398 on: March 03, 2019, 07:25:48 PM »
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
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 GW400

  • Posts: 83
  • Klepp, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.119
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #399 on: March 03, 2019, 09:23:46 PM »
w34_cron_stationcron.php is not executed. I can run it manually using _test.php?test=w34_cron_stationcron.php.
Regards G400

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #400 on: March 04, 2019, 07:25:46 AM »
w34_cron_stationcron.php is not executed. I can run it manually using _test.php?test=w34_cron_stationcron.php.
  • 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
  • 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.
  • 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.
  • http://wd34.weather-template.com/documentation/WDapi-stationcron-2019-01.pdf
Wim
« Last Edit: March 04, 2019, 08:13:15 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: 975
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
It's meant to be fun. . .

Offline GW400

  • Posts: 83
  • Klepp, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.119
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #402 on: March 04, 2019, 02:36:43 PM »

Thank you!
Sorry to Wim that I forgot to include url :-(
Regards G400

Offline GW400

  • Posts: 83
  • Klepp, Norway
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.119
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #403 on: March 04, 2019, 02:40:10 PM »
  • 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
  • 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.
  • 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.
  • http://wd34.weather-template.com/documentation/WDapi-stationcron-2019-01.pdf
Wim
My problem is that cron job is not executed.
I use WeeWX. WDapi is not possible with current setup.
http://weather.meisal.com
Regards G400

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 72.0.3626.119
    • My PWS at Leuven Belgium Europe
Re: weather34 for WeatherDisplay (clientraw and WDapi)
« Reply #404 on: March 04, 2019, 02:57:05 PM »
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   https://cron-job.org/en/  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
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/