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

Issue with the attributes in the windowposition

Open max-github-mjhodgson-com opened this issue 1 year ago • 4 comments

I am seeing some non-window data in the attributes for windowposition:

DRIVER: 
updateTime: '2023-10-23T06:59:19Z'
oemCorrelationId: '74972'
value:
  doubleRange:
    lowerBound: 0
    upperBound: 0
vehicleWindow: UNSPECIFIED_FRONT
vehicleOccupantRole: DRIVER
vehicleSide: DRIVER

icon: mdi:car-door
friendly_name: FocusST Window Status

Looks like window data to me. lowerBound/upperBound I think are for determining how far the window is open. The rest should be obvious (except for the "UNSPECIFIED_FRONT").

gniknalu avatar Oct 23 '23 15:10 gniknalu

That data is pulled straight from the "windowPosition" dictionary, no data is modified. So "oemCorrelationId" is obviously what they use to match the window to car maybe.

itchannel avatar Oct 23 '23 21:10 itchannel

@max-github-mjhodgson-com windowStatus for me used to report each individual window states with open / partial-open / closed. Ford recently overhauled their API completely to a new site and shutoff the old one. While they added a lot of cool new data, they also screwed up a few things. This being one of them. Since this is all the data being supplied via the API there's really nothing to be done for now on the window status reporting. I would imagine they will fix it at some point as we know for certain the car is capable of reporting that data.

mojomojoman avatar Oct 28 '23 00:10 mojomojoman

#349

SquidBytes avatar May 31 '24 16:05 SquidBytes