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 TONGOU QCB2-CB Wi-Fi 3P smart circuit breaker #2642

Open
deykoa opened this issue Dec 13, 2024 · 0 comments
Open

Request support for TONGOU QCB2-CB Wi-Fi 3P smart circuit breaker #2642

deykoa opened this issue Dec 13, 2024 · 0 comments
Labels
full_info All info needed was provided new device Unsupported device

Comments

@deykoa
Copy link

deykoa commented Dec 13, 2024

Log message

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:393
integration: Tuya Local (documentation, issues)
First occurred: 12:20:17 (1 occurrences)
Last logged: 12:20:17

Device matches earu_smart_wifi_circuit_breaker_with_energy_monitor with quality of 10%. DPS: {"updated_at": 1734085214.1517053, "1": 4774, "16": true, "102": "Trip", "103": "Alarm", "104": "Trip", "105": "Closed", "107": "Trip", "109": "online", "112": false, "114": 63, "115": 280, "116": 165, "118": 800, "119": 2000, "125": 1551, "126": 927, "127": 2298, "131": 114, "132": 106, "133": 101, "139": 0}

Product ID

Not provided

Product Name

TONGOU QCB2-CB Wi-Fi 3P smart circuit breaker

DPS information

{
  "result": {
    "model": "{\"modelId\":\"eytg40\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":1,\"accessMode\":\"rw\",\"code\":\"forward_energy_total\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_lightning\",\"attribute\":\"1024\"},\"name\":\"正向总有功电量\",\"typeSpec\":{\"type\":\"value\",\"max\":99999999,\"min\":0,\"scale\":2,\"step\":1,\"unit\":\"kW·h\"}},
{\"abilityId\":6,\"accessMode\":\"ro\",\"code\":\"phase_a\",\"description\":\"1,A相电压,电流及功率\\n2,大端模式,HEX格式,共8个字节\\n3,单位精度:电压,2字节,单位0.1V。电流,3字节,单位 0.001A 。A相有功功率,3字节,单位0.001kW\\n4,报文格式\\n举例:08 80 00 03 E8 00 27 10 表示A相217.6V,A相电流1.000A,A相功率10.000KW\\n5,通信逻辑:\\n1)用户进面板,主动查询。用户进入面板,面板马上下发0x08到电表,电表上报数据到云平台,面板拿到数据,然后展示。 注:最新WIFI支持。   \\n2)电表基于一定周期上报数据。建议:在WIFI模式时,15秒上报一次。NB模式时,1个小时上报一次。\",\"extensions\":{\"iconName\":\"icon-dp_lightning\",\"attribute\":\"1152\"},\"name\":\"A相电压,电流及功率\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":7,\"accessMode\":\"ro\",\"code\":\"phase_b\",\"description\":\"1,B相电压,电流及功率\\n2,大端模式,HEX格式,共8个字节\\n3,单位精度:电压,2字节,单位0.1V。电流,3字节,单位 0.001A 。B相有功功率,3字节,单位0.001kW\\n4,报文格式\\n举例:08 80 00 03 E8 00 27 10 表示B相217.6V,B相电流1.000A,B相功率10.000KW\\n5,通信逻辑:\\n1)用户进面板,主动查询。用户进入面板,面板马上下发0x00到电表,电表上报数据到云平台,面板拿到数据,然后展示。    \\n2)电表基于一定周期上报数据。建议:在WIFI模式时,15秒上报一次。NB模式时,1个小时上报一次。\",\"extensions\":{\"iconName\":\"icon-dp_lightning\",\"attribute\":\"1152\"},\"name\":\"B相电压,电流及功率\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":8,\"accessMode\":\"ro\",\"code\":\"phase_c\",\"description\":\"1,C相电压,电流及功率\\n2,大端模式,HEX格式,共8个字节\\n3,单位精度:电压,2字节,单位0.1V。电流,3字节,单位 0.001A 。C相有功功率,3字节,单位0.001kW\\n4,报文格式\\n举例:08 80 00 03 E8 00 27 10 表示C相217.6V,C相电流1.000A,C相功率10.000KW\\n5,通信逻辑:\\n1)用户进面板,主动查询。用户进入面板,面板马上下发0x08到电表,电表上报数据到云平台,面板拿到数据,然后展示。    \\n2)电表基于一定周期上报数据。建议:在WIFI模式时,15秒上报一次。NB模式时,1个小时上报一次。\",\"extensions\":{\"iconName\":\"icon-dp_lightning\",\"attribute\":\"1152\"},\"name\":\"C相电压,电流及功率\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":16,\"accessMode\":\"rw\",\"code\":\"switch\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power2\",\"attribute\":\"1664\"},\"name\":\"断路器开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":102,\"accessMode\":\"rw\",\"code\":\"ov_set\",\"description\":\"\",\"name\":\"过压设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"Closed\",\"Alarm\",\"Trip\"]}},
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"uv_set\",\"description\":\"\",\"name\":\"欠压设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"Closed\",\"Alarm\",\"Trip\"]}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"oc_set\",\"description\":\"\",\"name\":\"过电流设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"Closed\",\"Alarm\",\"Trip\"]}},
{\"abilityId\":105,\"accessMode\":\"rw\",\"code\":\"op_set\",\"description\":\"\",\"name\":\"过功率设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"Closed\",\"Alarm\",\"Trip\"]}},
{\"abilityId\":107,\"accessMode\":\"rw\",\"code\":\"temp_set\",\"description\":\"\",\"name\":\"温度设置\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"Closed\",\"Alarm\",\"Trip\"]}},
{\"abilityId\":109,\"accessMode\":\"rw\",\"code\":\"online_state\",\"description\":\"\",\"name\":\"在线状态\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"online\",\"offline\"]}},
{\"abilityId\":110,\"accessMode\":\"rw\",\"code\":\"event\",\"description\":\"\",\"name\":\"实时事件\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"Normal\",\"Over_Current_Trip\",\"Over_Power_Trip\",\"High_Temp_Trip\",\"Over_Voltage_Trip\",\"Under_Voltage_Trip\",\"Over_Current_Alarm\",\"Over_Power_Alarm\",\"High_Temp_Alarm\",\"Over_Voltage_Alarm\",\"Under_Voltage_Alarm\",\"Remote_ON\",\"Remote_OFF\",\"Manual_ON\",\"Manual_OFF\",\"Leakage_Trip\",\"Leakage_Alarm\",\"Restore_Default\",\"Automatic_Closing\",\"Electricity_Shortage\",\"Electricity_Shortage_Alarm\",\"Timing_switch_ON\",\"Timing_switch_OFF\"]}},
{\"abilityId\":112,\"accessMode\":\"rw\",\"code\":\"auto_reclosing\",\"description\":\"自动合闸允许(仅支持过压保护后开启)\",\"name\":\"自动合闸开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":113,\"accessMode\":\"wr\",\"code\":\"rd_set\",\"description\":\"=1下发恢复默认设置\",\"name\":\"恢复默认开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":114,\"accessMode\":\"rw\",\"code\":\"c_thresh\",\"description\":\"\",\"name\":\"电流阈值\",\"typeSpec\":{\"type\":\"value\",\"max\":63,\"min\":1,\"scale\":0,\"step\":1,\"unit\":\"A\"}},
{\"abilityId\":115,\"accessMode\":\"rw\",\"code\":\"ov_thresh\",\"description\":\"\",\"name\":\"过压阈值\",\"typeSpec\":{\"type\":\"value\",\"max\":295,\"min\":245,\"scale\":0,\"step\":1,\"unit\":\"V\"}},
{\"abilityId\":116,\"accessMode\":\"rw\",\"code\":\"uv_thresh\",\"description\":\"\",\"name\":\"欠压阈值\",\"typeSpec\":{\"type\":\"value\",\"max\":220,\"min\":145,\"scale\":0,\"step\":1,\"unit\":\"V\"}},
{\"abilityId\":118,\"accessMode\":\"rw\",\"code\":\"temp_thresh\",\"description\":\"\",\"name\":\"温度阈值\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":-250,\"scale\":1,\"step\":1,\"unit\":\"℃\"}},
{\"abilityId\":119,\"accessMode\":\"rw\",\"code\":\"op_thresh\",\"description\":\"\",\"name\":\"过功率阈值\",\"typeSpec\":{\"type\":\"value\",\"max\":25000,\"min\":5,\"scale\":0,\"step\":10,\"unit\":\"W\"}},
{\"abilityId\":125,\"accessMode\":\"ro\",\"code\":\"fap_a\",\"description\":\"\",\"name\":\"A相正向总电量\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":-999999999,\"scale\":2,\"step\":1,\"unit\":\"kW·h\"}},
{\"abilityId\":126,\"accessMode\":\"ro\",\"code\":\"fap_b\",\"description\":\"\",\"name\":\"B相正向总电量\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":-999999999,\"scale\":2,\"step\":1,\"unit\":\"kW·h\"}},
{\"abilityId\":127,\"accessMode\":\"ro\",\"code\":\"fap_c\",\"description\":\"\",\"name\":\"C相正向总电量\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":-999999999,\"scale\":2,\"step\":1,\"unit\":\"kW·h\"}},
{\"abilityId\":131,\"accessMode\":\"ro\",\"code\":\"temp_a\",\"description\":\"\",\"name\":\"A相温度\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":-250,\"scale\":1,\"step\":1,\"unit\":\"℃\"}},
{\"abilityId\":132,\"accessMode\":\"ro\",\"code\":\"temp_b\",\"description\":\"\",\"name\":\"B相温度\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":-250,\"scale\":1,\"step\":1,\"unit\":\"℃\"}},
{\"abilityId\":133,\"accessMode\":\"ro\",\"code\":\"temp_c\",\"description\":\"\",\"name\":\"C相温度\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":-250,\"scale\":1,\"step\":1,\"unit\":\"℃\"}},
{\"abilityId\":139,\"accessMode\":\"ro\",\"code\":\"power_total\",\"description\":\"\",\"name\":\"总正向功率\",\"typeSpec\":{\"type\":\"value\",\"max\":999999999,\"min\":-999999999,\"scale\":3,\"step\":1,\"unit\":\"kW\"}}]}]}"
  },
  "success": true,
  "t": 1734084751507,
  "tid": "c3b5e822b93a11efbc549ae2a79b4875"
}

Information about how the device functions

main module v2.1.17
microkontroller module v1.0.0

@deykoa deykoa added the new device Unsupported device label Dec 13, 2024
@make-all make-all added the full_info All info needed was provided label Dec 13, 2024
@make-all make-all moved this to 🔖 Ready in Tuya Local Dec 13, 2024
make-all added a commit that referenced this issue Dec 15, 2024
In particular, local_product_key may not be added if local discovery fails,
so this should not be assumed to be available. But it is probably better
to assume everything might be missing, as it has been observed with local_key
in the past, where sub devices do not have their own.

Issue #2642
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