Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install smart Thermostat #52

Open
tgisop opened this issue Dec 23, 2023 · 1 comment
Open

Install smart Thermostat #52

tgisop opened this issue Dec 23, 2023 · 1 comment

Comments

@tgisop
Copy link

tgisop commented Dec 23, 2023

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

@Sputnikchen
Copy link

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}"
      },

[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants