yes looks good...
could you go into the rpi and do:
cd pibeacon
sudo python master.py
tail -F temp/messageSend
w capital F
it should show any messages and also error messages
you should see something like this:
- Code: Select all
tail -F temp/messageSend
OUTPUTgpio: {"outputs":{"OUTPUTgpio-1-ONoff":{"1964742022":{"actualGpioValue":"low"}}},"program":"OUTPUTgpio","ipAddress":"192.168.1.198","pi":"0"}
and some other lines
and do ps -ef | grep .py
should show:
- Code: Select all
pi@raspberrypi:~/pibeacon $ ps -ef | grep .py
nobody 288 1 0 02:00 ? 00:00:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
pi 3044 2631 0 12:25 pts/0 00:00:00 grep --color=auto .py
root 30898 1 0 11:07 ? 00:00:06 /usr/bin/python /home/pi/pibeacon/master.py
root 31355 1 0 11:07 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/copyToTemp.py
root 31482 1 0 11:07 ? 00:00:34 /usr/bin/python /home/pi/pibeacon/OUTPUTgpio.py <<<<<=== this must run
root 31519 1 0 11:07 ? 00:00:22 /usr/bin/python /home/pi/pibeacon/INPUTgpio.py
root 31582 1 0 11:07 ? 00:00:10 /usr/bin/python /home/pi/pibeacon/tmp006.py
root 31588 1 0 11:07 ? 00:00:01 /usr/bin/python /home/pi/pibeacon/receiveGPIOcommands.py 9999
root 31821 1 4 11:07 ? 00:03:34 /usr/bin/python /home/pi/pibeacon/beaconloop.py
root 31972 1 0 11:07 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/BLEconnect.py
Karl