Hi @Odianosen25
I ran a quick test. On one of my Pi Zeros I stopped the monitor
service and started it manually with a -t
.
Slightly to my surprise it then started a DEPART
scan [4 repetitions] (and didn’t find anything, as no devices were near). It then posted zero confidence messages to MQTT for each device. I do not know why this happened.
I then posted a [topic path]/scan/ARRIVE
with a blank message. I was using mosquitto_pub
, which requires a message; my understanding is that no message is actually needed. It did a scan [2 repetitions] - found nothing, posted nothing.
I moved my phone to within range. On the log I saw
0.1.482 10:17:07 am [INSTRUCT] MQTT Trigger ARRIVE
0.1.482 10:18:54 am [INSTRUCT] MQTT Trigger DEPART
but no other action (ie no MQTT posting) occurred.
I posted [topic path]/scan/ARRIVE
with a blank message. A scan started, the phone was spotted and a MQTT message posted.
I posted [topic path]/scan/DEPART
with a blank message. A scan for only the phone started, the phone was spotted, and no MQTT message posted.
I removed the phone from within range, and re-posted the ARRIVE
topic. It did a 2 repetition scan, found nothing and posted nothing.
I then re-posted the DEPART
topic. It checked for my phone and went in to the declining confidence loop, posting each time (50, 25, 12, 6) until it reached zero and stopped.
I stopped the monitor -t
instance, moved my phone to within range, and started it again. No scans occurred this time.
I stopped the monitor -t
instance, moved my phone out of range, and started it again. No scans again, leading me to believe that the first time it happened was due to a glitch in the Matrix.
Hope this helps!