make-all / tuya-local

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

Request support for Home Gate NI600z & NI800z #2462

Closed izb2000 closed 2 weeks ago

izb2000 commented 2 weeks ago

Log message

Device matches rse_tywfh301_gate with quality of 100%. DPS: {"updated_at": 1730769014.245743, "105": 5, "106": true, "107": false, "110": false, "111": true, "112": -52}

Product ID

q4tn6xb10zncammj

Product Name

WFH

DPS information

{\"modelId\":\"000004g07c\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"wfh_open\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_up\",\"attribute\":\"4\"},\"name\":\"开门\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"wfh_close\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_down\",\"attribute\":\"4\"},\"name\":\"关门\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"wfh_stop\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-zanting\",\"attribute\":\"4\"},\"name\":\"停止\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"wfh_lock\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-tcl_function_hs\",\"attribute\":\"4\"},\"name\":\"锁\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":105,\"accessMode\":\"ro\",\"code\":\"return_state\",\"description\":\"\",\"name\":\"状态返回\",\"typeSpec\":{\"type\":\"value\",\"max\":128,\"min\":0,\"scale\":1,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":106,\"accessMode\":\"ro\",\"code\":\"l_close\",\"description\":\"\",\"name\":\"关行程\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":107,\"accessMode\":\"ro\",\"code\":\"l_open\",\"description\":\"\",\"name\":\"开行程\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":108,\"accessMode\":\"ro\",\"code\":\"inrf\",\"description\":\"\",\"name\":\"红外\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":109,\"accessMode\":\"ro\",\"code\":\"fsw\",\"description\":\"\",\"name\":\"地感\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":110,\"accessMode\":\"rw\",\"code\":\"fast_op\",\"description\":\"\",\"name\":\"快捷开门\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":111,\"accessMode\":\"ro\",\"code\":\"hidden_state\",\"description\":\"\",\"name\":\"隐藏状态显示图标\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":112,\"accessMode\":\"ro\",\"code\":\"wfh_rssi\",\"description\":\"\",\"name\":\"信号强度显示\",\"typeSpec\":{\"type\":\"value\",\"max\":50,\"min\":-200,\"scale\":0,\"step\":1,\"unit\":\"\"}}]}]}

Information about how the device functions

https://aliexpress.ru/item/1005006174653903.html?sku_id=12000036125444266

image

make-all commented 2 weeks ago

To clarify, the rse_tywfh301_gate config appears to be a 100% match, so this is only reporting the additional product id for matching this config?

izb2000 commented 2 weeks ago

To clarify, the rse_tywfh301_gate config appears to be a 100% match, so this is only reporting the additional product id for matching this config?

Important sensors are missing in rse_tywfh301_gate:

105, ro, return_state
106, ro, l_close
107, ro, l_open
108, ro, inrf
109, ro, fsw
111, ro, hidden_state

Please add them!

make-all commented 2 weeks ago

These are all there in some capacity.

105: represented as "Gate" and "Lock" binary sensors 106: represented as an attribute on the Close button 107: represented as an attribute on the Open button 108: represented as the "Infrared" event 109: represented as the "Problem" binary sensor 111: represented as an attribute on the "Gate" binary sensor