piBeacon: 3- presence monitoring download

Posted on
Sat Jun 20, 2020 9:55 am
kw123 offline
User avatar
Posts: 7134
Joined: May 12, 2013
Location: Dallas, TX

piBeacon: 3- presence monitoring download

posted v7.121.406

Code: Select all
Added features / changes in v7.121.406 @ 2020-06-20
===================================================
1. added compression of data when #bytes > xxbytes (set in config)
2. there was a limnit in # of bytes to be received from RPIs at ~ 30k, was lifted to 120kbytes
running beacon scan with very low cutoff RSSI could produced much more data
3. added beacon report for new and existing beacons
 start from menu and send request to ONE rpi, set RSSI cutoff  to accpet all/many/some/ony very close beacons:
BLEAnalysis received for beacons with signal (rssi) > -70; from RPI#:11
================================ existing_Beacons ============================================
===MAC# DC:0D:30:92:E3:1F  -b-feasy-aaa == ; raw data:
n_of_MSG_Types              : 4
raw data:
- 043E26020100001FE392300DDC1A0201060303AAFE1116AAFE20000C6F80000005E43F000414A4
- 043E26020104001FE392300DDC1A0E16F0FF1B020902DC0D3092E31F640A094653435F42503130
- 043E2A020100001FE392300DDC1E0201061AFF4C000215FDA50693A4E24FB1AFCFC6EB07647825275165C1
- 043E27020100001FE392300DDC1B0201060303AAFE1316AAFE10D403676F6F2E676C2F50484E5364
mfg_info                    : FSC_BP104
MSG_in_10Secs               : 4.0
beaconType                  : [u'Feasy_AAA', u'MiniBeacon']
max_rssi                    : -53
max_TX                      : 109
pos_of_reverse_MAC_in_UUID  : []
pos_of_MAC_in_UUID          : []
possible knownTag options:
-- use:Feasy_AAA
-- use:MiniBeacon

================================ new_Beacons ============================================
===MAC# FF:FF:C2:28:06:C3   == ; raw data:
n_of_MSG_Types              : 2
raw data:
- 043E1702010000C30628C2FFFF0B0201060302E0FF030954
- 043E1A02010400C30628C2FFFF0E0DFFFFFFC22806C315FB757117
mfg_info                    : TF
MSG_in_10Secs               : 5.3
beaconType                  : [u'', u'']
max_rssi                    : -60
max_TX                      : 70
pos_of_reverse_MAC_in_UUID  : [-1, -1]
pos_of_MAC_in_UUID          : [-1, 18]
possible knownTag options:
-- "name_here":{"battCmd":"off","beepCmd":"off","dBm":"-61","prio":1,"pos":12,"posDelta":0,"tag":"0B0201060302"}
-- "name_here":{"battCmd":"off","beepCmd":"off","dBm":"-61","prio":1,"pos":12,"posDelta":0,"tag":"0E0DFFMAC#########"}

4. added debug option on RPI do
   cd pibeacon
   sudo python beaconloop.py
   echo "A4:DA:32:24:5F:6B" > temp/beaconloop.trackmac
will create output like for 10 beacon message, it will give you frequence, some raw info and if accepted or rejected
START  A4:DA:32:24:5F:6B 30:20.899144  logCount: 10  hex: 6B5F2432DAA41E0201061AFF4C00021553706F747950616C5465727261636F6D1ADDD624CACA
0-     A4:DA:32:24:5F:6B ; UUID: 53706f747950616c5465727261636f6d ; Maj: 6877 ; Min: 54820
1-     A4:DA:32:24:5F:6B ; tag: SpotyPal ; prio: 1 ; uuidMajMin: [u'SpotyPal', u'6877', u'54820'] ; useOnlyPrioMsg: True
tag-   A4:DA:32:24:5F:6B ; posFound: 32 ; dPos: 0 ; tag: SpotyPal ;  53706F747950616C5465727261636F ; tagString 53706F747950616C5465727261636F
5-     A4:DA:32:24:5F:6B ; rejectThisMessage: False ; UUID: SpotyPal 6877 54820
9-     A4:DA:32:24:5F:6B ; tagFound True ; UUID: SpotyPal
11-    A4:DA:32:24:5F:6B ; added to beaconMSG
99     A4:DA:32:24:5F:6B ; accepted
START  A4:DA:32:24:5F:6B 30:24.911548  logCount: 9  hex: 6B5F2432DAA41E0201061AFF4C00021553706F747950616C5465727261636F6D1ADDD624CACB
0-     A4:DA:32:24:5F:6B ; UUID: 53706f747950616c5465727261636f6d ; Maj: 6877 ; Min: 54820
1-     A4:DA:32:24:5F:6B ; tag: SpotyPal ; prio: 1 ; uuidMajMin: [u'SpotyPal', u'6877', u'54820'] ; useOnlyPrioMsg: True
tag-   A4:DA:32:24:5F:6B ; posFound: 32 ; dPos: 0 ; tag: SpotyPal ;  53706F747950616C5465727261636F ; tagString 53706F747950616C5465727261636F
5-     A4:DA:32:24:5F:6B ; rejectThisMessage: False ; UUID: SpotyPal 6877 54820
9-     A4:DA:32:24:5F:6B ; tagFound True ; UUID: SpotyPal
11-    A4:DA:32:24:5F:6B ; added to beaconMSG
99     A4:DA:32:24:5F:6B ; accepted

Posted on
Tue Jul 07, 2020 5:08 pm
kw123 offline
User avatar
Posts: 7134
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

v7.122.417, maintenance release

Code: Select all
1. cosmetic changes for new beacon reports
2. increased data collection time for new beacon report from 15secs to 25 secs.
3. fixed action reboot rpi# through ssh
4. improved speed of car devices status changes
5. improved new beacon report
6. fixed update to states in devcies edit does not work anymore, changed to batch update
  ie group members was impacted, need to edit and save all devices / beacons if problem

Posted on
Thu Jul 23, 2020 8:25 am
kw123 offline
User avatar
Posts: 7134
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

Code: Select all
Added features / changes in v7.123.422 @ 2020-07-23
===================================================
1. re-wrote get battery level, beep functions, BLE analysis, get new beacon info.
   also added a beaconloop restart after any of the above functions to avoid a hanging BLE stack
2. fixed battery level calculation for Aiko beacons (it uses a range value:64 = 0% .. value:100 =100 %)
3. added more tagging features for beacons
4. RINEX and NJOII are now the same type of beacon
   if you have a RINEX or NJOII you need to edit and set beacon type
5. some samller menue changes
6. some smaller program changes

Posted on
Thu Aug 06, 2020 3:20 pm
kw123 offline
User avatar
Posts: 7134
Joined: May 12, 2013
Location: Dallas, TX

Re: piBeacon: 3- presence monitoring download

Code: Select all
Added features / changes in v7.124.423 @ 2020-08-06
===================================================
1. added sensor bosch BMP388 high precision pressure
   accuracy equivalent = 0.8m altitude change


Karl

Who is online

Users browsing this forum: No registered users and 0 guests