Hi, I’m new and I testing your beautiful PWS Dashbord template.
It is great, thank you so much to all the creators.
I’m writing because I’m finding an issue and I’m not be able to fix it.
I have a DNT000008 weather station, it is the same of Froggit 1000 SE pro and similar.
The PWS Dashbord works fine if I get my live data from Wunderground.
But I’d like to get data from my server, so I set my custom upload like your instruction I found here:
But it does not work. It seams like if my custom upload is unable to call the index.php placed in /pwsWD/ecowitt/ folders.
I asked help to my server provider. They said me that from server side is OK.
So, I tought that maybe it was my weather station and I asked to my seller to change it with a new one.
But even with the new one I can’t use your script Ecowitt local upload.
Finally I tried to configure my DTN000008 custom upload to upload data to Awekas. That’s works fine.
So I think that it is not the weather station the problem.
But now, I don’t know what I have to do.
Please, could you help me?
My PWS page is here: Villa Santi di Massignano AP Home Weather Station (ecoLcl version)
Thanks in advance, best regards
Maybe it is a typing error: make a screenshot/photo of what you configured in your console.
It should be: Ecowitt protocol NOT Wunderground
www.lacasettabio.it/pwsWD/ecowitt/
Port 443
Interval 60 <= you can later on set that to 120.
=== ONLY if all your settings are correct and it still does not work:
Then you have to change your .htaccess file to allow http trafic to the ecowitt folder.
Most providers now have a more strict https protocol and they also reroute for you all http access to https accesses.
So we have then to allow the use of http at port 80 for out ecowitt script.
You should first ask your provider if they can help you with that.
Tell them that you want your console to speak to this script www.lacasettabio.it/pwsWD/ecowitt/index.php
using http not https
A line similaer to this one should be inserted in the redirect (304) code
RewriteCond %{REQUEST_URI} !^/pwsWDxx/ecowitt/
If they can not help you and if you have no experience yourself maybe some Italian user can help you.
As a last resort I can do it and you have to sent me an e-mail with your FTP host, user and password settings.
============= IMPORTANT
Please use easyweather => tab “Start” => question “Are visitors allowed to change the template language?”
===> and set the language selection back on.
My Italian is non-existent.
Hi,
Thank you so much for your help.
It was the redirect to https.
I managed to avoid that on ecowitt folder and from yesterday it seams to work fine.
Just an information if a can.
With the local upload and the cronjob I have a total history of my station from the first day or the history is only for a short period?
I mean the history.txt file I have in my server.
Thanks a lot
Best regards
The history.txt files only contains high,low: value+time for a few time-points: today, yesterday, this month, this year, all-time
Those values are just for reference on the dashboard.
=== You complete station history data should be stored on WeatherUnderground by your ecowitt station.
The dashboard scripts fetch that data and save (backup) it for all weather-values in 1 line/ day yearly .CSV files
That is your complete history form day 1 that you started uploading to WeatherUnderground.
So your history is stored at two totally different locations.
Your webserver is the backup-location of all your data at WeatherUnderground.
===
For those persons who “dislike” WeatherUnderground there is the possibility to store a subset of the data in a dashboard file.
It contains the last 360 days.
Hi,
just to understand if I have set everything correctly: where should I find the Wunderground data backuped on my server?
Do you mean chartsmydata and chartswudata folder?
Thanks , best regards
There is an interesting script with which you can safely inspect a lot of your data and test blocks and more.
pwsWD/PWS_module_test.php
Second bottom on the left, the graph-data is chartsmydata/2021.txt
That means you are NOT using WeatherUnderground for your graphs
According to your load files script at the bottom
https://www.lacasettabio.it/pwsWD/PWS_load_files.php?test you are not using WU-data.
PWS_load_files.php (299) WU_graphs_____: WeatherUnderground graphs-data not used
So to use your WU data as your main source you have to set your WU-stationID and the correct start-date of uploading to WU.
Use your easyweather-setup for that.
====
After that change you find the main WU-history-backup file in pwsWD/wudata/ with an array for every year.
The daily changing files are also kept in the pwsWD/chartswudata/ folder.
Hi,
ok, thanks.
What I’d like, if it is possible, is to have a backup of my data for all the future years without set wunderground as the main source of PWS_Dashboard but my custom upload on my server.
If I understand well, there is a way to store the data in a file for the last 360 days. Is there a way to keep these data for more?
If not, These data are saved in a folder? Do you think it is fine if I create a cronjob to copy that folder at the end of every year ?
Thanks, Best regards
My question: You have an WU-API key why do you not want to use your own data you are uploading to WU then?
But do whatever you want to do. It is your data and you can make as much backups as you want.
An other user is also saving the yearly data while not using WU.
If doing so, you have to adapt the scripts to display that saved data. Otherwise what is the use of that “old” data?
I will try to explain as good as I can why you should use WU and others:
The PWS_Dashboard does not have a SQL-database to store your weather-data.
The PWS_Dashboard is not designed to do that.
It uses your realtime (+ optional daily H/L) data to display your interesting weather-values.
It also supports graphs for any day and any period when using free WU data.
If users are unwilling to use WU: they get some minimal graphs. Detailed for today and summarized for 30/360 graph.
WU/IBM stores your daily values with 1 record / 5minutes. It also aggregates it to daily-data with 1 line / day.
Other weather-nets like pwsweather.com or awekas.de work exactly the same way.
You can store all your weather-data for free at at least 3 different sites and retrieve the data in different formats to use for whatever reason you have.
So if you do not like WU, use pwsweather.com, they save your data and give you for free a free Aeris forecast and even free maps allowance.
Or use Awekas, also saves your uploads which you can retrieve anytime you want. Have a few other nice things to use on your site also.
Or buy a raspberryPI.
Install WeatherDisplay to store your data in an SQL database.
Or install Meteobridge which stores 1 minute data in the integrated database and has large graphing possibilities.