Update of /usr/bin/wunderground.sh

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

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

« View Older Entries

About ramsaasen

ramsaasen doesn't have a bio yet.

Personal Weather Stations

About Personal Weather Stations