Giter VIP home page Giter VIP logo

Comments (8)

ikbenfrank avatar ikbenfrank commented on June 15, 2024 1

Hey Andrew, thanks for looking into this. It is working now as intended with my iBeacons. Thank you!

from monitor.

andrewjfreyer avatar andrewjfreyer commented on June 15, 2024

I'll investigate. Thanks!

from monitor.

andrewjfreyer avatar andrewjfreyer commented on June 15, 2024

Fixed as of beta 0.1.691

from monitor.

ikbenfrank avatar ikbenfrank commented on June 15, 2024

Hey Andrew,

Just got a chance to test the new beta build to see if it is fixed for me. When using a clean git clone from the beta branch and using 'monitor -b' I get the following output in my command line (didn't adjust the behavior_preferences).

frank@raspberrypi:~/monitor $ sudo bash monitor.sh -b
Starting monitor.sh (v. 0.1.691)...
> ibeacon reporting mode enabled
> preference: delay between scans = 3
> preference: periodic arrive/depart check interval = 15
> preference: periodic arrive interval = 45
> preference: periodic depart interval = 90
> preference: database refresh interval = 35
> preference: max arrival scan attempts = 2
> preference: max depart scan attempts = 4
> preference: random advertisement expiration = 45
> preference: rssi threshold for triggering = -70
> preference: beacon rssi change required for reporting = 10
> preference: bluetooth environmental report frequency = 300
> preference: forced departure check interval = 240
> preference: interval until beacon is considered expired = 145
> preference: trigger a departure scan at other nodes below [x] confidence = 25
> preference: preferred HCI device = hci0
> preference: minimum time between the same type of scan = 15
> preference: mqtt scan start/end reporting = false
> mqtt trigger: monitor/scan/ARRIVE
> mqtt trigger: monitor/scan/DEPART
0.1.691 12:56:53 am [CMD-RSSI]  51:B3:E2:E8:BF:6C Undiscoverable Device Name RAND RSSI: -69 dBm (Fast Motion Departing, changed -69)
0.1.691 12:56:53 am [CMD-RAND]  51:B3:E2:E8:BF:6C ADV_NONCONN_IND -69 dBm
0.1.691 12:57:34 am [CMD-RSSI]  E2C56DB5-DFFB-48D2-B060-D0F5A71096E0-0-0 Undiscoverable Device Name BEAC RSSI: -80 dBm (Fast Motion Departing, changed -80)
0.1.691 12:57:35 am [CMD-BEAC]  E2C56DB5-DFFB-48D2-B060-D0F5A71096E0-0-0 E2C56DB5-DFFB-48D2-B060-D0F5A71096E0 0 0 Undiscoverable Device Name Unknown
0.1.691 12:57:35 am monitor/home/E2C56DB5-DFFB-48D2-B060-D0F5A71096E0-0-0
{
        retain: false
        version : 0.1.691
        address : E2C56DB5-DFFB-48D2-B060-D0F5A71096E0-0-0
        confidence : 100
        name : Undiscoverable Device Name
        timestamp : Wed Oct 31 2018 00:57:35 GMT+0000 (UTC)
        manufacturer : Unknown
        type : APPLE_IBEACON
        rssi : -80
        power : -59
}
0.1.691 12:58:01 am [CHECK-DEL] 51:B3:E2:E8:BF:6C expired after 68 seconds
0.1.691 12:59:38 am [CMD-RAND]  51:B3:E2:E8:BF:6C ADV_NONCONN_IND -66 dBm
0.1.691 01:00:23 am [CHECK-DEL] E2C56DB5-DFFB-48D2-B060-D0F5A71096E0-0-0 expired after 167 seconds
0.1.691 01:00:45 am [CMD-RSSI]  51:B3:E2:E8:BF:6C Undiscoverable Device Name RAND RSSI: -52 dBm (Slow/No Motion, changed 16)
0.1.691 01:00:45 am [CMD-RAND]  51:B3:E2:E8:BF:6C ADV_NONCONN_IND -52 dBm
0.1.691 01:00:45 am [CMD-RSSI]  51:B3:E2:E8:BF:6C Undiscoverable Device Name RAND RSSI: -68 dBm (Slow/No Motion, changed -16)
0.1.691 01:01:32 am [CHECK-DEL] 51:B3:E2:E8:BF:6C expired after 46 seconds
0.1.691 01:02:59 am [CMD-RSSI]  3C:95:25:67:DD:8C Undiscoverable Device Name PUBL RSSI: -69 dBm (Fast Motion Departing, changed -69)
0.1.691 01:04:36 am [CMD-RSSI]  53:EF:B1:BE:70:93 Undiscoverable Device Name RAND RSSI: -70 dBm (Fast Motion Departing, changed -70)
0.1.691 01:04:36 am [CMD-RAND]  53:EF:B1:BE:70:93 ADV_NONCONN_IND -70 dBm
0.1.691 01:05:38 am [CHECK-DEL] 3C:95:25:67:DD:8C expired after 160 seconds
0.1.691 01:06:12 am [CHECK-DEL] 53:EF:B1:BE:70:93 expired after 63 seconds

I get the battery immediately out of the iBeacon but the confidence is still not falling in the 10 minute window that I added above. Let me know if I can give some more information to help with this bug. Thanks.

from monitor.

andrewjfreyer avatar andrewjfreyer commented on June 15, 2024

Reopened. Thanks for the report.

from monitor.

andrewjfreyer avatar andrewjfreyer commented on June 15, 2024

Should be fixed in beta branch. Iā€™m seeing iBeacons count down.

from monitor.

RevelRob avatar RevelRob commented on June 15, 2024

I'm experiencing this bug as of beta 0.1.888.
Confidence always shows at 100% whether monitor was started with beacon away or home.
Monitor sees the beacon when it's home and reports, it just doesn't show it expiring ever.

Thanks!

from monitor.

andrewjfreyer avatar andrewjfreyer commented on June 15, 2024

Thanks for the updated report. I think I have addressed it tonight. Can you verify?

(I know this is a duplicate issue/report from HA forums)

from monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.