make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.41k stars 542 forks source link

Request support for Tek Tes electric fireplace #2414

Closed knsrky closed 3 days ago

knsrky commented 1 month ago

Log message

Test protocol error 914: Check device key or version
Test protocol error 901: Network Error: Unable to Connect

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000004rk1v\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch\",\"description\":\"\",\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"temp_set\",\"description\":\"\",\"name\":\"目标温度\",\"typeSpec\":{\"type\":\"value\",\"max\":35,\"min\":7,\"scale\":0,\"step\":1,\"unit\":\"℃\"}},{\"abilityId\":3,\"accessMode\":\"ro\",\"code\":\"temp_current\",\"description\":\"\",\"name\":\"当前温度\",\"typeSpec\":{\"type\":\"value\",\"max\":50,\"min\":-20,\"scale\":0,\"step\":1,\"unit\":\"℃\"}},{\"abilityId\":4,\"accessMode\":\"rw\",\"code\":\"mode\",\"description\":\"\",\"name\":\"加热档位\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"LOW\",\"HIG\",\"OFF\",\"ON\"]}},{\"abilityId\":6,\"accessMode\":\"rw\",\"code\":\"eco\",\"description\":\"\",\"name\":\"ECO模式\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":7,\"accessMode\":\"rw\",\"code\":\"child_lock\",\"description\":\"\",\"name\":\"童锁\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":13,\"accessMode\":\"rw\",\"code\":\"countdown_set\",\"description\":\"\",\"name\":\"倒计时\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"cancel\",\"30Min\",\"1Hour\",\"2Hour\",\"3Hour\",\"4Hour\",\"5Hour\",\"6Hour\",\"7Hour\",\"8Hour\",\"9Hour\"]}},{\"abilityId\":14,\"accessMode\":\"ro\",\"code\":\"countdown_left\",\"description\":\"\",\"name\":\"倒计时剩余时间\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},{\"abilityId\":16,\"accessMode\":\"ro\",\"code\":\"fault\",\"description\":\"\",\"name\":\"故障告警\",\"typeSpec\":{\"type\":\"bitmap\",\"label\":[\"ov_cr\"],\"maxlen\":1}},{\"abilityId\":18,\"accessMode\":\"rw\",\"code\":\"bright_value\",\"description\":\"\",\"name\":\"火焰亮度\",\"typeSpec\":{\"type\":\"value\",\"max\":5,\"min\":1,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":19,\"accessMode\":\"rw\",\"code\":\"power_set\",\"description\":\"GREEN BLUE PURPLE YELLOW CYAN WHITE FAU\",\"name\":\"火焰颜色\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"RED\",\"BLUE\",\"GREEN\",\"PURPLE\",\"YELLOW\",\"CYAN\",\"WHITE\",\"FAU\"]}},{\"abilityId\":21,\"accessMode\":\"rw\",\"code\":\"sound_mode\",\"description\":\"\",\"name\":\"声音模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"OFF\",\"SD\",\"BLE\"]}},{\"abilityId\":23,\"accessMode\":\"rw\",\"code\":\"week_program_temp\",\"description\":\"RAW数据格式:每⼩时1个字节,可设置7天24⼩时的温度 7天24⼩时的温度数据,以周⼀的为例,060606ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff,代表0点 1点 2点为6温度,ffff代表⽆设置。范围与temp_set/temp_set_f的值⼀致,并在切换温标之后⾃动切换设置范围及温标(需重新设置周程序)\",\"name\":\"周程序(温度)\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"flame_speed\",\"description\":\"\",\"name\":\"火焰速度\",\"typeSpec\":{\"type\":\"value\",\"max\":5,\"min\":1,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":102,\"accessMode\":\"wr\",\"code\":\"sound_up\",\"description\":\"\",\"name\":\"音量加\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"up\"]}},{\"abilityId\":103,\"accessMode\":\"wr\",\"code\":\"sound_down\",\"description\":\"\",\"name\":\"音量减\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"down\"]}}]}]}"
  },
  "success": true,
  "t": 1729297147537,
  "tid": "c15ecf708daf11efa94af6097a59a676"
}

Product ID

5qyk1ixgosrzutan

Product Name

TEK TES

Information about how the device functions

No response

make-all commented 1 month ago

Please follow the directions in the error message. Until you can get a warning message in the log reporting the actual DPS received from the device, there is no hope of getting it working.