myweather/scripts/pressure.sh
2017-01-06 15:36:16 +01:00

4 lines
113 B
Bash
Executable File

PRESS1=`python /home/pi/myweather/pressure.py`
mosquitto_pub -h mqtt.unixweb.de -p 1883 -t abcde/p1 -m $PRESS1