OP
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 11
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 11
Location: California
UTC quote
Vespa makes an app for its newer MIA enabled scooters. It's pretty cool...tracks GPS and vehicle telemetry data and gives you a fun but kinda useless dashboard to show you RPM and other stats. I actually like the tracking and bluetooth functionality of my GTS 300 SS.

But, you can't export your rides into something like https://relive.cc/...which is totally what I want to do. There was a whole thread about it on this forum even about [Exporting Data from Vespa App] where SteelBytes talked about creating an Android app to fill the gap.

In that same spirit (and thanks to SteelBytes for the hint), I just created VespaGPX for iOS!

https://shamur.ai/bin/vespaGPX/

It's pretty simple but has a few steps. You first track your rides in the official Vespa app. Export them as JSON (which is not really human readable). Load that JSON into VespaGPX. Then you can pick what ride or rides you wanna export as GPX (or get a CSV of the vehicle telemetry data). Throw that GPX into your favorite mapping software and voilĂ !

The app is free on the Apple iOS app store. No in-app purchases. Totally private (no data is sent off the phone). Totally open source (code is on Github).

It's also brand new and pretty no frills...I'll be making some improvements but know it's not meant to replace the official Vespa app. It's only designed to get your data out.
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS300 HPE SuperTech 65,000km
Joined: UTC
Posts: 6606
Location: Batmania aka Melbourne, Australia
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS300 HPE SuperTech 65,000km
Joined: UTC
Posts: 6606
Location: Batmania aka Melbourne, Australia
UTC quote
Now you'll have to make a full app like me

Ever written BLE code? (or Bluetooth non-BLE for older models). And do you have too much time on your hands?
OP
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 11
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 11
Location: California
UTC quote
SteelBytes wrote:
Now you'll have to make a full app like me

Ever written BLE code? (or Bluetooth non-BLE for older models). And do you have too much time on your hands?
I have written some very low level BLE code (see: https://medium.com/@ayman/fabrics-in-spaces-ec28b062bef5)...is that how the Vespa casts data to the phone?

Your app is way more fully functional than mine which just converts Vespa output to something readable and usable. Mostly I wanted to stitch trips together because when I'm on a long ride and I stop for coffee, I still want just one GPX file. I'm not looking to add all the cool stuff your app does or fall into a time sink as you forewarn! ROFL emoticon
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS300 HPE SuperTech 65,000km
Joined: UTC
Posts: 6606
Location: Batmania aka Melbourne, Australia
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS300 HPE SuperTech 65,000km
Joined: UTC
Posts: 6606
Location: Batmania aka Melbourne, Australia
UTC quote
ayman wrote:
I have written some very low level BLE code (see: https://medium.com/@ayman/fabrics-in-spaces-ec28b062bef5)...is that how the Vespa casts data to the phone?
Nope. BLE advertisements are pretty limited, not good for much except broadcasting a couple of sensors (typically unsecured).

The PMP3 system in current Vespa uses BLE Characteristics to send and recv akin to UDP. The app requests a list of data ids for the bike to send then assembles multiple response fragments into a full frame of data. There's also plenty of handshake stuff including exchange of a random unique key for each pairing as a form of security.

The PMP2 in previous Vespas used Bluetooth non-BLE akin to TCP. A lot less painful. And also faster, ie more samples per second are possible.

When Piaggio contracted Hella (different company to PMP2) to make the PMP3 system I feel their choice of BLE was a mix of not understanding the pros and cons of BLE and managers thinking the LE part of the name was important even though there is a good power source - not a little button cell battery.

Bonus comment: with GoPro ble is used for commands but not for file transfer or streaming of video. Instead it switches to wifi because Bluetooth (both flavours) is slow.
OP
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 11
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 11
Location: California
UTC quote
SteelBytes wrote:
The PMP3 system in current Vespa uses BLE Characteristics to send and recv akin to UDP. The app requests a list of data ids for the bike to send then assembles multiple response fragments into a full frame of data. There's also plenty of handshake stuff including exchange of a random unique key for each pairing as a form of security.
Ya wowza! What The? emoticon I see you've been deep in the stack for a while. And ya, if you've got a 12v power source and a phone (likely on a charger) power saving stacks just becomes arduous.

For VespaGPX, I think I'm happy leaving it with the feature that should have been in the app already.
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS300 HPE SuperTech 65,000km
Joined: UTC
Posts: 6606
Location: Batmania aka Melbourne, Australia
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS300 HPE SuperTech 65,000km
Joined: UTC
Posts: 6606
Location: Batmania aka Melbourne, Australia
UTC quote
Don't worry, my latest hobby is reverse engineering the ecu
@plug avatar
UTC

Banned
Sportcity Cu3e 250
Joined: UTC
Posts: 29
Location: Clown World
 
Banned
@plug avatar
Sportcity Cu3e 250
Joined: UTC
Posts: 29
Location: Clown World
UTC quote
SteelBytes wrote:
Don't worry, my latest hobby is reverse engineering the ecu
If that is the case, can you help explain why my Sportcity starts, accelerates and runs perfectly when on the center stand(1/2 hour+)- but as soon as I take it off the stand it sputters and dies within minutes?
DoubleGood Design banner

Modern Vespa is the premier site for modern Vespa and Piaggio scooters. Vespa GTS300, GTS250, GTV, GT200, LX150, LXS, ET4, ET2, MP3, Fuoco, Elettrica and more.

Buy Me A Coffee
 

Shop on Amazon with Modern Vespa

Modern Vespa is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com


All Content Copyright 2005-2025 by Modern Vespa.
All Rights Reserved.


[ Time: 0.0114s ][ Queries: 4 (0.0018s) ][ live ][ 318 ][ ThingOne ]