homebridge-http-webhooks icon indicating copy to clipboard operation
homebridge-http-webhooks copied to clipboard

Missing state response for locks and windows

Open TeslaOwnerTips opened this issue 3 years ago • 1 comments

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"}

TeslaOwnerTips avatar Jan 08 '22 16:01 TeslaOwnerTips

Yes, this is not implemented, yet.

benzman81 avatar Jan 13 '22 10:01 benzman81