Thu, 09 May 2024 09:35:50 +0000 = Ecowitt data received:
Problem-77: NO PASSKEY found.
Problem-101: Item in upload: with value between next brackets =><= is invalid
Problem-109: Invalid data:
[test] => test
I checked the ecowitt folder, there is no generated key file present, I am so confused.
Error_Log is empty, the main page shows the station is offline, yet I know it isn’t I am obviously missing something somewhere.
That [test] => test data is from someone testing the link in a browser.
Normally you do that yourself when you are installing the PWS_Dashboard to see if you entered the settings in your ecowitt device correctly.
The file with your encrypted pass-key is generated and stored when the script receives correct data the first time.
After that first time the data received is checked if the pass-key corresponds with the
encrypted one.
Most ecowitt devices can not upload to a HTTPS server.
You have to instruct your webserver to allow “old” http accces to the pwsWD/ecowitt/ folder so that your weather-station upload arrives correctly.
I finally gave up and decided that as I was using Weather Display, I’d use that, the clientraw is now in the root but I am still having issues with setting it up, although all the settings point to where the clientraw.txt is "…/Clientraw.txt I changed the datasource to ClientRaw - WeatherDisplay no joy with that either nor with the API - WeatherDisplay, the ClientRaw.txt is displaying in CoreFTP and it is populated. Complete loss here!
Sorry that the descriptions on how to upload using Ecowitt custom upload are not helping you.
But none of us is clairvoyant.
It should have helped us to understand your setup if you posted the screenshot of your ecowitt upload setup.
Outsiders do not know how the outside address translates to the real root of your webhosting setup.
The “root” could be mm0zif.radio/current
Or mm0zif.radio
That root is put in the top part of the upload settings in your ecowitt device
For path you enter the rest always starting with a /
In you ecowitt/ folder there is a file which is in the browser addressed as https://mm0zif.radio/current/WX/ecowitt/ecco_lcl.arr
I think the first part to use is mm0zif.radio/current
The second part should be /WX/ecowitt/
For clientraw setup https://mm0zif.radio/current/WX/clientraw.txt
the main “pwsWD/” folder is the start, "re"named in your case to wx/
You have to use in easyweather setup the name/location of your file relative to this wx/ folder. For your clidentraw is should be: ./clientraw.txt
That ./ tells the scripts to look in the same folder as all dashboard scripts.
There is a debug console which also " tries" to show the uploaded data
As you can see your ../clientraw.txt is incorrrect change it to ./clientraw.txt
That ../ moves the folder pointer 1 folder to the left.
A ./ leaves the folder pointer as it is.
The screenshot also shows that your rloot-folder is public_html
Your pwsWD folder is /current/wx/
Then the data will be uploaded to the website and there should be messages in the ecco_stats.txt log-file.
Probably there will be only error messages as your website automatically switches http (port 80) traffic to https
The https protocol forbids webservers to accept the data so all http data is discarded.
Solutions for http → https
Wait until the ecco_stats.txt log-file shows incoming traffic without any data:
Maybe your Ecowitt console-device support https.
Try to set the Port in the 5th line in your Ecowitt setup to 443
Wait a few minutes and check the ecco_stats.txt log
If port 443 is not a solution, you have to add a bypass for http to https in your .htaccess file.
If you have a reputable hosting provider, you should ask them to add the lines for your mm0zif.radio/current/WX/ecowitt/ folder.
Most free or low-cost providers do not want to do that and charge extra for that kind of support.
I can give you an example how those lines could look, but there are a lot of different hosting configurations.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/current/wx/ecowitt/
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
The .htaccess file should be in the root so in the public_html folder