Skip to content

Instantly share code, notes, and snippets.

@structure7
Created February 20, 2019 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save structure7/a021b6f42cd807f6474ca83a0db63b11 to your computer and use it in GitHub Desktop.
Save structure7/a021b6f42cd807f6474ca83a0db63b11 to your computer and use it in GitHub Desktop.
Send Raspi core temp to Blynk vpin
#!/bin/bash
# Logs processor temperature to Blynk
coretemp=$(vcgencmd measure_temp | egrep -o '[0-9]*\.[0-9]*')
# echo $temp
curl -f http://blynk-cloud.com/AUTH-TOKEN/update/VPIN?value=$coretemp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment