Sorry you lost me there, cancel the depart script before it runs ?
You want the depart script to run when you open the door. If you are going away, it will detect your phone as not here, if you just open the door to greet someone, you will still be there, so the depart script wont return a 0 value.
Hi Guys! I want the monitor service call depart scan periodically (like a cron each 1 minute for example). Seems from everything that I read, I need to start it with flags monitor.sh -r -a -x. I already did it, and also subscribe to appropriate topic in node-red. But I see from logs that messages publishing not so often. I have some other solution (can actually publish scan command from my node red server each minute, or from HA), but I think would be better use this feature in monitor. So, does anybody know how to do that?)
an mqtt message is sent to Home Assistant reporting that the scanned phone is āhomeā with a confidence of 100%. In addition, an mqtt message is sent to the second and third floor to trigger a scan on those floors as well.ā
Is the MQTT message that triggers the others to scan an internal setting in Monitor or is an automation via Node red or Hassio?
I have been monitoring some Nut 3 tiles for awhile with this excellent script and decided to extend this to some other items I would like to track. I have some Tile and generic beacons which require to be synced to an app first. I know there is a Tile component but it isnāt what Iām looking for. I can put the beacons into pair mode and āMonitorā can see them but the beacons go to sleep after that and always show ā0ā. Does anyone know if there is a way to have these beacons periodically probe like the Nut 3 ones do? Just want to know if my items are home or not not actually track their actual whereabouts.
Solved Nevermind they do this until they have actually been paired with a device
I allways get a empty rssi ("rssi":"") from my phone, my wifes phone and the tv im tracking.
Is there any flag i need to set, or is the rssi only for some devices?
I would like to get my rssi into grafana to be able to compare some curves over a longer time.
Interesting, and you have it in known_beacon_addresses ? Perhaps the CC2640 I have is flashed differently than yours. I purchased one on AliExpress that I believe you linked to earlier.
yes, i have the beacon address added to known_beacons_addresses.
Ibought from that exact seller/listing but it is possible something changed and they shipped different devices.
can you seee the beacon in nrf explorer and hcidump lescan ?