Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2022-02-04 08:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 08:00:00 DEBUG (Thread-340) [tuya iot] disconnect
- 2022-02-04 08:00:00 DEBUG (SyncWorker_8) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1643990400861
- 2022-02-04 08:00:02 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1643990402654
- }
- 2022-02-04 08:00:02 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 08:00:02 DEBUG (Thread-343) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1643990402829
- 2022-02-04 08:00:02 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1643990402846
- 2022-02-04 08:00:04 DEBUG (SyncWorker_9) [tuya iot] Response: {
- "result": true,
- "success": true,
- "t": 1643990404751
- }
- 2022-02-04 08:00:05 DEBUG (SyncWorker_1) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1643990405064
- }
- 2022-02-04 08:00:05 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1643990405105
- 2022-02-04 08:00:05 DEBUG (Thread-343) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 3539,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1643990405341
- }
- 2022-02-04 08:00:05 DEBUG (Thread-343) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 08:00:05 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990405455
- }
- 2022-02-04 08:00:05 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1643990405483
- 2022-02-04 08:00:06 DEBUG (Thread-343) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_subscribe: 1
- 2022-02-04 08:00:06 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990406890
- }
- 2022-02-04 08:00:06 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1643990406922
- 2022-02-04 08:00:07 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990407021
- }
- 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1643990407049
- 2022-02-04 08:00:07 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990407616
- }
- 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1643990407643
- 2022-02-04 08:00:07 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990407777
- }
- 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1643990407815
- 2022-02-04 08:00:07 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990407916
- }
- 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1643990407969
- 2022-02-04 08:00:08 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990408047
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1643990408076
- 2022-02-04 08:00:08 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990408211
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1643990408243
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1643990408347
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1643990408377
- 2022-02-04 08:00:08 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990408468
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1643990408494
- 2022-02-04 08:00:08 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990408630
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1643990408662
- 2022-02-04 08:00:08 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990408765
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1643990408793
- 2022-02-04 08:00:08 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990408902
- }
- 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1643990408928
- 2022-02-04 08:00:09 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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643990409020
- }
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 08:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 08:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 08:00:09 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1643990409081
- 2022-02-04 08:00:09 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1643990409470
- }
- 2022-02-04 08:00:09 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1643990409499
- 2022-02-04 08:00:09 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1643990409784
- }
- 2022-02-04 08:01:06 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:01:06 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:01:21 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
- 2022-02-04 08:02:06 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:02:06 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 08:02:12 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "98372", "fps": "24", "no'
- 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 08:02:12 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "98372", "fps": "24", "no'
- 2022-02-04 08:03:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:03:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:03:51 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
- 2022-02-04 08:03:56 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 08:04:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:04:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 08:04:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "97920", "fps": "25", "no'
- 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 08:04:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "97920", "fps": "25", "no'
- 2022-02-04 08:05:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:05:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:06:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:06:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:07:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:07:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:08:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:08:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:09:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:09:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:10:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:10:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:11:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:11:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:12:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:12:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:13:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:13:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:14:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:14:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:15:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:15:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:16:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:16:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:17:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:17:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:18:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:18:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:19:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:19:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:19:23 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 08:20:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:20:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:21:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:21:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:22:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:22:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:23:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:23:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:24:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:24:11 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:25:12 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:25:12 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:26:12 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:26:12 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:27:12 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:27:13 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:28:13 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:28:13 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:29:13 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:29:13 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 08:30:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 08:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 08:30:00 DEBUG (Thread-344) [tuya iot] disconnect
- 2022-02-04 08:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 08:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 08:30:00 DEBUG (SyncWorker_15) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1643992200721
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 08:30:01 DEBUG (SyncWorker_15) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1643992201398
- }
- 2022-02-04 08:30:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 08:30:01 DEBUG (Thread-347) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1643992201441
- 2022-02-04 08:30:01 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1643992201450
- 2022-02-04 08:30:01 DEBUG (Thread-347) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 7200,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1643992201948
- }
- 2022-02-04 08:30:01 DEBUG (Thread-347) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1643992201983
- }
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1643992202127
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992202308
- }
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1643992202343
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992202448
- }
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1643992202474
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992202570
- }
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1643992202596
- 2022-02-04 08:30:02 DEBUG (Thread-347) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992202728
- }
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1643992202803
- 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992202888
- }
- 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1643992202923
- 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_subscribe: 1
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203028
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1643992203054
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203196
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1643992203223
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203276
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1643992203307
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1643992203364
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1643992203396
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203463
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1643992203492
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203551
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1643992203582
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203629
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1643992203656
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203737
- }
- 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1643992203767
- 2022-02-04 08:30:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643992203983
- }
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 08:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 08:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 08:30:04 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1643992204047
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 08:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1643992204137
- }
- 2022-02-04 08:30:04 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1643992204229
- 2022-02-04 08:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1643992204384
- }
- 2022-02-04 08:31:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:31:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:32:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:32:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:33:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:33:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:34:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:34:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:35:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 08:35:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:35:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:36:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:36:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:37:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:37:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:38:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:38:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:39:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:39:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:40:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:40:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:41:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:41:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:42:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:42:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:43:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:43:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:44:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:44:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:45:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:45:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:46:05 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:46:05 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:47:05 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:47:05 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:48:05 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:48:05 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:49:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:49:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:50:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:50:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:51:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 08:51:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:51:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:52:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:52:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:53:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:53:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:54:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:54:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:55:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:55:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:55:13 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
- 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 08:56:01 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "107044", "fps": "24", "n'
- 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 08:56:01 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "107044", "fps": "24", "n'
- 2022-02-04 08:56:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:56:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:57:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:57:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:58:08 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:58:08 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 08:59:08 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 08:59:08 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 09:00:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 09:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 09:00:00 DEBUG (Thread-348) [tuya iot] disconnect
- 2022-02-04 09:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 09:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 09:00:00 DEBUG (SyncWorker_7) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1643994000918
- 2022-02-04 09:00:01 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1643994001553
- }
- 2022-02-04 09:00:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 09:00:01 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1643994001630
- 2022-02-04 09:00:01 DEBUG (Thread-351) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1643994001609
- 2022-02-04 09:00:01 DEBUG (Thread-351) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 5400,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1643994001958
- }
- 2022-02-04 09:00:01 DEBUG (Thread-351) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 09:00:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 09:00:02 DEBUG (Thread-351) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_subscribe: 1
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1643994003197
- }
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1643994003268
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994003420
- }
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1643994003457
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994003542
- }
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1643994003610
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994003674
- }
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1643994003719
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994003812
- }
- 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1643994003871
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004002
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1643994004037
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004150
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1643994004259
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004308
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1643994004348
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004420
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1643994004474
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1643994004549
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1643994004607
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004681
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1643994004717
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004775
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1643994004810
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004865
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1643994004912
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994004963
- }
- 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1643994004998
- 2022-02-04 09:00:05 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643994005050
- }
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 09:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 09:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 09:00:05 DEBUG (SyncWorker_9) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1643994005164
- 2022-02-04 09:00:05 DEBUG (SyncWorker_9) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1643994005254
- }
- 2022-02-04 09:00:05 DEBUG (SyncWorker_9) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1643994005323
- 2022-02-04 09:00:05 DEBUG (SyncWorker_9) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1643994005443
- }
- 2022-02-04 09:00:06 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 09:01:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:01:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:02:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:02:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:03:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:03:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:04:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:04:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:05:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:05:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:06:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:06:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:07:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 09:07:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:07:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:08:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:08:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:09:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:09:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:10:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:10:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:11:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:11:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:12:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:12:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:13:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:13:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:14:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:14:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:15:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:15:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:16:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:16:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:17:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:17:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:18:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:18:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:19:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:19:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:20:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:20:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:21:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:21:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:22:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 09:22:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:22:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:23:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:23:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:24:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:24:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:25:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:25:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:26:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:26:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:27:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:27:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:28:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:28:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:29:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:29:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 09:30:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 09:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 09:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 09:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 09:30:00 DEBUG (Thread-352) [tuya iot] disconnect
- 2022-02-04 09:30:00 DEBUG (SyncWorker_14) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1643995800774
- 2022-02-04 09:30:01 DEBUG (SyncWorker_14) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1643995801190
- }
- 2022-02-04 09:30:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 09:30:01 DEBUG (Thread-355) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1643995801246
- 2022-02-04 09:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1643995801254
- 2022-02-04 09:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1643995801608
- }
- 2022-02-04 09:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1643995801655
- 2022-02-04 09:30:01 DEBUG (Thread-355) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 3600,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1643995801638
- }
- 2022-02-04 09:30:01 DEBUG (Thread-355) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802014
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1643995802052
- 2022-02-04 09:30:02 DEBUG (Thread-355) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_subscribe: 1
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802289
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1643995802319
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802431
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1643995802464
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802582
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1643995802614
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802681
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1643995802709
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802766
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1643995802804
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802855
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1643995802884
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995802938
- }
- 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1643995802967
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1643995803040
- }
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1643995803069
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995803147
- }
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1643995803182
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995803234
- }
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1643995803266
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995803327
- }
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1643995803354
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995803405
- }
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1643995803434
- 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643995803489
- }
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 09:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 09:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 09:30:03 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1643995803557
- 2022-02-04 09:30:03 DEBUG (SyncWorker_1) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1643995803671
- }
- 2022-02-04 09:30:03 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1643995803714
- 2022-02-04 09:30:03 DEBUG (SyncWorker_1) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1643995803800
- }
- 2022-02-04 09:31:01 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:31:01 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:32:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:32:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:33:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:33:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:34:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:34:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:35:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:35:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:36:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:36:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:37:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:37:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:38:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 09:38:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:38:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:39:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:39:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:40:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:40:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:41:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:41:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:41:58 WARNING (SyncWorker_9) [homeassistant.components.waze_travel_time.sensor] Error on retrieving data: empty response
- 2022-02-04 09:42:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:42:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:43:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:43:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:44:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:44:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:45:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:45:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:46:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:46:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:46:58 WARNING (SyncWorker_7) [homeassistant.components.waze_travel_time.sensor] Error on retrieving data: empty response
- 2022-02-04 09:47:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:47:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:48:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:48:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:49:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:49:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:50:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:50:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:51:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:51:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:52:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:52:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:53:06 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:53:06 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:54:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 09:54:06 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:54:06 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:55:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:55:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:56:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:56:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:57:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:57:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:58:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:58:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 09:59:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 09:59:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 10:00:00 DEBUG (SyncWorker_15) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/commands, params = None, body = {'commands': [{'code': 'switch_1', 'value': True}]}, t = 1643997600346
- 2022-02-04 10:00:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 10:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 10:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 10:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 10:00:00 DEBUG (Thread-356) [tuya iot] disconnect
- 2022-02-04 10:00:00 DEBUG (SyncWorker_7) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1643997600770
- 2022-02-04 10:00:02 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1643997602685
- }
- 2022-02-04 10:00:02 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 10:00:02 DEBUG (Thread-359) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1643997602881
- 2022-02-04 10:00:02 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1643997602883
- 2022-02-04 10:00:03 DEBUG (SyncWorker_15) [tuya iot] Response: {
- "result": true,
- "success": true,
- "t": 1643997603670
- }
- 2022-02-04 10:00:04 DEBUG (SyncWorker_14) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1643997604760
- }
- 2022-02-04 10:00:04 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1643997604819
- 2022-02-04 10:00:04 DEBUG (Thread-359) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 7200,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1643997604954
- }
- 2022-02-04 10:00:04 DEBUG (Thread-359) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 10:00:05 DEBUG (Thread-359) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 10:00:05 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997605566
- }
- 2022-02-04 10:00:05 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1643997605691
- 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_subscribe: 1
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997606167
- }
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1643997606206
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997606382
- }
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1643997606626
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997606747
- }
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1643997606775
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997606879
- }
- 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1643997606911
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997607234
- }
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1643997607310
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997607462
- }
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1643997607496
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997607601
- }
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1643997607639
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1643997607712
- }
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1643997607740
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997607837
- }
- 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1643997607867
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997607976
- }
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1643997608035
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997608129
- }
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1643997608162
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997608269
- }
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1643997608313
- 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643997608422
- }
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 10:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 10:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 10:00:08 DEBUG (SyncWorker_6) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1643997608570
- 2022-02-04 10:00:08 DEBUG (SyncWorker_6) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1643997608910
- }
- 2022-02-04 10:00:08 DEBUG (SyncWorker_6) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1643997608979
- 2022-02-04 10:00:09 DEBUG (SyncWorker_6) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1643997609187
- }
- 2022-02-04 10:01:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:01:05 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:02:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:02:05 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:03:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:03:05 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:03:54 DEBUG (Thread-360) [tuya iot] _on_log: Received PUBLISH (d0, q0, r0, m0), 'cloud/token/in/f1abe062324d4eec205685521945f9f1', ... (265 bytes)
- 2022-02-04 10:03:54 DEBUG (Thread-360) [tuya iot] payload-> b'{"data":"Ur+oFipd/W5xxA8JRgF8MWYiZk5Cyz6ASsI2ei5CwaiYfN5JBhr6gRB8QYqz+3g6NDYgr6v7gEEIxD8VRrV55Knp+qbizT/inNE52d7Z9qBTIjeNArma0oo+/zgh8siux1pLpCbDdaBekW6sjDDDhRE3TiqCOkCmEr+T/eiG3Iw=","protocol":20,"pv":"2.0","sign":"8f38e9c5548d3c7c970cacdac858e4a4","t":1643997834}'
- 2022-02-04 10:03:54 DEBUG (Thread-360) [tuya iot] on_message: {'data': {'bizCode': 'offline', 'bizData': {'time': 1643997834}, 'devId': 'eb5a649a9f92cdb9ec1pq6', 'productKey': 'yodwo2ujgwbgjaio', 'ts': 0}, 'protocol': 20, 'pv': '2.0', 'sign': '8f38e9c5548d3c7c970cacdac858e4a4', 't': 1643997834}
- 2022-02-04 10:03:54 DEBUG (Thread-360) [tuya iot] mq receive-> {'data': {'bizCode': 'offline', 'bizData': {'time': 1643997834}, 'devId': 'eb5a649a9f92cdb9ec1pq6', 'productKey': 'yodwo2ujgwbgjaio', 'ts': 0}, 'protocol': 20, 'pv': '2.0', 'sign': '8f38e9c5548d3c7c970cacdac858e4a4', 't': 1643997834}
- 2022-02-04 10:03:54 DEBUG (Thread-360) [tuya iot] mq _on_device_other-> eb5a649a9f92cdb9ec1pq6 -- offline
- 2022-02-04 10:03:54 DEBUG (Thread-360) [custom_components.tuya_v2] _update--><custom_components.tuya_v2.DeviceListener object at 0x7f906c2d60>;->>eb5a649a9f92cdb9ec1pq6
- 2022-02-04 10:04:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:04:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:04:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PUBLISH (d0, q0, r0, m0), 'cloud/token/in/f1abe062324d4eec205685521945f9f1', ... (265 bytes)
- 2022-02-04 10:04:08 DEBUG (Thread-360) [tuya iot] payload-> b'{"data":"L8fEw+u5kfg3oduAFeqQkIbKvqyjPpXLxaiCiGsOcgU5fAoJHGPRkIs0qmnnF91+PNT1zgaFpcQbwxtl/Y0egOSzrryK723lBqRB7tMU1WNchYOV3HXFTA+EoFyUq6JtvZtdG2FlBAjmN69rU85VnOqwAbalu0OS2P++a/t6Dxs=","protocol":20,"pv":"2.0","sign":"f0e29756fa75cd462695f11a2bb122a2","t":1643997848}'
- 2022-02-04 10:04:08 DEBUG (Thread-360) [tuya iot] on_message: {'data': {'bizCode': 'online', 'bizData': {'time': 1643997848}, 'devId': 'eb5a649a9f92cdb9ec1pq6', 'productKey': 'yodwo2ujgwbgjaio', 'ts': 0}, 'protocol': 20, 'pv': '2.0', 'sign': 'f0e29756fa75cd462695f11a2bb122a2', 't': 1643997848}
- 2022-02-04 10:04:08 DEBUG (Thread-360) [tuya iot] mq receive-> {'data': {'bizCode': 'online', 'bizData': {'time': 1643997848}, 'devId': 'eb5a649a9f92cdb9ec1pq6', 'productKey': 'yodwo2ujgwbgjaio', 'ts': 0}, 'protocol': 20, 'pv': '2.0', 'sign': 'f0e29756fa75cd462695f11a2bb122a2', 't': 1643997848}
- 2022-02-04 10:04:08 DEBUG (Thread-360) [tuya iot] mq _on_device_other-> eb5a649a9f92cdb9ec1pq6 -- online
- 2022-02-04 10:04:08 DEBUG (Thread-360) [custom_components.tuya_v2] _update--><custom_components.tuya_v2.DeviceListener object at 0x7f906c2d60>;->>eb5a649a9f92cdb9ec1pq6
- 2022-02-04 10:05:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 10:05:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:05:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:06:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:06:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:07:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:07:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:08:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:08:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:09:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:09:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:10:07 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:10:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:11:07 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:11:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:12:07 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:12:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:13:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:13:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:14:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:14:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:15:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:15:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:16:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:16:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:16:26 WARNING (MainThread) [custom_components.mail_and_packages.camera] Could not read camera Mail USPS Camera image from file: /config/custom_components/mail_and_packages/images/43cec315-6943-4468-958b-a0b3d8255c49.gif
- 2022-02-04 10:17:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:17:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:18:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:18:09 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:19:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:19:09 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:20:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:20:09 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:21:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:21:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:22:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 10:22:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:22:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:23:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:23:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:24:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:24:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:25:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:25:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:26:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:26:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:27:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:27:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:28:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:28:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:29:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:29:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 10:30:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 10:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 10:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 10:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 10:30:00 DEBUG (Thread-360) [tuya iot] disconnect
- 2022-02-04 10:30:00 DEBUG (SyncWorker_9) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1643999400953
- 2022-02-04 10:30:02 DEBUG (SyncWorker_9) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1643999401957
- }
- 2022-02-04 10:30:02 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 10:30:02 DEBUG (Thread-461) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1643999402135
- 2022-02-04 10:30:02 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1643999402138
- 2022-02-04 10:30:02 DEBUG (Thread-461) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 5403,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1643999402320
- }
- 2022-02-04 10:30:02 DEBUG (Thread-461) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1643999404005
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1643999404039
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404140
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1643999404163
- 2022-02-04 10:30:04 DEBUG (Thread-461) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404270
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1643999404293
- 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404349
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1643999404400
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404469
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1643999404497
- 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_subscribe: 1
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404585
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1643999404650
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404739
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1643999404762
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404816
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1643999404841
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999404901
- }
- 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1643999404926
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1643999404986
- }
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1643999405010
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999405078
- }
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1643999405103
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999405199
- }
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1643999405228
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999405294
- }
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1643999405318
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999405384
- }
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1643999405409
- 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1643999405499
- }
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 10:30:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 10:30:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 10:30:05 DEBUG (SyncWorker_6) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1643999405588
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 10:30:05 DEBUG (SyncWorker_6) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1643999405671
- }
- 2022-02-04 10:30:05 DEBUG (SyncWorker_6) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1643999405733
- 2022-02-04 10:30:05 DEBUG (SyncWorker_6) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1643999405830
- }
- 2022-02-04 10:31:03 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:31:03 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:32:03 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:32:03 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:32:05 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 10:33:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:33:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:34:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:34:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:35:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 10:35:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:35:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:36:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:36:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:37:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:37:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:38:00 ERROR (MainThread) [custom_components.mail_and_packages] Timeout fetching Mail and Packages (imap.gmail.com) data
- 2022-02-04 10:38:05 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:38:05 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:38:33 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Stream ended; no additional packets
- 2022-02-04 10:39:05 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:39:05 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:40:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:40:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:41:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:41:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:42:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:42:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:43:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:43:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:44:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:44:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:45:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:45:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:46:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:46:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:47:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:47:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:48:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:48:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:49:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:49:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:50:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 10:50:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:50:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:51:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:51:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:52:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:52:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:53:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:53:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:54:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:54:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:55:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:55:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:56:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:56:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:57:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:57:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:58:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:58:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 10:59:10 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 10:59:10 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 11:00:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 11:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 11:00:00 DEBUG (Thread-462) [tuya iot] disconnect
- 2022-02-04 11:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 11:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 11:00:00 DEBUG (SyncWorker_7) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644001200658
- 2022-02-04 11:00:01 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644001201551
- }
- 2022-02-04 11:00:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 11:00:01 DEBUG (Thread-465) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644001201613
- 2022-02-04 11:00:01 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644001201628
- 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644001202191
- }
- 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644001202234
- 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001202490
- }
- 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644001202524
- 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001202713
- }
- 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644001202840
- 2022-02-04 11:00:02 DEBUG (Thread-465) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 3603,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644001202771
- }
- 2022-02-04 11:00:02 DEBUG (Thread-465) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001203102
- }
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644001203143
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001203201
- }
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644001203234
- 2022-02-04 11:00:03 DEBUG (Thread-465) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001203467
- }
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644001203515
- 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001203589
- }
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644001203765
- 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_subscribe: 1
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001203820
- }
- 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644001203955
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001204033
- }
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644001204162
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644001204217
- }
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644001204278
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001204441
- }
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644001204487
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001204544
- }
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644001204627
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001204701
- }
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644001204742
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001204795
- }
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644001204837
- 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644001204894
- }
- 2022-02-04 11:00:04 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 11:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 11:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 11:00:05 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644001205138
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 11:00:05 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644001205299
- }
- 2022-02-04 11:00:05 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644001205350
- 2022-02-04 11:00:05 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644001205468
- }
- 2022-02-04 11:01:03 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:01:03 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:02:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:02:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:03:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:03:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:04:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:04:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:05:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:05:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:06:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 11:06:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:06:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:07:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:07:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:08:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:08:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:09:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:09:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:10:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:10:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:11:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:11:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:12:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:12:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:13:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:13:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:14:06 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:14:06 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:15:06 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:15:06 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:16:06 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:16:06 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:17:07 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:17:07 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:18:07 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:18:07 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:19:07 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:19:07 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:20:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:20:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:21:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:21:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:22:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:22:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:23:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 11:23:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:23:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:24:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:24:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:25:09 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:25:09 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:26:09 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:26:09 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:27:09 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:27:09 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:28:10 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:28:10 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:29:10 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:29:10 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 11:30:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 11:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 11:30:00 DEBUG (Thread-466) [tuya iot] disconnect
- 2022-02-04 11:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 11:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 11:30:00 DEBUG (SyncWorker_0) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644003000428
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644003001041
- }
- 2022-02-04 11:30:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 11:30:01 DEBUG (Thread-473) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644003001083
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644003001092
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644003001328
- }
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644003001374
- 2022-02-04 11:30:01 DEBUG (Thread-473) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 1804,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644003001361
- }
- 2022-02-04 11:30:01 DEBUG (Thread-473) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003001467
- }
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644003001501
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003001609
- }
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644003001643
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003001694
- }
- 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644003001726
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003001985
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644003002025
- 2022-02-04 11:30:02 DEBUG (Thread-473) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002091
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644003002125
- 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_subscribe: 1
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002194
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644003002228
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002368
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644003002406
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002451
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644003002485
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644003002545
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644003002578
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002633
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644003002674
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002723
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644003002780
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002829
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644003002862
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003002915
- }
- 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644003002950
- 2022-02-04 11:30:03 DEBUG (SyncWorker_0) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644003003022
- }
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 11:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 11:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 11:30:03 DEBUG (SyncWorker_10) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644003003109
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 11:30:03 DEBUG (SyncWorker_10) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644003003223
- }
- 2022-02-04 11:30:03 DEBUG (SyncWorker_10) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644003003272
- 2022-02-04 11:30:03 DEBUG (SyncWorker_10) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644003003413
- }
- 2022-02-04 11:31:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:31:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:32:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:32:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:33:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:33:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:34:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:34:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:35:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:35:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:36:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:36:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:37:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:37:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:38:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:38:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:38:28 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 11:39:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:39:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:40:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:40:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:41:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:41:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:41:58 WARNING (SyncWorker_0) [homeassistant.components.waze_travel_time.sensor] Error on retrieving data: empty response
- 2022-02-04 11:42:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:42:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:43:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:43:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:44:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:44:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:45:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:45:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:46:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:46:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:46:57 WARNING (MainThread) [custom_components.mail_and_packages.camera] Could not read camera Mail USPS Camera image from file: /config/custom_components/mail_and_packages/images/43cec315-6943-4468-958b-a0b3d8255c49.gif
- 2022-02-04 11:47:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:47:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:48:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:48:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:49:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:49:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:50:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:50:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:51:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:51:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:52:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:52:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:53:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:53:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:54:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:54:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:55:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:55:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:56:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:56:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:57:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:57:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:57:35 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 11:58:07 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:58:07 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 11:59:06 DEBUG (Thread-473) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644004746153
- 2022-02-04 11:59:06 DEBUG (Thread-473) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 7200,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644004746547
- }
- 2022-02-04 11:59:06 DEBUG (Thread-473) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 11:59:07 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 11:59:07 DEBUG (Thread-473) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 11:59:07 DEBUG (Thread-473) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 11:59:07 DEBUG (Thread-474) [tuya iot] disconnect
- 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_subscribe: 1
- 2022-02-04 12:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 12:00:00 DEBUG (SyncWorker_10) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/commands, params = None, body = {'commands': [{'code': 'switch_1', 'value': True}]}, t = 1644004800494
- 2022-02-04 12:00:01 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 12:00:01 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 12:00:01 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 12:00:01 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 12:00:01 DEBUG (Thread-477) [tuya iot] disconnect
- 2022-02-04 12:00:01 DEBUG (SyncWorker_13) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644004801424
- 2022-02-04 12:00:02 DEBUG (SyncWorker_13) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644004802684
- }
- 2022-02-04 12:00:02 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 12:00:02 DEBUG (Thread-478) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644004802848
- 2022-02-04 12:00:02 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644004802923
- 2022-02-04 12:00:03 DEBUG (SyncWorker_10) [tuya iot] Response: {
- "result": true,
- "success": true,
- "t": 1644004803139
- }
- 2022-02-04 12:00:04 DEBUG (Thread-478) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 7142,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644004804270
- }
- 2022-02-04 12:00:04 DEBUG (Thread-478) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 12:00:04 DEBUG (Thread-478) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 12:00:04 DEBUG (Thread-479) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 12:00:04 DEBUG (Thread-479) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 12:00:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 12:00:05 DEBUG (Thread-479) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 12:00:05 DEBUG (Thread-479) [tuya iot] _on_subscribe: 1
- 2022-02-04 12:00:05 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644004805495
- }
- 2022-02-04 12:00:05 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644004805546
- 2022-02-04 12:00:05 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004805848
- }
- 2022-02-04 12:00:05 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644004805875
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004806013
- }
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644004806045
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004806451
- }
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644004806495
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004806741
- }
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644004806764
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004806851
- }
- 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644004806883
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004807052
- }
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644004807076
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004807183
- }
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644004807356
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004807493
- }
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644004807518
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644004807680
- }
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644004807711
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004807817
- }
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644004807853
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004807947
- }
- 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644004807979
- 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004808101
- }
- 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644004808125
- 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004808208
- }
- 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644004808232
- 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644004808323
- }
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 12:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 12:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 12:00:08 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644004808381
- 2022-02-04 12:00:08 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644004808703
- }
- 2022-02-04 12:00:08 DEBUG (SyncWorker_8) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644004808735
- 2022-02-04 12:00:09 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644004808981
- }
- 2022-02-04 12:01:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:01:04 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:02:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:02:04 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:03:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 12:03:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:03:04 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:04:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:04:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:05:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:05:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:06:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:06:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:07:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:07:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:08:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:08:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:09:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:09:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:10:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:10:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:11:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:11:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:12:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:12:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:13:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:13:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:14:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 12:14:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:14:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:15:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:15:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:16:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:16:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:17:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:17:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:18:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:18:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:19:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:19:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:20:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:20:08 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:21:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:21:08 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:22:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:22:08 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:23:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:23:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:24:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:24:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:25:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:25:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:26:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:26:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:27:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:27:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:28:10 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:28:10 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:29:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 12:29:10 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:29:10 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 12:30:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 12:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 12:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 12:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 12:30:00 DEBUG (Thread-479) [tuya iot] disconnect
- 2022-02-04 12:30:00 DEBUG (SyncWorker_8) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644006600422
- 2022-02-04 12:30:01 DEBUG (SyncWorker_8) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644006601152
- }
- 2022-02-04 12:30:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 12:30:01 DEBUG (Thread-484) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644006601190
- 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644006601194
- 2022-02-04 12:30:01 DEBUG (Thread-484) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 5345,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644006601404
- }
- 2022-02-04 12:30:01 DEBUG (Thread-484) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644006601600
- }
- 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644006601636
- 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006601794
- }
- 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644006601821
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006601990
- }
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644006602014
- 2022-02-04 12:30:02 DEBUG (Thread-484) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_subscribe: 1
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006602480
- }
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644006602507
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006602730
- }
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644006602758
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006602897
- }
- 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644006602922
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006602983
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644006603010
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603083
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644006603111
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603211
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644006603243
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644006603321
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644006603354
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603449
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644006603476
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603539
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644006603564
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603612
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644006603639
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603697
- }
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644006603725
- 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644006603775
- }
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 12:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 12:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 12:30:03 DEBUG (SyncWorker_9) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644006603851
- 2022-02-04 12:30:04 DEBUG (SyncWorker_9) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644006603989
- }
- 2022-02-04 12:30:04 DEBUG (SyncWorker_9) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644006604015
- 2022-02-04 12:30:04 DEBUG (SyncWorker_9) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644006604142
- }
- 2022-02-04 12:31:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:31:02 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:32:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:32:02 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:33:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:33:02 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:34:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:34:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:35:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:35:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:36:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:36:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:37:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:37:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:38:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:38:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:39:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:39:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:40:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:40:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:41:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:41:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:42:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:42:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:43:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:43:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:44:05 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:44:05 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:45:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 12:45:05 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:45:05 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:46:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:46:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:47:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:47:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:48:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:48:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:49:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:49:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:50:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:50:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:51:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:51:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:52:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:52:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:53:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:53:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:54:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:54:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:55:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
- 2022-02-04 12:55:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:55:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 12:55:57 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "90044", "fps": "21", "no'
- 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 12:55:57 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "90044", "fps": "21", "no'
- 2022-02-04 12:56:08 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:56:08 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:56:17 ERROR (MainThread) [custom_components.mail_and_packages] Timeout fetching Mail and Packages (imap.gmail.com) data
- 2022-02-04 12:57:08 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:57:08 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:57:34 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 500
- 2022-02-04 12:57:34 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
- 2022-02-04 12:58:09 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:58:09 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 12:59:09 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 12:59:09 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 13:00:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 13:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 13:00:00 DEBUG (Thread-485) [tuya iot] disconnect
- 2022-02-04 13:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 13:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 13:00:00 DEBUG (SyncWorker_5) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644008400724
- 2022-02-04 13:00:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644008402190
- }
- 2022-02-04 13:00:02 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 13:00:02 DEBUG (Thread-488) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644008402227
- 2022-02-04 13:00:02 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644008402230
- 2022-02-04 13:00:02 DEBUG (Thread-488) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 3544,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644008402626
- }
- 2022-02-04 13:00:02 DEBUG (Thread-488) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 13:00:03 DEBUG (Thread-488) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_subscribe: 1
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644008403997
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644008404052
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404223
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644008404275
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404454
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644008404491
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404611
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644008404636
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404693
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644008404741
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404826
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644008404850
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404914
- }
- 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644008404938
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008404992
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644008405022
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008405094
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644008405117
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644008405194
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644008405219
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008405310
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644008405344
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008405428
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644008405457
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008405523
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644008405549
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008405615
- }
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644008405640
- 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644008405704
- }
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 13:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 13:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 13:00:05 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644008405882
- 2022-02-04 13:00:06 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644008406003
- }
- 2022-02-04 13:00:06 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644008406052
- 2022-02-04 13:00:06 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644008406160
- }
- 2022-02-04 13:01:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:01:02 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:01:03 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:02:03 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:02:03 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:03:03 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:03:03 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:04:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:04:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:05:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:05:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:06:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:06:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:07:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:07:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:08:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:08:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:09:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:09:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:10:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:10:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:11:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:11:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:12:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:12:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:13:06 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:13:06 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:14:06 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:14:06 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:14:52 ERROR (MainThread) [homeassistant.components.mazda] Unknown error occurred during Mazda update request: Cannot connect to host 0cxo7m58.mazda.com:443 ssl:default [Try again]
- Traceback (most recent call last):
- File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1154, in _create_direct_connection
- hosts = await asyncio.shield(host_resolved)
- File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 880, in _resolve_host
- addrs = await self._resolver.resolve(host, port, family=self._family)
- File "/usr/local/lib/python3.9/site-packages/aiohttp/resolver.py", line 33, in resolve
- infos = await self._loop.getaddrinfo(
- File "/usr/local/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo
- return await self.run_in_executor(
- File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
- for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
- socket.gaierror: [Errno -3] Try again
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/src/homeassistant/homeassistant/components/mazda/__init__.py", line 148, in async_update_data
- vehicle["status"] = await with_timeout(
- File "/usr/src/homeassistant/homeassistant/components/mazda/__init__.py", line 43, in with_timeout
- return await task
- File "/usr/local/lib/python3.9/site-packages/pymazda/client.py", line 64, in get_vehicle_status
- vehicle_status_response = await self.controller.get_vehicle_status(vehicle_id)
- File "/usr/local/lib/python3.9/site-packages/pymazda/controller.py", line 31, in get_vehicle_status
- response = await self.connection.api_request("POST", "remoteServices/getVehicleStatus/v4", body_dict=post_body, needs_keys=True, needs_auth=True)
- File "/usr/local/lib/python3.9/site-packages/pymazda/connection.py", line 158, in api_request
- return await self.__api_request_retry(method, uri, query_dict, body_dict, needs_keys, needs_auth, num_retries=0)
- File "/usr/local/lib/python3.9/site-packages/pymazda/connection.py", line 173, in __api_request_retry
- return await self.__send_api_request(method, uri, query_dict, body_dict, needs_keys, needs_auth)
- File "/usr/local/lib/python3.9/site-packages/pymazda/connection.py", line 227, in __send_api_request
- response = await self._session.request(method, self.base_url + uri, headers=headers, data=encrypted_body_Str)
- File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
- conn = await self._connector.connect(
- File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
- proto = await self._create_connection(req, traces, timeout)
- File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
- _, proto = await self._create_direct_connection(req, traces, timeout)
- File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1166, in _create_direct_connection
- raise ClientConnectorError(req.connection_key, exc) from exc
- aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 0cxo7m58.mazda.com:443 ssl:default [Try again]
- 2022-02-04 13:14:52 ERROR (MainThread) [homeassistant.components.mazda] Error fetching mazda data: Cannot connect to host 0cxo7m58.mazda.com:443 ssl:default [Try again]
- 2022-02-04 13:14:57 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa
- 2022-02-04 13:15:06 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:15:06 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:16:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:16:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:17:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:17:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:17:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:18:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:18:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:19:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:19:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:20:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:20:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:21:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:21:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:22:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:22:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:23:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:23:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:24:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:24:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:25:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:25:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:26:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:26:09 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:27:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:27:09 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:28:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:28:09 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:29:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:29:10 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 13:30:00 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 13:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 13:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 13:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 13:30:00 DEBUG (Thread-489) [tuya iot] disconnect
- 2022-02-04 13:30:00 DEBUG (SyncWorker_13) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644010200455
- 2022-02-04 13:30:01 DEBUG (SyncWorker_13) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644010201051
- }
- 2022-02-04 13:30:01 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 13:30:01 DEBUG (Thread-492) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644010201081
- 2022-02-04 13:30:01 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644010201084
- 2022-02-04 13:30:01 DEBUG (Thread-492) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 7200,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644010201280
- }
- 2022-02-04 13:30:01 DEBUG (Thread-492) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 13:30:01 DEBUG (SyncWorker_12) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644010201547
- }
- 2022-02-04 13:30:01 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644010201668
- 2022-02-04 13:30:01 DEBUG (Thread-492) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 13:30:01 DEBUG (Thread-493) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 13:30:01 DEBUG (Thread-493) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 13:30:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 13:30:02 DEBUG (Thread-493) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 13:30:02 DEBUG (Thread-493) [tuya iot] _on_subscribe: 1
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010202075
- }
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644010202139
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010202272
- }
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644010202298
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010202448
- }
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644010202478
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010202561
- }
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644010202586
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010202646
- }
- 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644010202905
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203015
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644010203044
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203360
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644010203398
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203458
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644010203482
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644010203574
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644010203615
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203672
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644010203695
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203769
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644010203820
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203909
- }
- 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644010203933
- 2022-02-04 13:30:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010203989
- }
- 2022-02-04 13:30:04 DEBUG (SyncWorker_12) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644010204014
- 2022-02-04 13:30:04 DEBUG (SyncWorker_12) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644010204105
- }
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 13:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 13:30:04 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644010204237
- 2022-02-04 13:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 13:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644010204453
- }
- 2022-02-04 13:30:04 DEBUG (SyncWorker_7) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644010204537
- 2022-02-04 13:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644010204682
- }
- 2022-02-04 13:31:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:31:01 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:32:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:32:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:32:01 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:33:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:33:01 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:34:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:34:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:35:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:35:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:36:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:36:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:37:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:37:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:38:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:38:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:39:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:39:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:40:03 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:40:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:41:03 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:41:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:42:03 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:42:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:43:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:43:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:44:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:44:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:45:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:45:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:46:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:46:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:47:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:47:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:48:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:48:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:48:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:49:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:49:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:50:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:50:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:51:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:51:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:52:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:52:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:53:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:53:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:53:47 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:53:52 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:53:56 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:54:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:54:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:54:46 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:55:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:55:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:55:41 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:56:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:56:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:57:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:57:07 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:57:09 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:10 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:13 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:15 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:15 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:15 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:16 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:16 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:57:16 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 13:58:07 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:58:07 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:58:45 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
- 2022-02-04 13:59:07 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 13:59:07 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 13:59:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "99927", "fps": "25", "no'
- 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 13:59:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "99927", "fps": "25", "no'
- 2022-02-04 14:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
- 2022-02-04 14:00:01 DEBUG (MainThread) [tuya iot] stop
- 2022-02-04 14:00:01 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
- 2022-02-04 14:00:01 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
- 2022-02-04 14:00:01 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
- 2022-02-04 14:00:01 DEBUG (SyncWorker_5) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-01/associated-users/actions/authorized-login, params = None, body = {'username': 'XXXXXXXXXX@gmail.com', 'password': '***', 'country_code': '1', 'schema': 'smartlife'}, t = 1644012001058
- 2022-02-04 14:00:01 DEBUG (Thread-493) [tuya iot] disconnect
- 2022-02-04 14:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
- "result": {
- "access_token": "***",
- "expire_time": 7200,
- "platform_url": "https://openapi.tuyaus.com",
- "refresh_token": "***",
- "uid": "***"
- },
- "success": true,
- "t": 1644012004705
- }
- 2022-02-04 14:00:04 DEBUG (MainThread) [tuya iot] start
- 2022-02-04 14:00:04 DEBUG (Thread-511) [tuya iot] Request: method = POST, url = https://openapi.tuyaus.com/v1.0/iot-03/open-hub/access-config, params = None, body = {'uid': '***', 'link_id': '***', 'link_type': 'mqtt', 'topics': 'device', 'msg_encrypted_version': '1.0'}, t = 1644012004806
- 2022-02-04 14:00:04 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/devices, params = None, body = None, t = 1644012004810
- 2022-02-04 14:00:05 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
- 2022-02-04 14:00:06 DEBUG (Thread-511) [tuya iot] Response: {
- "result": {
- "client_id": "***",
- "expire_time": 5395,
- "password": "***",
- "sink_topic": {
- "device": "cloud/token/out/{device_id}"
- },
- "source_topic": {
- "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
- },
- "url": "ssl://m1.tuyaus.com:8883",
- "username": "cloud_f1abe062324d4eec205685521945f9f1"
- },
- "success": true,
- "t": 1644012006431
- }
- 2022-02-04 14:00:06 DEBUG (Thread-511) [tuya iot] connecting ssl://m1.tuyaus.com:8883
- 2022-02-04 14:00:06 DEBUG (SyncWorker_3) [tuya iot] Response: {
- "result": [
- {
- "active_time": 1642129199,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651254,
- "icon": "smart/icon/1498529014_0.png",
- "id": "0518502668c63aee2465",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-帆客",
- "name": "Black Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "gpgdjdp2zvog8m0p",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1643704238,
- "uuid": "0518502668c63aee2465"
- },
- {
- "active_time": 1625883466,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1625877313,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "177623502462ab3c8a02",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Hanging Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597496,
- "uuid": "177623502462ab3c8a02"
- },
- {
- "active_time": 1606362427,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579662054,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3cc045",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Orange Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597476,
- "uuid": "736388262462ab3cc045"
- },
- {
- "active_time": 1576644608,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1576644608,
- "icon": "smart/icon/1498529014_0.png",
- "id": "40834308500291b2b6b7",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Banana Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597286,
- "uuid": "40834308500291b2b6b7"
- },
- {
- "active_time": 1633650334,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633650334,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "165054382cf432255c5f",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Checkered Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639597032,
- "uuid": "165054382cf432255c5f"
- },
- {
- "active_time": 1606616090,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579677410,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "736388262462ab3c521e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Blue Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596759,
- "uuid": "736388262462ab3c521e"
- },
- {
- "active_time": 1606362512,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579776563,
- "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
- "id": "26300763f4cfa2022836",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "WP3-B美规10A(ä¸å¸¦è®¡é‡ï¼‰/gosund",
- "name": "Lemon Light",
- "online": true,
- "owner_id": "11866790",
- "product_id": "AiHXxAyyn7eAkLQY",
- "product_name": "Mini Smart Plug",
- "status": [
- {
- "code": "switch_1",
- "value": true
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596674,
- "uuid": "26300763f4cfa2022836"
- },
- {
- "active_time": 1579313987,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579313987,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b9602204e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Gold Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596654,
- "uuid": "33360203c82b9602204e"
- },
- {
- "active_time": 1627023398,
- "biz_type": 18,
- "category": "jsq",
- "create_time": 1627023398,
- "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
- "id": "eb5a649a9f92cdb9ec1pq6",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "name": "Smart Aroma Diffuser Two",
- "online": true,
- "owner_id": "11866790",
- "product_id": "yodwo2ujgwbgjaio",
- "product_name": "Smart Aroma Diffuser",
- "status": [
- {
- "code": "switch",
- "value": false
- },
- {
- "code": "switch_led",
- "value": false
- }
- ],
- "sub": false,
- "time_zone": "-07:00",
- "uid": "***",
- "update_time": 1639596592,
- "uuid": "912153509b40b0b0"
- },
- {
- "active_time": 1606362711,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232360,
- "icon": "smart/icon/1498529014_0.png",
- "id": "10812535bcddc2a8a191",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Green",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596405,
- "uuid": "10812535bcddc2a8a191"
- },
- {
- "active_time": 1606614603,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579236112,
- "icon": "smart/icon/1498529014_0.png",
- "id": "1081253568c63aee1cce",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Red Glitter Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639596069,
- "uuid": "1081253568c63aee1cce"
- },
- {
- "active_time": 1631693069,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1579232097,
- "icon": "smart/icon/1498529014_0.png",
- "id": "33360203c82b960217c9",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-X5-NEW",
- "name": "Purple Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "qoacsyyfbrbe3lm8",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595950,
- "uuid": "33360203c82b960217c9"
- },
- {
- "active_time": 1633651110,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633651110,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "36837871bcddc23ccd0e",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Pink Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595720,
- "uuid": "36837871bcddc23ccd0e"
- },
- {
- "active_time": 1633649772,
- "biz_type": 18,
- "category": "cz",
- "create_time": 1633649772,
- "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
- "id": "16505438bcddc29c7d1c",
- "ip": "***",
- "lat": "***",
- "local_key": "***",
- "lon": "***",
- "model": "HYS-01-X5P-S7",
- "name": "Yellow Lava Lamp",
- "online": true,
- "owner_id": "11866790",
- "product_id": "7i0er84cthlfv1mh",
- "product_name": "Mini Smart Socket",
- "status": [
- {
- "code": "switch_1",
- "value": false
- },
- {
- "code": "countdown_1",
- "value": 0
- }
- ],
- "sub": false,
- "time_zone": "-08:00",
- "uid": "***",
- "update_time": 1639595373,
- "uuid": "16505438bcddc29c7d1c"
- }
- ],
- "success": true,
- "t": 1644012006560
- }
- 2022-02-04 14:00:06 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/0518502668c63aee2465/specifications, params = None, body = None, t = 1644012006673
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012007106
- }
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/177623502462ab3c8a02/specifications, params = None, body = None, t = 1644012007167
- 2022-02-04 14:00:07 DEBUG (Thread-511) [tuya iot] _on_log: Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'cloud_cd9dc619ca3abb5014a28a81164ba307'
- 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_log: Received CONNACK (0, 0)
- 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] connect flags->{'session present': 0}, rc->0
- 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
- 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_log: Received SUBACK
- 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_subscribe: 1
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012007496
- }
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3cc045/specifications, params = None, body = None, t = 1644012007541
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012007642
- }
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/40834308500291b2b6b7/specifications, params = None, body = None, t = 1644012007707
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012007964
- }
- 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/165054382cf432255c5f/specifications, params = None, body = None, t = 1644012007992
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012008136
- }
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/736388262462ab3c521e/specifications, params = None, body = None, t = 1644012008185
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012008331
- }
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/26300763f4cfa2022836/specifications, params = None, body = None, t = 1644012008357
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012008487
- }
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b9602204e/specifications, params = None, body = None, t = 1644012008587
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012008708
- }
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/eb5a649a9f92cdb9ec1pq6/specifications, params = None, body = None, t = 1644012008744
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Response: {
- "result": {
- "category": "jsq",
- "functions": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ],
- "status": [
- {
- "code": "switch",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "switch_led",
- "type": "Boolean",
- "values": "{}"
- }
- ]
- },
- "success": true,
- "t": 1644012008885
- }
- 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/10812535bcddc2a8a191/specifications, params = None, body = None, t = 1644012008941
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012009048
- }
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/1081253568c63aee1cce/specifications, params = None, body = None, t = 1644012009119
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012009256
- }
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/33360203c82b960217c9/specifications, params = None, body = None, t = 1644012009282
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012009415
- }
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/36837871bcddc23ccd0e/specifications, params = None, body = None, t = 1644012009440
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012009524
- }
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/devices/16505438bcddc29c7d1c/specifications, params = None, body = None, t = 1644012009605
- 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [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}"
- }
- ],
- "status": [
- {
- "code": "switch_1",
- "type": "Boolean",
- "values": "{}"
- },
- {
- "code": "countdown_1",
- "type": "Integer",
- "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
- }
- ]
- },
- "success": true,
- "t": 1644012009716
- }
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2] init support type->['binary_sensor', 'climate', 'cover', 'fan', 'humidifier', 'light', 'number', 'scene', 'select', 'sensor', 'switch', 'vacuum']
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
- 2022-02-04 14:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select init
- 2022-02-04 14:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
- 2022-02-04 14:00:09 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/users/az1576644363603wFrF3/homes, params = None, body = None, t = 1644012009901
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch add-> ['0518502668c63aee2465', '177623502462ab3c8a02', '736388262462ab3cc045', '40834308500291b2b6b7', '165054382cf432255c5f', '736388262462ab3c521e', '26300763f4cfa2022836', '33360203c82b9602204e', '10812535bcddc2a8a191', '1081253568c63aee1cce', '33360203c82b960217c9', '36837871bcddc23ccd0e', '16505438bcddc29c7d1c']
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
- 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
- 2022-02-04 14:00:10 DEBUG (SyncWorker_1) [tuya iot] Response: {
- "result": [
- {
- "geo_name": "",
- "home_id": 11866790,
- "lat": "***",
- "lon": "***",
- "name": "My Home ..",
- "role": "OWNER"
- }
- ],
- "success": true,
- "t": 1644012010145
- }
- 2022-02-04 14:00:10 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaus.com/v1.0/homes/11866790/scenes, params = None, body = None, t = 1644012010183
- 2022-02-04 14:00:10 DEBUG (SyncWorker_1) [tuya iot] Response: {
- "result": [],
- "success": true,
- "t": 1644012010678
- }
- 2022-02-04 14:00:11 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
- 2022-02-04 14:00:31 ERROR (MainThread) [custom_components.mail_and_packages] Timeout fetching Mail and Packages (imap.gmail.com) data
- 2022-02-04 14:01:06 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:01:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:01:43 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:01:58 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:02:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:02:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:03:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:03:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:04:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:04:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:04:34 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:05:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:05:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:05:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:05:24 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:05:49 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:05:58 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
- 2022-02-04 14:06:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:06:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:06:25 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 14:06:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "101083", "fps": "24", "n'
- 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
- 2022-02-04 14:06:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
- 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "101083", "fps": "24", "n'
- 2022-02-04 14:07:04 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:07:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:07:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:08:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:08:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:09:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:09:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:10:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:10:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:11:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:11:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:12:09 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:12:09 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
- 2022-02-04 14:12:27 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
- 2022-02-04 14:14:17 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
- 2022-02-04 14:22:05 WARNING (Thread-6) [homeassistant.components.mqtt] Disconnected from MQTT server core-mosquitto:1883 (16)
- 2022-02-04 14:21:20 ERROR (Thread-512) [tuya iot] Unexpected disconnection.7
- 2022-02-04 14:24:39 WARNING (Thread-6) [homeassistant.components.mqtt] Disconnected from MQTT server core-mosquitto:1883 (16)
- 2022-02-04 14:25:47 DEBUG (Thread-512) [tuya iot] _on_log: Connection failed, retrying
- 2022-02-04 14:32:25 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Error demuxing stream: [Errno 5] I/O error: 'rtsp://XXX:XXXXXX@192.168.1.211/live'
- 2022-02-04 14:42:13 DEBUG (Thread-512) [tuya iot] _on_log: Connection failed, retrying
- 2022-02-04 14:57:29 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Error opening stream rtsp://****:****@192.168.1.211/live
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement