Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
constapel opened this issue Feb 3, 2022 · 0 comments
Open

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

constapel opened this issue Feb 3, 2022 · 0 comments

Comments

@constapel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant