view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I looked at Traccar for a little bit but found that (based on the availability of documentation / user posts) OwnTracks seems to be more popular. After setting up OwnTracks and comparing it to PhoneTrack, it was OBVIOUS that PhoneTrack is superior... at least for me. I'll take another look at Traccar tonight and see if it compares. Thanks!
@shiftymccool@lemm.ee It's now 24 hours later - what do you think? I'm also running a NextCloud to run PhoneTrack. I had a customised version of php-tracks-recorder before that, but wanted something for multiple devices/users and with a bit more features.
I got a minimum traccar instance running last night (no db, config, etc...) and it seemed to be working great. Later, I noticed battery usage on my android device was a bit higher than normal. Not thinking much about it, I went about my business. This morning I was still seeing higher than average battery usage. I checked the client logs and saw a ton of "failed to send" messages. I checked the server and the registration page came up. Apparently, my minimal setup failed to persist the data and, at some point, I redeployed my stack and lost everything.
My suspicion is that the repeated failures were causing the battery drain so I'm trying again with a full db setup but not having much luck so far. I'll check back in after I either succeed or give up.
The UI for traccar is way cleaner than phonetrack but if the battery usage doesn't compare, it's a no-go. Phonetrack has just been invisible and functional so it's got some big shoes to fill
Well, I've had a fully functioning Traccar instance running all night and most of the day and I'm sad to say that I'm less than impressed.
The tracking isn't quite as bad as OwnTracks but not nearly as good as PhoneTrack. Instead of showing me that I randomly went to a city several miles away, I just spent some time in a field by my house instead of walking down the road next to it.
I've kept PhoneTrack running in tandem and the comparison, in terms of accuracy and battery usage, leaves no question. I tried everything I could think of to post a screenshot of my battery usage but "image is too large" was all I got even for an 18k image. So, after a day-ish of running both, my battery stats in Android show:
I think it's PhoneTrack's "significant motion" setting that makes the difference here. If Traccar gets this feature (or already has it and I'm missing it...) that will solve a few problems.
If I'm missing something with Traccar here, somebody please set me to rights. It seems strange that the only setting in the Traccar client to save battery is to set the interval longer, thereby killing accuracy. PhoneTrack seems to have solved this problem, and it's "just a Nextcloud app", Traccar is dedicated to this functionality, I feel like it should have more options. 🤷♂️
Looks like I'm sticking with PhoneTrack for now which means my Nextcloud instance has been relegated to app platform instead of all-in-one file manager.
EDIT: Didn't notice the wake lock setting, trying it for a bit with that off to see if that helps
I have yet to try this, but you should be able to use the OwnTracks app with Traccar.
I‘m using OwnTracks for years now to log into PhoneTrack (and previously php-owntracks-recorder). No issues.
Interesting, I'll have to give that a try. Thanks for the tip!
A small update: Traccar with the wake lock off and the interval set to 100 seconds uses a fraction of the battery but the accuracy still seems questionable. Since it's not draining the battery anymore, I'm going to keep running them in tandem for comparison. If I remember, I'll come back here with my results