GithubHelp home page GithubHelp logo

Comments (8)

make-all avatar make-all commented on July 17, 2024

All the instructions for what is needed are in the template you erased.

To create a config, I need the log message from HA log when you try to add the device, the message will be Warning level, and mention "dps".

I also need the range of each dp, which is available from the QueryThingsDataModel API call in iot.tuya.com Cloud API Explorer

from tuya-local.

korzeniewski36 avatar korzeniewski36 commented on July 17, 2024

from tuya-local.

korzeniewski36 avatar korzeniewski36 commented on July 17, 2024

home-assistant_tuya_local_2024-03-10T15-44-43.273Z.log
tuya.txt

from tuya-local.

make-all avatar make-all commented on July 17, 2024

DPS from log: {"1": true, "2": "manual", "3": "open", "16": 235, "24": 225, "27": -5, "36": "open", "44": 10, "101": 0, "102": "IN", "103": 1, "104": 390, "105": 20}

from tuya-local.

make-all avatar make-all commented on July 17, 2024

QueryThingsDataModel result (email replies do not support markdown, so had to separate it out to clean it up)

{
  "result": {
    "model": "{\"modelId\":\"000004xw4t\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power3\",\"attribute\":\"1028\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},
{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"1152\",\"trigger\":\"direct\",\"passive\":true},\"name\":\"工作模式\",\"typeSpec\":{\"range\":[\"auto\",\"manual\"],\"type\":\"enum\",\"typeDefaultValue\":\"auto\"}},
{\"abilityId\":3,\"accessMode\":\"ro\",\"code\":\"work_state\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-zhuangtai\",\"attribute\":\"1152\"},\"name\":\"工作状态\",\"typeSpec\":{\"range\":[\"open\",\"close\"],\"type\":\"enum\",\"typeDefaultValue\":\"open\"}},
{\"abilityId\":16,\"accessMode\":\"rw\",\"code\":\"temp_set\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_temp\",\"attribute\":\"1024\",\"trigger\":\"direct\",\"passive\":true},\"name\":\"目标温度\",\"typeSpec\":{\"max\":450,\"min\":50,\"scale\":1,\"step\":5,\"type\":\"value\",\"typeDefaultValue\":50,\"unit\":\"℃\"}},
{\"abilityId\":24,\"accessMode\":\"ro\",\"code\":\"temp_current\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-wendu\",\"attribute\":\"1024\",\"trigger\":\"direct\",\"passive\":true},\"name\":\"当前温度\",\"typeSpec\":{\"max\":900,\"min\":0,\"scale\":1,\"step\":5,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"℃\"}},
{\"abilityId\":27,\"accessMode\":\"rw\",\"code\":\"temp_correction\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-wendu1\",\"attribute\":\"1024\"},\"name\":\"温度校准\",\"typeSpec\":{\"max\":9,\"min\":-9,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-9,\"unit\":\"°C\"}},
{\"abilityId\":36,\"accessMode\":\"ro\",\"code\":\"valve_state\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-tcl_function_vs2\",\"attribute\":\"1024\"},\"name\":\"输出状态\",\"typeSpec\":{\"range\":[\"open\",\"close\"],\"type\":\"enum\",\"typeDefaultValue\":\"open\"}},
{\"abilityId\":44,\"accessMode\":\"rw\",\"code\":\"backlight\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-liangdu\",\"attribute\":\"1024\"},\"name\":\"背光亮度\",\"typeSpec\":{\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"%\"}},
{\"abilityId\":71,\"accessMode\":\"rw\",\"code\":\"week_program_4\",\"description\":\"周程序4\",\"name\":\"周程序4\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},
{\"abilityId\":101,\"accessMode\":\"ro\",\"code\":\"floor_temp\",\"description\":\"\",\"name\":\"地板温度\",\"typeSpec\":{\"max\":900,\"min\":0,\"scale\":1,\"step\":5,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"°C\"}},
{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"sensorchoose\",\"description\":\"\",\"name\":\"传感器选择\",\"typeSpec\":{\"range\":[\"IN\",\"AL\",\"OU\"],\"type\":\"enum\",\"typeDefaultValue\":\"IN\"}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"deadzonetemp\",\"description\":\"\",\"name\":\"盲区温度\",\"typeSpec\":{\"max\":5,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"°C\"}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"hight_protect_temp\",\"description\":\"\",\"name\":\"高温保护\",\"typeSpec\":{\"max\":700,\"min\":100,\"scale\":1,\"step\":10,\"type\":\"value\",\"typeDefaultValue\":100,\"unit\":\"°C\"}},
{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"low_protect_temp\",\"description\":\"\",\"name\":\"低温保护\",\"typeSpec\":{\"max\":100,\"min\":0,\"scale\":1,\"step\":10,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"°C\"}}]}]}"
  },
  "success": true,
  "t": 1710085793966,
  "tid": "d64c293cdef511ee91c03221dd841d9c"
}

from tuya-local.

korzeniewski36 avatar korzeniewski36 commented on July 17, 2024

from tuya-local.

korzeniewski36 avatar korzeniewski36 commented on July 17, 2024

Hello, The thermostat is not working properly. I mean, it works, but only how to describe it... I behave as if it had one-way communication. I send it a command from HA, the thermostat will execute it, but the status in HA remains unchanged. Examples: In "Home assistant" I turn it off, the thermostat physically turns off and the heating status returns but the thermostat is turned off. I don't update any temperature in HA. The floor temperature is constantly 0. I hope I described it correctly.

from tuya-local.

make-all avatar make-all commented on July 17, 2024

Are there any logs? Do you have other apps running on the local network that are accessing the device? Did you try restarting HA already? Have you tried the "poll only" option in the device options?

from tuya-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.