Comments (8)
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.
from tuya-local.
home-assistant_tuya_local_2024-03-10T15-44-43.273Z.log
tuya.txt
from tuya-local.
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.
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.
from tuya-local.
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.
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)
- Feyree charger button should be switch
- Feyree charger temperature problem HOT 1
- Request support for Wifi Dimmer
- Request support for Ledvance SMART+ Wifi Ceiling Fan HOT 1
- Request support for [DLOCK - Model: DLOCK-X1] HOT 5
- Diivoo WT03 can't turn on valve HOT 3
- Request support for [TEKXDD Smart BLE Door Lock] HOT 6
- Certain Devices goes Unavailable indefinetly with wierd reconnection issues HOT 4
- Request support for [AILRINNI Smart Lock-Fingerprint Door Lock Tuya BLE] HOT 4
- errors in devices/goodcell_ev_charger.yaml
- Request support for MOES S16Pro] HOT 1
- Request support for TD8 Doorbell with Camera and Siren
- Request support for Bluetooth Door Lock HOT 1
- Request support for [Atomi Smart Scone Lights] HOT 1
- Request support for [RGB Light Strip Controller] HOT 1
- Request support for eeese - Hugo dehumidifier
- Added support for Kolanki EV portable charger HOT 1
- Arlec Smart Button event triggering every 30s without a physical press HOT 3
- Heater does not show 'heating' state in HA history graph HOT 4
- Request support for [device description] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-local.