Skip to content

Instantly share code, notes, and snippets.

@jaka
Created February 18, 2018 17:58
Show Gist options
  • Select an option

  • Save jaka/aa30a4932bf3a8c7e01681568d20c72a to your computer and use it in GitHub Desktop.

Select an option

Save jaka/aa30a4932bf3a8c7e01681568d20c72a to your computer and use it in GitHub Desktop.
while true;
do
x=`digitemp_DS9097 -a -q | sed -r 's/^.*C: ([0-9]+\.[0-9]+) F.*$/\1/g'`
wget --post-data "1=$x" http://10.82.4.23:8000/device/ef85df6a05a6a838/push?sign=t -qO /dev/null
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment