OP
UTC

Lurker
2023 Vespa GTS Super Tech 300 HPE
Joined: UTC
Posts: 2
Location: Singapore
 
Lurker
2023 Vespa GTS Super Tech 300 HPE
Joined: UTC
Posts: 2
Location: Singapore
UTC quote
Hi everyone, I just bought a GTS Supertech last week and I absolutely love it so far! I also love working with data and I'm looking for a way to use my the statistics in the Vespa app to build charts and dashboards.

I tried to export the data by clicking Settings -> Vehicle Backup -> Export my data which gives me a .json file, but the file that was exported doesn't seem to be in .json format and can't be read.

Wondering if anyone figured out this issue?
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
Yes, i figured it out.

I wrote an import button in my android app to decrypt and import that json.

My app can export as an sqlite .db

https://play.google.com/store/apps/details?id=com.steelbytes.vespasnoop
OP
UTC

Lurker
2023 Vespa GTS Super Tech 300 HPE
Joined: UTC
Posts: 2
Location: Singapore
 
Lurker
2023 Vespa GTS Super Tech 300 HPE
Joined: UTC
Posts: 2
Location: Singapore
UTC quote
Legend! I don't have any android-based phones though.. Do you have an iOS version in the works? Or is that impossible to make
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
jagungleher wrote:
Legend! I don't have any android-based phones though.. Do you have an iOS version in the works? Or is that impossible to make
I don't have any iOS coding skills.

You could use an Android emulator to run my app
⬆️    About 1 year elapsed    ⬇️
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
UTC quote
SteelBytes wrote:
...to decrypt and import that json.
Do you (or anyone else) have a hint as to what format that "json" is in (or what decrypts it)?

Whatever it is, it's gnarly: ASCII text, with very long lines, with no line terminators. BMW Moto app lets you one tap to export a GPX file from a single trip...wouldn't that be nice.
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
ayman wrote:
Do you (or anyone else) have a hint as to what format that "json" is in (or what decrypts it)?

Whatever it is, it's gnarly: ASCII text, with very long lines, with no line terminators. BMW Moto app lets you one tap to export a GPX file from a single trip...wouldn't that be nice.
iirc it's the following:

sqliteDB & csv files -> json -> blowfish* -> base64 -> json -> base64 -> file

yeah, probably not handy info to you.

I suggest importing into my app and then exporting from my app.

* unusual choice of encryption alg
⚠️ Last edited by SteelBytes on UTC; edited 1 time
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
UTC quote
SteelBytes wrote:
sqliteDB -> json -> blowfish* -> base64 -> json -> base64 -> file
Actually thats quite handy for a starting point! Many thanks. Also I'm on iOS so unfortunately can't use your app.
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
ayman wrote:
I'm on iOS so unfortunately can't use your app.
FYI burners are cheap - it'll run on the most ancient low end Android that you can find
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
UTC quote
Thank's to the hints here, I just posted my solution: Exporting GPX from the Vespa iOS App. Basically I made my own free iOS app to do the export. More info (and app link) here too: https://shamur.ai/bin/vespaGPX/
⬆️    About 7 months elapsed    ⬇️
@jicao avatar
UTC

Member
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
 
Member
@jicao avatar
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
UTC quote
SteelBytes wrote:
iirc it's the following:

sqliteDB -> json -> blowfish* -> base64 -> json -> base64 -> file

yeah, probably not handy info to you.

I suggest importing into my app and then exporting from my app.

* unusual choice of encryption alg
I'm resurrecting this post because I changed phones and I'm unsuccessfully trying to transfer my Vespa data from the app on my old phone to the new one.
I do have the JSON file, but it throws an error when I try to import it.
I also tried importing it into Snoop. That works but I'd still like to get my data into the Vespa app.
I attempted to download the data from Snoop (in .db format), but the Vespa app doesn't support importing that format...
Any ideas for me?
Thanks!
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
jicao wrote:
I'm resurrecting this post because I changed phones and I'm unsuccessfully trying to transfer my Vespa data from the app on my old phone to the new one.
I do have the JSON file, but it throws an error when I try to import it.
what is the error msg exactly?
did you switch between iOS and Android?
are you signed in with the same account?
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
UTC quote
Where's the import option in the Vespa native app? Maybe iOS doesn't have it bc I don't see it.
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
ayman wrote:
Where's the import option in the Vespa native app? Maybe iOS doesn't have it bc I don't see it.
iirc it's only shown once directly after signing in. or something like that.
@jicao avatar
UTC

Member
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
 
Member
@jicao avatar
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
UTC quote
SteelBytes wrote:
what is the error msg exactly?
did you switch between iOS and Android?
are you signed in with the same account?
Google Pixel 7 to 9 (Android)
Same account
The error message is in French but ils "not valid file try with another one" (see attached)
Forum member supplied image with no explanatory text
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
jicao wrote:
Google Pixel 7 to 9 (Android)
Same account
The error message is in French but ils "not valid file try with another one" (see attached)
are you 100% sure it's the same account? The Vespa MIA app checks this. if you still have your old phone you can check the email address in the menu -> profile screen in the Vespa app.

how big is the file?

was it the same version of the Vespa MIA app that you used to create the backup json?
@jicao avatar
UTC

Member
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
 
Member
@jicao avatar
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
UTC quote
Hello
Same version 2.10.3
Same account (The only différence is thé driving licence not showing on thé New phone)
The json file is about 6.3Mo

Regards
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
ayman fyi,

I asked jicao to send me his file so I could investigate. Piaggio had put a null object into the array of trips (last one in the array). I removed that and then it imported ok. So I repacked the file and sent it back.

I'll probably add a button in to my app that can do this repair as more users will have this problem until piaggio notices their mistake.


note: appears to have been introduced in 2.10, but too lazy to check deeper.
⚠️ Last edited by SteelBytes on UTC; edited 4 times
@jicao avatar
UTC

Member
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
 
Member
@jicao avatar
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
UTC quote
Thank you so much!
It's working! <3

Thanks thanks thanks
@ayman avatar
UTC

Member
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
 
Member
@ayman avatar
2024 GTS 300 Super Sport HPE2
Joined: UTC
Posts: 15
Location: California
UTC quote
SteelBytes wrote:
Piaggio had put a null object into the array of trips (last one in the array). I removed that and then it imported ok.
So their export has the null object in it and their import parser doesn't like it? Facepalm emoticon

I'll experiment with doing an import on iOS and see if we have a similar problem.
@jicao avatar
UTC

Member
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
 
Member
@jicao avatar
Vespa Primavera Elettrica 70 Tech
Joined: UTC
Posts: 17
Location: Belgium
UTC quote
ayman wrote:
So their export has the null object in it and their import parser doesn't like it? Facepalm emoticon

I'll experiment with doing an import on iOS and see if we have a similar problem.
It's a bit tricky for common humans... I hope they'll fix it asap.
I sent an email to report it...
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
I was able to reproduce the problem when simulating a Primavera Tech Elettrica and creating recharge events. I could not repro it simulating Supertech 300.

Button to repair is in the latest ver of my app https://steelbytes.com/vespasnoop/


Not asserting that it was the recharge events that cause it. You may ask how they could be relevant to a null in trips? It's because the array of "activities" in the json has both trip meta data and also recharges etc in it. The "trips" array is only the main telemetry+gps for the trips.
⬆️    About 3 months elapsed    ⬇️
UTC

Lurker
piaggo mp3 310
Joined: UTC
Posts: 1
Location: amsterdam
 
Lurker
piaggo mp3 310
Joined: UTC
Posts: 1
Location: amsterdam
UTC quote
hi there, just bought a piaggo mp3 310 with mia. I really want to export the rides.

i have an exported json file which i want to import, i get a "Failed failed decode 3" error. Is there something im doing wrong? (i paid for the app, so have full version)
@steelbytes avatar
UTC

Veni, Vidi, Posti
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
 
Veni, Vidi, Posti
@steelbytes avatar
2019 GTS 300 HPE w Malossi
Joined: UTC
Posts: 9072
Location: Batmania aka Melbourne, Aus
UTC quote
timmeah wrote:
hi there, just bought a piaggo mp3 310 with mia. I really want to export the rides.

i have an exported json file which i want to import, i get a "Failed failed decode 3" error. Is there something im doing wrong? (i paid for the app, so have full version)
please use the support link in the app (top right of main screen) for assistance with your problem in vespasnoop.

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.

Modern Vespa is made possible by our generous supporters.

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-2026 by Modern Vespa.
All Rights Reserved.


[ Time: 0.0120s ][ Queries: 4 (0.0048s) ][ live ][ 343 ][ ThingOne ]