Sponsored

Android widget

Kanuck

Well-known member
First Name
Don
Joined
Aug 9, 2021
Threads
33
Messages
2,727
Reaction score
2,875
Location
Winnipeg, Manitoba
Vehicles
2021 XLT Scab 3.5 EB 6.5 Carbonized Grey Metallic
Occupation
Retired Electrician
I've been told I'm an overachiever, but now my truck has to be one too. ?

What is the bar across the bottom supposed to be showing?

Edited to add: the DTE in the widget and in Ford pass are a match!

Screenshot_20220310-222726_One UI Home.jpg
That bar show how full your tank is in percent.
Sponsored

 

daemonic3

Well-known member
First Name
Terry
Joined
Sep 22, 2020
Threads
22
Messages
1,808
Reaction score
1,750
Location
Sacramento, CA
Vehicles
2017 F150 3.5EB
Occupation
Engineer
The bar and percentage are of the fuel level, but is yours a hybrid?
Yep! And since you originally made it for the mach E the original widget listed charge, so I was wondering if the API call was returning the hybrid battery charge too. I'm guessing it is fuel if the question was a surprise...
 
OP
OP
kennelh

kennelh

Well-known member
First Name
Louise and Ken
Joined
Feb 21, 2022
Threads
1
Messages
177
Reaction score
280
Location
Northern California
Vehicles
2021 Mustang Mach-E, Premium RWD
Occupation
Retired
Yep! And since you originally made it for the mach E the original widget listed charge, so I was wondering if the API call was returning the hybrid battery charge too. I'm guessing it is fuel if the question was a surprise...
I hadn't seen any JSON status info for a hybrid yet so didn't try to do anything. If you'll grab some logs for me and post in a DM here I can see what they show and figure out how to tailor it better.
 

Kanuck

Well-known member
First Name
Don
Joined
Aug 9, 2021
Threads
33
Messages
2,727
Reaction score
2,875
Location
Winnipeg, Manitoba
Vehicles
2021 XLT Scab 3.5 EB 6.5 Carbonized Grey Metallic
Occupation
Retired Electrician
The bar and percentage are of the fuel level, but is yours a hybrid?
This was sent to me from @camattin and I Think it was to go to you.


I filled up about 50 miles,so the tank definitely should not report more than 100% full. Attaching the log file so you can have a look. (I'm out of town so can't easily pipe the json through jq for parsing ?).
 

Attachments

OP
OP
kennelh

kennelh

Well-known member
First Name
Louise and Ken
Joined
Feb 21, 2022
Threads
1
Messages
177
Reaction score
280
Location
Northern California
Vehicles
2021 Mustang Mach-E, Premium RWD
Occupation
Retired
After seeing a few "fuel" values above 100, I'm wondering if the value is actually liters? 27 gallons is roughly 102.2 liters. If you've got a 36 gallon fuel tank, what is the widget showing you when it's full?
 

Sponsored

camattin

Active member
First Name
Chris
Joined
Feb 20, 2021
Threads
0
Messages
39
Reaction score
33
Location
High Point, NC
Vehicles
2021 F-150 Platinum Powerboost 4x4
After seeing a few "fuel" values above 100, I'm wondering if the value is actually liters? 27 gallons is roughly 102.2 liters. If you've got a 36 gallon fuel tank, what is the widget showing you when it's full?
Ah, could be. Mine is a powerboost, so that's 30.6 gallons when full.

I'll check it again after another fill-up so that we're not guessing too much here. :)
 

Bob_Mac

Well-known member
First Name
Bob
Joined
Feb 6, 2022
Threads
2
Messages
432
Reaction score
297
Location
North Carolina
Vehicles
2021 Ford F-150 Platinum
Occupation
Cyber Security | Developer
After seeing a few "fuel" values above 100, I'm wondering if the value is actually liters? 27 gallons is roughly 102.2 liters. If you've got a 36 gallon fuel tank, what is the widget showing you when it's full?
I have the 36gal and you saw it yesterday, 103.2%. I did just fill up prior to getting you the log info.
 

FrankThompson

Well-known member
First Name
Frank
Joined
Mar 2, 2022
Threads
39
Messages
1,216
Reaction score
1,249
Location
Sebring, FL
Vehicles
'07 Pontiac Solstice GXP, '22 F150 Lariat PB
Occupation
Solutions Architect
Is there anything in the JSON that reports tank size?

My powerboost will only have a 30 gallon tank and the standard is 26. Got to be a way to say what size tank (If it's not in the JSON maybe just add a configuration you can manually set the tank size on?)
 

Kanuck

Well-known member
First Name
Don
Joined
Aug 9, 2021
Threads
33
Messages
2,727
Reaction score
2,875
Location
Winnipeg, Manitoba
Vehicles
2021 XLT Scab 3.5 EB 6.5 Carbonized Grey Metallic
Occupation
Retired Electrician
After seeing a few "fuel" values above 100, I'm wondering if the value is actually liters? 27 gallons is roughly 102.2 liters. If you've got a 36 gallon fuel tank, what is the widget showing you when it's full?
I have a 136 L tank and when full the widget shows 102.3%. My fuel gauge shows 3/4 of a tank and the widget is showing 73.8%...about right.

I think the input to the module from the fuel level sensor would be 0 to 10 volts being converted analog to digital value. Anything over 10 volts would push the conversion higher than 100%. Depending on the tank size there would have to be a scaling factor some where in the firmware that would correct the output to the correct value on the fuel gauge.
 
Last edited:

Sponsored


Static

Well-known member
First Name
Dan
Joined
Dec 20, 2021
Threads
3
Messages
190
Reaction score
134
Location
Kentucky
Vehicles
F150 - 2021 XL 4x4 Supercab
To be fair, even the needle on the truck goes past full.
 

SouthernGuy

Active member
First Name
Sam
Joined
Dec 17, 2021
Threads
2
Messages
41
Reaction score
51
Location
Alabama
Vehicles
'21 Lariat Powerboost, 7.2K PPoB
Occupation
Retired
The location displayed on the widget is different from the location in FordPass and the truck itself. Any idea why?
 

Kanuck

Well-known member
First Name
Don
Joined
Aug 9, 2021
Threads
33
Messages
2,727
Reaction score
2,875
Location
Winnipeg, Manitoba
Vehicles
2021 XLT Scab 3.5 EB 6.5 Carbonized Grey Metallic
Occupation
Retired Electrician
The location displayed on the widget is different from the location in FordPass and the truck itself. Any idea why?
I find the Ford Pass is not accurate where the widget is right on.
 

Static

Well-known member
First Name
Dan
Joined
Dec 20, 2021
Threads
3
Messages
190
Reaction score
134
Location
Kentucky
Vehicles
F150 - 2021 XL 4x4 Supercab
This latest version of the app does not seem to be updating on it's own. I have it unrestricted in battery settings and set to refresh every 10 minutes, but it has missed several of my driving sessions since I downloaded this version. Currently it shows the last update as just after midnight when triple clicking for refresh info.
 

Bob_Mac

Well-known member
First Name
Bob
Joined
Feb 6, 2022
Threads
2
Messages
432
Reaction score
297
Location
North Carolina
Vehicles
2021 Ford F-150 Platinum
Occupation
Cyber Security | Developer
This latest version of the app does not seem to be updating on it's own. I have it unrestricted in battery settings and set to refresh every 10 minutes, but it has missed several of my driving sessions since I downloaded this version. Currently it shows the last update as just after midnight when triple clicking for refresh info.
@kennelh is aware, during my testing with him the other day I brought it to his attention.
Sponsored

 
 







Top