localtuya-homeassistant icon indicating copy to clipboard operation
localtuya-homeassistant copied to clipboard

Install smart Thermostat

Open tgisop opened this issue 1 year ago • 1 comments

Hello, I want to install the smart thermostat on HA with local tuya. Can you help me to put the IDs in the respective fields?

image image

Target Temperature Current Temperature Temperature Step (optional) Max Temperature Min Temperature Precision (optional, for DPs values) HVAC mode DP HVAC mode set HVAC Current Action Set (optional) Presets Set (optional)

II am very confused and don't know. When I tried it through tuya integration I managed to display the thermostat card. But I want to connect it via local tuya integration because HA is not going out to the internet due to security reasons.

Thank you

tgisop avatar Dec 23 '23 10:12 tgisop

Go to iot.tuya.com -> Cloud -> API Explorer -> Smart Home Basic-Service -> Smart Home Device Control -> Get Device Specification (last entry). Fill in the 'Device ID' Result: [...]

      {
        "code": "window_check",
        "dp_id": 8,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "temp_set",
        "dp_id": 16,
        "type": "Integer",
        "values": "{\"unit\":\"℃\",\"min\":50,\"max\":350,\"scale\":1,\"step\":5}"
      },

[...]

Sputnikchen avatar Feb 18 '24 09:02 Sputnikchen