tinuzz
Forum Replies Created
-
Forum: Plugins
In reply to: [Trackserver] Cannot make it work with OruxMapsIt could be an SNI problem. Which version of OruxMaps do you have?
If you look in Trackserver’s options, you will find this explanation:
“Note about HTTPS: older versions of OruxMaps may or may not support SNI for HTTPS connections. As of v7.1.2, SNI is verified to work. If your WordPress depends on SNI for HTTPS connections and you cannot use the latest version of OruxMaps, please use HTTP. This is a problem with OruxMaps that Trackserver cannot fix.”
Forum: Plugins
In reply to: [Trackserver] Cannot make it work with OruxMapsHi,
Of course, based on your question, I have no idea why it isn’t working for you.
If you feel that the documentation is lacking and confusing, can you tell me what you are missing? What did you run into trying to set it up?
For OruxMaps, Trackserver gives you a screenshot of the mobile app where to find the settings, and it gives you the custom URL you have to use. What else do you need?
What happens if you open de the ‘Full custom URL’ in a webbrowser? You should het a HTTP basic auth prompt. After filling in your WP username and password, you should see the response ‘Illegal request’.
Furthermore, I would advise you to check your webserver logs and confirm that the requests from OruxMaps are actually reaching your server.
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] How to get mileage from the trackI don’t really understand the question. Trackserver calulates the total distance of all the tracks it holds, but apart from the infobar that is optionally displayed during live tracking, there isn’t much that can be done with it. It is displayed in the admin backend, though.
Forum: Plugins
In reply to: [Trackserver] Live Tracks not workingClosing due to old age.
Forum: Plugins
In reply to: [Trackserver] How to format values for the Infobar?Version 4.2.2 was released today. The infobar now supports the following tags:
{lat}, {lon} – the last known coordinates
{timestamp} – the timestamp of the last update
{userid} – the numeric user id of the track owner
{userlogin} – the username of the track owner
{displayname} – the display name of the track owner
{altitudem} – the altitude in meters
{altitudeft} – the altitude in feet
{speedms}, {speedms1}, {speedms2} – last known speed in m/s, with 0, 1 or 2 decimals
{speedkmh}, {speedkmh1}, {speedkmh2} – last known speed in km/h, with 0, 1 or 2 decimals
{speedmph}, {speedmph1}, {speedmph2} – last known speed in mi/h, with 0, 1 or 2 decimals
{distancem} – track total distance in meters
{distanceyd} – track total distance in yards
{distancekm}, {distancekm1}, {distancekm2} – track total distance in km, with 0, 1 or 2 decimals
{distancemi}, {distancemi1}, {distancemi2} – track total distance in miles, with 0, 1 or 2 decimalsForum: Plugins
In reply to: [Trackserver] Track could not be loaded: undefined – undefined undefinedAny results from testing for the ‘undefined’ errors?
Trackserver v4.2.2 was just released, containing the fix I mentioned above.
Regarding the app: I’d be excited to try it out, even if it’s not polished at all. It’s the core functionality that matters. I’m not a skilled Android developer, but I have tried little things, so maybe I can contribute. It is Java or Kotlin?
Best regards,
Martijn.Forum: Plugins
In reply to: [Trackserver] Track could not be loaded: undefined – undefined undefinedHi Wolfgang,
The error will appear when fetching the track data fails. This could also be due to a small network hickup. I think the problem is, that Trackserver does not recover well from that condition.
I implemented a small change that will remove any error popus on succesful track load. So, during a small network outage, the popup may still appear, but if the next load 10 seconds later is succesful, the popup will be closed.
How does that sound?
Fix is now up on Github en will be in the next release.
Cheers,
Martijn.Forum: Plugins
In reply to: [Trackserver] How to format values for the Infobar?A fix for this is now up on Github:
https://github.com/tinuzz/wp-plugin-trackserver/commit/7d8d7634e6861b7e1c74358c6abc67835177af13
It will be included in the 4.2 release, which I expect to do later this week.
Best regard,
Martijn.Forum: Plugins
In reply to: [Trackserver] How to format values for the Infobar?The metadata is calculated and added to the server response here:
https://github.com/tinuzz/wp-plugin-trackserver/blob/master/trackserver.php#L3977
If you add new tags and want to replace them in your infobar format, you should add code for that here:
https://github.com/tinuzz/wp-plugin-trackserver/blob/master/trackserver.js#L333
Does this help?
Cheers,
Martijn.I just filed a bug report, as Gaby requested. I hadn’t seen edanzer’s comment yet.
- This reply was modified 7 years, 7 months ago by tinuzz.
Forum: Plugins
In reply to: [Trackserver] Owntracks tracking error to my own siteIf you open the Trackserver-Owntracks URL (the server URL that you configured in OwnTracks) in a browser, what do you see?
You should get a HTTP Basic auth login prompt where you can log in with your WP username and password. After succesful authentication, you should receive a JSON object.
Trackserver works best with TrackMe and Oruxmaps, but neither of those apps are suitable to keep running all the time to use as a family tracker.
I used OwnTracks during a skiing trip with a group of friends, but the results were less than satisfying.
Forum: Plugins
In reply to: [Trackserver] Live Tracks not workingI looked at the page, and I see a request to retrieve the track every 10 seconds, just like it should.
If you open your browsers developer tools, you can see the track URL that it is loading:
/trackserver/gettrack/?query=...If you open that in a new tab, you should get some JSON, and if you add new points to the track, you should see the JSON change after a reload. You can verify that the map ID is the latest track (currently 5097).
If points are being added to the right track (again, verify the ID), but the JSON doesn’t change, then that would be really weird. Something could be caching the response, but it’s certainly not trackserver.
Cheers,
Martijn.Forum: Plugins
In reply to: [Trackserver] Owntracks tracking error to my own siteBefore trying anything at all with the [tsmap] shortcode, you should assess that tracks are being created in Trackserver through the ‘Manage tracks’ page. If nothing shows up there, there’s no use trying to display anything on a map.
That said, in my testing, Owntracks wasn’t very reliable sending updates over HTTP. It should however produce at least /some/ results.
You wrote: “– Under …. “Identification” switched authentication off”
Shouldn’t that be “on” instead of “off”?
You also wrote: “* To acces my site you need to have a username and password.”
What exactly does that mean?
Cheers,
Martijn.Forum: Plugins
In reply to: [Trackserver] Error uploading positionHello Bas,
Forget the shortcode for a while, you don’t need it for creating tracks,
In the TrackMe app, you should configure the URL header and server extension as presented in your Trackserver profile. Your TrackeMe username is your WordPress username and your TrackMe password is the TrackMe password from your Trackserver profile.
If everything is set correctly, TrackMe should be able to send locations to Trackserver, and you should see tracks appear on the ‘Manage Tracks’ page. There, you can also see the track ID.
Then, if you have one or more tracks (which you can also just upload through the WP admin), you create a WP post or page, and use the Trackserver shortcode:
[tsmap id=<trackid>]
as documented in the FAQ.
Does this help?
Martijn.
Forum: Plugins
In reply to: [Trackserver] Error uploading positionFrom your questions it seems to me you should start by reading the FAQ. Let me know if anything specific is not clear after that.
https://wordpress.org/plugins/trackserver/
Best regards,
Martijn.