pi@raspberrypi:~ $ ps -ef | grep python
root 983 1 0 09:30 ? 00:00:08 /usr/bin/python /home/pi/pibeacon/master.py
root 1144 1 1 09:30 ? 00:03:13 /usr/bin/python /home/pi/pibeacon/beaconloop.py
root 1146 1 0 09:30 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/receiveGPIOcommands.py 9999
root 4344 1 0 10:30 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/sensors.py
pi 11526 11466 0 12:51 pts/0 00:00:00 grep --color=auto python
pi@raspberrypi:~ $
12:53:27 -get stats from rpi0
12:53:31 -updating pi server files
12:53:31 -/usr/bin/python2.7 '/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/updateRejects.py' '/Users/admin/documents/piBeacon/' &
12:53:31 - ping return-code: 0
12:53:31 -getStats.exp rPi# 0
/usr/bin/expect '/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/piBeacon.indigoPlugin/Contents/Server Plugin/getStats.exp' pi xxx 10.0.1.4 15
12:53:33 -response: ("spawn ssh pi@10.0.1.4\r\npi@10.0.1.4's password: \r\n\r\nThe programs included with the Debian GNU/Linux system are free software;\r\nthe exact distribution terms for each program are described in the\r\nindividual files in /usr/share/doc/*/copyright.\r\n\r\nDebian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent\r\npermitted by applicable law.\r\nLast login: Fri Dec 2 12:52:43 2016 from 10.0.1.2\r\r\necho '===ps===';ps -ef | grep -v grep | grep python;echo '===mem===';free -o -h;echo '===disk===';df;echo '===cpu===';cat /proc/cpuinfo;echo '===hostname===';hostname -I;echo '===ifconfig===';ifconfig;echo '===i2c===';i2cdetect -y 1\r\npi@raspberrypi:~$ echo '===ps===';ps -ef | grep -v grep | grep python;echo '=\r<ps===';ps -ef | grep -v grep | grep python;echo '== \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08=mem===';free -o -h;echo \r\r<ep | grep python;echo '===mem===';free -o -h;echo ' \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08===disk===';df;echo '===c\r\r<mem===';free -o -h;echo '===disk===';df;echo '===cp \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08u===';cat /proc/cpuinfo;e\r\r<==disk===';df;echo '===cpu===';cat /proc/cpuinfo;ec \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08ho '===hostname===';hostn\r\r<===';cat /proc/cpuinfo;echo '===hostname===';hostna \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08me -I;echo '===ifconfig==\r\r<o '===hostname===';hostname -I;echo '===ifconfig=== \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08';ifconfig;echo '===i2c==\r\r<e -I;echo '===ifconfig===';ifconfig;echo '===i2c=== \x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08\x08';i2cdetect -y 1\r\n===ps===\r\nroot 983 1 0 09:30 ? 00:00:08 /usr/bin/python /home/pi/pibeacon/master.py\r\nroot 1144 1 1 09:30 ? 00:03:15 /usr/bin/python /home/pi/pibeacon/beaconloop.py\r\nroot 1146 1 0 09:30 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/receiveGPIOcommands.py 9999\r\nroot 4344 1 0 10:30 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/sensors.py\r\n===mem===\r\n total used free shared buffers cached\r\nMem: 925M 223M 701M 7.3M 21M 113M\r\nSwap: 99M 0B 99M\r\n===disk===\r\nFilesystem 1K-blocks Used Available Use% Mounted on\r\n/dev/root 30551940 2545544 26714796 9% /\r\ndevtmpfs 469528 0 469528 0% /dev\r\ntmpfs 473864 0 473864 0% /dev/shm\r\ntmpfs 473864 6444 467420 2% /run\r\ntmpfs 5120 4 5116 1% /run/lock\r\ntmpfs 473864 0 473864 0% /sys/fs/cgroup\r\ntmpfs 61440 852 60588 2% /var/log\r\n/dev/mmcblk0p1 64456 21296 43160 34% /boot\r\ntmpfs 94776 0 94776 0% /run/user/1000\r\ntmpfs 1024 8 1016 1% /home/pi/pibeacon/temp\r\n===cpu===\r\nprocessor\t: 0\r\nmodel name\t: ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS\t: 76.80\r\nFeatures\t: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 \r\nCPU implementer\t: 0x41\r\nCPU architecture: 7\r\nCPU variant\t: 0x0\r\nCPU part\t: 0xd03\r\nCPU revision\t: 4\r\n\r\nprocessor\t: 1\r\nmodel name\t: ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS\t: 76.80\r\nFeatures\t: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 \r\nCPU implementer\t: 0x41\r\nCPU architecture: 7\r\nCPU variant\t: 0x0\r\nCPU part\t: 0xd03\r\nCPU revision\t: 4\r\n\r\nprocessor\t: 2\r\nmodel name\t: ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS\t: 76.80\r\nFeatures\t: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 \r\nCPU implementer\t: 0x41\r\nCPU architecture: 7\r\nCPU variant\t: 0x0\r\nCPU part\t: 0xd03\r\nCPU revision\t: 4\r\n\r\nprocessor\t: 3\r\nmodel name\t: ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS\t: 76.80\r\nFeatures\t: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 \r\nCPU implementer\t: 0x41\r\nCPU architecture: 7\r\nCPU variant\t: 0x0\r\nCPU part\t: 0xd03\r\nCPU revision\t: 4\r\n\r\nHardware\t: BCM2709\r\nRevision\t: a22082\r\nSerial\t\t: 00000000a8ed18d0\r\n===hostname===\r\n10.0.1.4 \r\n===ifconfig===\r\neth0 Link encap:Ethernet HWaddr b8:27:eb:ed:18:d0 \r\n inet addr:10.0.1.4 Bcast:10.0.1.63 Mask:255.255.255.192\r\n inet6 addr: fe80::1ace:5cd5:99b9:2a03/64 Scope:Link\r\n UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1\r\n RX packets:45651 errors:0 dropped:1774 overruns:0 frame:0\r\n TX packets:6516 errors:0 dropped:0 overruns:0 carrier:0\r\n collisions:0 txqueuelen:1000 \r\n RX bytes:11218820 (10.6 MiB) TX bytes:1066009 (1.0 MiB)\r\n\r\nlo Link encap:Local Loopback \r\n inet addr:127.0.0.1 Mask:255.0.0.0\r\n inet6 addr: ::1/128 Scope:Host\r\n UP LOOPBACK RUNNING MTU:65536 Metric:1\r\n RX packets:209 errors:0 dropped:0 overruns:0 frame:0\r\n TX packets:209 errors:0 dropped:0 overruns:0 carrier:0\r\n collisions:0 txqueuelen:1 \r\n RX bytes:17376 (16.9 KiB) TX bytes:17376 (16.9 KiB)\r\n\r\nwlan0 Link encap:Ethernet HWaddr b8:27:eb:b8:4d:85 \r\n inet6 addr: fe80::77dd:2e5f:b0df:7206/64 Scope:Link\r\n UP BROADCAST MULTICAST MTU:1500 Metric:1\r\n RX packets:3530 errors:0 dropped:3530 overruns:0 frame:0\r\n TX packets:0 errors:0 dropped:0 overruns:0 carrier:0\r\n collisions:0 txqueuelen:1000 \r\n RX bytes:1363108 (1.2 MiB) TX bytes:0 (0.0 B)\r\n\r\n===i2c===\r\n 0 1 2 3 4 5 6 7 8 9 a b c d e f\r\n00: -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \r\n70: -- -- -- -- -- -- -- -- \r\npi@raspberrypi:~$ exit\r\nlogout\r\nConnection to 10.0.1.4 closed.\r\r\n", '')
12:53:33 -stats from rpi# 0
===ps===
root 983 1 0 09:30 ? 00:00:08 /usr/bin/python /home/pi/pibeacon/master.py
root 1144 1 1 09:30 ? 00:03:15 /usr/bin/python /home/pi/pibeacon/beaconloop.py
root 1146 1 0 09:30 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/receiveGPIOcommands.py 9999
root 4344 1 0 10:30 ? 00:00:02 /usr/bin/python /home/pi/pibeacon/sensors.py
===mem===
total used free shared buffers cached
Mem: 925M 223M 701M 7.3M 21M 113M
Swap: 99M 0B 99M
===disk===
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 30551940 2545544 26714796 9% /
devtmpfs 469528 0 469528 0% /dev
tmpfs 473864 0 473864 0% /dev/shm
tmpfs 473864 6444 467420 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 473864 0 473864 0% /sys/fs/cgroup
tmpfs 61440 852 60588 2% /var/log
/dev/mmcblk0p1 64456 21296 43160 34% /boot
tmpfs 94776 0 94776 0% /run/user/1000
tmpfs 1024 8 1016 1% /home/pi/pibeacon/temp
===cpu===
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Hardware : BCM2709
Revision : a22082
Serial : 00000000a8ed18d0
===hostname===
10.0.1.4
===ifconfig===
eth0 Link encap:Ethernet HWaddr b8:27:eb:ed:18:d0
inet addr:10.0.1.4 Bcast:10.0.1.63 Mask:255.255.255.192
inet6 addr: fe80::1ace:5cd5:99b9:2a03/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45651 errors:0 dropped:1774 overruns:0 frame:0
TX packets:6516 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11218820 (10.6 MiB) TX bytes:1066009 (1.0 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:209 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:17376 (16.9 KiB) TX bytes:17376 (16.9 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:b8:4d:85
inet6 addr: fe80::77dd:2e5f:b0df:7206/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3530 errors:0 dropped:3530 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1363108 (1.2 MiB) TX bytes:0 (0.0 B)
===i2c===
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi:~$ exit
logout
Connection to 10.0.1.4 closed.
12:53:39 -changed=true or force 4B:C7:7E:BA:9F:5B down
"sensors": {
"BLEconnect": {
"65802248": {
"BLEtimeout": "10",
"iPhoneRefreshDownSecs": 5.0,
"iPhoneRefreshUpSecs": 90.0,
"mac": "18:65:90:6A:B9:0D",
"retryIfUP": false
}
}
pi@raspberrypi:~/pibeacon $ cat parameters
{
"BLEserial": "",
"acceptNewiBeacons": "1",
"authentication": "digest",
"collectMsgs": "20",
"debugRPI": {
"debugRPIBEACON": 2,
"debugRPIBLE": 3,
"debugRPICALL": 1,
"debugRPIOUTPUT": 3,
"debugRPIPRIVATE": 1,
"debugRPISENSOR": 1
},
"deleteHistoryAfterSeconds": 86400,
"distanceUnits": "0.348",
"enableRebootCheck": "restartLoop,-",
"enableiBeacons": "1",
"ipOfServer": "10.0.1.2",
"loopMaxCallBLE": "900",
"maxParseSec": "1.0",
"myPiNumber": "0",
"output": {},
"passwordOfServer": "xxx",
"portOfServer": "8176",
"pressureUnits": "Pascal",
"rPiCommandPORT": 9999,
"rPiRestartCommand": "",
"rebootCommand": "reboot now",
"rebootHour": 1,
"rebootSeconds": 9999999999999,
"rebootWatchDogTime": "-1",
"restartBLEifNoConnect": true,
"sendAfterSeconds": "60",
"sensorList": "BLEconnect*1704503079,BLEconnect*517662096,BLEconnect*554103164,",
"sensorRefreshSecs": 90,
"sensors": {
"BLEconnect": {
"1704503079": {
"BLEtimeout": "10",
"iPhoneRefreshDownSecs": 10.0,
"iPhoneRefreshUpSecs": 90.0,
"mac": "ec:ad:b8:27:b0:5f",
"retryIfUP": false
},
"517662096": {
"BLEtimeout": "10",
"iPhoneRefreshDownSecs": 10.0,
"iPhoneRefreshUpSecs": 90.0,
"mac": "2c:1f:23:D1:b4:47",
"retryIfUP": false
},
"554103164": {
"BLEtimeout": "10",
"iPhoneRefreshDownSecs": 10.0,
"iPhoneRefreshUpSecs": 90.0,
"mac": "44:00:10:e0:89:aa",
"retryIfUP": false
}
}
},
"shutDownPinInput": -1,
"shutDownPinOutput": -1,
"tempUnits": "Fahrenheit",
"useRamDiskForLogfiles": "1",
"userIdOfServer": "virgahyatt"
Users browsing this forum: No registered users and 9 guests