Added Scripts for MQTT
This commit is contained in:
parent
25c6442bb4
commit
04c312d549
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user