generaltso

Well-Known Member
Joined
Jun 24, 2020
Threads
76
Messages
15,389
Reaction score
28,696
Location
Vermont
Vehicles
2024 Kia EV9 GT-Line
Country flag
I'm more inclined to think that the FP app is not updating the time elapsed.
the script is working with the data it has available which is the same exact data used by the FP app
It's weird that it's spot on with FP app and suddenly they skew
Yeah, something happens when the age of the data hits 1 hour that makes the last refresh timestamp reset. But FordPass must not be using that because it continues counting correctly. Very odd.
Sponsored

 

Goober96

Well-Known Member
First Name
Brent
Joined
Apr 21, 2021
Threads
7
Messages
130
Reaction score
91
Location
SC
Vehicles
2021 Mach-E4X, 1996 Mustang Cobra, 2008 Corvette
Country flag
Well, those steps are included in the instructions :)

Also, for anyone still copying/pasting the script every time there's an update, I recommend you follow @tonesto7 's note about saving the script file to iCloud. Overwriting the file there is easier than copying and pasting since Safari doesn't natively support Select All.
I tried to save the file but apparently need to be on a computer to do that. I use an iPad. I just searched and found a way to add “select all” to Safari instead.
 

Goober96

Well-Known Member
First Name
Brent
Joined
Apr 21, 2021
Threads
7
Messages
130
Reaction score
91
Location
SC
Vehicles
2021 Mach-E4X, 1996 Mustang Cobra, 2008 Corvette
Country flag
Long press on the link to the file and select Download linked file.
I tried that but it downloads the HTML page instead of the file.
 


Goober96

Well-Known Member
First Name
Brent
Joined
Apr 21, 2021
Threads
7
Messages
130
Reaction score
91
Location
SC
Vehicles
2021 Mach-E4X, 1996 Mustang Cobra, 2008 Corvette
Country flag

Gullwingdmc

Well-Known Member
First Name
Chip
Joined
May 15, 2021
Threads
85
Messages
2,943
Reaction score
4,110
Location
Boston, MA
Vehicles
2022 Mustang Mach E GT AWD ER - Grabber Blue
Country flag
Release v1.3.1
  • Fixed Oil Life showing no data.
  • Fixes for timestamp offset text at the bottom are offset too much.
  • Shows warning for Low Oil Life and low oil.
  • Fixed issue with advanced control menu going to wrong sections when only certain items were shown due to the vehicle capabilities.
  • Fixed the Alerts not allowed in widget error (this is really shown because the saved VIN is invalid)
  • Fixed repeated login prompt because of the deviceLanguage variable missing from the setUserPrefs call. Removed the requirement as it's not being used right now

Download Link:
https://raw.githubusercontent.com/tonesto7/fordpass-scriptable/main/Fordpass Widget.js

Instructions:
tonesto7/fordpass-scriptable: FordPass Widget for Scriptable (github.com)

What's Next?

  • Slowing down on features and focusing on stability.
  • Working on small widget layout.
Community:
Discord: https://discord.gg/VPw3zw9v
Thank you for doing all this work!! I can’t wait to try it out.

If I could throw out a UI suggestion?
Could you simplify the door and window status to just a single “Closed” status when all are closed, and only break them out to individual statuses when one or more are open. This would just simplify the UI as most of the time your windows and doors are closed.
 

SAM

Well-Known Member
First Name
SAM
Joined
Dec 29, 2020
Threads
3
Messages
335
Reaction score
362
Location
Central NJ
Vehicles
Premium MME4X Iconic Silver
Country flag
Well, those steps are included in the instructions :)

Also, for anyone still copying/pasting the script every time there's an update, I recommend you follow @tonesto7 's note about saving the script file to iCloud. Overwriting the file there is easier than copying and pasting since Safari doesn't natively support Select All.
I've been updating that way. Use open with and open the .js file with TextEdit, paste new script and save. It's easier.
 

Holy Driver

Well-Known Member
First Name
Lars
Joined
Jan 3, 2021
Threads
3
Messages
180
Reaction score
171
Location
Germany
Vehicles
Mustang Mach-E RWD SR
Occupation
IT
Country flag
The script is working so far now for me.
Except the widgets have problems.
I can only use the small one.
Middle and large aren't working.
Will provide screenshots at evening (CET) when usefull.
 

hetgeleteken

Well-Known Member
First Name
Martijn
Joined
Apr 16, 2020
Threads
0
Messages
139
Reaction score
118
Location
Utrecht, NL
Vehicles
VW Golf Estate, Ford Mustang Mach-E AWD ER Lucid Red Tech+ reserved
Country flag
The script is working so far now for me.
Except the widgets have problems.
I can only use the small one.
Middle and large aren't working.
Will provide screenshots at evening (CET) when usefull.
Same here, only the small one works, large and medium ones won't show up when selected in Scriptable.
 

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
610
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
Release v1.3.2 (12/20/2021)
  • Fixed issues with distance and pressure units not matching those set in FordPass app settings (Only refreshes when values are missing and every 5 minutes).
  • Fixed vehicle image when multiple versions of the script are selected.
  • Fixed the status message left offset when there were any messages.
  • Fixed some unhandled variables errors.
  • Updated the WebView titles to remind users that their personal info (VIN, address, position, etc) has been scrubbed from the data they are viewing.
Download Link:
https://raw.githubusercontent.com/tonesto7/fordpass-scriptable/main/Fordpass Widget.js

Instructions:
tonesto7/fordpass-scriptable: FordPass Widget for Scriptable (github.com)

What's Next?

  • Slowing down on features and focusing on stability.
  • Working on small widget layout.
  • Script Updater (Might just use https://scriptdu.de but it doesn't support multiple instances)
Community:
Discord: https://discord.gg/VPw3zw9v
 
Last edited:

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
610
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
Release v1.3.3
  • Fix for some vehicles reporting rear windows with a status of undefined and showing open in the widget.
  • Fix for some vehicles not having the windows status for front windows.
  • Other fixes to handle undefined values in the vehicle data.
Download Link:
https://raw.githubusercontent.com/tonesto7/fordpass-scriptable/main/Fordpass Widget.js

Instructions:
tonesto7/fordpass-scriptable: FordPass Widget for Scriptable (github.com)

What's Next?

  • Slowing down on features and focusing on stability.
  • Working on small widget layout.
Community:
Discord: https://discord.gg/VPw3zw9v
 

tonesto7

Well-Known Member
First Name
Anthony
Joined
Sep 20, 2021
Threads
2
Messages
243
Reaction score
610
Location
Ann Arbor, Michigan
Vehicles
2021 F150
Occupation
Software Developer/System Admin
Country flag
I almost have an installer tool working which means no more copying the script anymore.
You will install a single script FordWidgetTool and it will install and update to the latest version on every run.

I hope to have it ready for testing by the end of the day today.
 

SMHart

Member
Joined
Dec 6, 2021
Threads
0
Messages
6
Reaction score
1
Location
Boston MA
Vehicles
2021 Mach E Premium
Country flag
I wish I could say I am savvy with this stuff but alas, I am not. I did get the medium widget up though, so thank you!!!
On that note I’m posting to say I did initially have the same issue Sam mentioned about not being able to find the widget on my Home Screen, not even the widget for scriptable.
So a little digging and I went in to my settings, settings for scriptable app and changed the language ( i chose German) and low and behold it popped up as a choice for a widget I could add now. I don’t know why this worked but just something I found online and it worked in case it helps someone else.
Sponsored

 
  • Like
Reactions: SAM
 







Top