Open TeslaOwnerTips opened 1 year ago
In the example below I first retrieve the state of a switch (Garageleft).
However when doing the same for a thermostat (wake_heat) no state values are returned.
How do I get the targeted temperature from a thermostat using a url request?
$ id=Garageleft $ curl "http://localhost:51828/?accessoryId=$id" {"success":true,"state":false} $ id=wake_heat $ curl "http://localhost:51828/?accessoryId=$id" {"success":true}
This isnt supported for all accessories yet. Feel free to contribute.
Could you point me to an implementation as a starting point? An accessor's code where it is implemented.
Should be here: https://github.com/benzman81/homebridge-http-webhooks/blob/9d90b25174e016111fa563abce3aa7263f6dee6a/src/homekit/accessories/HttpWebHookThermostatAccessory.js#L95
In the example below I first retrieve the state of a switch (Garageleft).
However when doing the same for a thermostat (wake_heat) no state values are returned.
How do I get the targeted temperature from a thermostat using a url request?