myweather/scripts/temperature.sh
2017-01-06 15:42:05 +01:00

4 lines
124 B
Bash
Executable File

TEMP=`python /home/pi/myweather/temperature.py |head -1`
mosquitto_pub -h mqtt.unixweb.de -p 1883 -t abcde/temp1 -m $TEMP