Sponsored

Moneymike 6920

New member
First Name
Mike
Joined
Dec 16, 2021
Threads
0
Messages
1
Reaction score
0
Location
Texas
Vehicles
21 f150
Occupation
Military
Great job on the Widget. Below is the error I keep getting.
Ford F-150 Lightning FordPass - Scriptable Widget (iOS, iPad, MacOS) EBCD669F-8932-44BB-B444-F45AC85AB56E
Sponsored

 
OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
5
Messages
313
Reaction score
387
Location
Michigan
Vehicles
2021 Lariat 502A | 3.5L EB
Occupation
IT Admin | Software Developer
Release v1.2.3
  • Added in a placeholder image for vehicles that don't have an image.
  • Fixed a bug for using psi tire pressure and metric units.
  • Automatically determine measurement units like distance, pressure, and locale from your Ford account. This should allow support for users outside North America.
  • Added Light/Dark mode to OTA and vehicle data pages.
  • Many more bug fixes and optimizations.
https://raw.githubusercontent.com/tonesto7/fordpass-scriptable/main/Fordpass Widget.js

Coming Soon:
  • Support for receiving text commands using Siri Shortcut. This will allow us to simulate the ford shortcuts for starting and unlocking. It will allow you to say any command and the script can parse it and execute it. Meaning status feedback and advanced commands like frunk, SecuriAlert, etc.
  • Support for small and large widget layouts
  • Support for multiple instances of the widget (Multiple Vehicles)
  • View messages that are in FordPass app.
 
Last edited:

Mjp8540

Active member
First Name
Mike
Joined
Jul 6, 2021
Threads
2
Messages
29
Reaction score
19
Location
NC
Vehicles
2021 F150 Platinum
How exactly do I upgrade versions? I have the version on page 1 working correctly. I’m not sure what to copy for the newest version.
 
Joined
Mar 26, 2021
Threads
0
Messages
18
Reaction score
5
Location
va
Vehicles
2021 F150 XLT (HDPP+MTTP)
Script has been working great until this most recent version. I just updated to latest version as of 8:30am EST 12/17/2021 (v1.2.3) and ran into an error. First of all it prompts me to re-enter my credentials (which are already populated) and after doing so I get this error:
Ford F-150 Lightning FordPass - Scriptable Widget (iOS, iPad, MacOS) fordpass-scriptable-error-12-17-2021


Tried rolling back to v1.2.2 and v1.2.1 same problem. Had to go back to 1.2.0 to get it working again.
 

jameswall0

Member
First Name
James
Joined
Dec 17, 2021
Threads
0
Messages
9
Reaction score
2
Location
Atlanta, GA
Vehicles
2019 Explorer Limited, 2022 F150 Limited
Occupation
Senior Manager Tax
Hi tonesto7,

I found an issue where if you do not enter your VIN in all caps on the first screen after loading you get an error. I was able to correct it by going through the code and hard codeing my VIN in all caps then loading then removing all saved data then re-copying the script and reentering login info with VIN in caps. I would suggest if possible making a way to delete the saved data UN, PW & VIN after install. Also I would note that the VIN must be in all CAPs when entered. Other than that this is a great tool.
 

Sponsored

RedTXV

Well-known member
Joined
Apr 16, 2021
Threads
1
Messages
424
Reaction score
78
Location
Texas
Vehicles
2021 SQ Limited
Hi tonesto7,

I found an issue where if you do not enter your VIN in all caps on the first screen after loading you get an error. I was able to correct it by going through the code and hard codeing my VIN in all caps then loading then removing all saved data then re-copying the script and reentering login info with VIN in caps. I would suggest if possible making a way to delete the saved data UN, PW & VIN after install. Also I would note that the VIN must be in all CAPs when entered. Other than that this is a great tool.
Good info. Might fix my problem.
 

jameswall0

Member
First Name
James
Joined
Dec 17, 2021
Threads
0
Messages
9
Reaction score
2
Location
Atlanta, GA
Vehicles
2019 Explorer Limited, 2022 F150 Limited
Occupation
Senior Manager Tax
If this is true... I can force the text to uppercase
That would work as well. I tested a couple of times and when I didn't have it in all Caps its failed.
 

jameswall0

Member
First Name
James
Joined
Dec 17, 2021
Threads
0
Messages
9
Reaction score
2
Location
Atlanta, GA
Vehicles
2019 Explorer Limited, 2022 F150 Limited
Occupation
Senior Manager Tax
If this is true... I can force the text to uppercase
I would also suggest a way to erase the login details (Saved Data) post install in case something went wrong.
 
OP
OP
tonesto7

tonesto7

Well-known member
First Name
Anthony
Joined
Mar 7, 2021
Threads
5
Messages
313
Reaction score
387
Location
Michigan
Vehicles
2021 Lariat 502A | 3.5L EB
Occupation
IT Admin | Software Developer
I would also suggest a way to erase the login details (Saved Data) post-install in case something went wrong.
There is a flag in the script code called clearKeychainOnNextRun that can be set to wipe all data

I'm going to add some validation checks to the VIN data on start to look for lower case and convert then save to upper case. As well as a validation check on vin saves looking for correct length and characters.
 
Last edited:

Sponsored

jameswall0

Member
First Name
James
Joined
Dec 17, 2021
Threads
0
Messages
9
Reaction score
2
Location
Atlanta, GA
Vehicles
2019 Explorer Limited, 2022 F150 Limited
Occupation
Senior Manager Tax
There is a flag in the script code called clearKeychainOnNextRun that can be set to wipe all data

I'm going to add some validation checks to the VIN data on start to look for lower case and convert then save to upper case. As well as a validation check on vin saves looking for correct length and characters.
Ah I must have missed that setting. The other changes you mentioned sound like great ideas.
 

BHunted1

Well-known member
First Name
John
Joined
Mar 17, 2021
Threads
2
Messages
400
Reaction score
104
Location
Sumner County TN
Vehicles
2021 Ford-150 Platinum Hybrid
Occupation
Retired
First time install. Ran and got

Getting an exception occured on line 1912:53 Type error underfined
ver: 1.2.3
 

jameswall0

Member
First Name
James
Joined
Dec 17, 2021
Threads
0
Messages
9
Reaction score
2
Location
Atlanta, GA
Vehicles
2019 Explorer Limited, 2022 F150 Limited
Occupation
Senior Manager Tax
First time install. Ran and got

Getting an exception occured on line 1912:53 Type error underfined
ver: 1.2.3
Make sure you copied all the code from the RAW page on Github. Also make sure you enter you VIN in CAPs.
 

BHunted1

Well-known member
First Name
John
Joined
Mar 17, 2021
Threads
2
Messages
400
Reaction score
104
Location
Sumner County TN
Vehicles
2021 Ford-150 Platinum Hybrid
Occupation
Retired
Make sure you copied all the code from the RAW page on Github. Also make sure you enter you VIN in CAPs.
Did that.... Any idea what line the vin number is on?
Doesn't seem to allow you to enter it in after saved.
 

jameswall0

Member
First Name
James
Joined
Dec 17, 2021
Threads
0
Messages
9
Reaction score
2
Location
Atlanta, GA
Vehicles
2019 Explorer Limited, 2022 F150 Limited
Occupation
Senior Manager Tax
Did that.... Any idea what line the vin number is on?
Doesn't seem to allow you to enter it in after saved.
Try using the suggestion by Tonesto7 below:

There is a flag in the script code called clearKeychainOnNextRun that can be set to wipe all data.

Once you do that then change the flag back and you should get the login again. Or re-copy and paste all the script again after.
Sponsored

 
 





Top