Weather Station Hardware > WiFiLogger/Meteo-Pi
realtime path...
pricey:
Hi all. Using wifi logger. Trying to get the realtime .txt to feed the pws template. Wunderground api works but cannot get the wifi logger FTP current data export settings to work. Any idea what is the correct path i use is to put the realtime txt onto the server?
thanks
http://www.llanelliweather.kesug.com/pwsWD/index.php
ps using a free host to try to get it to work
PaulMy:
Hi,
For my realtime http://www.komokaweather.com/wifi-console/realtime.txt and json files I have it as per attached.
I had it working with Brian's earlier PWS script but doesn't work anymore likely due to updated PHP version.
Hope this helps,
Paul
pricey:
That sorted it. Thanks Paul. Top man
One more question if i can be cheeky
I can only see my site if i add /pwsWD after the .kesug.com. I think it's an index file issue so how can see my site without adding pwsWD at the end? I uploaded all the pws files into the htdocs (root) when i started. If i omit the pwsWD i get a forbidden error.
Thanks
PaulMy:
Hi,
I am not very knowledgeable on those things, but likely because you have the script in a /pwsWD subfolder. If it was in your site's root folder it likely would display with just http://www.llanelliweather.kesug.com
But I also believe you can do some settings at your hosting to have http://www.llanelliweather.kesug.com automatically load (redirect) http://www.llanelliweather.kesug.com/pwsWD/index.php
If available would you be so kind to share the download link on your script. I've tried to find what is causing mine to fail and can only find this error in my error_log.
--- Code: ---[03-Mar-2024 17:44:31 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/psoykkrhjuz3/public_html/pws/eqlist.php on line 29
[17-Mar-2024 00:27:10 UTC] PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/psoykkrhjuz3/public_html/pws/eqlist.php on line 29[/quote]
and line 29 is
[code] $magnitude[$i]=$parsed_json{$i}{'magnitude'};
--- End code ---
Enjoy,
Paul
pricey:
Yes no problem...where do i find the script you want Paul?
Navigation
[0] Message Index
[#] Next page
Go to full version