pinpoint icon indicating copy to clipboard operation
pinpoint copied to clipboard

Cannot see other people in the Owntracks app

Open vactomas opened this issue 3 years ago • 6 comments

Hi, I am testing out this SW of yours, and I ran into an issue. There are two users (for testing purposes), and both are connected using iOS app. Now, I can get it to publish the data, and in logs I can see that it is forwarding.

test-device (test) published to test/test/device: 
test-device (test) published to owntracks/test/device: {"_type":"lwt","tst":xxxxxxxxxx}
Forwarding packet to test/test/device
Forwarding packet to test2/test/device

The problem is, it doesn't show the other device in the app. Is there anything I can do to fix this misbehaviour?

vactomas avatar Aug 16 '22 06:08 vactomas

image

Also, I am getting this error.

vactomas avatar Aug 16 '22 08:08 vactomas

@vactomas do you see any log messages with "_type":"location"? A lwt message is sent on connect when in MQTT mode but you won't see any locations until actual location messages arrive on the server. I'll have to look into the other error but I do not have any iOS devices to test with. If you're inside your network, make sure you have appropriate DNS/loopback configured if you're using a domain name.

jhotmann avatar Aug 16 '22 16:08 jhotmann

The second error is fixed now (or at least isn't a problem any more, I am not sure what caused it).

There are log messages with "_type":"location". I can see the device publishing.

test-device (test) published to owntracks/test/device: {"_type":"location","acc":xx,"alt":xx,"batt":xx,"bs":x,"BSSID":"xxxxx","conn":"x","created_at":xxxxxxxx,"lat":xxxxxx,"lon":xxxx,"m":x,"SSID":"xxxxxx","tid":"xx","tst":xxxxxxx,"vac":xx

I have censored the log, but you can still get the idea of what I get.

vactomas avatar Aug 17 '22 04:08 vactomas

@vactomas does the iOS app allow you to view the app logs? On Android I can open the side menu, select Status, and then View Logs and see the app's own logs to help with troubleshooting.

jhotmann avatar Aug 22 '22 15:08 jhotmann

It doesn't seem like I can. There is no button for it anywhere.

vactomas avatar Aug 22 '22 17:08 vactomas

@jhotmann I switched to http mode (which has its issue), and it works nearly flawlessly.

vactomas avatar Aug 22 '22 18:08 vactomas