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
Uploaded version 2024.03.32-16 (*oops) to GitHub and Play Store. A minor fix in "Settings" if you're usinga non-English language. Language translators: please DM me if the translations for the options under "Time between widget updates" and"12V Battery Info DIsplayed"need to be corrected.
 

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
a quick question: how often is the widget display updated (separate from querying servers)? my middle sized widget sometimes will go a long time (hours) without updating the "Last refresh:" displayed value (i use relative time option if it matters). if i click the gear and then go back to the home screen the widget display is updated.

minor typo: at some point, the "Last refresh:" hours value has an extra "s" (i.e. 8hrss). guessing it crept in with the useful language translation work. i have the 2024.03.30-17 version right now.

2 future feature requests:
  1. i like the single tap on the plug icon to display battery kWh value. i also like the DCFC update feature. could you possibly add a double tap on the plug icon to initiate a "server refresh" to start the DCFC update from the widget itself?
  2. add a time/date stamp to the DCFC logs and viewer? not a big deal but sometimes i miss triggering a refresh to start the widget recording and then it's harder to correlate charging sessions afterward.
as always appreciate this very much - super useful, especially on my recent 2400+ mile roadtrip.
 
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
a quick question: how often is the widget display updated (separate from querying servers)? my middle sized widget sometimes will go a long time (hours) without updating the "Last refresh:" displayed value (i use relative time option if it matters). if i click the gear and then go back to the home screen the widget display is updated.
It queries the servers based on your update interval, and what it displays is the last time the car sent an update. There isn't always new info, of course, so it may be updating and showing the same time over and over. (By the way, if you triple tap on the "Last refresh" message, it will show the time of the last alarm that causes it to do an update).

One caveat is you need to have battery optimizations turned off. If it's on, Android will just sound the alarm whenever it feels like it.
 

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
It queries the servers based on your update interval, and what it displays is the last time the car sent an update. There isn't always new info, of course, so it may be updating and showing the same time over and over. (By the way, if you triple tap on the "Last refresh" message, it will show the time of the last alarm that causes it to do an update).
yes, i'm aware of that so i don't think i explained what i'm seeing very well.

i have the "Show time of last refresh instead of elapsed time" setting turned off. my expectation was the "Last refresh:" data for the widget might change as frequently as every minute since you only show minute granularity but would be happy with a few minutes or more. the widget "Last refresh:" data will stay the same for quite a long time (hours sometimes) but always updates if i tap the gear or tap the last refresh area once to bring up the info screen then go back to the home screen (guessing this forces the widget to update displayed value).

One caveat is you need to have battery optimizations turned off. If it's on, Android will just sound the alarm whenever it feels like it.
all set there.

EDIT: clarified words to say what i was expecting.
 

21st Century Pony

Well-Known Member
First Name
Martin
Joined
May 21, 2022
Threads
36
Messages
1,976
Reaction score
2,243
Location
Arlington, Virginia
Vehicles
formerly Ford Mustang Mach E 2022 Premium AWD ER, now a li'l bit of Lightning ER
Country flag
Understanding that this widget pulls info from FordPass, I have to observe that the widget presents the needed data just SO MUCH BETTER :D?

Now I hardly ever pull up FordPass ever since this widget came alive again.
 
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
I have the "Show time of last refresh instead of elapsed time" setting turned off. my expectation was the "Last refresh:" data for the widget might change as frequently as every minute since you only show minute granularity but would be happy with a few minutes or more. the widget "Last refresh:" data will stay the same for quite a long time (hours sometimes) but always updates if i tap the gear or tap the last refresh area once to bring up the info screen then go back to the home screen (guessing this forces the widget to update displayed value).
OK, I think I understand what you mean. The widget is only updated when it reads the from server, so if you have the update interval set at 15 minutes that's how often the widget will refresh.
 

Billyk24

Well-Known Member
First Name
William
Joined
Nov 29, 2019
Threads
116
Messages
2,307
Reaction score
1,295
Location
PA
Vehicles
Ford C-Max Energi, Premium Mach-E ordered
Country flag
After tonesto7's posted his fantastic widget for iOS, I became interested in trying to do something similar for Android. It's been a few years since I did any coding for Android, and never anything involving widgets or network access. I only wanted something to let me see info on my car, and wanted to use graphics more than text where possible. I've decided to "release" the results on GitHub of a month's work for anyone who wants to use and/or expand.

Right now it’s only set up to access Ford’s US servers. If anyone outside the US is interested in using it I’ll try to expand that functionality when I can (I need to read tonesto7’s code more closely to see how that works).

At this time I don't want to hassle with putting the app on Google Play, so you need to be comfortable sideloading the APK on your phone. That means you need to trust that nothing nefarious is happening in it.


The app is available via sideload from GitHub and from the Google Play Store. New releases are usually posted on both GitHub and Play Store. Once you sideload from GitHub, the app will detect a new release and prompt you to automatically download and install.

If you have feature requests, just go over to the GitHub page, click on "Issues", add your request, and add put "Feature request" in your title.

If you have a problem with something, check the FAQ on GitHub to see if it's covered. Otherwise create a Bug Report on GitHub page. Problems relating to logging in or getting status updates will normally need a logfile captured while the problem was occurring.
No luck in finding this widget on Goggle Play. Did it move to Goggle Store? Search Mach E Widget and came up empty.
 

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
No luck in finding this widget on Goggle Play. Did it move to Goggle Store? Search Mach E Widget and came up empty.
search for "Ford Status Widget" in the play store.
 

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
OK, I think I understand what you mean. The widget is only updated when it reads the from server, so if you have the update interval set at 15 minutes that's how often the widget will refresh.
ah, ok. the widget displayed value isn't updated any more frequently than the server update interval.
 
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
ah, ok. the widget displayed value isn't updated any more frequently than the server update interval.
I'd thought about making the widget update every minute, Independent of the update interval, but didn't know if that would impact battery life.
Sponsored

 
 







Top