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

Inaccurate results when using find-lf #11

Open
kmic25 opened this issue Apr 20, 2017 · 1 comment
Open

Inaccurate results when using find-lf #11

kmic25 opened this issue Apr 20, 2017 · 1 comment

Comments

@kmic25
Copy link

kmic25 commented Apr 20, 2017

Hi, I've managed to set up find and find-lf using 5 Raspberry Pis. However I'm not getting accurate results.

My set-up:

  • 1 Raspberry Pi running Find server
  • 1 Raspberry Pi running Find-lf server
  • 1 Raspberry Pi from where I'm initializing the cluser
  • 3 Raspberry Pis (the one running the Find-lf server and another 2) within the cluser (set up in different corners of the room)

Initial plan was to have the one from where I'm initializing the cluser also part of the cluster, however I'm not managing to get it to work with that set-up (it never transmits even though the status says that it's running)

Currently my main issue though is that even after giving it quite some time to learn, it is still highly inaccurate and does not correctly guess which area I'm in - even if I'm exactly next to a PI which is in the cluster and if that's a place from where I initially set it to learn.

Some logs which might be helpful:

When set to learning mode:

Sending to http://192.168.11.21:8003/learn: {"group":"mytest","username":"bcf5acdfa3d9","location":"my_desk","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-59}]}
Sending to http://192.168.11.21:8003/learn: {"group":"mytest","username":"bcf5acdfa3d9","location":"my_desk","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-62}]}

Sending to http://192.168.11.21:8003/learn: {"group":"mytest","username":"bcf5acdfa3d9","location":"window","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-67}]}
Sending to http://192.168.11.21:8003/learn: {"group":"mytest","username":"bcf5acdfa3d9","location":"window","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-51}]}

Sending to http://192.168.11.21:8003/learn: {"group":"mytest","username":"bcf5acdfa3d9","location":"door","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-71}]}
Sending to http://192.168.11.21:8003/learn: {"group":"mytest","username":"bcf5acdfa3d9","location":"door","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-61}]}

When set to tracking mode:

Sending to http://192.168.11.21:8003/track: {"group":"mytest","username":"bcf5acdfa3d9","location":"unknown","timestamp":0,"wifi-fingerprint":[{"mac":"raspberrypi","rssi":-49}]}

fingerprint.go:241: Tracking fingerprint containing 1 APs for bcf5acdfa3d9 (mytest) at window (guess)

(In reality I was back to location 'my_desk' over here)

Any help is greatly appreciated. Thanks

@schollz
Copy link
Owner

schollz commented Aug 11, 2017

Judging from your logs, it looks like you are only sending a single mac addresses? Can you verify whether your raspberry pi's have different hostnames (this is used to differentiate them).

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

2 participants