fordpass-ha icon indicating copy to clipboard operation
fordpass-ha copied to clipboard

Doors reporting incorrectly

Open Jeppedy opened this issue 1 year ago • 18 comments

All the doors are closed on my Ford CMax. The Hood is 'unavailable'. The status of my doors is "OPEN".

Screenshot 2023-10-14 180544

Jeppedy avatar Oct 14 '23 23:10 Jeppedy

Same issue with doors closed, reporting open. F-150 2019

MDScot avatar Oct 15 '23 00:10 MDScot

Can I confirm this issue is now resolved in 1.58?

itchannel avatar Oct 19 '23 21:10 itchannel

Screenshot_2023-10-19-19-40-00-70_c3a231c25ed346e59462e84656a70e50

Nope.

On Thu, Oct 19, 2023, 16:07 itchannel @.***> wrote:

Can I confirm this issue is now resolved in 1.58?

— Reply to this email directly, view it on GitHub https://github.com/itchannel/fordpass-ha/issues/362#issuecomment-1771707581, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY5LTNGT4HZRZOIRMY3YAGJCBAVCNFSM6AAAAAA6AR2G26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRG4YDONJYGE . You are receiving this because you authored the thread.Message ID: @.***>

Jeppedy avatar Oct 20 '23 00:10 Jeppedy

Nope. On Thu, Oct 19, 2023, 16:07 itchannel @.> wrote: Can I confirm this issue is now resolved in 1.58? — Reply to this email directly, view it on GitHub <#362 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY5LTNGT4HZRZOIRMY3YAGJCBAVCNFSM6AAAAAA6AR2G26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRG4YDONJYGE . You are receiving this because you authored the thread.Message ID: @.>

What status is the attributes under doorStatus now showing?

Also can you enable debug logging and provide the large vehicle json or run the autonomicData.py file in the fordpass folder so I can see exactly what data is being returned from your doors.

itchannel avatar Oct 20 '23 00:10 itchannel

Nope. On Thu, Oct 19, 2023, 16:07 itchannel @.> wrote: Can I confirm this issue is now resolved in 1.58? — Reply to this email directly, view it on GitHub <#362 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY5LTNGT4HZRZOIRMY3YAGJCBAVCNFSM6AAAAAA6AR2G26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZRG4YDONJYGE . You are receiving this because you authored the thread.Message ID: _@**.**_>

What status is the attributes under doorStatus now showing?

Also can you enable debug logging and provide the large vehicle json or run the autonomicData.py file in the fordpass folder so I can see exactly what data is being returned from your doors. I attached the attribute data in my post from earlier today. How does one run a Python script on a HAOS box? Should I install Python? Other?

Jeppedy avatar Oct 20 '23 01:10 Jeppedy

https://github.com/itchannel/fordpass-ha/wiki/AutonomicData-Tutorial - That should cover running it on your HA box :)

itchannel avatar Oct 20 '23 01:10 itchannel

Screenshot 2023-10-19 200456 This is the main log with the errors shown.

Where do I find the "large vehicle json"?

Jeppedy avatar Oct 20 '23 01:10 Jeppedy

Screenshot 2023-10-19 200456 This is the main log with the errors shown.

Where do I find the "large vehicle json"?

Click "Full Logs" at the bottom then filter by fordpass or you can click the button under integrations run it for 15mins then disable and it will provide a txt file.

image

/config/integrations/integration/fordpass

itchannel avatar Oct 20 '23 01:10 itchannel

Thanks for that info. Found the issue

            {
                "updateTime": "2023-10-20T01:02:55Z",
                "oemCorrelationId": "10485",
                "value": "UNKNOWN",
                "vehicleDoor": "INNER_TAILGATE",
                "vehicleOccupantRole": "PASSENGER"
            }

One of your doors returns a new status we don't handle "UNKNOWN" previously it was "Invalid". I'll add a check in the next release 1.59.

Looking at that screenshot you posted are you experiencing any other errors?

itchannel avatar Oct 20 '23 01:10 itchannel

Thanks for that info. Found the issue

            {
                "updateTime": "2023-10-20T01:02:55Z",
                "oemCorrelationId": "10485",
                "value": "UNKNOWN",
                "vehicleDoor": "INNER_TAILGATE",
                "vehicleOccupantRole": "PASSENGER"
            }

One of your doors returns a new status we don't handle "UNKNOWN" previously it was "Invalid". I'll add a check in the next release 1.59.

Looking at that screenshot you posted are you experiencing any other errors?

Well, depends on what you believe should be working properly now... GPS is no longer provided. Alarm is "unavailable" Battery Voltage is no longer provided anywhere tirepressure is "Not Supported" (but thought it worked fine before...) doorlocks are no longer provided

And when I call "Refresh Vehicle Status" service (which I understand to refresh when FordPass eventually makes the latest info available), but calling the Poll API does refresh. What do I need to better understand about how Refresh Vehicle Status works?

Jeppedy avatar Oct 20 '23 01:10 Jeppedy

So these are the supported features I see for your vehicle from the json you provided:

image

  • Gps is now provided under the device_tracker entity, it has all the same details as the old gps sensor but just made more sense to put it all under the right type
  • I don't see any status being returned from the new API for your alarm status
  • Battery Status - Is your car an electric vehicle? As I see electric vehicle stats but no main battery stats from the API
  • Tire pressure is no longer being returned from the Ford API for your vehicle.
  • doorLocks are also no longer being provided for your vehicle from the API
  • RefreshStatus will ask the car for an update and then grab the latest data, where as poll_api just refreshes the data from the API outside of the normal 15min cycle (Won't grab new data from the vehicle itself) that function is only really useful if your driving and the car is updating more frequently

itchannel avatar Oct 20 '23 01:10 itchannel

@Jeppedy I would check if you may have a Sync update for your vehicle. Because it looks like this new API just took many features you previously had. https://www.ford.com/support/how-tos/sync/sync-updates/how-to-install-sync-updates-to-your-vehicle/

SquidBytes avatar Oct 20 '23 02:10 SquidBytes

Thanks for the tip. I'm looking into the Sync update now. The dump shows that odometer is included, but I don't see it exposed... The value is in the JSON file though; I too see it there.

Jeppedy avatar Oct 20 '23 02:10 Jeppedy

Thanks for the tip. I'm looking into the Sync update now. The dump shows that odometer is included, but I don't see it exposed... The value is in the JSON file though; I too see it there.

I would say the odometer is not showing because the AlarmStatus has error-ed so it's failed to continue adding sensors. Once I've made a few changes to 1.59 I'll get you to try the beta when I release it hopefully later today.

itchannel avatar Oct 20 '23 02:10 itchannel

@Jeppedy Having this issue with any of the new releases?

SquidBytes avatar Oct 26 '23 02:10 SquidBytes

No, all looks good. My car doesn't seem to support battery voltage or tire pressure status, but what it does support seems to be working...

On Wed, Oct 25, 2023, 21:20 theUNSTABLE @.***> wrote:

@Jeppedy https://github.com/Jeppedy Having this issue with any of the new releases?

— Reply to this email directly, view it on GitHub https://github.com/itchannel/fordpass-ha/issues/362#issuecomment-1780312476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB32XY6IJN73WANYN55HHB3YBHCH5AVCNFSM6AAAAAA6AR2G26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGMYTENBXGY . You are receiving this because you were mentioned.Message ID: @.***>

Jeppedy avatar Oct 26 '23 02:10 Jeppedy

It's so strange, and would be infuriating to me, that the new API seems to have gutted your supported sensors.

I really hope in the future you'll either get an update, or have your capabilities restored for these things work again.

SquidBytes avatar Oct 26 '23 02:10 SquidBytes