myweather/scripts/pressure.sh

4 lines
113 B
Bash
Raw Normal View History

2017-01-06 14:36:16 +00:00
PRESS1=`python /home/pi/myweather/pressure.py`
mosquitto_pub -h mqtt.unixweb.de -p 1883 -t abcde/p1 -m $PRESS1