jamisonderek / ford-connect-sim

A simulator for the FordConnect API
MIT License
7 stars 0 forks source link

TEST: What is the proper value for an enabled alarm from /statusrefresh #30

Closed jamisonderek closed 3 years ago

jamisonderek commented 3 years ago

Requires a vehicle with an alarm. With disarmed alarm...

Make a POST to api/fordconnect/vehicles/v1/{{vehicleId}}/status Make a GET to api/fordconnect/vehicles/v1/{{vehicleId}}/statusrefresh/{{statuscommandId}} You should get back... { "status": "SUCCESS", "commandStatus": "COMPLETED", "commandId": "fea46439-96ac-4ca6-9719-ba68a38d1153", "vehiclestatus": { "lockStatus": { "timestamp": "06-18-2021 18:44:55", "value": "UNLOCKED" }, "alarm": { "timestamp": "06-18-2021 18:44:55", "value": "NOTSET" } } }

Now turn on alarm. Make a POST to api/fordconnect/vehicles/v1/{{vehicleId}}/status Make a GET to api/fordconnect/vehicles/v1/{{vehicleId}}/statusrefresh/{{statuscommandId}}

What is the value for alarm?

jamisonderek commented 3 years ago

Alarm status can be SET, NOTSET, ACTIVE and ERROR.