andrewjfreyer / monitor

Distributed advertisement-based BTLE presence detection reported via mqtt
1.64k stars 194 forks source link

Help: searching for a simple one beacon only setup #407

Open constapel opened 2 years ago

constapel commented 2 years ago

Please help!

I have read andrew's documentation 50 times but still don't have any clue how to setup(or start) the monitor.sh script. Oh yes i have it running no problem, but it does not fill my needs. I need to have just one beacon (fitbit sense watch) to sent to my MQTT service in my IOT infrastructure its rssi signal strenght. Bases on its rssi my Openhab system will preform rules based IOT operations. I have blacklisted 60 other BLE beacons. I only want 1 ( fitbit sense) thats all!

The Functionality i need: When i (and my fitbit) will leave the room with de ZeroPI(monitor.sh) scanning the fitbit ble advertisment, my Openhab need to shut down the lighting when rssi will exceed a rssi treshold.....Why is this so hard to implement? The Openhab part is very simple but i cant get the monitor.sh to do what i want.

When i start monitor.sh -b it will start to run an write a needed topic "monitor/<ZEROPIHOSTNAME/fitbitsense" with json to my MQTT server. So far so good. Then its get confusing....... Why can i not get this same scan result (with different rssi) send to the MQTT every 5 minutes?

Thanks for any response. Constapel