Done. Should show up in
teslams soon (waiting for Hans to pull my changes).
Right now this is still a tiny bit tricky. You need
- a system to run streaming and visualize on (ideally a server that's always on and easy to reach from the internet)
- either set up a proxy that makes the node.js server available on it's own domain, or open up the port that you are running it on (by default 8766)
- point the in car browser to "http://your.domain/trip
Then select the type of trip, enter the trip name, hit Start when you start (the text on the button turns into 'Stop trip') hit Stop when you are done and it will write a record into the database running on the server.
Right now the page is quite ugly and there is no UI to get the data out of the database, but I first wanted to hear some feedback if this is what people need or if you had something else in mind.
The database entry contains trip type, name, start time, end time and total distance. Is that all you need? You'll get something like this (timestamps are msec since Jan 1st, 1970 - easy to convert into any date format you want):
Code:
> db.trip_data.find()
{ "name" : "Personal Test", "type" : "personal", "dist" : "0.0", "from" : "[URL="tel:1378181104300"]1378181104300[/URL]", "to" : "[URL="tel:1378181114327"]1378181114327[/URL]" }
Anyway - as promised, delivered by Monday
View attachment 29775