tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
868 stars 206 forks source link

Please add support for Tuya Wi-Fi Alarm with Doorbell #174

Open mag999DK opened 3 years ago

mag999DK commented 3 years ago

Device normal info

Device info

{ "active_time": 1599233380, "biz_type": 18, "category": "mal", "create_time": 1598960685, "icon": "smart/icon/ay1544185183501IhqNw/c0f3d0d3ab95eb3f3a44aff2c5a32908.png", "id": "6860461098f4abdf75a7", "ip": "", "lat": "", "local_key": "", "lon": "", "model": "ZX-DB11", "name": "", "online": true, "owner_id": "", "product_id": "lyq7o3cpui0mgfky", "product_name": "Wi-Fi Alarm with Doorbell", "status": [ { "code": "master_mode", "value": "disarmed" }, { "code": "delay_set", "value": 0 }, { "code": "alarm_time", "value": 1 }, { "code": "switch_alarm_sound", "value": false }, { "code": "switch_alarm_light", "value": true }, { "code": "switch_mode_sound", "value": false }, { "code": "switch_mode_light", "value": true }, { "code": "switch_kb_sound", "value": false }, { "code": "switch_kb_light", "value": false }, { "code": "charge_state", "value": true }, { "code": "battery_percentage", "value": 80 }, { "code": "switch_low_battery", "value": true }, { "code": "muffling", "value": false }, { "code": "alarm_msg", "value": "AEEAQwAgAFAAbwB3AGUAcgAgAFIAZQBzAHQAbwByAGUAZA==" }, { "code": "switch_alarm_propel", "value": true }, { "code": "alarm_delay_time", "value": 1 }, { "code": "switch_mode_dl_sound", "value": true }, { "code": "doorbell_volume", "value": "mute" }, { "code": "master_state", "value": "normal" }, { "code": "master_information", "value": "null" }, { "code": "factory_reset", "value": false }, { "code": "sub_admin", "value": "AgACAAoB/////wEKAf////8=" } ], "sub": false, "time_zone": "+01:00", "uid": "eu1598960563424AYeMJ", "update_time": 1626713459, "uuid": "6860461098f4abdf75a7" },

g470258 commented 3 years ago

{ "result": { "active_time": 1626781458, "biz_type": 0, "category": "mal", "create_time": 1626781458, "icon": "smart/icon/ay1544185183501IhqNw/cc23e2e9cb3748bd0d139f3b5c8e1482.png", "id": "bf01c4d756fa629039d6oy", "ip": "", "lat": "", "local_key": "", "lon": "", "name": "", "online": true, "owner_id": "", "product_id": "oqn2dj8otuhqhulr", "product_name": "Wi-Fi Alarm with Doorbell", "status": [ { "code": "master_mode", "value": "disarmed" }, { "code": "delay_set", "value": 0 }, { "code": "alarm_time", "value": 1 }, { "code": "switch_alarm_sound", "value": true }, { "code": "switch_alarm_light", "value": true }, { "code": "switch_mode_light", "value": false }, { "code": "switch_kb_sound", "value": true }, { "code": "switch_kb_light", "value": false }, { "code": "charge_state", "value": true }, { "code": "battery_percentage", "value": 100 }, { "code": "switch_low_battery", "value": true }, { "code": "muffling", "value": true }, { "code": "alarm_msg", "value": "BBoEQgQ+AC0EQgQ+ACAEPwQ+BEEENQRCBDgEOwAKACAAKAAjADAAMAAgBBcEPgQ9BDAAKQ==" }, { "code": "switch_alarm_propel", "value": false }, { "code": "alarm_delay_time", "value": 0 }, { "code": "switch_mode_dl_sound", "value": false }, { "code": "doorbell_volume", "value": "low" }, { "code": "master_state", "value": "normal" }, { "code": "master_information", "value": "" }, { "code": "factory_reset", "value": false }, { "code": "sub_admin", "value": "BAAACgH/////" } ], "sub": false, "time_zone": "+03:00", "uid": "eu162550004183403GZr", "update_time": 1626784616, "uuid": "cb39392af5ddfa17" }, "success": true, "t": 1626855131687

BGFHA commented 3 years ago

It seems that this is also sold as Centechia, Earykong, Vwinget, NiWoolf, SMARTROL, ZONAN, TUGARD, ZUIDID, HAIMAITONG and various other no-names.

I've just received it as a CPvan CP7D, so I'd be interested to see it supported.

BGFHA commented 2 years ago

Is there any further info that we can provide to assist with the addition of these devices?

g470258 commented 1 year ago

https://github.com/make-all/tuya-local/issues/763