Steve,

I have been looking for references to HTTP POST, but have not yet found 
> anything. I am currently using FTP to upload to my website. Is it as simple 
> as just changing the FTP section in weewx.conf to say FTP POST? (probably 
> not! :))


HTTP POST is a method of communications over HTTP between a client and a 
server, in this case between your weeWX machine and the web server that 
hosts your site. It is similar to how weeWX sends data/rapid fire data to 
WU (well WU actually uses HTTP GET but the concept is the same). 
Practically, it entails storing a PHP script on your web server and each 
time the realtime gauge-data service generates the data for the 
gauge-data.txt file, the service contacts the script on your web server via 
a HTTP POST request and transfers the gauge-data.txt data to your web 
server and all being well the script then saves the data to gauge-data.txt 
on your web server.

I use HTTP POST to transfer gauge-data.txt on my LAN, I have not set it up 
with a hosted server though it should not be difficult. Provided your web 
server supports PHP (I think most hosted services do/can) the (broad) steps 
involved are (1) upload the PHP script to your web server (2) change a few 
settings in the [RealtimeGaugeData] section of weewx.conf (3) adjust the 
SteelSeries config (gauges.js)on your web server to pickup the new 
gauge-data.txt file. There may be some permission issues to deal with on 
your web server but they should not be too onerous.

Gary..I think I answered my own question. I didn't search deep enough 
> yesterday, but I found the info on some separate posts dealing with making 
> a Wunderground type windspeed/direction gauge. 


Hmm, interesting concept, post your data to WU so you can pull it down to 
display on your web page. If you want to try to get the HTTP POST up and 
running let me know and I will knock up some instructions, as I said above 
other than the standard install documentation the documentation is still a 
work in progress.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to