HI, I recently installed PWS Dashboard on my site .
I use the data fom my WS, wich is uploding to WU. But now I see that the blocks with max/min temperatur and wind is staying the same . Tried to check with PWS_module_test.php ,but it is comming so many errors that I can’t figure out .
→ No High/Lows, where is history and graphs data used for, and ? cron ?
Your station data does not contain high-lows.
Two solutions:
- Modify the settings in the small blocks to not use the mont/year high-lows
- run a (free) cron-job every 5 minutes.
You can use a free cron-provider as explained in the links above.
Succes,
Wim
Alsways try _test.php if you think there are problems.
See attached screenshot.
The dashboard looks Ok to me.
The first block of “debug” lines are the result of the load-files script which look OK to me also
The last block contain missing translations for the current selected language, in this example Norwegian.
Copy the lines from your screen to your script editor.
|Our station AQ sensor 2|Our station AQ sensor 2| #PWS_blocks.php
|none|none| #sun_c_block.php
|till midnight|till midnight| #sun_c_block.php
|Midnight sun|Midnight sun| #sun_c_block.php
|No sunshine today|No sunshine today| #sun_c_block.php
|FairAQ|FairAQ| #AQ_gov_c_block.php
|Canadian Weather|Canadian Weather| #PWS_menu.php
Modify the second part only.
You can see also which blocks contain missing translations in the comments.
You can add those missing translations at the bottom of your pwsWD/languages/lang_no.txt file.
Succes,
Wim
Thank you , Wim . I will check that . I notice that this inscription (Have a nice day) is constantly on the small block in the upper left. I use yr.no for forecast notification. Is it normal or need some setting also?
The advisory_c_small.php script can display “warning” type of information, if there is something to display.
-
Weather warnings for your area, in Europe from Meteoalarm.org. you have to set the correct area-code in easyweather-setup.
-
Lightning-warnings if your station uses a sensor for that and if the lightning is close
-
Warnings/messages based on your current weather-data.
These are the current local generated messages:
$lng_lightn1 = lang('Lightning Strike Nearby');
$lng_lightn2 = lang('Possible Storm Approaching');
$lng_freeze1 = lang('Caution'); // + firerisk
$lng_freeze2 = lang('Dewpoint');
$lng_freeze3 = lang('Below Freezing');
$lng_fire1 = lang('Firerisk');
$lng_fire2 = lang('Possible');
$lng_aurora1 = lang('Aurora');
$lng_aurora2 = lang('Viewing Possible');
$lng_aurora3 = lang('Radio Aurora Possible');
$lng_snow1 = lang('Expect');
$lng_snow2 = lang('Snow').' '.lang('Showers');
$lng_snow3 = lang('This Week');
$lng_snow4 = lang('Rain').' '.lang('Showers');
$lng_thun3 = lang('(Severe) thunderstorms possible');
If you use a WU, “DarkSky” or WXSIM forecast and there is 1-hour data, it will be displayed in that block as a default message.
Otherwise " Have a nice day " is displayed.
Wim
About cron job.
I put a cron job in cronsole.cron-job.org (with red arrow ).But I realize that I have acount from before there and I have 2 working cron jobs ( I dont remember). What to do with thouse 2 ? Is that one which i pointing norddyroy.com/pwsWD/PWS_cron_stationcron.php ok?
the first 2 crons are not needed