PedroDaGr8

Well-Known Member
Joined
Jul 10, 2023
Threads
5
Messages
168
Reaction score
194
Location
WA, USA
Vehicles
2021 Mach E Premium (First Edition)
Country flag
Does the full size widget show your car's image? If not, it can't tell what color to use.
Sorry I wasn't more clear. I use the full-size widget and it shows my car as white (unless I set the vehicle color). Previous version did show the color properly when retrieving the VIN. I will try to setup logging this evening when I get home from work and see what that shows.
Sponsored

 

kodiakng

Well-Known Member
First Name
David
Joined
Oct 1, 2022
Threads
19
Messages
903
Reaction score
1,407
Location
Oregon
Vehicles
2023 Cyber Orange 4X Mach-E
Country flag
Thanks, no need to open an issue. I know exactly what I forgot to do ?‍♂ and fixed it.

2024.01.25 or 2024.01.26 coming out shortly.
downloaded 2024.1.26 and upgraded from the prior - it crashed when i opened the main app and noted at the top of a logcat file:

Code:
01-25 16:17:06.184 11617 11717 E AndroidRuntime: FATAL EXCEPTION: Thread-4
01-25 16:17:06.184 11617 11717 E AndroidRuntime: Process: com.example.khughes.machewidget, PID: 11617
01-25 16:17:06.184 11617 11717 E AndroidRuntime: java.lang.IllegalStateException: Migration didn't properly handle: vehicle_info(com.example.khughes.machewidget.VehicleInfo).
i then uninstalled the prior version, installed the 2024.1.26 version, went through the login (appears to have worked) and then tried to add my mach-e and received the "Unable to retrieve vehicle status" toast with the following at the top of the log file:

Code:
01/25 16:20:02 D 934TXS: userId = f8a6dfa2-5a42-3ffa-b2db-28b5152829b9
01/25 16:20:02 D 934TXS: getting status for 0 vehicles
01/25 16:20:02 I 934TXS: getting status for VIN 3FMTK3SU8PMA28074
01/25 16:20:02 D OkHttp3: --> POST https://api.mps.ford.com/api/token/v2/cat-with-refresh-token
01/25 16:20:02 D OkHttp3: Content-Type: application/json
01/25 16:20:02 D OkHttp3: Content-Length: 849
01/25 16:20:02 D OkHttp3: Accept: */*
01/25 16:20:02 D OkHttp3: Accept-Language: en-us
01/25 16:20:02 D OkHttp3: User-Agent: FordPass/26 CFNetwork/1485 Darwin/23.1.0
01/25 16:20:02 D OkHttp3: Accept-Encoding: gzip, deflate, br
01/25 16:20:02 D OkHttp3: Application-Id: 71A3AD0A-CF46-4CCF-B473-FC7FE5BC4592
01/25 16:20:02 D OkHttp3:
it generated a ton of json data in the log file that looks a lot like vehicle data that doesn't appear to have any errors until this at the very bottom:

Code:
{"updateTime":"2024-01-25T05:25:09Z","oemCorrelationId":"1979","value":273.0,"vehicleWheel":"FRONT_LEFT","wheelPlacardFront":268.89564}],"odometer":{"updateTime":"2024-01-25T05:25:09Z","oemCorrelationId":"1979","value":16828.0}},"oemData":{"vehicle_common_correlation_id":{"stringValue":"776043"}}},"message":"VehicleStatusUpdateCommandResponse with status SUCCESS","tags":{"tmcArrivalTimestamp":"2024-01-25T05:25:10.123Z"}}}}
01/25 16:21:55 D OkHttp3: <-- END HTTP (164160-byte body)
01/25 16:21:55 I 934TXS: status successful.
01/25 16:21:55 E 934TXS:     exception in NetworkCalls.getStatus:
    java.text.ParseException: Unparseable date: "2024-01-25T19:36:19.721Z"
at android.icu.text.DateFormat.parse(DateFormat.java:695)
at com.example.khughes.machewidget.NetworkCalls$Companion.getStatus(NetworkCalls.kt:882)
at com.example.khughes.machewidget.NetworkCalls$Companion.getStatus$lambda$3(NetworkCalls.kt:824)
at com.example.khughes.machewidget.NetworkCalls$Companion.$r8$lambda$XiJ676o5is1keVimuwJPt72kP-s(Unknown Source:0)
at com.example.khughes.machewidget.NetworkCalls$Companion$$ExternalSyntheticLambda0.run(Unknown Source:10)
at java.lang.Thread.run(Thread.java:1012)
this is getting into the weeds for the forum so happy to add to github if you'd like.
 

kodiakng

Well-Known Member
First Name
David
Joined
Oct 1, 2022
Threads
19
Messages
903
Reaction score
1,407
Location
Oregon
Vehicles
2023 Cyber Orange 4X Mach-E
Country flag
Version 2024.01.26:18:08 (geez) is on GitHub. Note you might have to sideload this and/or wipe your data to make things happy.
nice! i see you have the LVB SoC value - thanks! i might suggest just using that number (or a toggle) since the V value is less useful (IMO of course).

nice work!
 


OP
OP
kennelh

kennelh

Well-Known Member
First Name
Louise and Ken
Joined
Nov 28, 2019
Threads
13
Messages
1,182
Reaction score
1,374
Location
Northern California
Vehicles
J1 '21 Premium Ex RWD (Rapid Red)
Country flag
nice! i see you have the LVB SoC value - thanks! i might suggest just using that number (or a toggle) since the V value is less useful (IMO of course)
Next version will display SoC as a color coded progress bar behind voltage.
 

SoriceConsulting

Well-Known Member
First Name
Sal
Joined
Oct 10, 2020
Threads
29
Messages
469
Reaction score
469
Location
NJ, USA
Website
sorice.com
Vehicles
2023 GTPE, Rapid Red
Occupation
IT Consultant
Country flag
Don't see it on Play Store. Still see "Ford Status Widget" in Play Store. On Github I see "MachEWidget"
Where is it on Play Store?
 

johnmark

Well-Known Member
First Name
JM
Joined
Jun 22, 2022
Threads
14
Messages
364
Reaction score
373
Location
Massachusetts
Vehicles
'22 Mustang Mach-E GT
Country flag
Uploaded version 2024.01.27-13:30 to GitHub and Play Store. Along with some bug fixes, this also allows you to select how to display LVB info. Go to "Settings" and look under "12V Battery Info Displayed".
I'm just updating directly from GitHub.

Works great! Thanks!
 

kodiakng

Well-Known Member
First Name
David
Joined
Oct 1, 2022
Threads
19
Messages
903
Reaction score
1,407
Location
Oregon
Vehicles
2023 Cyber Orange 4X Mach-E
Country flag
Uploaded version 2024.01.27-13:30 to GitHub and Play Store. Along with some bug fixes, this also allows you to select how to display LVB info. Go to "Settings" and look under "12V Battery Info Displayed".
nicely done. the LVB progress bar is a nice addition but i'll probably stick to having the number displayed. i switched back over to the play store version and restoring from saved settings worked slick.
 
OP
OP
kennelh

kennelh

Well-Known Member
First Name
Louise and Ken
Joined
Nov 28, 2019
Threads
13
Messages
1,182
Reaction score
1,374
Location
Northern California
Vehicles
J1 '21 Premium Ex RWD (Rapid Red)
Country flag
 







Top