turbo-lab / android-beacon-mqtt

Simple android application for notifying MQTT server when iBeacon is in range or lost
GNU General Public License v3.0
27 stars 7 forks source link

Track params of beacon (signal strength, distance, etc) #26

Closed philsson closed 5 years ago

philsson commented 5 years ago

It would be really helpful to get some extra data to distinguish which beacon is closest. E.g in my home I'm normally connected to at least two beacons at the same time. This makes it difficult to determine which room I am in. With signal strength this could be resolved serverside.

turbulator commented 5 years ago

Hello Philip! I thought about your requirements. So, I have some ideas. After beacon was discovered we can start send "track" messages periodically with specific payload (RSSI, distance and other with user-defined format). We stop publishing when we lost our beacon . Track interval will be the part of configuration.

Example of timeline: 10:00 - Enter 10:01 - Track 10:02 - Track 10:03 - Track ... 10:15 - Exit

What do you think about it?

philsson commented 5 years ago

I think this is good, with a JSON formatted payload we could easily add more needed information besides rssi in the future.

ghost commented 5 years ago

That indeed would be great!

turbulator commented 5 years ago

Done in dfad3551bf81d29fc7f79ae66c38240984c9b6a1