Closed TarcisioMenezes closed 1 year ago
I'd like to be able to edit the behavior_preferences file/options.
Example:
PREF_ARRIVAL_SCAN_ATTEMPTS=1
PREF_DEPART_SCAN_ATTEMPTS=2
PREF_BEACON_EXPIRATION=240
PREF_MINIMUM_TIME_BETWEEN_SCANS=15
PREF_PASS_FILTER_ADV_FLAGS_ARRIVE=".*" PREF_PASS_FILTER_MANUFACTURER_ARRIVE="Apple"
PREF_FAIL_FILTER_ADV_FLAGS_ARRIVE="NONE" PREF_FAIL_FILTER_MANUFACTURER_ARRIVE="NONE"
PREF_DEVICE_TRACKER_REPORT="true"
PREF_MQTT_REPORT_SCAN_MESSAGES="true"
Thank you!
You can edit /home/pi/monitor/behavior_preferences
Those are the options available: https://github.com/andrewjfreyer/monitor#fine-tuning
I'd like to be able to edit the behavior_preferences file/options.
Example:
MAX RETRY ATTEMPTS FOR ARRIVAL
PREF_ARRIVAL_SCAN_ATTEMPTS=1
MAX RETRY ATTEMPTS FOR DEPART
PREF_DEPART_SCAN_ATTEMPTS=2
SECONDS UNTIL A BEACON IS CONSIDERED EXPIRED
PREF_BEACON_EXPIRATION=240
MINIMUM TIME BEWTEEN THE SAME TYPE OF SCAN (ARRIVE SCAN, DEPART SCAN)
PREF_MINIMUM_TIME_BETWEEN_SCANS=15
ARRIVE TRIGGER FILTER(S)
PREF_PASS_FILTER_ADV_FLAGS_ARRIVE=".*" PREF_PASS_FILTER_MANUFACTURER_ARRIVE="Apple"
ARRIVE TRIGGER NEGATIVE FILTER(S)
PREF_FAIL_FILTER_ADV_FLAGS_ARRIVE="NONE" PREF_FAIL_FILTER_MANUFACTURER_ARRIVE="NONE"
If true, this value will cause monitor to report a 'home' or 'not_home' message to ... /device_tracker conforming to device_tracker mqtt protocol.
PREF_DEVICE_TRACKER_REPORT="true"
This value is either true or false and determines whether monitor publishes when a scan begins and when a scan ends
PREF_MQTT_REPORT_SCAN_MESSAGES="true"
Thank you!