Circuit Breaker 80a 3P not supported (only power enable) Eletric Meter Unable information
#55 aperta il 4 lug 2021
Metriche repository
- Star
- (960 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Device normal info
- Brand Tuya Circuit Breaker
- Model 80A 3P
2021-07-03 21:38:55 INFO (MainThread) [custom_components.tuya_v2] Tuya async setup conf None 2021-07-03 21:38:56 INFO (MainThread) [custom_components.tuya_v2] tuya.init.async_setup_entry-->{'password': 'maxtubos2010', 'endpoint': 'https://openapi.tuyaus.com', 'access_id': 'gugxtadeapngffzu9v7o', 'access_secret': '7187e53e00a3485e9fe58085b959762c', 'tuya_app_type': 'tuyaSmart', 'country_code': '55', 'username': 'contato@maxtubos.com.br', 'tuya_project_type': 0} 2021-07-03 21:38:56 DEBUG (SyncWorker_4) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'contato@maxtubos.com.br', 'password': '7f9ab47cbc3b197945e0b7b81260cbff', 'country_code': '55', 'schema': 'tuyaSmart'}, headers = {'client_id': 'gugxtadeapngffzu9v7o', 'sign': '01B77285A6E55EB66687B0AE8EC69827A154D2D095DE243B30317500D8A61F2F', 'sign_method': 'HMAC-SHA256', 'access_token': '', 't': '1625359136556', 'lang': 'en', 'dev_lang': 'python', 'dev_version': '0.3.0', 'dev_channel': 'hass'} 2021-07-03 21:38:57 DEBUG (SyncWorker_4) [tuya iot] Response: { "result": { "access_token": "6ffceb83b29b020400c20cd899e20575", "expire_time": 7200, "refresh_token": "b087d91377f22f6f18aaf9e4c921df3b", "uid": "az1623855547898i1nnl" }, "success": true, "t": 1625359137374 } 2021-07-03 21:38:57 DEBUG (MainThread) [tuya iot] start 2021-07-03 21:38:57 DEBUG (Thread-5) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': 'az1623855547898i1nnl', 'link_id': 'tuya-iot-app-sdk-python.368e7686-dc60-11eb-b9bd-6a6c4d479990', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, headers = {'client_id': 'gugxtadeapngffzu9v7o', 'sign': '08E7DB8DD565F7147AD99F6AB61E0B555F4255007D5B649FFABB9B78E4E5B65B', 'sign_method': 'HMAC-SHA256', 'access_token': '6ffceb83b29b020400c20cd899e20575', 't': '1625359137453', 'lang': 'en'} 2021-07-03 21:38:57 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1623855547898i1nnl/devices, params = None, body = None, headers = {'client_id': 'gugxtadeapngffzu9v7o', 'sign': '64D3101D167F2CDAC30988D8255C0ABC4C76842DE387312BB6E1612D919D8ABC', 'sign_method': 'HMAC-SHA256', 'access_token': '6ffceb83b29b020400c20cd899e20575', 't': '1625359137456', 'lang': 'en'} 2021-07-03 21:38:57 DEBUG (SyncWorker_1) [tuya iot] Response: { "result": [ { "active_time": 1625318235, "biz_type": 0, "category": "dlq", "create_time": 1625318235, "icon": "smart/icon/ay1560986729638hcHts/4b88b9ba857e8d9c96d67fa11485fd28.png", "id": "vdevo162531823539951", "ip": "xxx.xxx.xxx.xxx", "lat": "", "local_key": "xxxx", "lon": "", "model": "ZC01W", "name": "Disjuntor de circuito inteligente-vdevo", "online": true, "owner_id": "43401781", "product_id": "hz2o2tnezttmmx15", "product_name": "breaker", "status": [ { "code": "total_forward_energy", "value": 0 }, { "code": "phase_a", "value": "" }, { "code": "leakage_current", "value": 0 }, { "code": "switch", "value": true } ], "sub": false, "time_zone": "", "uid": "az1623855547898i1nnl", "update_time": 1625318235, "uuid": "vdevo162531823539951" }, { "active_time": 1623863246, "biz_type": 0, "category": "cz", "create_time": 1623863246, "icon": "smart/icon/ay1553135333939ynSju/24b1a8c40e7ee71f6ac0de02c16ab57e.png", "id": "ebb6c31921a64a7a53its6", "ip": "xxx.xxx.xxx.xxx", "lat": "", "local_key": "xxxx", "lon": "", "name": "Disj80-Maq1", "online": true, "owner_id": "43401781", "product_id": "aynmagfq01aq70he", "product_name": "RC-RCBO", "status": [ { "code": "switch_1", "value": false }, { "code": "countdown_1", "value": 0 }, { "code": "relay_status", "value": "last" }, { "code": "child_lock", "value": false } ], "sub": false, "time_zone": "-03:00", "uid": "az1623855547898i1nnl", "update_time": 1625247501, "uuid": "1cd0c6a159b747b3" } ], "success": true, "t": 1625359137670 } 2021-07-03 21:38:57 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/vdevo162531823539951/specifications, params = None, body = None, headers = {'client_id': 'gugxtadeapngffzu9v7o', 'sign': '55DA76C7C7B40276EA0399D4D0FBD2D4ADF467394027A50953DECF7129667CD6', 'sign_method': 'HMAC-SHA256', 'access_token': '6ffceb83b29b020400c20cd899e20575', 't': '1625359137745', 'lang': 'en'} 2021-07-03 21:38:57 DEBUG (SyncWorker_1) [tuya iot] Response: { "result": { "category": "dlq", "functions": [ { "code": "switch", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "total_forward_energy", "type": "Integer", "values": "{"unit":"kW·h","min":0,"max":99999999,"scale":2,"step":1}" }, { "code": "phase_a", "type": "Raw", "values": "{}" }, { "code": "leakage_current", "type": "Integer", "values": "{"unit":"mA","min":0,"max":1000,"scale":0,"step":1}" }, { "code": "switch", "type": "Boolean", "values": "{}" } ] }, "success": true, "t": 1625359137861 } 2021-07-03 21:38:57 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/ebb6c31921a64a7a53its6/specifications, params = None, body = None, headers = {'client_id': 'gugxtadeapngffzu9v7o', 'sign': '9F923048487FE9E8DB330A0A9C256A1572B9BB01CCE52733D48BEC4A5FEC7CEA', 'sign_method': 'HMAC-SHA256', 'access_token': '6ffceb83b29b020400c20cd899e20575', 't': '1625359137931', 'lang': 'en'} 2021-07-03 21:38:58 DEBUG (Thread-5) [tuya iot] Response: { "code": 28841105, "msg": "No permissions. This project is not authorized to call this API.", "success": false, "t": 1625359137930 } 2021-07-03 21:38:58 ERROR (Thread-5) [tuya iot] error while get mqtt config 2021-07-03 21:38:58 DEBUG (SyncWorker_1) [tuya iot] Response: { "result": { "category": "cz", "functions": [ { "code": "switch_1", "type": "Boolean", "values": "{}" }, { "code": "countdown_1", "type": "Integer", "values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}" }, { "code": "child_lock", "type": "Boolean", "values": "{}" } ], "status": [ { "code": "switch_1", "type": "Boolean", "values": "{}" }, { "code": "countdown_1", "type": "Integer", "values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}" }, { "code": "relay_status", "type": "Enum", "values": "{"range":["power_off","power_on","last"]}" }, { "code": "child_lock", "type": "Boolean", "values": "{}" } ] }, "success": true, "t": 1625359138064 } 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] init support type->['switch', 'fan', 'cover', 'climate', 'light', 'sensor', 'binary_sensor', 'humidifier', 'number', 'vacuum'] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->switch 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->fan 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->cover 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->climate 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->light 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->sensor 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->binary_sensor 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->humidifier 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->number 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2] tuya async platform-->vacuum 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.sensor] sensor init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['ebb6c31921a64a7a53its6'] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.fan] fan init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.fan] fan add-> [] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.cover] cover init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.cover] cover add-> [] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.climate] climate init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.climate] climate add->[] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.humidifier] humidifier init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> [] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.number] number init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.number] number add-> [] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.vacuum] vacuum init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> [] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.switch] switch init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.switch] switch add-> ['ebb6c31921a64a7a53its6'] 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.light] light init 2021-07-03 21:38:58 INFO (MainThread) [custom_components.tuya_v2.light] light add-> []