myweather/scripts/temperature.sh

4 lines
124 B
Bash
Raw Normal View History

2017-01-06 14:42:05 +00:00
TEMP=`python /home/pi/myweather/temperature.py |head -1`
2017-01-06 14:36:16 +00:00
mosquitto_pub -h mqtt.unixweb.de -p 1883 -t abcde/temp1 -m $TEMP