Open TeslaOwnerTips opened 2 years ago
curl -s --user "http://localhost:51828/?accessoryId=charge_port_door_openWN" {"success":true} curl -s --user "http://localhost:51828/?accessoryId=lockedLN" {"success":true}
"windowcoverings": [ { "id": "charge_port_door_openWN", "name": "Tesla's Charge Port", "open_url": "http://localhost:11111/charge_port_door_opeNN", "close_url": "http://localhost:11111/charge_port_door_close", "auto_set_current_positioNN": true <----- I don't think this works } "lockmechanisms": [ { "id": "lockedLN", "name": "Tesla's Door", "open_url": "http://localhost:11111/door_unlock", "close_url": "http://localhost:11111/door_lock" }
I included this to show in general getting state works curl -s --user "http://localhost:51828/?accessoryId=sentry_modeSN" {"success":true,"currentState":"1"}
Yes, this is not implemented, yet.
curl -s --user "http://localhost:51828/?accessoryId=charge_port_door_openWN"
{"success":true}
curl -s --user "http://localhost:51828/?accessoryId=lockedLN"
{"success":true}
I included this to show in general getting state works curl -s --user "http://localhost:51828/?accessoryId=sentry_modeSN"
{"success":true,"currentState":"1"}