make-all / tuya-local

Local support for Tuya devices in Home Assistant
MIT License
1.33k stars 519 forks source link

Hyleton WiFi Smart Plug #2425

Open AnthonyBe opened 1 week ago

AnthonyBe commented 1 week ago

Log message

2024-10-22 14:59:51.315 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches cct_v1_lightbulb with quality of 100%. DPS: {"updated_at": 1729569583.9088805, "1": true, "2": 0}

DPS information

{
  "result": {
    "model": "{\"modelId\":\"00000008o0\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"switch_on\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power2\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"countdown\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time2\"},\"name\":\"倒计时\",\"typeSpec\":{\"type\":\"value\",\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}}]}]}"
  },
  "success": true,
  "t": 1729570119520,
  "tid": "51578bbc902b11ef844fc2ceb152d8fe"
}

Product ID

O0YnvNLlDWbJd4KC

Product Name

Hyleton WiFi Smart Plug

Information about how the device functions

Generic WiFi Plug available on Amazon. No power monitoring, just WiFi On/Off. https://www.youtube.com/watch?v=AklZEBV0GSM

make-all commented 1 week ago

Device perfectly matches mirabella_genio_usb config (as well as the false matches for a few lightbulbs and an open/close sensor), only the product details need to be recorded there.