Questions and Comment on my most ambitious PiBeacon project

Posted on
Mon Nov 18, 2019 10:14 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Questions and Comment on my most ambitious PiBeacon proj

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

Posted on
Tue Nov 19, 2019 8:38 am
new2me07 offline
Posts: 84
Joined: Apr 07, 2017

Re: Questions and Comment on my most ambitious PiBeacon proj

It is pibeacon-parameters that is filled up. Deleting the directory it fills back up before any successful connections.

Posted on
Tue Nov 19, 2019 8:59 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Questions and Comment on my most ambitious PiBeacon proj

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

Posted on
Tue Nov 19, 2019 4:11 pm
new2me07 offline
Posts: 84
Joined: Apr 07, 2017

Re: Questions and Comment on my most ambitious PiBeacon proj

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

Posted on
Tue Nov 19, 2019 4:13 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Questions and Comment on my most ambitious PiBeacon proj

cd pibeacon
sudo python master.py



Sent from my iPhone using Tapatalk

Posted on
Tue Nov 19, 2019 4:31 pm
new2me07 offline
Posts: 84
Joined: Apr 07, 2017

Re: Questions and Comment on my most ambitious PiBeacon proj

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

Posted on
Tue Nov 19, 2019 4:34 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Questions and Comment on my most ambitious PiBeacon proj

Check the size of parameters in pibeacon directory

Or should we do an online session with teamviewer?




Sent from my iPhone using Tapatalk

Who is online

Users browsing this forum: No registered users and 1 guest