Page 2 of 2

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Mon Nov 18, 2019 10:14 pm
by kw123
just some more tools:

to stop any action on the RPI:

terminal
ssh pi@ ...
sudo killall -9 python


as for the full temp directory:
The only file that can actually grow is
/home/pi/pibeacon/temp/display.inp

That file is created by actions on the indigo server and when no OUTPUT device for a monitor is defined then it can grow, as the display.py program is not running and does not clear that file.


Karl

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Tue Nov 19, 2019 8:38 am
by new2me07
It is pibeacon-parameters that is filled up. Deleting the directory it fills back up before any successful connections.

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Tue Nov 19, 2019 8:59 am
by kw123
Can you do the killall?

The parameter file is a simple copy from the pibeacon directory

So do
sudo killall - 9 python
Do Send all to the rpi in indigo
sudo python master.py

Do
ls -l temp/
To check



Sent from my iPhone using Tapatalk

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Tue Nov 19, 2019 4:11 pm
by new2me07
When doing a sudo python master, it says no such file exist.

I have a master.zip, but don't know how to call or unzip?

Side question: Does this mean everything went through ok :
2019-11-19 17:04:00 sbin/ping -c 1 -W 40 -o 10.0.1.41 return-code: 0

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Tue Nov 19, 2019 4:13 pm
by kw123
cd pibeacon
sudo python master.py



Sent from my iPhone using Tapatalk

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Tue Nov 19, 2019 4:31 pm
by new2me07
pi@raspberrypi:~/pibeacon $ sudo python master.py
19-16:29:30 master execMaster L:1637 Lv:30 ========================= starting master version: 11.3
Killed
pi@raspberrypi:~/pibeacon $ cp: error writing '/home/pi/pibeacon/temp/beacon_parameters': No space left on device
cp: error writing '/home/pi/pibeacon/temp/parameters': No space left on device
19-16:29:35 piBeaconUtils readJson L:1942 Lv:30 cBY:master Line 1939 has error=No JSON object could be decoded, fname:/home/pi/pibeacon/temp/parameters, data:
19-16:29:35 piBeaconUtils readJson L:1942 Lv:30 cBY:master Line 1939 has error=No JSON object could be decoded, fname:/home/pi/pibeacon/temp/parameters, data:
cp: error writing '/home/pi/pibeacon/temp/parameters': No space left on device
19-16:29:36 piBeaconUtils readJson L:1942 Lv:30 cBY:master Line 1939 has error=No JSON object could be decoded, fname:/home/pi/pibeacon/temp/parameters, data:
19-16:29:36 piBeaconUtils readJson L:1942 Lv:30 cBY:master Line 1939 has error=No JSON object could be decoded, fname:/home/pi/pibeacon/temp/parameters, data:
19-16:29:36 master execMaster L:1687 Lv:30 START.. indigoServer IP:>><<
19-16:29:37 master execMaster L:1698 Lv:50 hw clock info: ('', 'hwclock: Cannot access the Hardware Clock via any known method.\nhwclock: Use the --verbose option to see the details of our search for an access method.\n')
19-16:29:38 master execMaster L:2177 Lv:40 Line 1721 has error=[Errno 28] No space left on device
19-16:29:39 master <module> L:2183 Lv:30 exit at end of master

Re: Questions and Comment on my most ambitious PiBeacon proj

PostPosted: Tue Nov 19, 2019 4:34 pm
by kw123
Check the size of parameters in pibeacon directory

Or should we do an online session with teamviewer?




Sent from my iPhone using Tapatalk