Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for Tuya Alarm - Digoo HamB #2399

Open
fotis3d opened this issue Oct 15, 2024 · 4 comments
Open

Request support for Tuya Alarm - Digoo HamB #2399

fotis3d opened this issue Oct 15, 2024 · 4 comments
Labels
full_info All info needed was provided new device Unsupported device

Comments

@fotis3d
Copy link

fotis3d commented Oct 15, 2024

Log message

Device matches whm04_doorbell with quality of 33%. DPS: {"updated_at": 1729020140.1325095, "1": "disarmed", "2": 0, "3": 30, "4": false, "6": true, "12": false, "13": false, "20": false, "21": false, "28": 0, "101": "normal", "104": "TAMPER"}

DPS information

{
  "result": {
    "model": "{\"modelId\":\"0000003oce\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"master_mode\",\"description\":\"disarmed撤防 arm布防 home在家 sos紧急\",\"extensions\":{\"iconName\":\"icon-dp_mode\"},\"name\":\"主机模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"disarmed\",\"arm\",\"home\",\"sos\"]}},
{\"abilityId\":2,\"accessMode\":\"rw\",\"code\":\"delay_set\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time3\"},\"name\":\"延时设置\",\"typeSpec\":{\"type\":\"value\",\"max\":300,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":3,\"accessMode\":\"rw\",\"code\":\"alarm_time\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_time3\"},\"name\":\"警号鸣响时间\",\"typeSpec\":{\"type\":\"value\",\"max\":60,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"min\"}},
{\"abilityId\":4,\"accessMode\":\"rw\",\"code\":\"switch_alarm_sound\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power3\"},\"name\":\"奥德赛\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":6,\"accessMode\":\"rw\",\"code\":\"switch_alarm_light\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power3\"},\"name\":\"报警灯开关1\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":12,\"accessMode\":\"rw\",\"code\":\"switch_kb_sound\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-yinliang\"},\"name\":\"键盘按键音开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":13,\"accessMode\":\"rw\",\"code\":\"switch_kb_light\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_light\"},\"name\":\"键盘背光\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":18,\"accessMode\":\"rw\",\"code\":\"alarm_call_number\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-baojing\"},\"name\":\"报警电话号码\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":20,\"accessMode\":\"rw\",\"code\":\"switch_alarm_call\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-baojing\"},\"name\":\"报警电话开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":21,\"accessMode\":\"rw\",\"code\":\"switch_alarm_sms\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-baojing\"},\"name\":\"报警短信开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":24,\"accessMode\":\"rw\",\"code\":\"zone_attribute\",\"description\":\"0-留守布放有效;1-外出布放有效;2-24小时有效;3-关闭;4-门铃;5-24小时无声;6-留守布放有效(无延时);7-外出布放有效(无延时)\",\"extensions\":{\"iconName\":\"icon-air_quality\"},\"name\":\"防区属性\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"MODE_HOME_ARM\",\"MODE_ARM\",\"MODE_24\",\"MODE_OFF\",\"MODE_DOORBELL\",\"MODE_24_SILENT\",\"HOME_ARM_NO_DELAY\",\"ARM_NO_DELAY\"]}},
{\"abilityId\":26,\"accessMode\":\"ro\",\"code\":\"alarm_msg\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-baojing\"},\"name\":\"告警信息\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":28,\"accessMode\":\"rw\",\"code\":\"alarm_delay_time\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-baojing\"},\"name\":\"告警后延时报警\",\"typeSpec\":{\"type\":\"value\",\"max\":300,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"s\"}},
{\"abilityId\":36,\"accessMode\":\"rw\",\"code\":\"sub_class\",\"description\":\"0-遥控器 1-探测器 2-插座\",\"extensions\":{\"iconName\":\"icon-dp_mode\"},\"name\":\"子设备品类\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"remote_controller\",\"detector\",\"socket\"]}},
{\"abilityId\":37,\"accessMode\":\"rw\",\"code\":\"sub_type\",\"description\":\"0-系统警情、1-主门报警、2-大厅报警、3-求救报警、4-卧室报警、5-窗户报警、6-阳台报警、7-周界报警、8-烟雾报警、9-燃气泄露、10-一氧化碳、11-漏水报警 \",\"extensions\":{\"iconName\":\"icon-dp_mode\"},\"name\":\"设备类型\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"OTHER\",\"DOOR\",\"PIR\",\"SOS\",\"ROOM\",\"WINDOW\",\"BALCONY\",\"FENCE\",\"SMOKE\",\"GAS\",\"CO\",\"WATER\"]}},
{\"abilityId\":38,\"accessMode\":\"rw\",\"code\":\"sub_admin\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\"},\"name\":\"子设备管理\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":39,\"accessMode\":\"ro\",\"code\":\"sub_state\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-zhuangtai\"},\"name\":\"子设备状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"normal\",\"alarm\",\"fault\",\"others\"]}},
{\"abilityId\":101,\"accessMode\":\"ro\",\"code\":\"PowerEvent\",\"description\":\"0正常\\n1主电源断开\\n2电池电量不足\",\"name\":\"电源状态信息\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"normal\",\"powerDisconnect\",\"BatteryIsLow\"]}},
{\"abilityId\":103,\"accessMode\":\"ro\",\"code\":\"zone_number\",\"description\":\"推送指令   报警类型 + 防区名称\",\"name\":\"防区号\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":104,\"accessMode\":\"ro\",\"code\":\"OtherEvent\",\"description\":\"0:正常;\\n1:防撬报警\",\"extensions\":{\"trigger\":\"direct\"},\"name\":\"其他事件\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"NORMAL\",\"TAMPER\"]}}]}]}"
  },

Product ID

a4xyigjpkcmfafvh

Product Name

报警主机PG

Information about how the device functions

Mainly as an alarm has home arm/away arm/disarm/sos.

You can do those funtions with RF remote which is what I am doing with a Sonoff RF Bridge via mqtt.

The most import thing is to get local the status (home/away arm, disarmed).

@fotis3d fotis3d added the new device Unsupported device label Oct 15, 2024
@fotis3d
Copy link
Author

fotis3d commented Oct 15, 2024

FYI even the Tuya intergration brings only home arm/away arm/disarm and the status.

@make-all
Copy link
Owner

There should be a log message in the Home Assistant log when that "unsupported devices to choose from" occurs. Without that, it is difficult to provide support.

@make-all make-all added the awaiting feedback Needs more information label Oct 15, 2024
@fotis3d
Copy link
Author

fotis3d commented Oct 16, 2024

Ok sorry here it is.

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:485
integration: Tuya Local (documentation, issues)
First occurred: October 15, 2024 at 22:22:22 (3 occurrences)
Last logged: 07:12:47

Device matches whm04_doorbell with quality of 33%. DPS: {"updated_at": 1729020140.1325095, "1": "disarmed", "2": 0, "3": 30, "4": false, "6": true, "12": false, "13": false, "20": false, "21": false, "28": 0, "101": "normal", "104": "TAMPER"}
Device matches whm04_doorbell with quality of 33%. DPS: {"updated_at": 1729020218.1887238, "1": "disarmed", "2": 0, "3": 30, "4": false, "6": true, "12": false, "13": false, "20": false, "21": false, "28": 0, "101": "normal", "104": "TAMPER"}
Device matches whm04_doorbell with quality of 33%. DPS: {"updated_at": 1729051964.8444636, "1": "disarmed", "2": 0, "3": 30, "4": false, "6": true, "12": false, "13": false, "20": false, "21": false, "28": 0, "101": "normal", "104": "TAMPER"}

@fotis3d
Copy link
Author

fotis3d commented Oct 16, 2024

I also own a Tuya PGST 107 wifi alarm which I have never used and had gotten it as a spare thinking it is the same. If this one Digoo gets included I will also try to add the PGST 107 in order to add it also in the list of devices that work. If it will work.

Thanks for your time and support

@make-all make-all added full_info All info needed was provided and removed awaiting feedback Needs more information labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full_info All info needed was provided new device Unsupported device
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants