Added Scripts for MQTT

This commit is contained in:
Joachim Hummel 2017-01-06 15:42:05 +01:00
parent 25c6442bb4
commit 04c312d549

View File

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