How to set target temp via cloud api request

  • Hi,

    I would like to set some params to TRV via Cloud API POST request. Cloud access is enabled and I got a proper result für status request, eg. https://shelly-xx-eu.shelly.cloud/device/status with auth_key and device id.

    Now I would like to set target temperature and enable target temp:

    "target_t": {

    "enabled": false,

    "value": 31,

    "value_op": 8,

    "units": "C"

    },

    I tried "https://shelly-xx-eu.shelly.cloud/device/thermostat/control/" with body post params:

    auth_key = {my key}

    id = device id

    pos = 5 (for testing)

    thermostat | channel = 0

    For all requests I got an error: "Control values missing".

    How can I access and set TRV? Which additional control value do I have to set?

    Regards,

    Daniel