make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.11k stars 456 forks source link

Universal RX Multi WIFI Garage Door Remote Control Receiver 2CH #1857

Closed vampywiz17 closed 1 week ago

vampywiz17 commented 2 months ago

Log Message

Device matches aubess_2gang_switch with quality of 100%. DPS: {"updated_at": 1714388636.4457595, "1": false, "2": false, "9": 0, "10": 0, "38": "memory", "42": "", "43": "", "44": "AQACAwAC", "47": "sync"}

Information about DPS mappings

{
  "result": {
    "model": "{\"modelId\":\"enlfl8\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch_1\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"662\"},\"name\":\"开关1\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"switch_2\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"662\"},\"name\":\"开关2\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":9,\"accessMode\":\"rw\",\"code\":\"countdown_1\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time2\",\"attribute\":\"644\"},\"name\":\"开关1倒计时\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":10,\"accessMode\":\"rw\",\"code\":\"countdown_2\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time2\",\"attribute\":\"644\"},\"name\":\"开关2倒计时\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":38,\"accessMode\":\"rw\",\"code\":\"relay_status\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-zhuangtai\",\"attribute\":\"736\"},\"name\":\"上电状态设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"off\",\"on\",\"memory\"]}},
{\"abilityId\":42,\"accessMode\":\"rw\",\"code\":\"random_time\",\"description\":\"在设定的时间范围内,设备按照一定的随机规律进行一次开关。定时开始开关开启,定时结束开关关闭。主要应用在住户外出时,模拟家里有人的场景,起到防盗的效果。\",\"extensions\":{\"iconName\":\"icon-a_nav_timer\",\"attribute\":\"736\"},\"name\":\"随机定时\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":43,\"accessMode\":\"rw\",\"code\":\"cycle_time\",\"description\":\"在设定的时间范围内,重复执行开启/关闭动作,开启和关闭的时长可自定义设置。定时开始开关开启,定时结束开关关闭。主要用于循环浇灌、投食、灯光场景控制等。\",\"extensions\":{\"iconName\":\"icon-dp_loop\",\"attribute\":\"736\"},\"name\":\"循环定时\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":44,\"accessMode\":\"rw\",\"code\":\"switch_inching\",\"description\":\"也叫延时关,用户设置一个时长,每次开关打开后延时一段时间就会自动关闭,避免频繁设置倒计时。比如门禁、车库门控制等需要脉冲输出信号的场景。\",\"extensions\":{\"attribute\":\"752\"},\"name\":\"点动开关\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":47,\"accessMode\":\"rw\",\"code\":\"switch_type\",\"description\":\"分别对应三种外接开关状态:翘板开关翻转有效,翘板开关固定位置有效,自复位开关按下有效\",\"extensions\":{\"iconName\":\"icon-dp_power2\",\"attribute\":\"752\"},\"name\":\"开关类型设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"flip\",\"sync\",\"button\"]}},
{\"abilityId\":48,\"accessMode\":\"rw\",\"code\":\"switch_interlock\",\"description\":\"设置2个或多个开关互锁,保证只能同时开启其中1个通道,则另外的通道会自动关闭。保证在一些电机正反转的应用中,可以正常使用。只限制不能同时开启,可同时关闭。\",\"extensions\":{\"iconName\":\"icon-dp_lock\",\"attribute\":\"240\"},\"name\":\"互锁设置\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
  },
  "success": true,
  "t": 1714388826565,
  "tid": "9d9aa956061811efa19236780218d147"
}

Product ID

"product_id": "zexdotwigwiobadr"

Information about how the device functions

https://www.aliexpress.com/item/4000185222913.html

make-all commented 1 month ago

Due to lack of feedback from the device, it is unlikely to work well as a cover. So marking it as compatible with the Aubess, and adding the "Switch type" selector (original report had "flip" in the log for this, but because it predated iot.tuya.com data being available, the full details were unknown).