Skip to content
GRENDELMAN.NET
  • Home
  • Photos
  • Projects & Pages
    • Projects
    • Files
    • Humor
    • Bookmarks
  • Login

First time at FOSDEM

Posted on: Monday 2 February 2015 /
Categories: Nerd Stuff, Personal

Last Saturday, I went to FOSDEM for the first time and I though I’d write a little post about my general findings.FOSDEM

I attended about 7 talks in 5 different tracks. Contentwise, most talks were interesting enough and most speakers I have seen did a decent job on their presentation. Some weren’t quite the masters of the English language you would hope for, and some really need to improve on their time-management (*), but on average it wasn’t bad.

(*) I attended one talk where the speaker started with an introduction of the product he was talking about, before starting on the actual subject of the talk, but due to taking questions from the audience, he only had 5 minutes left after the introduction and he ended up skipping more than half his slides. Since I was already familiar with the product, I learnt nothing new and the whole talk was sort of a waste of time 🙁

There were some things that really bothered me though:

  • The venue has some really old buildings and classrooms, that are noisy as hell. Squeeking and loudly banging doors, and tables being (un)folded were quite distracting. As a matter of fact, I find it hard to imagine that students actually take classes in an environment like that.
  • With almost all the talks I went to, the room was filled to the last chair, giving the impression that bigger rooms are needed.
  • People can walk in and out of talks whenever they like, causing distractions, mostly due to the noise.
  • Talks are scheduled without breaks inbetween, so in the last 5 minutes of a talk (usually the Q&A section) groups of people come barging into the room for the next talk. They can’t sit anywhere, because the room is full, but people wanting to leave the room after the talk now can’t because there are people standing everywhere.

So, in short, I was pleased with the schedule, but on the practical side, I see a lot of room for improvement. I understand that some things are hard to fix, but I would definitely recommend scheduling time between talks and getting people to guard the doors to make sure a talk is finished and people can get out before letting the next crowd in.

In general, FOSDEM is a nice conference to visit. Good talks, and many renowned people from the Open Source community are there (I even saw RMS handing out flyers outside) and they’re available for questions and discussions, which is really great. No entrance fee or registration is required, which makes it very accessible (but it won’t stop me from complaining 😉 ).

FOSDEM has a lot in common with T-DOSE, which is much smaller, but also a great conference.

 

Self-hosted live online GPS tracking with Android

Posted on: Tuesday 30 December 2014 /
Categories: GPS and mapping, Nerd Stuff

Since long I have been interested in live online location tracking using my Android phone and I have been using a collection of software components that makes this possible for a while. The other day, I was discussing the subject with a friend who is looking for a similar solution and has been using OruxMaps for offline tracking. I was unfamiliar with OruxMaps, but it has a zillion features and it looks great in general. It triggered me to do a short survey of the Android landscape, since it appears that more apps have popped up since I last looked.

The solutions I am interested in should be able to do live online tracking to a self-hosted location, meaning the Android app should offer the possibility to enter a custom hostname or URL. Hosted services, like the once popular but now deceased Google Latitude or InstaMapper are not interesting to me. My location data is mine and no one else’s, and I would like to decide how I consume the data and if/how I share my location. This post is categorized in ‘Nerd Stuff‘ for a reason 🙂

So I am looking for:

  • a Android app,
  • open source, if possible,
  • with support for a self-hosted server,
  • AND a matching a server component that can put the location data in a database,
  • OR an open protocol specification or a protocol that is easy to reverse-engineer, so I can build the server component myself.

 

TrackMe

Reviewed version: 1.11.1 (October 2014)TrackMe

TrackMe is available for Windows Phone as well as Android. I have been using it for quite a while. It is robust and offers some interesting features beyond tracking. It also offers a server component written in PHP, which uses a MySQL database for storage. TrackMe is ad-supported, but ads can be removed for €2.24. It supports offline as well as online tracking.

The strong points of TrackMe are:

  • Online tracking when possible (working internet connection), offline tracking and uploading when possible, manually or automatically. It just works.
  • Location updates are grouped in trips.
  • Extensive configuration options, allowing for trade-off decisions between accuracy and battery use.
  • It can be configured to start tracking as soon as the app starts or even when your phone boots.
  • Server component ready to go, using PHP/MySQL. It has a web front-end that plots tracks on a Google Map.
  • Remote control of the app (start/stop tracking, report current location) via SMS
  • Hackable: the online tracking protocol is simple HTTP GET requests, writing your own server is easy.

The drawbacks:

  • Not open source, ad supported, user must dismiss a pop-up offering ad-removal every time the app starts.
  • The Android app does not have a map view, it only displays an activity log.
  • PHP server code is of bad quality and mostly written in 2008. Latest modifications in 2012. Only MySQL is supported as a backend.
  • PHP web front-end uses Google Maps. I prefer OpenStreetMap.
  • I couldn’t get HTTPS to work in the app (‘SSLPeerUnverifiedException: No peer certificate’, even though the server’s SSL certificate is fine).
  • Android app is pretty ugly.
  • Development of the app is really slow.

The bottom line: TrackMe as an Android app would have everything I wanted in a tracking app, if it were a little prettier, if SSL worked and if it were completely free. A map view within the app would be nice, but I can live without it. The PHP server works and the web interface looks alright, but the code is an unmaintainable pile of crap.

Home page: http://www.luisespinosa.com/trackme_eng.html

Play store: https://play.google.com/store/apps/details?id=LEM.TrackMe

OruxMaps

Reviewed version: 6.0.4 (December 2014)Orux Maps

Like I said, I never heard of OruxMaps before yesterday, which is a real shame, because it is the most versatile mapping app I have seen so far. Version 1.0 was released in 2009, so it’s not exactly a new kid on the block either. OruxMaps is free to use and free of ads, but not open source as far as I can tell. OruxMaps is a map-viewer and track-logger with many features, its tagline is “Travel & sport companion“. Just to name a few features that I find most useful:

  • it supports both online and offline maps (in a variety of formats)
  • it can do offline tracking and export to several file formats
  • it can upload tracks to many different services like EveryTrail and ikiMap (many Spanish services, due to the app’s Spanish origin)
  • it can do live online tracking via Map My Tracks, GpsGate and OkMap
  • it supports routes and waypoints, with photos and videos
  • it supports all sorts of external devices, like GPS receivers, ANT+ devices, bluetooth heart rate monitors and so on

and the list goes on and on. This app clearly gets a lot of love from its developer(s?), and I really like that a lot of attention is given to the looks of the app. The icons, the layout of the screen, the menus, even the logo… the whole user experience is excellent, and it seems like every little detail is customizable.

So, I guess I’ll write another post about OruxMaps later, but right now, I’ll focus on the live online tracking features.

Like I said above, live online tracking is supported via 3 different methods, all of which have the option of a self-hosted server solution. The most important one, from Orux’s point of view, is Map My Tracks. This is a service, focused on tracking outdoor activities. It has an open, documented API and OruxMaps offers a setting to override the ‘live tracking’ URL. This makes it possible to implement your own server. Communication takes place over HTTP POST. Map My Tracks uses ‘activities’ to separate tracks, so I think everything we need is here, even though there seem to be some unresolved bugs.

Another interesting option is Orux Maps’ GpsGate support. GpsGate is a commercial product, but the server is free to use up to 5 users. The server runs on Windows, so it may or may not be for you (it’s not for me ;-)), but the GpsGate Server Protocol v2.0 is documented, so implementing a simple server of your own should be a viable option. However, my impression is that the GpsGate support is not widely used in the OruxMaps community, so I can’t say how well it works.

And finally, there’s the OkMap client. OkMap is a Windows desktop application and apparently (I have not tested this in any way), it can listen on a port to which live location updates can be sent. I haven’t found any reference material regarding the used protocol, but I’m pretty sure it isn’t HTTP. Reverse-engineering the protocol and implementing your own server may be a challenge, and with the options of Map My Tracks and GpsGate being there, I don’t see any reason to try.

To me, it seems that Map My Tracks is the easiest choice here, if you were to create your own protocol implementation. I did do a quick search for any Map My Tracks servers that may already be out there, but I didn’t find any.

Home page: http://www.oruxmaps.com/

Play store: https://play.google.com/store/apps/details?id=com.orux.oruxmaps 

OwnTracks

OwnTracksReviewed version: March 2014

OwnTracks (formerly MQTTitude) is a set of open source tools, among which an Android app and one for iOS. The project was started when (and because) Google Latitude was discontinued. Its main purpose is to keep track of your and your friends’ location by showing their picture or a marker on the map. As such, it does not have a notion of ‘trips’ or something like that and location updates are generally infrequent (> 1 minute intervals). Even though the wiki mentions something called ‘Move mode’, which is supposedly meant for actual movement tracking, this feature is not available in the Android app at the time of writing. OwnTracks is designed to be ‘always on’ and cannot be stopped from within the app. All in all, OwnTracks is not really suitable (or meant) as a travel companion.

Another thing that makes OwnTracks a bit of an outsider (but all the more interesting, one might argue), is the fact that it uses MQTT rather than HTTP for communication. This choice was made because MQTT is a really great fit for messages like location updates and it supposedly has great benefits for your phone’s battery life. To use OwnTracks, you need an MQTT broker like Mosquitto. You could also use a public broker, but that kind of defeats the purpose of choosing a self-hosted solution (privacy). Mosquitto is not difficult to set  up, but you would need a place to run it and a standard shared hosting account probably won’t cut it.

Mosquitto is merely a message broker and doesn’t store anything by itself. For that purpose, OwnTracks has a backend script (m2s) that subscribes to the topics that the app publishes to, and stores the updates in a database.

Home page: http://owntracks.org/

Play store: https://play.google.com/store/apps/details?id=st.alr.mqttitude

OsmAnd

Reviewed version: 1.9.4 (December 2014)OsmAnd

OsmAnd is a different beast, because tracking is not its core competence. OsmAnd is a maps and navigation app, that supports offline maps. The reason to list it here is that it can be used for live online tracking, and since you may already use it for navigation, you might as well use it for tracking.

OsmAnd supports tracking through custom web services. Once the tracking functionality is enabled through the plugin manager, a URL can be set and the location is logged on a configurable interval using a simple HTTP GET. HTTPS does not seem to work; my server did not receive any updates when using a HTTPS URL, but no errors were reported in the app. Once the tracking settings are in order, you can start tracking (both offline and online) with a single tap on the screen. OsmAnd using a custom web URL does not use the concept of trips or something like that, it just sends location updates without any context.

Some notes:

  • Tracking settings can be set in 3 different profiles, depending on the type of transport (car / bike / foot).
  • Local (offline) tracking interval can be set independently from online tracking interval, so you could for example send infrequent online updates, while still keeping a detailed local log.
  • OsmAnd also supports OsMo, a Russian service linked to the open source OsMoDroid GPS tracker for Android (Github), but I did not test that.

Home page: http://osmand.net/

Play store: https://play.google.com/store/apps/details?id=net.osmand

 

 

Other solutions

Even though there are plenty of GPS trackers on the market these days, many of which support some kind of export to online services, or even live updates, only very few have the option of a self-hosted server. I guess one of the reasons is, that most apps that support live updates are designed for a specific service (examples: Glympse, InstaMapper, LocaToWeb, guibber), where monetizing the users is the main goal. Having an open API or supporting self-hosted solutions is not in their interest. As a matter of fact, I haven’t been able to find any other solution in addition to the ones discussed above.

UPDATE 10 february 2015:

The other day, I found Gps Tracker for WordPress, which combines a WordPress plugin and an Android app to do more or less what I am trying to achieve here, except it focusses on tracking of multiple people/devices in a single map view. The Android app seems to send at most one location update per minute, and as such it’s not very suitable for sports and activity tracking. The map view in the WordPress plugin also doesn’t really draw a track (line), but merely a collection of waypoints that form the location history of the person/device you’re tracking. This app is best compared to Owntracks (reviewed above), because its goals seem similar.

(end update)

There is just one more possibility I can think of, but it’s not very practical and it requires a rooted phone. Just follow this five-step program:

  1. take one of the apps that uses a hosted service for live tracking
  2. find out the hostname / URL to which live updates are posted
  3. divert the hostname of the service to your own server via /etc/hosts (requires root on Android)
  4. reverse-engineer the protocol
  5. enjoy!

If you have other ideas, or apps to add to this page, please please please let me know!

Tags: android, GPS, maps, oruxmaps, osmand, owntracks, software, tracking, trackme

Kerstpakket

Posted on: Monday 29 December 2014 /
Categories: Personal

Van mijn werkgever kreeg ik vorige week een kerstpakket. Nou vind ik dat hartstikke leuk; mijn werkgever wil wat extra’s doen met de kerstdagen, dat kost moeite en geld, en dat wordt gewaardeerd. Toch wil ik er wat over kwijt, want dit kerstpakket is toch wel een beetje bijzonder.

Het pakket is samengesteld door -en uit het assortiment van- een groothandel in goedkope artikelen van uiteenlopende aard. De producten van dit bedrijf vind je terug bij winkels als de Action. “Kwantiteit boven kwaliteit” moet het motto zijn geweest. Voor het bedrag wat hieraan is uitgegeven (winkelwaarde ca. 35 euro), had men ook twee of drie flessen goede wijn kunnen kopen, of een compromisloze fles Champagne. Of… nou ja, verzin zelf maar iets. Maar de keuze viel anders! Kijkt u even mee?

Het pakket was verpakt in deze prachtige sporttas (straatwaarde zonder inhoud: ca. 8 euro):

img_7534 img_7535

 

De inhoud:

img_7535

 

  • Twee kerst-ornamenten met LEDjes op batterijen. In het ene ding moeten 3 x AA, in het andere 2 x AAA. Winkelprijs: samen ca. € 5,50.
  • 4 AA batterijen. Even tellen hoor… (prijs: 1 €).
  • Een pak “First Cape Café Collection Rosé drink”, een soort verdunde rosé met 4% alcohol. Straatwaarde (niet lachen): € 2,95. Voor 2,25 liter.
  • 4 wijnglazen. Prijs: 3 €.
  • Een doos pralines. Inhoud: 400 gram. Winkelprijs desondanks ca. € 2,50.
  • Een bak zoutjes. € 1,50.
  • Een doos pastijtjes en een blik ragout. Winkelprijs samen ca. € 1,70.
  • En als klap op vuurpijl: een 6-delige messenset, in de winkel te koop voor € 9,95.

 

Vooral die laatste is echt een juweeltje:

img_7557

 

En dan dit! Wie drinkt dit?

img_7550

 

Hier nog wat plaatjes:

img_7534.jpg

2014-12-20 14:15:54
© 2014 Martijn Grendelman
img_7535.jpg

2014-12-20 14:16:22
© 2014 Martijn Grendelman
img_7536.jpg

2014-12-20 14:18:20
© 2014 Martijn Grendelman
img_7540.jpg

2014-12-20 14:22:08
© 2014 Martijn Grendelman
img_7541.jpg

2014-12-20 14:22:18
© 2014 Martijn Grendelman
img_7547.jpg

2014-12-20 14:26:15
© 2014 Martijn Grendelman
img_7550.jpg

2014-12-20 14:27:03
© 2014 Martijn Grendelman
img_7551.jpg

2014-12-20 14:27:28
© 2014 Martijn Grendelman
img_7553.jpg

2014-12-20 14:28:07
© 2014 Martijn Grendelman
img_7557.jpg

2014-12-20 14:29:07
© 2014 Martijn Grendelman
img_7558.jpg

2014-12-20 14:29:17
© 2014 Martijn Grendelman
img_7559.jpg

2014-12-20 14:29:44
© 2014 Martijn Grendelman
img_7561.jpg

2014-12-20 14:30:42
© 2014 Martijn Grendelman
img_7564.jpg

2014-12-20 14:33:45
© 2014 Martijn Grendelman

Alles bij elkaar een redelijk bonte verzameling spullen, waar ik in alle eerlijkheid helemaal niets aan heb. Dat kun je scharen onder de traditie van het kerstpakket, maar ik vind het zonde. Dus noem mij ondankbaar (ben ik niet) of een ouwe zeurpiet (ben ik zeker), maar volgend jaar heb ik liever gewoon een flesje wijn.

Sloop Rabobanktoren Eindhoven

Posted on: Sunday 13 July 2014 /
Categories: Photography

Sinds oktober 2013 werd er gewerkt aan de sloop van de toren van het Rabobankgebouw aan de Fellenoord in Eindhoven. In april 2014 was er nog een klein beetje over van de toren en op 20 april maakte ik deze kleine fotoserie.

20 april 2014

IMG_6181.JPG

2014-04-20 11:23:01
© 2014 Martijn Grendelman
IMG_6182.JPG

2014-04-20 11:27:10
© 2014 Martijn Grendelman
IMG_6183.JPG

2014-04-20 11:27:57
© 2014 Martijn Grendelman
IMG_6184.JPG

2014-04-20 11:28:03
© 2014 Martijn Grendelman
IMG_6185.JPG

2014-04-20 11:28:31
© 2014 Martijn Grendelman
IMG_6186.JPG

2014-04-20 11:28:45
© 2014 Martijn Grendelman
IMG_6187.JPG

2014-04-20 11:28:53
© 2014 Martijn Grendelman
IMG_6188.JPG

2014-04-20 11:29:06
© 2014 Martijn Grendelman
IMG_6189.JPG

2014-04-20 11:29:11
© 2014 Martijn Grendelman
IMG_6191.JPG

2014-04-20 11:29:52
© 2014 Martijn Grendelman
IMG_6192.JPG

2014-04-20 11:30:24
© 2014 Martijn Grendelman
IMG_6194.JPG

2014-04-20 11:31:20
© 2014 Martijn Grendelman

John Bramwell at Naked Song 2014

Posted on: Tuesday 1 July 2014 /
Categories: Audio/video, Music

On June 28th, John Bramwell of I Am Kloot performed at the Naked Song festival in Eindhoven. Here are two of the songs he played (recorded with my phone, but not too bad):

« 1 … 3 4 5 6 7 … 27 »

Today's motto

It’s nice to be important, but it’s more important to be nice.

Categories

Recent Posts

  • Trackserver v4.0 released
  • Panoramas Chamrousse
  • Dierenrijk
  • Schwarzwald panoramas
  • Trackserver v3.0 released

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Tags

aeroquad android arduino backports cat debian Digikam dirty denims garmin geotagging Google GPS gpsbabel gpx java KDE kernel linux lowlands map maps multicopter Natty octocopter oruxmaps osmand pannellum phishing photography pi policykit quadcopter raspberry raspberry pi rpm rpmrebuild software spam taggert tracking trackme Ubuntu viking vlc Zümo

Copyright GRENDELMAN.NET 2022 | Theme by Theme in Progress | Proudly powered by WordPress