schollz / find-lf

Track the location of every Wi-Fi device (:iphone:) in your house using Raspberry Pis and FIND
https://www.internalpositioning.com/plugins/#using-find-without-an-app
GNU Affero General Public License v3.0
994 stars 123 forks source link

lf.internalpositioning.com does not seem to create group correctly on ml.internalpositioning.com? #23

Open victorhooi opened 6 years ago

victorhooi commented 6 years ago

I've setup a find-lf cluster using some Raspberry PIs.

I've set the group name to "" in config.json, and I'm using the default https://lf.internalpositioning.com/ server for now.

I set https://lf.internalpositioning.com/ to learn, and it seemed to learn OK - however, if I then go to https://ml.internalpositioning.com, and try with that group name, I keep getting "incorrect login".

However, I am able to access a group that I created previously via the Android app.

Is there something else you need to do when using https://lf.internalpositioning.com/ to setup a group on https://ml.internalpositioning.com?

schollz commented 6 years ago

So your group name is empty?

ml.internalpositioning will setup the group as soon as it receives a fingerprint, but it will not respond to a empty group name I think.

harperreed commented 6 years ago

I am experiencing this same issue. However, my group name is filled in. Everything seems fine and lf.internalpositioning.com reports status or learning correctly.

However, I get a Incorrect login. if i try and login with the groupname defined in my config.json.

Any help would be great.

arms203 commented 6 years ago

I also get incorrect login when tried to login. Any help is greatly appreciated.

schollz commented 6 years ago

@arms203 @harperreed can you send me your group name?

arms203 commented 6 years ago

PRSBBEL

arms203 commented 6 years ago

sorry its PRSBBEL2

schollz commented 6 years ago

@arms203 It seems that there is no data for that user name yet. Are you sure your fingerprints are getting uploaded to the server?

arms203 commented 6 years ago

I have tried using the lf.internalpositioning.com and the command line to learn the locations of the of the pi and after finish learn i change the command to track. Is there a way for me to know that the fingerprints are getting uploaded to the server??

arms203 commented 6 years ago

My setup, a pc to run the cluster.py my slave is just a raspberry pi2 with a alfa network awus036nha.

arms203 commented 6 years ago

This is the log inside the raspberry pi 2018-04-18 02:08:58,252 - main:201 - DEBUG - Using server https://lf.internalpositioning.com 2018-04-18 02:08:58,262 - main:203 - DEBUG - Using group PRSBBEL2 2018-04-18 02:08:58,265 - main:208 - DEBUG - Stopping scan... 2018-04-18 02:08:58,385 - tshark_is_running:115 - DEBUG - tshark is running: False 2018-04-18 02:08:58,389 - main:210 - DEBUG - Stopping monitor mode...

arms203 commented 6 years ago

I have fixed my mistake by using another wifi dongle. but still I cannot get my data to show in the ml.internalpositioning site. Below is the log from the pi

2018-04-18 02:30:39,474 - process_scan:91 - DEBUG - Processed 1773 lines, found 25 fingerprints in 114 relevant lines 2018-04-18 02:30:39,476 - process_scan:98 - DEBUG - {'timestamp': 1524018639, 'node': 'raspberrypi', 'signals': [{XX:XX:XX:XX}] 2018-04-18 02:30:42,960 - main:222 - DEBUG - Sent to server with status code: 200