The WDapi works fine, so you can set that to upload the SQL table.
I agree that it seems the cron-jobs are not running as they should. They run OK when manually started. But they do not appear to be run by WD. Please check first if there are no spaces or other strange characters before or after the cron links. If all seems OK on your end, contact Brian Hamilton maybe he can see in the logs what the problem is.
Re the sun block on my site, I have checked my settings and they match what you had suggested so again I am not sure what has happened there!
I have attached a copy of what I can currently see.
Thanks again for your help with this.
Neil
The problem with the sun-block is not something you can see. Only visitors from another timezone see a strange circle.
Attached a screenshot hot is looks when I visit your site
Step 1: save the uploaded data which is put after the URL by WD in the form URL?d=all_your_data_fields
The first part of the return message “succes” signals that some data (at least 50 characters) was received and is saved as a text-string for later use
2. Then the WDapi checks if a database exits “If not” the script ends.
You have set you will use a database so the settings are read to check if WDapi needs to upload to the database
The database name, password a.s.o. are checked if they are not empty, if empty the script ends without a message.
Then it checks if “WDapi or the cronjob” must upload. If the cronjob should do it => no message and the WDapi script ends.
The WDapi script connects to the database, in your case the connection is OK, otherwise there would have been an error message
The fields for the database are created from the text string
AND NOW the data is inserted in the database
The only thing which does not works is the insert, probably the credentials for the userid are set to low.
I will read the documentation to find a better clue what is wrong, as the error message displayed is empty, try the attached replacement script
Use PHPADMIN or your cPanel and give this weather34 user all credentials possible.
Can you tell me what the little temperature below the main temperature is supposed to represent (see attachment)? I assume it some kind of trend, however mine seems to be way off and it has been like this since the start. How is this calculated?
Compare your site with the demo-site. It should be the temperature trend.
Most of the times it should be between -1 and + 1.
The script compares “current temp” with “temp 15 minutes” ago.
But you WD file as uploaded contains 2 extra spaces.
All fields after these two spaces are misaligned and current temp is now compared to lowest dewpoint today.
Please update to the latest WD release as this is an old problem.
Or use clientraw.txt for your data.
Why do I always ask for the link to the site?
To check a lot of values with this script: http://micklehamweather.com/pwsWD/w34_module_test.php
One can check the calculated “Live data values” or the WDapi values with the field-names.
All the uploaded files, as long as they are in the default folders, can also be inspected this way.
And any individual script can be run with error-reporting on.
Wim
In w34_easyweathersetup I have used this link to my webcam image: ./webcam/aad-axis-01.jpg?
Nothing is shown under “Live Web Cam” rectangle.
If I select “Live Web Cam” link at the bottom the static webcam image pops up.
Any idea what I’m doing wrong?
What is requirements for showing webcam image?
Can we add a url to the webcam when using an IP camera? Should we use http://xxx or just add fqdn?
When using an image what is the size requirements (X x Y pixels)?
Please always the URL to your pwsWD folder. I had to scan your previous posts to find the URL.
Yes, it is in the CSS and the three lines itself are centred. But the block with the three is not centred in the footer.
It only has a 75px left margin to not interfere with the images on the left.
As I have a longer third line it only looks like the block with the three lines is centred.
Adapting the CSS is a not so trivial task for the April release.
The previous post recommends: “You set the link to “…/webcam/image.jpg” which is 100% correct”
This is what I have done by specifying …/webcam/aad-axis-01.jpg , but on an “X weathercam” is shown in rectangle for Live Web Cam
ls -l webcam
total 156
-rw------- 1 weather weather 158374 Jan 17 09:26 aad-axis-01.jpg
After posting the previous message I discovered my error: owner user and group was incorrect.
Now it is working
Sorry I have another question, this maybe a bug or a lack of understanding on my part. Currently I have an AQI reading on my site of 99 - this is based on the nearest AQ station (for me it’s Footscray, Australia). If I go to the link for this station the AQI is actually 35 - see link below.
I have then checked the output for my AQI in the module_test page, I can see the reference of an AQI of 35, but nothing for 99. How is the 99 generated? Maybe I am wrong, but I assumed my site should be showing the same AQI as the source, which is 35.