I’m confused on how to update the PWS from https://pwsdashboard.com/. I downloaded the zip file and extracted and can see all of the PWS folders and files, but do I overwrite all of the old files on my server with these? The directions for updating say to “This release has a script to automatically download all available updates.
You can start it from the browser “pwsWD/PWS_updates.php” or from easyweather-setup.” In my easyweather setup, there is no option to to start the scanning of the new scripts.
The API is another way of uploading WD data to the dashboard, but it is not as good as clientraw.txt. You may have selected it in easyweathersetup and then changed to clientraw, but WD still keeps uploading the API. Turning it off just reduces the overheads on WD
As I said before, you should put the new version into a different directory on your server, maybe just pws instead of pwsWD, and then you can run both until you are happy with the new version. Don’t overwrite the old version.
The update script will be run from the new easyweathersetup, not your old one, and you won’t need to do that for a while: the full download is up to date.
I installed the latest PWS into a new folder as you suggested. I open the easysetup screen and enter password, but it does not accept it. I am using the same password as the “old” version, but it doesn’t work and says it’s invalid.
You can find more at the same page you downloaded from https://pwsdashboard.com/
I split your topic as the remaining questions will not be about your wd34-rainfall but about the new install.
All set. got it figured out. Graphs work well and are up to date now. One last question. See both links below. The 1st is the old PWS and 2nd is the current version. The old one looks more visually appealing. Is there any way to make the new one look like the old? Many thanks for all the help. http://weather911.net/pwsWD/index.php http://weather911.net/pws/index.php
If you do not want to use a cron-job, the “weather-history”-values can not be calculated.
But you can switch the small blocks to show only the lates high-low values
Line 4 of temp_c_small and wind_c_small now reads
$my_choice = 'multi'; // day / month / year
Set that line to comment by adding a # on the first position
#$my_choice = 'multi'; // day / month / year
But as @bitsostring said, running a cron-job is the best solution.
Your dashboard will always has up-to-date information as the data from external sources is already loaded by the cron.
Also the history is updated and shows high-lows per day/yesterdat/month and year.
If you look at PWS_module_test.php and “Load files” there seem to be one or two problems, possibly caused by setting up in directory /pws and then renaming it to /pwsWD?
On my server I did in fact rename the original pwsWD to pws so that when accessed from the weather website www.weather911.net, the updated pws is displayed. Is this a problem, as it seems to be working fine on my end.
I think your old version was at /pwsWD and you set up the new version in /pws. Now the new version is in /pwsWD and the old version is nowhere to be seen. As you say, that saved you having to change the link on your website.
From the results of “Load files” it seems that some are still expecting /pws. . . today’s graphs look funny and you haven’t seen an earthquake since 04:04 in the pop-up. . .
I am not very familiar with the latest version, but where is the cron set up to run?
cron settings in WD are setup to load to the renamed pwsWD directory. Perhaps, I should just change the hyperlink on the website so there are no issues?