-
Hi Ian, thank you for your great work! I am surprised about the Lock-status as well as the alarm status. The Ford API always reports "unlocked" and "not armed" even if the car is locked properly either by button press on the key or touching the door handle. Did you made a similar experience and maybe have an idea? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Thats normally how it goes. I get the same thing for my 2021 F-250. What I think is happening,
This is because the vehicle has NOT sent any more data to Ford API server, since step 2! FYI when you send the "status" command, you are "asking the Ford API for the status". The Ford API server responds with the info, that is in the servers record (data from the last time the vehicle sent a update) This is not the same as "asking the vehicle" for the status, There is currently two ways, that I know of, to get the Ford API server to update the info it has on the vehicle (without unlocking or disarming the alarm). You can manually force the vehicle to tell the Ford API it's current status, by sending the "request refresh" command (by using the following code below) or send the "lock" command. Either one of those two will have the vehicle, send a new current status to Ford API. Now send a "status" command and the Ford API will respond Add this to the vehicle.py file,
|
Beta Was this translation helpful? Give feedback.
-
Hi @Arne1346, Thank you for your kind words. I apologize for not getting back to you sooner, I didn't see the notification of the post in the discussion board. @HKLM is correct. The only possible way to get the correct status is by sending a refresh request to the vehicle. This allows the vehicle to re-sync with Fords backend. At that point you can make another status request to the vehicle and grab the updated information. |
Beta Was this translation helpful? Give feedback.
-
@Arne1346 The latest version has just been released. This updates the |
Beta Was this translation helpful? Give feedback.
Thats normally how it goes. I get the same thing for my 2021 F-250. What I think is happening,