One way is to upload the data from your PWS to WUnderground, to PWSWeather or to MetOffice/WOW, which then provide facilties through their websites.
Each organisation applies an own, typical layout for it's webpages; if free-of-charge, usually with some advertisements included.
.
Another approach is running a Dashboard-template not linked to one organisation, but making a compilation from several sources.
The softwareware of PWS_Dashboard reads data from a selection of meteo-sources, compiles & displays that information, and from the compilation provides upload to various organisations for further application.
For understanding of installation and setting of PWS_Dashboard, read the documentation listed in the weblink mentioned above.
.
The below information is valid [February 2021] for version 2012_lts of the PWS_Dashboard software:
check the above weblink for validity at later date!
.
To get all required data for history and for determining high&low, for version 2012_lts it is necessary to run a specific php-script titled PWS_cron_stationcron.php:
desired interval is 5 minutes.
This weblink to the Weatherwatch-forum explains why & how.
The usual way to run that php-script is using the services of a cron-server.
Alternative for such approach is triggering the php-script by means of http-call from a meteo-program.
Using Domoticz, the attached lua-script is for an experimental, equivalent realisation of the periodic http-call.
.
The contents of scriptlines 10, 13 and 17~20 are essential; all other lines are support, and may be adapted as required.
Obviously in scriptline 10 you need to tune the URL to your server-configuration.
.
Code: Select all
-- PWS_Dashboard cronjob-call script version 00 for Domoticz@Raspberry3
-- (C)2021 Toulon7559, for periodic call to cronjob by means of http [this script is free for personal use at own risc]
-- All software for PWS-Dashboard has been installed at <your_server>/pwsWD/
-- Line 004 = Start of script
print ('Start of script PWSD_croncall version00')
commandArray = {}
-- Line 008 = PWSD Call-Information
-- Prepare string to call cronjob-function for PWS_Dashboard
PWSD_URL = "http://<your_server>/pwsWD/PWS_cron_stationcron.php"
-- Line 012 = Program Settings
Interval = 5; Offset = 0 -- PWS_Dashboard requires interval of 5 minutes
-- Line 015 = Call for cronjob for PWS_Dashboard
-- Call current date as date.year, date.month, date.day, date.hour, date.min, date.sec
date = os.date("*t")
if (date.min % Interval == Offset) then
commandArray['OpenURL'] = PWSD_URL
end
print ('End of script PWSD_croncall version00')
return commandArray