tonesto7 / fordpass-scriptable

FordPass Widget for Scriptable
GNU General Public License v3.0
170 stars 27 forks source link

LHD/RHD Issue #48

Open neiloakley opened 2 years ago

neiloakley commented 2 years ago

Looks like this is coded for LHD cars. When my right hand front door is open, it warns me the left front door is open. Perhaps because mine is a right hand drive car, and the code looking at ‘drivers door open’?

neiloakley commented 2 years ago

Debug reports:

        "windowPosition": {
            "driverWindowPosition": {
                "value": "Fully open position",
                "status": "CURRENT",

widget displays this as LF (X) when in reality it is the right front window because it’s a right hand drive. The same issue exists for open doors. The script needs to determine if the car is LHD or RHD in order to report correctly as at the moment it assumes every car is LHD.

tonesto7 commented 2 years ago

I never even considered this. I don't think any of this data is in the API calls.
I might have to add a toggle to the config