tuya-local
tuya-local copied to clipboard
Request support for LerLink Wifi High Power Switch
Log message
2025-06-03 19:17:57.855 WARNING (MainThread) [custom_components.tuya_local.config_flow] Cloud device spec:
[{"id": 1, "name": "switch_1", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 9, "name": "countdown_1", "type": "Integer", "format": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 17, "name": "add_ele", "type": "Integer", "format": "{\"min\":0,\"max\":50000,\"scale\":3,\"step\":100}", "enumMap": {}}, {"id": 18, "name": "cur_current", "type": "Integer", "format": "{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1}", "enumMap": {}}, {"id": 19, "name": "cur_power", "type": "Integer", "format": "{\"unit\":\"W\",\"min\":0,\"max\":80000,\"scale\":1,\"step\":1}", "enumMap": {}}, {"id": 20, "name": "cur_voltage", "type": "Integer", "format": "{\"unit\":\"V\",\"min\":0,\"max\":5000,\"scale\":1,\"step\":1}", "enumMap": {}}, {"id": 38, "name": "relay_status", "type": "Enum", "format": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}", "enumMap": {"0": {"code": "relay_status", "value": "power_off"}, "1": {"code": "relay_status", "value": "power_on"}, "2": {"code": "relay_status", "value": "last"}, "memory": {"code": "relay_status", "value": "last"}, "off": {"code": "relay_status", "value": "power_off"}, "on": {"code": "relay_status", "value": "power_on"}}}, {"id": 39, "name": "overcharge_switch", "type": "Boolean", "format": "{}", "enumMap": {}}, {"id": 42, "name": "cycle_time", "type": "String", "format": "{}", "enumMap": {}}, {"id": 43, "name": "random_time", "type": "String", "format": "{}", "enumMap": {}}]
2025-06-03 19:17:57.856 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches compteur_energy_meter with quality of 62%. DPS: {"updated_at": 1748974658.4162705, "1": true, "9": 0, "17": 66, "18": 587, "19": 1331, "20": 2390, "21": 1, "22": 603, "23": 30515, "24": 17400, "25": 2400, "26": 0, "38": "memory", "39": false, "42": "", "43": ""}
Product ID
rdvedq5bdkio96t1
Product Name
LerLink Wifi High Power Switch: WBH01
DPS information
{
"result": {
"biz_type": 18,
"category": "kg",
"icon": "smart/solution/136001/b8bb0466b861046d_cover.png",
"model": "WBH01",
"product_id": "rdvedq5bdkio96t1",
"product_name": "Wi-Fi High Power Switch",
=======================================================
{
"result": {
"category": "kg",
"functions": [
{
"code": "switch_1",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "countdown_1",
"dp_id": 7,
"type": "Integer",
"values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
},
{
"code": "relay_status",
"dp_id": 14,
"type": "Enum",
"values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
},
{
"code": "light_mode",
"dp_id": 15,
"type": "Enum",
"values": "{\"range\":[\"relay\",\"pos\",\"none\"]}"
},
{
"code": "cycle_time",
"dp_id": 17,
"type": "String",
"values": "{}"
},
{
"code": "random_time",
"dp_id": 18,
"type": "String",
"values": "{}"
},
{
"code": "switch_inching",
"dp_id": 19,
"type": "String",
"values": "{}"
}
],
"lang_config": {},
"status": [
{
"code": "switch_1",
"dp_id": 1,
"type": "Boolean",
"values": "{}"
},
{
"code": "countdown_1",
"dp_id": 7,
"type": "Integer",
"values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
},
{
"code": "relay_status",
"dp_id": 14,
"type": "Enum",
"values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
},
{
"code": "light_mode",
"dp_id": 15,
"type": "Enum",
"values": "{\"range\":[\"relay\",\"pos\",\"none\"]}"
},
{
"code": "cycle_time",
"dp_id": 17,
"type": "String",
"values": "{}"
},
{
"code": "random_time",
"dp_id": 18,
"type": "String",
"values": "{}"
},
{
"code": "switch_inching",
"dp_id": 19,
"type": "String",
"values": "{}"
}
]
},
"success": true,
"t": 1748976602949,
"tid": "8eddcaaa40ab11f0a5b45285f2aacdc1"
}
Information about how the device functions
https://www.aliexpress.com/item/1005004417726294.html?spm=a2g0o.store_pc_allItems_or_groupList.0.0.57eb100453iUhP&pdp_npi=4%40dis%21GBP%21%EF%BF%A143.24%21%EF%BF%A142.86%21%21%2156.83%2156.33%21%402103849717489736039826411e63bd%2112000033295682704%21sh%21UK%210%21X