Skip to content

Instantly share code, notes, and snippets.

@johnty
Last active August 1, 2020 06:17
Show Gist options
  • Save johnty/35bce8c3ed4dfcc25c63d7b6ff860a9b to your computer and use it in GitHub Desktop.
Save johnty/35bce8c3ed4dfcc25c63d7b6ff860a9b to your computer and use it in GitHub Desktop.
grabbing esp32 bbq temp and outputting to file
while :
do
echo update at $(date)
echo `date` >> logdata.txt
curl -m 10 -s 192.168.1.96 | cut -d'/' -f3 | cut -d'<' -f1 >> logdata.txt
sleep 60
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment