Open democles9308 opened 1 month ago
+1 the 100 is max amps, I got the 63 version (3P+N)
got this in the logs:
Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.tuya_local.config_flow
Bron: custom_components/tuya_local/config_flow.py:485
integratie: Tuya Local (documentatie, problemen)
Eerst voorgekomen: 22:14:21 (2 gebeurtenissen)
Laatst gelogd: 22:22:59
Device matches earu_smart_wifi_circuit_breaker_with_energy_monitor with quality of 8%. DPS: {"updated_at": 1729541652.7163792, "1": 178364, "15": 0, "16": true, "102": "Trip", "103": "Trip", "104": "Trip", "105": "Alarm", "107": "Trip", "108": "Trip", "109": "online", "112": true, "114": 25, "115": 260, "116": 200, "118": 600, "119": 8000, "125": 90466, "126": 58842, "127": 29052, "131": 235, "132": 226, "133": 216, "134": 218, "139": 646}
Device matches earu_smart_wifi_circuit_breaker_with_energy_monitor with quality of 8%. DPS: {"updated_at": 1729542169.2377634, "1": 178374, "15": 0, "16": true, "102": "Trip", "103": "Trip", "104": "Trip", "105": "Alarm", "107": "Trip", "108": "Trip", "109": "online", "112": true, "114": 25, "115": 260, "116": 200, "118": 600, "119": 8000, "125": 90470, "126": 58849, "127": 29052, "131": 232, "132": 228, "133": 215, "134": 219, "139": 649}
And debug logs:
[custom_components.tuya_local.helpers.device_config] Loaded device config tongou_qcb2_circuitbreaker.yaml
2024-10-21 22:22:57.972 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Not match for Circuit breaker, missing required DPs: [{'110': 'str'}]
2024-10-21 22:22:57.993 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Loaded device config tongou_qcb2_singlephasebreaker.yaml
2024-10-21 22:22:57.994 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Not match for Circuit breaker, missing required DPs: [{'110': 'str'}]
2024-10-21 22:22:58.016 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Loaded device config tongou_qcb2wb_breaker.yaml
2024-10-21 22:22:58.016 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Not match for Circuit breaker, missing required DPs: [{'106': 'int'}, {'110': 'int'}, {'111': 'str'}, {'113': 'str'}, {'117': 'int'}, {'123': 'bool'}]
2024-10-21 22:22:58.016 DEBUG (MainThread) [custom_components.tuya_local.helpers.device_config] Not match for Circuit breaker, DPs have incorrect type: [{'125': 'str'}, {'102': 'int'}, {'103': 'int'}, {'104': 'int'}, {'105': 'int'}, {'108': 'int'}, {'107': 'int'}, {'109': 'int'}, {'112': 'str'}, {'114': 'str'}, {'115': 'str'}, {'116': 'str'}, {'119': 'str'}, {'126': 'bool'}]
It seems the Tongou QCB2 may be close enough to make it match.
Found these DP's via tuya developer portal for my Tongou TOQCB2:
Probably the difference is mine has the Leakage Current Protection "TOQCB2L-CB Wi-Fi 4P Smart RCBO": https://www.tongou.com/wp-content/uploads/2024/04/Smart-Circuit-Breaker-TOQCB2L-Series.pdf
{
"1":"total forward energy", # Sensor
"6":"Phase A", # unknown characterset base64 encoded content
"7":"Phase B", # unknown characterset base64 encoded content
"8":"Phase C", # unknown characterset base64 encoded content
"15":"Leakage current", # Sensor
"16":"Switch", # Main Breaker Switch
"102":"Over-voltage setting", # [Alarm,Trip,Closed]
"103":"Under-voltage setting", # [Alarm,Trip,Closed]
"104":"Over-current setting", # [Alarm,Trip,Closed]
"105":"Over-power setting", # [Alarm,Trip,Closed]
"107":"Temperature setting", # [Alarm,Trip,Closed]
"108":"Leakage setting", # [Alarm,Trip,Closed]
"109":"Online state", # Binary Sensor
"110":"Event",
"112":"Automatic closing switch", # Switch
"113":"Restore default switch", # Switch
"114":"Current threshold", # Number
"115":"Over-voltage threshold", # Number
"116":"Under-voltage threshold", # Number
"117":"Leakage Threshold", # Number
"118":"Temperature threshold", # Number
"119":"Over-power threshold", # Number
"125":"Forward electricity_A", # Sensor
"126":"Forward Electricity_B", # Sensor
"127":"Forward Electricity_C", # Sensor
"131":"Temp_A", # Sensor
"132":"Temp_B", # Sensor
"133":"Temp_C", # Sensor
"134":"N相温度", # Sensor (Temp_N)
"139":"Forward Power Total" # Sensor
}
It is best not to hijack other device's threads to add information about your different device. The 63A devices appear to be completely different than the 100A ones at the Tuya protocol level, so this information is not relevant to this report, though I have taken it into account for the existing tongou_qcb2_circuitbreaker config.
Yeah sorry, found out too late it was different. Do you want me to open a different issue? Or wait for next release and if any issues only then do it?
I already added the optional tag and an extra entity, so you can wait for the next release to check.
Log message
DPS information
Product ID
xafxthzm5rxv7qcc
Product Name
Tongou QCB2-100 / QCB2-3P(ST)
Information about how the device functions
It's a 3P +N circuit breaker with monitoring capabilities ( Voltage, current, power,..) similar like the already existing CQB2-WB file. I'm tryin gto build a file base on that file... not working yet ( i've cxhanged extension yaml to txt tongou-CQB2-100.txt
Thx