itchannel / fordpass-ha

Fordpass integration for Home Assistant
310 stars 56 forks source link

Doors reporting incorrectly #362

Open Jeppedy opened 11 months ago

Jeppedy commented 11 months ago

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

MDScot commented 11 months ago

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

itchannel commented 11 months ago

Can I confirm this issue is now resolved in 1.58?

Jeppedy commented 11 months ago

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: @.***>

itchannel commented 11 months ago

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.

Jeppedy commented 11 months ago

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?

itchannel commented 11 months ago

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

Jeppedy commented 11 months ago

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

Where do I find the "large vehicle json"?

itchannel commented 11 months ago

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

Jeppedy commented 11 months ago

2017-CMax_status_2023-10-19_20_15_56_REDACTED.json

itchannel commented 11 months ago

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?

Jeppedy commented 11 months ago

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?

itchannel commented 11 months ago

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

image

SquidBytes commented 11 months ago

@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/

Jeppedy commented 11 months ago

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.

itchannel commented 11 months ago

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.

SquidBytes commented 11 months ago

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

Jeppedy commented 11 months ago

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: @.***>

SquidBytes commented 11 months ago

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.