DasBasti / SmartHashtag

Homeassistant component for Smart #1/#3 API
MIT License
33 stars 1 forks source link

Heated steering wheel and seats #129

Open DasBasti opened 1 month ago

DasBasti commented 1 month ago

The Hello Smart App lets you enable the heated steering wheel and seats for the driver.

A switch in ha lets you enable the steering wheel and seat heating remotely.

chriscatuk commented 4 weeks ago

in Hello #, it's a big global command with whatever has been selected in preconditioning screen

I'm not sure how you will adapt it to start them separately. 2 really close API calls to start one seat and then the other make the second call ignored. You might need a timer to delay any following call.

Here is the case when all elements were selected:

{
   "operationScheduling":{
      "occurs":1,
      "recurrentOperation":0,
      "scheduledTime":null,
      "duration":180,
      "interval":0
   },
   "serviceId":"rce_2",
   "command":"start",
   "creator":"tc",
   "serviceParameters":[
      {
         "key":"rce.conditioner",
         "value":"1"
      },
      {
         "key":"rce.temp",
         "value":"21.5"
      },
      {
         "value":"front-left",
         "key":"rce.heat"
      },
      {
         "value":"front-right",
         "key":"rce.heat"
      },
      {
         "key":"rce.heat",
         "value":"steering_wheel"
      },
      {
         "key":"rce.level",
         "value":"1"
      }
   ],
   "timeStamp":"1716755031934"
}

each element is optional: