Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #get temp for salzburg
- TMP=$(/var/www/volkszaehler.org/misc/tools/jsonclient --url "http://api.wunderground.com/api/APIKEY/conditions/q/Salzburg.json" -e current_observation,temp_c)
- echo $TMP
- #push tmp to VZ
- wget -O - -q "http://127.0.0.1:81/middleware.php/data/f91673c0-d4bb-11e5-8408-918bbeee8df6.json?operation=add&value=$TMP"
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement