Update of /usr/bin/wunderground.sh

By: ramsaasen , 8:12 PM GMT on November 06, 2013

Share this Blog
0
+

Thanks to Lork I finally manage to get my station online again !
see: forum.openwrt.org

For some reason wunderground suddenly stopped receiving data,
it seems to be caused by a space in date/time dateutc.

The fix is to replace space with %20, see code:

while read line
do
  WGET2="$WGET`echo $line | sed "s/ /%20/g"`"
  echo $WGET2
  wget -O - "$WGET2"
done < $LOG

Reader Comments

Comments will take a few seconds to appear.

Post Your Comments

Please sign in to post comments.

or Join

Not only will you be able to leave comments on this blog, but you'll also have the ability to upload and share your photos in our Wunder Photos section.

No reader comments have been posted for this blog entry yet.

About ramsaasen

ramsaasen doesn't have a bio yet.

Personal Weather Stations

Ramsaasen
Rubbestadneset, HL
Elevation: 213 ft
Temperature: 44.2 °F
Dew Point: 39.3 °F
Humidity: 77%
Wind: 5.4 mph from the SE
Wind Gust: 9.2 mph
Updated: 10:50 PM CET on March 10, 2014

About Personal Weather Stations