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.
There is an update on-line with all changed scripts: http://wd34.weather-template.com/
The moon-block.php and two new supporting scripts in the other/ folder could take care of it.
Wim
To check what is happening, the URL to the pwsWD/ folder is essential. At home I can inspect and find it in the HTML. When traveling with an iPad no way. So this embedded / I Frame??? script will have to wait till tomorrow, sorry
Wim
There were only minor changes to this script for checking if the file exists and has a minimal length a.s.o.
Your file seems not to be in ./demodata/ as that one is from 2018-12, so I can not check the length of your file
The message you have occurs when: the file-location is not set or the file is less then 10 characters length. Be aware that an URL to the file will not work on some webservers as the returned file-length is then incorrect.
[s]
The demo site display correct data, when it loads the file from the ./demodata/NSRealtime.txt file
I moved the file to the jsondata/ folder => works OK
And renamed the demodata one to be sure => works OK
When I make a typing error in the file location in easyweather I get your message.
So please check the typing. Otherwise PM me the easyweather password so I can check.[/s]
The setting used a full URL “http://adaddad.xx/nxdata.txt”
That should not be done as the checks for incomplete uploads fail in that case.
Always use relative address “…/nxdata.txt” when the file is in the root.