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

Cannot see other people in the Owntracks app #37

Open
vactomas opened this issue Aug 16, 2022 · 6 comments
Open

Cannot see other people in the Owntracks app #37

vactomas opened this issue Aug 16, 2022 · 6 comments

Comments

@vactomas
Copy link

vactomas commented Aug 16, 2022

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
Copy link
Author

image

Also, I am getting this error.

@jhotmann
Copy link
Owner

@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.

@vactomas
Copy link
Author

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.

@jhotmann
Copy link
Owner

@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.

@vactomas
Copy link
Author

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

@vactomas
Copy link
Author

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

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