benzman81 / homebridge-http-webhooks

A http plugin with support of webhooks for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
178 stars 57 forks source link

Missing state response for locks and windows #154

Open TeslaOwnerTips opened 2 years ago

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

benzman81 commented 2 years ago

Yes, this is not implemented, yet.