Last active
December 19, 2015 16:39
-
-
Save tmeissner/5985588 to your computer and use it in GitHub Desktop.
Spam yourself with eMails containing the temperature measured by your 1wire temperature sensor ;)
This file contains 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 | |
read -r BLA | |
TEMP=$(echo $BLA | sed "s/.*\([0-9][0-9].[0-9][0-9][0-9]\)/\1/") | |
echo $TEMP | mail -s "Temperatur" $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment