Author Topic: What am I doing wrong?  (Read 7668 times)

0 Members and 1 Guest are viewing this topic.

Offline cmgaskins

  • Member
  • *
  • Posts: 27
What am I doing wrong?
« on: October 03, 2008, 06:38:12 PM »
VB6

"http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?ID=KSCCOWAR1&PASSWORD=*******&dateutc=" & Format(Date, "YYYY-MM-DD") & "+10%3A32%3A35&winddir=" & Me.lblWindDir.Caption & "&windspeedmph=" & Me.lblWindSpeed.Caption & "&windgustmph=" & Me.lblWindGust.Caption & "&tempf=" & Me.lblTemp.Caption & "&rainin=" & Me.lblRain.Caption & "&dailyrainin=" & Me.lblRainDay.Caption & "&baromin=" & Me.txtBarometer.Text & "&dewptf=" & Me.txtDewPoint.Text & "&humidity=" & Me.txtHumidity.Text & "&weather=&=&softwaretype=vws%20versionxx&action=updateraw&realtime=1&rtfreq=1.5"

Uploading

http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?ID=KSCCOWAR1&PASSWORD=*******&dateutc=2008-10-03+10%3A32%3A35&winddir=273&windspeedmph=0&windgustmph=4&tempf=76.3&rainin=0&dailyrainin=0&baromin=30 &dewptf=49&humidity=40&weather=&=&softwaretype=vws%20versionxx&action=updateraw&realtime=1&rtfreq=1.5

Uploading fine to WU but all of a sudden it stopped, it keeps showing success but not showing any info.   ](*,)

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: What am I doing wrong?
« Reply #1 on: October 04, 2008, 12:06:23 AM »
Maybe the part of the output that says &weather=&=&softwaretype=vws%20versionxx has a strange '&=' in the URL and may be causing the WU receiver to barf on a null argument?

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline weatherforyou

  • Forecaster
  • *****
  • Posts: 545
  • My weather is on WeatherForYou.com. Is yours?
    • http://www.weatherforyou.com
Re: What am I doing wrong?
« Reply #2 on: October 04, 2008, 12:44:26 PM »
Uploading to WU (and PWSweather.com for that matter) uses GMT/UTC for the time.  So when sending from places in the western hemisphere there will be a number of hours later in the day when the date will be tomorrow.
Joe Torsitano


 

anything