Update to Meteohub V4.8 (NSLU2, x86, SheevaPlug, DreamPlug) brings these features:
- fixed some dew point calculation issues on SheevaPlug platforms
- changes in license conditions, "smartbedded UG (haftungsbeschränkt)" is new contractual partner
Moderator: Mattk
#! /bin/sh
#
while :
do
# pull data filter the needed string
wget -O /dev/stdout "http://127.0.0.1:85/meteograph.cgi?text=all" | grep -E "actual_thb0_press_hpa|seqhour1_thb0_press_hpa" | gawk 'BEGIN {FS="_"} {print $4,$6}' | tr -s '\n' ' ' | gawk 'BEGIN {FS=" "} {printf "data9 %d\n", lround (($2 - $5) * 100.0) }'
# make sure output gets flushed
sync
# wait 900 seconds for next read
sleep 900
done