Created
February 20, 2019 23:32
-
-
Save structure7/a021b6f42cd807f6474ca83a0db63b11 to your computer and use it in GitHub Desktop.
Send Raspi core temp to Blynk vpin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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