wubbl0rz / FiatChamp

FIAT (uconnect) Home Assistant Addon 🚗
https://github.com/wubbl0rz/FiatChamp
MIT License
91 stars 17 forks source link

Door lock status #52

Open sebastianapw opened 1 year ago

sebastianapw commented 1 year ago

Hey, I just wanted to let you know, that the current lock status of doors and trunks can be retrieved over the API with a get request and the following uri: https://channels.sdpr-01.fcagcv.com/v1/accounts/{UserID}/vehicles/{VIN}/remote/status

The response looks something like this: {'doors': {'rightRear': {'status': 'LOCKED'}, 'driver': {'status': 'LOCKED'}, 'passenger': {'status': 'LOCKED'}, 'leftRear': {'status': 'LOCKED'}}, 'evRunning': {'status': 'OFF'}, 'trunk': {'status': 'LOCKED'}, 'timestamp': 1684063864842}

The status is not only being updated when using the command functions in the app but also when using the physical remote. My skills are not proficient enough to integrate a function for this, but maybe if there is anyone interested in retrieving the lock state this might help a little.

KJThaDon commented 8 months ago

Hey, I just wanted to let you know, that the current lock status of doors and trunks can be retrieved over the API with a get request and the following uri: https://channels.sdpr-01.fcagcv.com/v1/accounts/{UserID}/vehicles/{VIN}/remote/status

The response looks something like this: {'doors': {'rightRear': {'status': 'LOCKED'}, 'driver': {'status': 'LOCKED'}, 'passenger': {'status': 'LOCKED'}, 'leftRear': {'status': 'LOCKED'}}, 'evRunning': {'status': 'OFF'}, 'trunk': {'status': 'LOCKED'}, 'timestamp': 1684063864842}

The status is not only being updated when using the command functions in the app but also when using the physical remote. My skills are not proficient enough to integrate a function for this, but maybe if there is anyone interested in retrieving the lock state this might help a little.

nice! How can this be implemented?

nicjansma commented 2 months ago

@sebastianapw I was looking into this, to determine if I could implement it for my needs (and open a PR).

However when I GET that .../remote/status endpoint I always get {} back (no data) (on my Jeep).

Is that endpoint still working in your debugging? What make are you using it on?