Advertisement
Guest User

Untitled

a guest
Feb 4th, 2022
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 493.84 KB | None | 0 0
  1. 2022-02-04 08:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  2. 2022-02-04 08:00:00 DEBUG (Thread-340) [tuya iot] disconnect
  3. 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
  4. 2022-02-04 08:00:02 DEBUG (SyncWorker_8) [tuya iot] Response: {
  5. "result": {
  6. "access_token": "***",
  7. "expire_time": 7200,
  8. "platform_url": "https://openapi.tuyaus.com",
  9. "refresh_token": "***",
  10. "uid": "***"
  11. },
  12. "success": true,
  13. "t": 1643990402654
  14. }
  15. 2022-02-04 08:00:02 DEBUG (MainThread) [tuya iot] start
  16. 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
  17. 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
  18. 2022-02-04 08:00:04 DEBUG (SyncWorker_9) [tuya iot] Response: {
  19. "result": true,
  20. "success": true,
  21. "t": 1643990404751
  22. }
  23. 2022-02-04 08:00:05 DEBUG (SyncWorker_1) [tuya iot] Response: {
  24. "result": [
  25. {
  26. "active_time": 1642129199,
  27. "biz_type": 18,
  28. "category": "cz",
  29. "create_time": 1633651254,
  30. "icon": "smart/icon/1498529014_0.png",
  31. "id": "0518502668c63aee2465",
  32. "ip": "***",
  33. "lat": "***",
  34. "local_key": "***",
  35. "lon": "***",
  36. "model": "HYS-01-X5P-帆客",
  37. "name": "Black Lava Lamp",
  38. "online": true,
  39. "owner_id": "11866790",
  40. "product_id": "gpgdjdp2zvog8m0p",
  41. "product_name": "Mini Smart Socket",
  42. "status": [
  43. {
  44. "code": "switch_1",
  45. "value": false
  46. },
  47. {
  48. "code": "countdown_1",
  49. "value": 0
  50. }
  51. ],
  52. "sub": false,
  53. "time_zone": "-08:00",
  54. "uid": "***",
  55. "update_time": 1643704238,
  56. "uuid": "0518502668c63aee2465"
  57. },
  58. {
  59. "active_time": 1625883466,
  60. "biz_type": 18,
  61. "category": "cz",
  62. "create_time": 1625877313,
  63. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  64. "id": "177623502462ab3c8a02",
  65. "ip": "***",
  66. "lat": "***",
  67. "local_key": "***",
  68. "lon": "***",
  69. "name": "Hanging Light",
  70. "online": true,
  71. "owner_id": "11866790",
  72. "product_id": "AiHXxAyyn7eAkLQY",
  73. "product_name": "Mini Smart Plug",
  74. "status": [
  75. {
  76. "code": "switch_1",
  77. "value": false
  78. },
  79. {
  80. "code": "countdown_1",
  81. "value": 0
  82. }
  83. ],
  84. "sub": false,
  85. "time_zone": "-08:00",
  86. "uid": "***",
  87. "update_time": 1639597496,
  88. "uuid": "177623502462ab3c8a02"
  89. },
  90. {
  91. "active_time": 1606362427,
  92. "biz_type": 18,
  93. "category": "cz",
  94. "create_time": 1579662054,
  95. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  96. "id": "736388262462ab3cc045",
  97. "ip": "***",
  98. "lat": "***",
  99. "local_key": "***",
  100. "lon": "***",
  101. "name": "Orange Lava Lamp",
  102. "online": true,
  103. "owner_id": "11866790",
  104. "product_id": "AiHXxAyyn7eAkLQY",
  105. "product_name": "Mini Smart Plug",
  106. "status": [
  107. {
  108. "code": "switch_1",
  109. "value": false
  110. },
  111. {
  112. "code": "countdown_1",
  113. "value": 0
  114. }
  115. ],
  116. "sub": false,
  117. "time_zone": "-08:00",
  118. "uid": "***",
  119. "update_time": 1639597476,
  120. "uuid": "736388262462ab3cc045"
  121. },
  122. {
  123. "active_time": 1576644608,
  124. "biz_type": 18,
  125. "category": "cz",
  126. "create_time": 1576644608,
  127. "icon": "smart/icon/1498529014_0.png",
  128. "id": "40834308500291b2b6b7",
  129. "ip": "***",
  130. "lat": "***",
  131. "local_key": "***",
  132. "lon": "***",
  133. "model": "HYS-X5-NEW",
  134. "name": "Banana Light",
  135. "online": true,
  136. "owner_id": "11866790",
  137. "product_id": "qoacsyyfbrbe3lm8",
  138. "product_name": "Mini Smart Socket",
  139. "status": [
  140. {
  141. "code": "switch_1",
  142. "value": true
  143. },
  144. {
  145. "code": "countdown_1",
  146. "value": 0
  147. }
  148. ],
  149. "sub": false,
  150. "time_zone": "-08:00",
  151. "uid": "***",
  152. "update_time": 1639597286,
  153. "uuid": "40834308500291b2b6b7"
  154. },
  155. {
  156. "active_time": 1633650334,
  157. "biz_type": 18,
  158. "category": "cz",
  159. "create_time": 1633650334,
  160. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  161. "id": "165054382cf432255c5f",
  162. "ip": "***",
  163. "lat": "***",
  164. "local_key": "***",
  165. "lon": "***",
  166. "model": "HYS-01-X5P-S7",
  167. "name": "Checkered Lava Lamp",
  168. "online": true,
  169. "owner_id": "11866790",
  170. "product_id": "7i0er84cthlfv1mh",
  171. "product_name": "Mini Smart Socket",
  172. "status": [
  173. {
  174. "code": "switch_1",
  175. "value": false
  176. },
  177. {
  178. "code": "countdown_1",
  179. "value": 0
  180. }
  181. ],
  182. "sub": false,
  183. "time_zone": "-08:00",
  184. "uid": "***",
  185. "update_time": 1639597032,
  186. "uuid": "165054382cf432255c5f"
  187. },
  188. {
  189. "active_time": 1606616090,
  190. "biz_type": 18,
  191. "category": "cz",
  192. "create_time": 1579677410,
  193. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  194. "id": "736388262462ab3c521e",
  195. "ip": "***",
  196. "lat": "***",
  197. "local_key": "***",
  198. "lon": "***",
  199. "name": "Blue Lava Lamp",
  200. "online": true,
  201. "owner_id": "11866790",
  202. "product_id": "AiHXxAyyn7eAkLQY",
  203. "product_name": "Mini Smart Plug",
  204. "status": [
  205. {
  206. "code": "switch_1",
  207. "value": false
  208. },
  209. {
  210. "code": "countdown_1",
  211. "value": 0
  212. }
  213. ],
  214. "sub": false,
  215. "time_zone": "-08:00",
  216. "uid": "***",
  217. "update_time": 1639596759,
  218. "uuid": "736388262462ab3c521e"
  219. },
  220. {
  221. "active_time": 1606362512,
  222. "biz_type": 18,
  223. "category": "cz",
  224. "create_time": 1579776563,
  225. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  226. "id": "26300763f4cfa2022836",
  227. "ip": "***",
  228. "lat": "***",
  229. "local_key": "***",
  230. "lon": "***",
  231. "model": "WP3-B美规10A(不带计量)/gosund",
  232. "name": "Lemon Light",
  233. "online": true,
  234. "owner_id": "11866790",
  235. "product_id": "AiHXxAyyn7eAkLQY",
  236. "product_name": "Mini Smart Plug",
  237. "status": [
  238. {
  239. "code": "switch_1",
  240. "value": false
  241. },
  242. {
  243. "code": "countdown_1",
  244. "value": 0
  245. }
  246. ],
  247. "sub": false,
  248. "time_zone": "-08:00",
  249. "uid": "***",
  250. "update_time": 1639596674,
  251. "uuid": "26300763f4cfa2022836"
  252. },
  253. {
  254. "active_time": 1579313987,
  255. "biz_type": 18,
  256. "category": "cz",
  257. "create_time": 1579313987,
  258. "icon": "smart/icon/1498529014_0.png",
  259. "id": "33360203c82b9602204e",
  260. "ip": "***",
  261. "lat": "***",
  262. "local_key": "***",
  263. "lon": "***",
  264. "model": "HYS-X5-NEW",
  265. "name": "Gold Lava Lamp",
  266. "online": true,
  267. "owner_id": "11866790",
  268. "product_id": "qoacsyyfbrbe3lm8",
  269. "product_name": "Mini Smart Socket",
  270. "status": [
  271. {
  272. "code": "switch_1",
  273. "value": false
  274. },
  275. {
  276. "code": "countdown_1",
  277. "value": 0
  278. }
  279. ],
  280. "sub": false,
  281. "time_zone": "-08:00",
  282. "uid": "***",
  283. "update_time": 1639596654,
  284. "uuid": "33360203c82b9602204e"
  285. },
  286. {
  287. "active_time": 1627023398,
  288. "biz_type": 18,
  289. "category": "jsq",
  290. "create_time": 1627023398,
  291. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  292. "id": "eb5a649a9f92cdb9ec1pq6",
  293. "ip": "***",
  294. "lat": "***",
  295. "local_key": "***",
  296. "lon": "***",
  297. "name": "Smart Aroma Diffuser Two",
  298. "online": true,
  299. "owner_id": "11866790",
  300. "product_id": "yodwo2ujgwbgjaio",
  301. "product_name": "Smart Aroma Diffuser",
  302. "status": [
  303. {
  304. "code": "switch",
  305. "value": false
  306. },
  307. {
  308. "code": "switch_led",
  309. "value": false
  310. }
  311. ],
  312. "sub": false,
  313. "time_zone": "-07:00",
  314. "uid": "***",
  315. "update_time": 1639596592,
  316. "uuid": "912153509b40b0b0"
  317. },
  318. {
  319. "active_time": 1606362711,
  320. "biz_type": 18,
  321. "category": "cz",
  322. "create_time": 1579232360,
  323. "icon": "smart/icon/1498529014_0.png",
  324. "id": "10812535bcddc2a8a191",
  325. "ip": "***",
  326. "lat": "***",
  327. "local_key": "***",
  328. "lon": "***",
  329. "model": "HYS-X5-NEW",
  330. "name": "Green",
  331. "online": true,
  332. "owner_id": "11866790",
  333. "product_id": "qoacsyyfbrbe3lm8",
  334. "product_name": "Mini Smart Socket",
  335. "status": [
  336. {
  337. "code": "switch_1",
  338. "value": false
  339. },
  340. {
  341. "code": "countdown_1",
  342. "value": 0
  343. }
  344. ],
  345. "sub": false,
  346. "time_zone": "-08:00",
  347. "uid": "***",
  348. "update_time": 1639596405,
  349. "uuid": "10812535bcddc2a8a191"
  350. },
  351. {
  352. "active_time": 1606614603,
  353. "biz_type": 18,
  354. "category": "cz",
  355. "create_time": 1579236112,
  356. "icon": "smart/icon/1498529014_0.png",
  357. "id": "1081253568c63aee1cce",
  358. "ip": "***",
  359. "lat": "***",
  360. "local_key": "***",
  361. "lon": "***",
  362. "model": "HYS-X5-NEW",
  363. "name": "Red Glitter Lamp",
  364. "online": true,
  365. "owner_id": "11866790",
  366. "product_id": "qoacsyyfbrbe3lm8",
  367. "product_name": "Mini Smart Socket",
  368. "status": [
  369. {
  370. "code": "switch_1",
  371. "value": false
  372. },
  373. {
  374. "code": "countdown_1",
  375. "value": 0
  376. }
  377. ],
  378. "sub": false,
  379. "time_zone": "-08:00",
  380. "uid": "***",
  381. "update_time": 1639596069,
  382. "uuid": "1081253568c63aee1cce"
  383. },
  384. {
  385. "active_time": 1631693069,
  386. "biz_type": 18,
  387. "category": "cz",
  388. "create_time": 1579232097,
  389. "icon": "smart/icon/1498529014_0.png",
  390. "id": "33360203c82b960217c9",
  391. "ip": "***",
  392. "lat": "***",
  393. "local_key": "***",
  394. "lon": "***",
  395. "model": "HYS-X5-NEW",
  396. "name": "Purple Lava Lamp",
  397. "online": true,
  398. "owner_id": "11866790",
  399. "product_id": "qoacsyyfbrbe3lm8",
  400. "product_name": "Mini Smart Socket",
  401. "status": [
  402. {
  403. "code": "switch_1",
  404. "value": false
  405. },
  406. {
  407. "code": "countdown_1",
  408. "value": 0
  409. }
  410. ],
  411. "sub": false,
  412. "time_zone": "-08:00",
  413. "uid": "***",
  414. "update_time": 1639595950,
  415. "uuid": "33360203c82b960217c9"
  416. },
  417. {
  418. "active_time": 1633651110,
  419. "biz_type": 18,
  420. "category": "cz",
  421. "create_time": 1633651110,
  422. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  423. "id": "36837871bcddc23ccd0e",
  424. "ip": "***",
  425. "lat": "***",
  426. "local_key": "***",
  427. "lon": "***",
  428. "model": "HYS-01-X5P-S7",
  429. "name": "Pink Lava Lamp",
  430. "online": true,
  431. "owner_id": "11866790",
  432. "product_id": "7i0er84cthlfv1mh",
  433. "product_name": "Mini Smart Socket",
  434. "status": [
  435. {
  436. "code": "switch_1",
  437. "value": false
  438. },
  439. {
  440. "code": "countdown_1",
  441. "value": 0
  442. }
  443. ],
  444. "sub": false,
  445. "time_zone": "-08:00",
  446. "uid": "***",
  447. "update_time": 1639595720,
  448. "uuid": "36837871bcddc23ccd0e"
  449. },
  450. {
  451. "active_time": 1633649772,
  452. "biz_type": 18,
  453. "category": "cz",
  454. "create_time": 1633649772,
  455. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  456. "id": "16505438bcddc29c7d1c",
  457. "ip": "***",
  458. "lat": "***",
  459. "local_key": "***",
  460. "lon": "***",
  461. "model": "HYS-01-X5P-S7",
  462. "name": "Yellow Lava Lamp",
  463. "online": true,
  464. "owner_id": "11866790",
  465. "product_id": "7i0er84cthlfv1mh",
  466. "product_name": "Mini Smart Socket",
  467. "status": [
  468. {
  469. "code": "switch_1",
  470. "value": false
  471. },
  472. {
  473. "code": "countdown_1",
  474. "value": 0
  475. }
  476. ],
  477. "sub": false,
  478. "time_zone": "-08:00",
  479. "uid": "***",
  480. "update_time": 1639595373,
  481. "uuid": "16505438bcddc29c7d1c"
  482. }
  483. ],
  484. "success": true,
  485. "t": 1643990405064
  486. }
  487. 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
  488. 2022-02-04 08:00:05 DEBUG (Thread-343) [tuya iot] Response: {
  489. "result": {
  490. "client_id": "***",
  491. "expire_time": 3539,
  492. "password": "***",
  493. "sink_topic": {
  494. "device": "cloud/token/out/{device_id}"
  495. },
  496. "source_topic": {
  497. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  498. },
  499. "url": "ssl://m1.tuyaus.com:8883",
  500. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  501. },
  502. "success": true,
  503. "t": 1643990405341
  504. }
  505. 2022-02-04 08:00:05 DEBUG (Thread-343) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  506. 2022-02-04 08:00:05 DEBUG (SyncWorker_1) [tuya iot] Response: {
  507. "result": {
  508. "category": "cz",
  509. "functions": [
  510. {
  511. "code": "switch_1",
  512. "type": "Boolean",
  513. "values": "{}"
  514. },
  515. {
  516. "code": "countdown_1",
  517. "type": "Integer",
  518. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  519. }
  520. ],
  521. "status": [
  522. {
  523. "code": "switch_1",
  524. "type": "Boolean",
  525. "values": "{}"
  526. },
  527. {
  528. "code": "countdown_1",
  529. "type": "Integer",
  530. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  531. }
  532. ]
  533. },
  534. "success": true,
  535. "t": 1643990405455
  536. }
  537. 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
  538. 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'
  539. 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_log: Received CONNACK (0, 0)
  540. 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] connect flags->{'session present': 0}, rc->0
  541. 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  542. 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_log: Received SUBACK
  543. 2022-02-04 08:00:06 DEBUG (Thread-344) [tuya iot] _on_subscribe: 1
  544. 2022-02-04 08:00:06 DEBUG (SyncWorker_1) [tuya iot] Response: {
  545. "result": {
  546. "category": "cz",
  547. "functions": [
  548. {
  549. "code": "switch_1",
  550. "type": "Boolean",
  551. "values": "{}"
  552. },
  553. {
  554. "code": "countdown_1",
  555. "type": "Integer",
  556. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  557. }
  558. ],
  559. "status": [
  560. {
  561. "code": "switch_1",
  562. "type": "Boolean",
  563. "values": "{}"
  564. },
  565. {
  566. "code": "countdown_1",
  567. "type": "Integer",
  568. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  569. }
  570. ]
  571. },
  572. "success": true,
  573. "t": 1643990406890
  574. }
  575. 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
  576. 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Response: {
  577. "result": {
  578. "category": "cz",
  579. "functions": [
  580. {
  581. "code": "switch_1",
  582. "type": "Boolean",
  583. "values": "{}"
  584. },
  585. {
  586. "code": "countdown_1",
  587. "type": "Integer",
  588. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  589. }
  590. ],
  591. "status": [
  592. {
  593. "code": "switch_1",
  594. "type": "Boolean",
  595. "values": "{}"
  596. },
  597. {
  598. "code": "countdown_1",
  599. "type": "Integer",
  600. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  601. }
  602. ]
  603. },
  604. "success": true,
  605. "t": 1643990407021
  606. }
  607. 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
  608. 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Response: {
  609. "result": {
  610. "category": "cz",
  611. "functions": [
  612. {
  613. "code": "switch_1",
  614. "type": "Boolean",
  615. "values": "{}"
  616. },
  617. {
  618. "code": "countdown_1",
  619. "type": "Integer",
  620. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  621. }
  622. ],
  623. "status": [
  624. {
  625. "code": "switch_1",
  626. "type": "Boolean",
  627. "values": "{}"
  628. },
  629. {
  630. "code": "countdown_1",
  631. "type": "Integer",
  632. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  633. }
  634. ]
  635. },
  636. "success": true,
  637. "t": 1643990407616
  638. }
  639. 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
  640. 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Response: {
  641. "result": {
  642. "category": "cz",
  643. "functions": [
  644. {
  645. "code": "switch_1",
  646. "type": "Boolean",
  647. "values": "{}"
  648. },
  649. {
  650. "code": "countdown_1",
  651. "type": "Integer",
  652. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  653. }
  654. ],
  655. "status": [
  656. {
  657. "code": "switch_1",
  658. "type": "Boolean",
  659. "values": "{}"
  660. },
  661. {
  662. "code": "countdown_1",
  663. "type": "Integer",
  664. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  665. }
  666. ]
  667. },
  668. "success": true,
  669. "t": 1643990407777
  670. }
  671. 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
  672. 2022-02-04 08:00:07 DEBUG (SyncWorker_1) [tuya iot] Response: {
  673. "result": {
  674. "category": "cz",
  675. "functions": [
  676. {
  677. "code": "switch_1",
  678. "type": "Boolean",
  679. "values": "{}"
  680. },
  681. {
  682. "code": "countdown_1",
  683. "type": "Integer",
  684. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  685. }
  686. ],
  687. "status": [
  688. {
  689. "code": "switch_1",
  690. "type": "Boolean",
  691. "values": "{}"
  692. },
  693. {
  694. "code": "countdown_1",
  695. "type": "Integer",
  696. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  697. }
  698. ]
  699. },
  700. "success": true,
  701. "t": 1643990407916
  702. }
  703. 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
  704. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  705. "result": {
  706. "category": "cz",
  707. "functions": [
  708. {
  709. "code": "switch_1",
  710. "type": "Boolean",
  711. "values": "{}"
  712. },
  713. {
  714. "code": "countdown_1",
  715. "type": "Integer",
  716. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  717. }
  718. ],
  719. "status": [
  720. {
  721. "code": "switch_1",
  722. "type": "Boolean",
  723. "values": "{}"
  724. },
  725. {
  726. "code": "countdown_1",
  727. "type": "Integer",
  728. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  729. }
  730. ]
  731. },
  732. "success": true,
  733. "t": 1643990408047
  734. }
  735. 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
  736. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  737. "result": {
  738. "category": "cz",
  739. "functions": [
  740. {
  741. "code": "switch_1",
  742. "type": "Boolean",
  743. "values": "{}"
  744. },
  745. {
  746. "code": "countdown_1",
  747. "type": "Integer",
  748. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  749. }
  750. ],
  751. "status": [
  752. {
  753. "code": "switch_1",
  754. "type": "Boolean",
  755. "values": "{}"
  756. },
  757. {
  758. "code": "countdown_1",
  759. "type": "Integer",
  760. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  761. }
  762. ]
  763. },
  764. "success": true,
  765. "t": 1643990408211
  766. }
  767. 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
  768. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  769. "result": {
  770. "category": "jsq",
  771. "functions": [
  772. {
  773. "code": "switch",
  774. "type": "Boolean",
  775. "values": "{}"
  776. },
  777. {
  778. "code": "switch_led",
  779. "type": "Boolean",
  780. "values": "{}"
  781. }
  782. ],
  783. "status": [
  784. {
  785. "code": "switch",
  786. "type": "Boolean",
  787. "values": "{}"
  788. },
  789. {
  790. "code": "switch_led",
  791. "type": "Boolean",
  792. "values": "{}"
  793. }
  794. ]
  795. },
  796. "success": true,
  797. "t": 1643990408347
  798. }
  799. 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
  800. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  801. "result": {
  802. "category": "cz",
  803. "functions": [
  804. {
  805. "code": "switch_1",
  806. "type": "Boolean",
  807. "values": "{}"
  808. },
  809. {
  810. "code": "countdown_1",
  811. "type": "Integer",
  812. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  813. }
  814. ],
  815. "status": [
  816. {
  817. "code": "switch_1",
  818. "type": "Boolean",
  819. "values": "{}"
  820. },
  821. {
  822. "code": "countdown_1",
  823. "type": "Integer",
  824. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  825. }
  826. ]
  827. },
  828. "success": true,
  829. "t": 1643990408468
  830. }
  831. 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
  832. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  833. "result": {
  834. "category": "cz",
  835. "functions": [
  836. {
  837. "code": "switch_1",
  838. "type": "Boolean",
  839. "values": "{}"
  840. },
  841. {
  842. "code": "countdown_1",
  843. "type": "Integer",
  844. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  845. }
  846. ],
  847. "status": [
  848. {
  849. "code": "switch_1",
  850. "type": "Boolean",
  851. "values": "{}"
  852. },
  853. {
  854. "code": "countdown_1",
  855. "type": "Integer",
  856. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  857. }
  858. ]
  859. },
  860. "success": true,
  861. "t": 1643990408630
  862. }
  863. 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
  864. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  865. "result": {
  866. "category": "cz",
  867. "functions": [
  868. {
  869. "code": "switch_1",
  870. "type": "Boolean",
  871. "values": "{}"
  872. },
  873. {
  874. "code": "countdown_1",
  875. "type": "Integer",
  876. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  877. }
  878. ],
  879. "status": [
  880. {
  881. "code": "switch_1",
  882. "type": "Boolean",
  883. "values": "{}"
  884. },
  885. {
  886. "code": "countdown_1",
  887. "type": "Integer",
  888. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  889. }
  890. ]
  891. },
  892. "success": true,
  893. "t": 1643990408765
  894. }
  895. 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
  896. 2022-02-04 08:00:08 DEBUG (SyncWorker_1) [tuya iot] Response: {
  897. "result": {
  898. "category": "cz",
  899. "functions": [
  900. {
  901. "code": "switch_1",
  902. "type": "Boolean",
  903. "values": "{}"
  904. },
  905. {
  906. "code": "countdown_1",
  907. "type": "Integer",
  908. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  909. }
  910. ],
  911. "status": [
  912. {
  913. "code": "switch_1",
  914. "type": "Boolean",
  915. "values": "{}"
  916. },
  917. {
  918. "code": "countdown_1",
  919. "type": "Integer",
  920. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  921. }
  922. ]
  923. },
  924. "success": true,
  925. "t": 1643990408902
  926. }
  927. 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
  928. 2022-02-04 08:00:09 DEBUG (SyncWorker_1) [tuya iot] Response: {
  929. "result": {
  930. "category": "cz",
  931. "functions": [
  932. {
  933. "code": "switch_1",
  934. "type": "Boolean",
  935. "values": "{}"
  936. },
  937. {
  938. "code": "countdown_1",
  939. "type": "Integer",
  940. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  941. }
  942. ],
  943. "status": [
  944. {
  945. "code": "switch_1",
  946. "type": "Boolean",
  947. "values": "{}"
  948. },
  949. {
  950. "code": "countdown_1",
  951. "type": "Integer",
  952. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  953. }
  954. ]
  955. },
  956. "success": true,
  957. "t": 1643990409020
  958. }
  959. 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']
  960. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  961. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  962. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  963. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  964. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  965. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  966. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  967. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  968. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  969. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  970. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  971. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  972. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  973. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  974. 2022-02-04 08:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select init
  975. 2022-02-04 08:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  976. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  977. 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']
  978. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  979. 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']
  980. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  981. 2022-02-04 08:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  982. 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
  983. 2022-02-04 08:00:09 DEBUG (SyncWorker_8) [tuya iot] Response: {
  984. "result": [
  985. {
  986. "geo_name": "",
  987. "home_id": 11866790,
  988. "lat": "***",
  989. "lon": "***",
  990. "name": "My Home ..",
  991. "role": "OWNER"
  992. }
  993. ],
  994. "success": true,
  995. "t": 1643990409470
  996. }
  997. 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
  998. 2022-02-04 08:00:09 DEBUG (SyncWorker_8) [tuya iot] Response: {
  999. "result": [],
  1000. "success": true,
  1001. "t": 1643990409784
  1002. }
  1003. 2022-02-04 08:01:06 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1004. 2022-02-04 08:01:06 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1005. 2022-02-04 08:01:21 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
  1006. 2022-02-04 08:02:06 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1007. 2022-02-04 08:02:06 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1008. 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  1009. 2022-02-04 08:02:12 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  1010. 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "98372", "fps": "24", "no'
  1011. 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  1012. 2022-02-04 08:02:12 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  1013. 2022-02-04 08:02:12 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "98372", "fps": "24", "no'
  1014. 2022-02-04 08:03:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1015. 2022-02-04 08:03:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1016. 2022-02-04 08:03:51 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
  1017. 2022-02-04 08:03:56 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  1018. 2022-02-04 08:04:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1019. 2022-02-04 08:04:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1020. 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  1021. 2022-02-04 08:04:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  1022. 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "97920", "fps": "25", "no'
  1023. 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  1024. 2022-02-04 08:04:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  1025. 2022-02-04 08:04:43 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "97920", "fps": "25", "no'
  1026. 2022-02-04 08:05:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1027. 2022-02-04 08:05:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1028. 2022-02-04 08:06:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1029. 2022-02-04 08:06:07 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1030. 2022-02-04 08:07:07 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1031. 2022-02-04 08:07:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1032. 2022-02-04 08:08:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1033. 2022-02-04 08:08:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1034. 2022-02-04 08:09:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1035. 2022-02-04 08:09:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1036. 2022-02-04 08:10:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1037. 2022-02-04 08:10:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1038. 2022-02-04 08:11:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1039. 2022-02-04 08:11:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1040. 2022-02-04 08:12:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1041. 2022-02-04 08:12:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1042. 2022-02-04 08:13:08 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1043. 2022-02-04 08:13:08 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1044. 2022-02-04 08:14:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1045. 2022-02-04 08:14:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1046. 2022-02-04 08:15:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1047. 2022-02-04 08:15:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1048. 2022-02-04 08:16:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1049. 2022-02-04 08:16:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1050. 2022-02-04 08:17:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1051. 2022-02-04 08:17:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1052. 2022-02-04 08:18:09 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1053. 2022-02-04 08:18:09 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1054. 2022-02-04 08:19:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1055. 2022-02-04 08:19:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1056. 2022-02-04 08:19:23 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  1057. 2022-02-04 08:20:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1058. 2022-02-04 08:20:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1059. 2022-02-04 08:21:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1060. 2022-02-04 08:21:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1061. 2022-02-04 08:22:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1062. 2022-02-04 08:22:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1063. 2022-02-04 08:23:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1064. 2022-02-04 08:23:10 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1065. 2022-02-04 08:24:10 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1066. 2022-02-04 08:24:11 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1067. 2022-02-04 08:25:12 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1068. 2022-02-04 08:25:12 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1069. 2022-02-04 08:26:12 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1070. 2022-02-04 08:26:12 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1071. 2022-02-04 08:27:12 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1072. 2022-02-04 08:27:13 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1073. 2022-02-04 08:28:13 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1074. 2022-02-04 08:28:13 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1075. 2022-02-04 08:29:13 DEBUG (Thread-344) [tuya iot] _on_log: Sending PINGREQ
  1076. 2022-02-04 08:29:13 DEBUG (Thread-344) [tuya iot] _on_log: Received PINGRESP
  1077. 2022-02-04 08:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  1078. 2022-02-04 08:30:00 DEBUG (MainThread) [tuya iot] stop
  1079. 2022-02-04 08:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  1080. 2022-02-04 08:30:00 DEBUG (Thread-344) [tuya iot] disconnect
  1081. 2022-02-04 08:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  1082. 2022-02-04 08:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  1083. 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
  1084. 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.
  1085. 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.
  1086. 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.
  1087. 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.
  1088. 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.
  1089. 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.
  1090. 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.
  1091. 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.
  1092. 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.
  1093. 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.
  1094. 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.
  1095. 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.
  1096. 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.
  1097. 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.
  1098. 2022-02-04 08:30:01 DEBUG (SyncWorker_15) [tuya iot] Response: {
  1099. "result": {
  1100. "access_token": "***",
  1101. "expire_time": 7200,
  1102. "platform_url": "https://openapi.tuyaus.com",
  1103. "refresh_token": "***",
  1104. "uid": "***"
  1105. },
  1106. "success": true,
  1107. "t": 1643992201398
  1108. }
  1109. 2022-02-04 08:30:01 DEBUG (MainThread) [tuya iot] start
  1110. 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
  1111. 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
  1112. 2022-02-04 08:30:01 DEBUG (Thread-347) [tuya iot] Response: {
  1113. "result": {
  1114. "client_id": "***",
  1115. "expire_time": 7200,
  1116. "password": "***",
  1117. "sink_topic": {
  1118. "device": "cloud/token/out/{device_id}"
  1119. },
  1120. "source_topic": {
  1121. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  1122. },
  1123. "url": "ssl://m1.tuyaus.com:8883",
  1124. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  1125. },
  1126. "success": true,
  1127. "t": 1643992201948
  1128. }
  1129. 2022-02-04 08:30:01 DEBUG (Thread-347) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  1130. 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1131. "result": [
  1132. {
  1133. "active_time": 1642129199,
  1134. "biz_type": 18,
  1135. "category": "cz",
  1136. "create_time": 1633651254,
  1137. "icon": "smart/icon/1498529014_0.png",
  1138. "id": "0518502668c63aee2465",
  1139. "ip": "***",
  1140. "lat": "***",
  1141. "local_key": "***",
  1142. "lon": "***",
  1143. "model": "HYS-01-X5P-帆客",
  1144. "name": "Black Lava Lamp",
  1145. "online": true,
  1146. "owner_id": "11866790",
  1147. "product_id": "gpgdjdp2zvog8m0p",
  1148. "product_name": "Mini Smart Socket",
  1149. "status": [
  1150. {
  1151. "code": "switch_1",
  1152. "value": false
  1153. },
  1154. {
  1155. "code": "countdown_1",
  1156. "value": 0
  1157. }
  1158. ],
  1159. "sub": false,
  1160. "time_zone": "-08:00",
  1161. "uid": "***",
  1162. "update_time": 1643704238,
  1163. "uuid": "0518502668c63aee2465"
  1164. },
  1165. {
  1166. "active_time": 1625883466,
  1167. "biz_type": 18,
  1168. "category": "cz",
  1169. "create_time": 1625877313,
  1170. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  1171. "id": "177623502462ab3c8a02",
  1172. "ip": "***",
  1173. "lat": "***",
  1174. "local_key": "***",
  1175. "lon": "***",
  1176. "name": "Hanging Light",
  1177. "online": true,
  1178. "owner_id": "11866790",
  1179. "product_id": "AiHXxAyyn7eAkLQY",
  1180. "product_name": "Mini Smart Plug",
  1181. "status": [
  1182. {
  1183. "code": "switch_1",
  1184. "value": false
  1185. },
  1186. {
  1187. "code": "countdown_1",
  1188. "value": 0
  1189. }
  1190. ],
  1191. "sub": false,
  1192. "time_zone": "-08:00",
  1193. "uid": "***",
  1194. "update_time": 1639597496,
  1195. "uuid": "177623502462ab3c8a02"
  1196. },
  1197. {
  1198. "active_time": 1606362427,
  1199. "biz_type": 18,
  1200. "category": "cz",
  1201. "create_time": 1579662054,
  1202. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  1203. "id": "736388262462ab3cc045",
  1204. "ip": "***",
  1205. "lat": "***",
  1206. "local_key": "***",
  1207. "lon": "***",
  1208. "name": "Orange Lava Lamp",
  1209. "online": true,
  1210. "owner_id": "11866790",
  1211. "product_id": "AiHXxAyyn7eAkLQY",
  1212. "product_name": "Mini Smart Plug",
  1213. "status": [
  1214. {
  1215. "code": "switch_1",
  1216. "value": false
  1217. },
  1218. {
  1219. "code": "countdown_1",
  1220. "value": 0
  1221. }
  1222. ],
  1223. "sub": false,
  1224. "time_zone": "-08:00",
  1225. "uid": "***",
  1226. "update_time": 1639597476,
  1227. "uuid": "736388262462ab3cc045"
  1228. },
  1229. {
  1230. "active_time": 1576644608,
  1231. "biz_type": 18,
  1232. "category": "cz",
  1233. "create_time": 1576644608,
  1234. "icon": "smart/icon/1498529014_0.png",
  1235. "id": "40834308500291b2b6b7",
  1236. "ip": "***",
  1237. "lat": "***",
  1238. "local_key": "***",
  1239. "lon": "***",
  1240. "model": "HYS-X5-NEW",
  1241. "name": "Banana Light",
  1242. "online": true,
  1243. "owner_id": "11866790",
  1244. "product_id": "qoacsyyfbrbe3lm8",
  1245. "product_name": "Mini Smart Socket",
  1246. "status": [
  1247. {
  1248. "code": "switch_1",
  1249. "value": true
  1250. },
  1251. {
  1252. "code": "countdown_1",
  1253. "value": 0
  1254. }
  1255. ],
  1256. "sub": false,
  1257. "time_zone": "-08:00",
  1258. "uid": "***",
  1259. "update_time": 1639597286,
  1260. "uuid": "40834308500291b2b6b7"
  1261. },
  1262. {
  1263. "active_time": 1633650334,
  1264. "biz_type": 18,
  1265. "category": "cz",
  1266. "create_time": 1633650334,
  1267. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  1268. "id": "165054382cf432255c5f",
  1269. "ip": "***",
  1270. "lat": "***",
  1271. "local_key": "***",
  1272. "lon": "***",
  1273. "model": "HYS-01-X5P-S7",
  1274. "name": "Checkered Lava Lamp",
  1275. "online": true,
  1276. "owner_id": "11866790",
  1277. "product_id": "7i0er84cthlfv1mh",
  1278. "product_name": "Mini Smart Socket",
  1279. "status": [
  1280. {
  1281. "code": "switch_1",
  1282. "value": false
  1283. },
  1284. {
  1285. "code": "countdown_1",
  1286. "value": 0
  1287. }
  1288. ],
  1289. "sub": false,
  1290. "time_zone": "-08:00",
  1291. "uid": "***",
  1292. "update_time": 1639597032,
  1293. "uuid": "165054382cf432255c5f"
  1294. },
  1295. {
  1296. "active_time": 1606616090,
  1297. "biz_type": 18,
  1298. "category": "cz",
  1299. "create_time": 1579677410,
  1300. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  1301. "id": "736388262462ab3c521e",
  1302. "ip": "***",
  1303. "lat": "***",
  1304. "local_key": "***",
  1305. "lon": "***",
  1306. "name": "Blue Lava Lamp",
  1307. "online": true,
  1308. "owner_id": "11866790",
  1309. "product_id": "AiHXxAyyn7eAkLQY",
  1310. "product_name": "Mini Smart Plug",
  1311. "status": [
  1312. {
  1313. "code": "switch_1",
  1314. "value": false
  1315. },
  1316. {
  1317. "code": "countdown_1",
  1318. "value": 0
  1319. }
  1320. ],
  1321. "sub": false,
  1322. "time_zone": "-08:00",
  1323. "uid": "***",
  1324. "update_time": 1639596759,
  1325. "uuid": "736388262462ab3c521e"
  1326. },
  1327. {
  1328. "active_time": 1606362512,
  1329. "biz_type": 18,
  1330. "category": "cz",
  1331. "create_time": 1579776563,
  1332. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  1333. "id": "26300763f4cfa2022836",
  1334. "ip": "***",
  1335. "lat": "***",
  1336. "local_key": "***",
  1337. "lon": "***",
  1338. "model": "WP3-B美规10A(不带计量)/gosund",
  1339. "name": "Lemon Light",
  1340. "online": true,
  1341. "owner_id": "11866790",
  1342. "product_id": "AiHXxAyyn7eAkLQY",
  1343. "product_name": "Mini Smart Plug",
  1344. "status": [
  1345. {
  1346. "code": "switch_1",
  1347. "value": false
  1348. },
  1349. {
  1350. "code": "countdown_1",
  1351. "value": 0
  1352. }
  1353. ],
  1354. "sub": false,
  1355. "time_zone": "-08:00",
  1356. "uid": "***",
  1357. "update_time": 1639596674,
  1358. "uuid": "26300763f4cfa2022836"
  1359. },
  1360. {
  1361. "active_time": 1579313987,
  1362. "biz_type": 18,
  1363. "category": "cz",
  1364. "create_time": 1579313987,
  1365. "icon": "smart/icon/1498529014_0.png",
  1366. "id": "33360203c82b9602204e",
  1367. "ip": "***",
  1368. "lat": "***",
  1369. "local_key": "***",
  1370. "lon": "***",
  1371. "model": "HYS-X5-NEW",
  1372. "name": "Gold Lava Lamp",
  1373. "online": true,
  1374. "owner_id": "11866790",
  1375. "product_id": "qoacsyyfbrbe3lm8",
  1376. "product_name": "Mini Smart Socket",
  1377. "status": [
  1378. {
  1379. "code": "switch_1",
  1380. "value": false
  1381. },
  1382. {
  1383. "code": "countdown_1",
  1384. "value": 0
  1385. }
  1386. ],
  1387. "sub": false,
  1388. "time_zone": "-08:00",
  1389. "uid": "***",
  1390. "update_time": 1639596654,
  1391. "uuid": "33360203c82b9602204e"
  1392. },
  1393. {
  1394. "active_time": 1627023398,
  1395. "biz_type": 18,
  1396. "category": "jsq",
  1397. "create_time": 1627023398,
  1398. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  1399. "id": "eb5a649a9f92cdb9ec1pq6",
  1400. "ip": "***",
  1401. "lat": "***",
  1402. "local_key": "***",
  1403. "lon": "***",
  1404. "name": "Smart Aroma Diffuser Two",
  1405. "online": true,
  1406. "owner_id": "11866790",
  1407. "product_id": "yodwo2ujgwbgjaio",
  1408. "product_name": "Smart Aroma Diffuser",
  1409. "status": [
  1410. {
  1411. "code": "switch",
  1412. "value": false
  1413. },
  1414. {
  1415. "code": "switch_led",
  1416. "value": false
  1417. }
  1418. ],
  1419. "sub": false,
  1420. "time_zone": "-07:00",
  1421. "uid": "***",
  1422. "update_time": 1639596592,
  1423. "uuid": "912153509b40b0b0"
  1424. },
  1425. {
  1426. "active_time": 1606362711,
  1427. "biz_type": 18,
  1428. "category": "cz",
  1429. "create_time": 1579232360,
  1430. "icon": "smart/icon/1498529014_0.png",
  1431. "id": "10812535bcddc2a8a191",
  1432. "ip": "***",
  1433. "lat": "***",
  1434. "local_key": "***",
  1435. "lon": "***",
  1436. "model": "HYS-X5-NEW",
  1437. "name": "Green",
  1438. "online": true,
  1439. "owner_id": "11866790",
  1440. "product_id": "qoacsyyfbrbe3lm8",
  1441. "product_name": "Mini Smart Socket",
  1442. "status": [
  1443. {
  1444. "code": "switch_1",
  1445. "value": false
  1446. },
  1447. {
  1448. "code": "countdown_1",
  1449. "value": 0
  1450. }
  1451. ],
  1452. "sub": false,
  1453. "time_zone": "-08:00",
  1454. "uid": "***",
  1455. "update_time": 1639596405,
  1456. "uuid": "10812535bcddc2a8a191"
  1457. },
  1458. {
  1459. "active_time": 1606614603,
  1460. "biz_type": 18,
  1461. "category": "cz",
  1462. "create_time": 1579236112,
  1463. "icon": "smart/icon/1498529014_0.png",
  1464. "id": "1081253568c63aee1cce",
  1465. "ip": "***",
  1466. "lat": "***",
  1467. "local_key": "***",
  1468. "lon": "***",
  1469. "model": "HYS-X5-NEW",
  1470. "name": "Red Glitter Lamp",
  1471. "online": true,
  1472. "owner_id": "11866790",
  1473. "product_id": "qoacsyyfbrbe3lm8",
  1474. "product_name": "Mini Smart Socket",
  1475. "status": [
  1476. {
  1477. "code": "switch_1",
  1478. "value": false
  1479. },
  1480. {
  1481. "code": "countdown_1",
  1482. "value": 0
  1483. }
  1484. ],
  1485. "sub": false,
  1486. "time_zone": "-08:00",
  1487. "uid": "***",
  1488. "update_time": 1639596069,
  1489. "uuid": "1081253568c63aee1cce"
  1490. },
  1491. {
  1492. "active_time": 1631693069,
  1493. "biz_type": 18,
  1494. "category": "cz",
  1495. "create_time": 1579232097,
  1496. "icon": "smart/icon/1498529014_0.png",
  1497. "id": "33360203c82b960217c9",
  1498. "ip": "***",
  1499. "lat": "***",
  1500. "local_key": "***",
  1501. "lon": "***",
  1502. "model": "HYS-X5-NEW",
  1503. "name": "Purple Lava Lamp",
  1504. "online": true,
  1505. "owner_id": "11866790",
  1506. "product_id": "qoacsyyfbrbe3lm8",
  1507. "product_name": "Mini Smart Socket",
  1508. "status": [
  1509. {
  1510. "code": "switch_1",
  1511. "value": false
  1512. },
  1513. {
  1514. "code": "countdown_1",
  1515. "value": 0
  1516. }
  1517. ],
  1518. "sub": false,
  1519. "time_zone": "-08:00",
  1520. "uid": "***",
  1521. "update_time": 1639595950,
  1522. "uuid": "33360203c82b960217c9"
  1523. },
  1524. {
  1525. "active_time": 1633651110,
  1526. "biz_type": 18,
  1527. "category": "cz",
  1528. "create_time": 1633651110,
  1529. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  1530. "id": "36837871bcddc23ccd0e",
  1531. "ip": "***",
  1532. "lat": "***",
  1533. "local_key": "***",
  1534. "lon": "***",
  1535. "model": "HYS-01-X5P-S7",
  1536. "name": "Pink Lava Lamp",
  1537. "online": true,
  1538. "owner_id": "11866790",
  1539. "product_id": "7i0er84cthlfv1mh",
  1540. "product_name": "Mini Smart Socket",
  1541. "status": [
  1542. {
  1543. "code": "switch_1",
  1544. "value": false
  1545. },
  1546. {
  1547. "code": "countdown_1",
  1548. "value": 0
  1549. }
  1550. ],
  1551. "sub": false,
  1552. "time_zone": "-08:00",
  1553. "uid": "***",
  1554. "update_time": 1639595720,
  1555. "uuid": "36837871bcddc23ccd0e"
  1556. },
  1557. {
  1558. "active_time": 1633649772,
  1559. "biz_type": 18,
  1560. "category": "cz",
  1561. "create_time": 1633649772,
  1562. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  1563. "id": "16505438bcddc29c7d1c",
  1564. "ip": "***",
  1565. "lat": "***",
  1566. "local_key": "***",
  1567. "lon": "***",
  1568. "model": "HYS-01-X5P-S7",
  1569. "name": "Yellow Lava Lamp",
  1570. "online": true,
  1571. "owner_id": "11866790",
  1572. "product_id": "7i0er84cthlfv1mh",
  1573. "product_name": "Mini Smart Socket",
  1574. "status": [
  1575. {
  1576. "code": "switch_1",
  1577. "value": false
  1578. },
  1579. {
  1580. "code": "countdown_1",
  1581. "value": 0
  1582. }
  1583. ],
  1584. "sub": false,
  1585. "time_zone": "-08:00",
  1586. "uid": "***",
  1587. "update_time": 1639595373,
  1588. "uuid": "16505438bcddc29c7d1c"
  1589. }
  1590. ],
  1591. "success": true,
  1592. "t": 1643992201983
  1593. }
  1594. 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
  1595. 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1596. "result": {
  1597. "category": "cz",
  1598. "functions": [
  1599. {
  1600. "code": "switch_1",
  1601. "type": "Boolean",
  1602. "values": "{}"
  1603. },
  1604. {
  1605. "code": "countdown_1",
  1606. "type": "Integer",
  1607. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1608. }
  1609. ],
  1610. "status": [
  1611. {
  1612. "code": "switch_1",
  1613. "type": "Boolean",
  1614. "values": "{}"
  1615. },
  1616. {
  1617. "code": "countdown_1",
  1618. "type": "Integer",
  1619. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1620. }
  1621. ]
  1622. },
  1623. "success": true,
  1624. "t": 1643992202308
  1625. }
  1626. 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
  1627. 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1628. "result": {
  1629. "category": "cz",
  1630. "functions": [
  1631. {
  1632. "code": "switch_1",
  1633. "type": "Boolean",
  1634. "values": "{}"
  1635. },
  1636. {
  1637. "code": "countdown_1",
  1638. "type": "Integer",
  1639. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1640. }
  1641. ],
  1642. "status": [
  1643. {
  1644. "code": "switch_1",
  1645. "type": "Boolean",
  1646. "values": "{}"
  1647. },
  1648. {
  1649. "code": "countdown_1",
  1650. "type": "Integer",
  1651. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1652. }
  1653. ]
  1654. },
  1655. "success": true,
  1656. "t": 1643992202448
  1657. }
  1658. 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
  1659. 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1660. "result": {
  1661. "category": "cz",
  1662. "functions": [
  1663. {
  1664. "code": "switch_1",
  1665. "type": "Boolean",
  1666. "values": "{}"
  1667. },
  1668. {
  1669. "code": "countdown_1",
  1670. "type": "Integer",
  1671. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1672. }
  1673. ],
  1674. "status": [
  1675. {
  1676. "code": "switch_1",
  1677. "type": "Boolean",
  1678. "values": "{}"
  1679. },
  1680. {
  1681. "code": "countdown_1",
  1682. "type": "Integer",
  1683. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1684. }
  1685. ]
  1686. },
  1687. "success": true,
  1688. "t": 1643992202570
  1689. }
  1690. 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
  1691. 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'
  1692. 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1693. "result": {
  1694. "category": "cz",
  1695. "functions": [
  1696. {
  1697. "code": "switch_1",
  1698. "type": "Boolean",
  1699. "values": "{}"
  1700. },
  1701. {
  1702. "code": "countdown_1",
  1703. "type": "Integer",
  1704. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1705. }
  1706. ],
  1707. "status": [
  1708. {
  1709. "code": "switch_1",
  1710. "type": "Boolean",
  1711. "values": "{}"
  1712. },
  1713. {
  1714. "code": "countdown_1",
  1715. "type": "Integer",
  1716. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1717. }
  1718. ]
  1719. },
  1720. "success": true,
  1721. "t": 1643992202728
  1722. }
  1723. 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
  1724. 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_log: Received CONNACK (0, 0)
  1725. 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] connect flags->{'session present': 0}, rc->0
  1726. 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  1727. 2022-02-04 08:30:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1728. "result": {
  1729. "category": "cz",
  1730. "functions": [
  1731. {
  1732. "code": "switch_1",
  1733. "type": "Boolean",
  1734. "values": "{}"
  1735. },
  1736. {
  1737. "code": "countdown_1",
  1738. "type": "Integer",
  1739. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1740. }
  1741. ],
  1742. "status": [
  1743. {
  1744. "code": "switch_1",
  1745. "type": "Boolean",
  1746. "values": "{}"
  1747. },
  1748. {
  1749. "code": "countdown_1",
  1750. "type": "Integer",
  1751. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1752. }
  1753. ]
  1754. },
  1755. "success": true,
  1756. "t": 1643992202888
  1757. }
  1758. 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
  1759. 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_log: Received SUBACK
  1760. 2022-02-04 08:30:02 DEBUG (Thread-348) [tuya iot] _on_subscribe: 1
  1761. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1762. "result": {
  1763. "category": "cz",
  1764. "functions": [
  1765. {
  1766. "code": "switch_1",
  1767. "type": "Boolean",
  1768. "values": "{}"
  1769. },
  1770. {
  1771. "code": "countdown_1",
  1772. "type": "Integer",
  1773. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1774. }
  1775. ],
  1776. "status": [
  1777. {
  1778. "code": "switch_1",
  1779. "type": "Boolean",
  1780. "values": "{}"
  1781. },
  1782. {
  1783. "code": "countdown_1",
  1784. "type": "Integer",
  1785. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1786. }
  1787. ]
  1788. },
  1789. "success": true,
  1790. "t": 1643992203028
  1791. }
  1792. 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
  1793. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1794. "result": {
  1795. "category": "cz",
  1796. "functions": [
  1797. {
  1798. "code": "switch_1",
  1799. "type": "Boolean",
  1800. "values": "{}"
  1801. },
  1802. {
  1803. "code": "countdown_1",
  1804. "type": "Integer",
  1805. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1806. }
  1807. ],
  1808. "status": [
  1809. {
  1810. "code": "switch_1",
  1811. "type": "Boolean",
  1812. "values": "{}"
  1813. },
  1814. {
  1815. "code": "countdown_1",
  1816. "type": "Integer",
  1817. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1818. }
  1819. ]
  1820. },
  1821. "success": true,
  1822. "t": 1643992203196
  1823. }
  1824. 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
  1825. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1826. "result": {
  1827. "category": "cz",
  1828. "functions": [
  1829. {
  1830. "code": "switch_1",
  1831. "type": "Boolean",
  1832. "values": "{}"
  1833. },
  1834. {
  1835. "code": "countdown_1",
  1836. "type": "Integer",
  1837. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1838. }
  1839. ],
  1840. "status": [
  1841. {
  1842. "code": "switch_1",
  1843. "type": "Boolean",
  1844. "values": "{}"
  1845. },
  1846. {
  1847. "code": "countdown_1",
  1848. "type": "Integer",
  1849. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1850. }
  1851. ]
  1852. },
  1853. "success": true,
  1854. "t": 1643992203276
  1855. }
  1856. 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
  1857. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1858. "result": {
  1859. "category": "jsq",
  1860. "functions": [
  1861. {
  1862. "code": "switch",
  1863. "type": "Boolean",
  1864. "values": "{}"
  1865. },
  1866. {
  1867. "code": "switch_led",
  1868. "type": "Boolean",
  1869. "values": "{}"
  1870. }
  1871. ],
  1872. "status": [
  1873. {
  1874. "code": "switch",
  1875. "type": "Boolean",
  1876. "values": "{}"
  1877. },
  1878. {
  1879. "code": "switch_led",
  1880. "type": "Boolean",
  1881. "values": "{}"
  1882. }
  1883. ]
  1884. },
  1885. "success": true,
  1886. "t": 1643992203364
  1887. }
  1888. 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
  1889. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1890. "result": {
  1891. "category": "cz",
  1892. "functions": [
  1893. {
  1894. "code": "switch_1",
  1895. "type": "Boolean",
  1896. "values": "{}"
  1897. },
  1898. {
  1899. "code": "countdown_1",
  1900. "type": "Integer",
  1901. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1902. }
  1903. ],
  1904. "status": [
  1905. {
  1906. "code": "switch_1",
  1907. "type": "Boolean",
  1908. "values": "{}"
  1909. },
  1910. {
  1911. "code": "countdown_1",
  1912. "type": "Integer",
  1913. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1914. }
  1915. ]
  1916. },
  1917. "success": true,
  1918. "t": 1643992203463
  1919. }
  1920. 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
  1921. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1922. "result": {
  1923. "category": "cz",
  1924. "functions": [
  1925. {
  1926. "code": "switch_1",
  1927. "type": "Boolean",
  1928. "values": "{}"
  1929. },
  1930. {
  1931. "code": "countdown_1",
  1932. "type": "Integer",
  1933. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1934. }
  1935. ],
  1936. "status": [
  1937. {
  1938. "code": "switch_1",
  1939. "type": "Boolean",
  1940. "values": "{}"
  1941. },
  1942. {
  1943. "code": "countdown_1",
  1944. "type": "Integer",
  1945. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1946. }
  1947. ]
  1948. },
  1949. "success": true,
  1950. "t": 1643992203551
  1951. }
  1952. 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
  1953. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1954. "result": {
  1955. "category": "cz",
  1956. "functions": [
  1957. {
  1958. "code": "switch_1",
  1959. "type": "Boolean",
  1960. "values": "{}"
  1961. },
  1962. {
  1963. "code": "countdown_1",
  1964. "type": "Integer",
  1965. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1966. }
  1967. ],
  1968. "status": [
  1969. {
  1970. "code": "switch_1",
  1971. "type": "Boolean",
  1972. "values": "{}"
  1973. },
  1974. {
  1975. "code": "countdown_1",
  1976. "type": "Integer",
  1977. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1978. }
  1979. ]
  1980. },
  1981. "success": true,
  1982. "t": 1643992203629
  1983. }
  1984. 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
  1985. 2022-02-04 08:30:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  1986. "result": {
  1987. "category": "cz",
  1988. "functions": [
  1989. {
  1990. "code": "switch_1",
  1991. "type": "Boolean",
  1992. "values": "{}"
  1993. },
  1994. {
  1995. "code": "countdown_1",
  1996. "type": "Integer",
  1997. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  1998. }
  1999. ],
  2000. "status": [
  2001. {
  2002. "code": "switch_1",
  2003. "type": "Boolean",
  2004. "values": "{}"
  2005. },
  2006. {
  2007. "code": "countdown_1",
  2008. "type": "Integer",
  2009. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2010. }
  2011. ]
  2012. },
  2013. "success": true,
  2014. "t": 1643992203737
  2015. }
  2016. 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
  2017. 2022-02-04 08:30:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  2018. "result": {
  2019. "category": "cz",
  2020. "functions": [
  2021. {
  2022. "code": "switch_1",
  2023. "type": "Boolean",
  2024. "values": "{}"
  2025. },
  2026. {
  2027. "code": "countdown_1",
  2028. "type": "Integer",
  2029. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2030. }
  2031. ],
  2032. "status": [
  2033. {
  2034. "code": "switch_1",
  2035. "type": "Boolean",
  2036. "values": "{}"
  2037. },
  2038. {
  2039. "code": "countdown_1",
  2040. "type": "Integer",
  2041. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2042. }
  2043. ]
  2044. },
  2045. "success": true,
  2046. "t": 1643992203983
  2047. }
  2048. 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']
  2049. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  2050. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  2051. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  2052. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  2053. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  2054. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  2055. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  2056. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  2057. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  2058. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  2059. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  2060. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  2061. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  2062. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  2063. 2022-02-04 08:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select init
  2064. 2022-02-04 08:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  2065. 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
  2066. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  2067. 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']
  2068. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  2069. 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']
  2070. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  2071. 2022-02-04 08:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  2072. 2022-02-04 08:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
  2073. "result": [
  2074. {
  2075. "geo_name": "",
  2076. "home_id": 11866790,
  2077. "lat": "***",
  2078. "lon": "***",
  2079. "name": "My Home ..",
  2080. "role": "OWNER"
  2081. }
  2082. ],
  2083. "success": true,
  2084. "t": 1643992204137
  2085. }
  2086. 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
  2087. 2022-02-04 08:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
  2088. "result": [],
  2089. "success": true,
  2090. "t": 1643992204384
  2091. }
  2092. 2022-02-04 08:31:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2093. 2022-02-04 08:31:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2094. 2022-02-04 08:32:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2095. 2022-02-04 08:32:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2096. 2022-02-04 08:33:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2097. 2022-02-04 08:33:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2098. 2022-02-04 08:34:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2099. 2022-02-04 08:34:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2100. 2022-02-04 08:35:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  2101. 2022-02-04 08:35:02 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2102. 2022-02-04 08:35:02 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2103. 2022-02-04 08:36:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2104. 2022-02-04 08:36:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2105. 2022-02-04 08:37:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2106. 2022-02-04 08:37:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2107. 2022-02-04 08:38:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2108. 2022-02-04 08:38:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2109. 2022-02-04 08:39:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2110. 2022-02-04 08:39:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2111. 2022-02-04 08:40:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2112. 2022-02-04 08:40:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2113. 2022-02-04 08:41:03 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2114. 2022-02-04 08:41:03 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2115. 2022-02-04 08:42:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2116. 2022-02-04 08:42:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2117. 2022-02-04 08:43:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2118. 2022-02-04 08:43:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2119. 2022-02-04 08:44:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2120. 2022-02-04 08:44:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2121. 2022-02-04 08:45:04 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2122. 2022-02-04 08:45:04 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2123. 2022-02-04 08:46:05 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2124. 2022-02-04 08:46:05 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2125. 2022-02-04 08:47:05 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2126. 2022-02-04 08:47:05 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2127. 2022-02-04 08:48:05 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2128. 2022-02-04 08:48:05 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2129. 2022-02-04 08:49:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2130. 2022-02-04 08:49:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2131. 2022-02-04 08:50:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2132. 2022-02-04 08:50:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2133. 2022-02-04 08:51:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  2134. 2022-02-04 08:51:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2135. 2022-02-04 08:51:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2136. 2022-02-04 08:52:06 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2137. 2022-02-04 08:52:06 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2138. 2022-02-04 08:53:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2139. 2022-02-04 08:53:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2140. 2022-02-04 08:54:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2141. 2022-02-04 08:54:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2142. 2022-02-04 08:55:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2143. 2022-02-04 08:55:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2144. 2022-02-04 08:55:13 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
  2145. 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  2146. 2022-02-04 08:56:01 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  2147. 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "107044", "fps": "24", "n'
  2148. 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  2149. 2022-02-04 08:56:01 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  2150. 2022-02-04 08:56:01 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "107044", "fps": "24", "n'
  2151. 2022-02-04 08:56:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2152. 2022-02-04 08:56:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2153. 2022-02-04 08:57:07 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2154. 2022-02-04 08:57:07 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2155. 2022-02-04 08:58:08 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2156. 2022-02-04 08:58:08 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2157. 2022-02-04 08:59:08 DEBUG (Thread-348) [tuya iot] _on_log: Sending PINGREQ
  2158. 2022-02-04 08:59:08 DEBUG (Thread-348) [tuya iot] _on_log: Received PINGRESP
  2159. 2022-02-04 09:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  2160. 2022-02-04 09:00:00 DEBUG (MainThread) [tuya iot] stop
  2161. 2022-02-04 09:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  2162. 2022-02-04 09:00:00 DEBUG (Thread-348) [tuya iot] disconnect
  2163. 2022-02-04 09:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  2164. 2022-02-04 09:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  2165. 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
  2166. 2022-02-04 09:00:01 DEBUG (SyncWorker_7) [tuya iot] Response: {
  2167. "result": {
  2168. "access_token": "***",
  2169. "expire_time": 7200,
  2170. "platform_url": "https://openapi.tuyaus.com",
  2171. "refresh_token": "***",
  2172. "uid": "***"
  2173. },
  2174. "success": true,
  2175. "t": 1643994001553
  2176. }
  2177. 2022-02-04 09:00:01 DEBUG (MainThread) [tuya iot] start
  2178. 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
  2179. 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
  2180. 2022-02-04 09:00:01 DEBUG (Thread-351) [tuya iot] Response: {
  2181. "result": {
  2182. "client_id": "***",
  2183. "expire_time": 5400,
  2184. "password": "***",
  2185. "sink_topic": {
  2186. "device": "cloud/token/out/{device_id}"
  2187. },
  2188. "source_topic": {
  2189. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  2190. },
  2191. "url": "ssl://m1.tuyaus.com:8883",
  2192. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  2193. },
  2194. "success": true,
  2195. "t": 1643994001958
  2196. }
  2197. 2022-02-04 09:00:01 DEBUG (Thread-351) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  2198. 2022-02-04 09:00:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  2199. 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'
  2200. 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_log: Received CONNACK (0, 0)
  2201. 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] connect flags->{'session present': 0}, rc->0
  2202. 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  2203. 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_log: Received SUBACK
  2204. 2022-02-04 09:00:02 DEBUG (Thread-352) [tuya iot] _on_subscribe: 1
  2205. 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2206. "result": [
  2207. {
  2208. "active_time": 1642129199,
  2209. "biz_type": 18,
  2210. "category": "cz",
  2211. "create_time": 1633651254,
  2212. "icon": "smart/icon/1498529014_0.png",
  2213. "id": "0518502668c63aee2465",
  2214. "ip": "***",
  2215. "lat": "***",
  2216. "local_key": "***",
  2217. "lon": "***",
  2218. "model": "HYS-01-X5P-帆客",
  2219. "name": "Black Lava Lamp",
  2220. "online": true,
  2221. "owner_id": "11866790",
  2222. "product_id": "gpgdjdp2zvog8m0p",
  2223. "product_name": "Mini Smart Socket",
  2224. "status": [
  2225. {
  2226. "code": "switch_1",
  2227. "value": false
  2228. },
  2229. {
  2230. "code": "countdown_1",
  2231. "value": 0
  2232. }
  2233. ],
  2234. "sub": false,
  2235. "time_zone": "-08:00",
  2236. "uid": "***",
  2237. "update_time": 1643704238,
  2238. "uuid": "0518502668c63aee2465"
  2239. },
  2240. {
  2241. "active_time": 1625883466,
  2242. "biz_type": 18,
  2243. "category": "cz",
  2244. "create_time": 1625877313,
  2245. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  2246. "id": "177623502462ab3c8a02",
  2247. "ip": "***",
  2248. "lat": "***",
  2249. "local_key": "***",
  2250. "lon": "***",
  2251. "name": "Hanging Light",
  2252. "online": true,
  2253. "owner_id": "11866790",
  2254. "product_id": "AiHXxAyyn7eAkLQY",
  2255. "product_name": "Mini Smart Plug",
  2256. "status": [
  2257. {
  2258. "code": "switch_1",
  2259. "value": false
  2260. },
  2261. {
  2262. "code": "countdown_1",
  2263. "value": 0
  2264. }
  2265. ],
  2266. "sub": false,
  2267. "time_zone": "-08:00",
  2268. "uid": "***",
  2269. "update_time": 1639597496,
  2270. "uuid": "177623502462ab3c8a02"
  2271. },
  2272. {
  2273. "active_time": 1606362427,
  2274. "biz_type": 18,
  2275. "category": "cz",
  2276. "create_time": 1579662054,
  2277. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  2278. "id": "736388262462ab3cc045",
  2279. "ip": "***",
  2280. "lat": "***",
  2281. "local_key": "***",
  2282. "lon": "***",
  2283. "name": "Orange Lava Lamp",
  2284. "online": true,
  2285. "owner_id": "11866790",
  2286. "product_id": "AiHXxAyyn7eAkLQY",
  2287. "product_name": "Mini Smart Plug",
  2288. "status": [
  2289. {
  2290. "code": "switch_1",
  2291. "value": false
  2292. },
  2293. {
  2294. "code": "countdown_1",
  2295. "value": 0
  2296. }
  2297. ],
  2298. "sub": false,
  2299. "time_zone": "-08:00",
  2300. "uid": "***",
  2301. "update_time": 1639597476,
  2302. "uuid": "736388262462ab3cc045"
  2303. },
  2304. {
  2305. "active_time": 1576644608,
  2306. "biz_type": 18,
  2307. "category": "cz",
  2308. "create_time": 1576644608,
  2309. "icon": "smart/icon/1498529014_0.png",
  2310. "id": "40834308500291b2b6b7",
  2311. "ip": "***",
  2312. "lat": "***",
  2313. "local_key": "***",
  2314. "lon": "***",
  2315. "model": "HYS-X5-NEW",
  2316. "name": "Banana Light",
  2317. "online": true,
  2318. "owner_id": "11866790",
  2319. "product_id": "qoacsyyfbrbe3lm8",
  2320. "product_name": "Mini Smart Socket",
  2321. "status": [
  2322. {
  2323. "code": "switch_1",
  2324. "value": true
  2325. },
  2326. {
  2327. "code": "countdown_1",
  2328. "value": 0
  2329. }
  2330. ],
  2331. "sub": false,
  2332. "time_zone": "-08:00",
  2333. "uid": "***",
  2334. "update_time": 1639597286,
  2335. "uuid": "40834308500291b2b6b7"
  2336. },
  2337. {
  2338. "active_time": 1633650334,
  2339. "biz_type": 18,
  2340. "category": "cz",
  2341. "create_time": 1633650334,
  2342. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  2343. "id": "165054382cf432255c5f",
  2344. "ip": "***",
  2345. "lat": "***",
  2346. "local_key": "***",
  2347. "lon": "***",
  2348. "model": "HYS-01-X5P-S7",
  2349. "name": "Checkered Lava Lamp",
  2350. "online": true,
  2351. "owner_id": "11866790",
  2352. "product_id": "7i0er84cthlfv1mh",
  2353. "product_name": "Mini Smart Socket",
  2354. "status": [
  2355. {
  2356. "code": "switch_1",
  2357. "value": false
  2358. },
  2359. {
  2360. "code": "countdown_1",
  2361. "value": 0
  2362. }
  2363. ],
  2364. "sub": false,
  2365. "time_zone": "-08:00",
  2366. "uid": "***",
  2367. "update_time": 1639597032,
  2368. "uuid": "165054382cf432255c5f"
  2369. },
  2370. {
  2371. "active_time": 1606616090,
  2372. "biz_type": 18,
  2373. "category": "cz",
  2374. "create_time": 1579677410,
  2375. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  2376. "id": "736388262462ab3c521e",
  2377. "ip": "***",
  2378. "lat": "***",
  2379. "local_key": "***",
  2380. "lon": "***",
  2381. "name": "Blue Lava Lamp",
  2382. "online": true,
  2383. "owner_id": "11866790",
  2384. "product_id": "AiHXxAyyn7eAkLQY",
  2385. "product_name": "Mini Smart Plug",
  2386. "status": [
  2387. {
  2388. "code": "switch_1",
  2389. "value": false
  2390. },
  2391. {
  2392. "code": "countdown_1",
  2393. "value": 0
  2394. }
  2395. ],
  2396. "sub": false,
  2397. "time_zone": "-08:00",
  2398. "uid": "***",
  2399. "update_time": 1639596759,
  2400. "uuid": "736388262462ab3c521e"
  2401. },
  2402. {
  2403. "active_time": 1606362512,
  2404. "biz_type": 18,
  2405. "category": "cz",
  2406. "create_time": 1579776563,
  2407. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  2408. "id": "26300763f4cfa2022836",
  2409. "ip": "***",
  2410. "lat": "***",
  2411. "local_key": "***",
  2412. "lon": "***",
  2413. "model": "WP3-B美规10A(不带计量)/gosund",
  2414. "name": "Lemon Light",
  2415. "online": true,
  2416. "owner_id": "11866790",
  2417. "product_id": "AiHXxAyyn7eAkLQY",
  2418. "product_name": "Mini Smart Plug",
  2419. "status": [
  2420. {
  2421. "code": "switch_1",
  2422. "value": false
  2423. },
  2424. {
  2425. "code": "countdown_1",
  2426. "value": 0
  2427. }
  2428. ],
  2429. "sub": false,
  2430. "time_zone": "-08:00",
  2431. "uid": "***",
  2432. "update_time": 1639596674,
  2433. "uuid": "26300763f4cfa2022836"
  2434. },
  2435. {
  2436. "active_time": 1579313987,
  2437. "biz_type": 18,
  2438. "category": "cz",
  2439. "create_time": 1579313987,
  2440. "icon": "smart/icon/1498529014_0.png",
  2441. "id": "33360203c82b9602204e",
  2442. "ip": "***",
  2443. "lat": "***",
  2444. "local_key": "***",
  2445. "lon": "***",
  2446. "model": "HYS-X5-NEW",
  2447. "name": "Gold Lava Lamp",
  2448. "online": true,
  2449. "owner_id": "11866790",
  2450. "product_id": "qoacsyyfbrbe3lm8",
  2451. "product_name": "Mini Smart Socket",
  2452. "status": [
  2453. {
  2454. "code": "switch_1",
  2455. "value": false
  2456. },
  2457. {
  2458. "code": "countdown_1",
  2459. "value": 0
  2460. }
  2461. ],
  2462. "sub": false,
  2463. "time_zone": "-08:00",
  2464. "uid": "***",
  2465. "update_time": 1639596654,
  2466. "uuid": "33360203c82b9602204e"
  2467. },
  2468. {
  2469. "active_time": 1627023398,
  2470. "biz_type": 18,
  2471. "category": "jsq",
  2472. "create_time": 1627023398,
  2473. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  2474. "id": "eb5a649a9f92cdb9ec1pq6",
  2475. "ip": "***",
  2476. "lat": "***",
  2477. "local_key": "***",
  2478. "lon": "***",
  2479. "name": "Smart Aroma Diffuser Two",
  2480. "online": true,
  2481. "owner_id": "11866790",
  2482. "product_id": "yodwo2ujgwbgjaio",
  2483. "product_name": "Smart Aroma Diffuser",
  2484. "status": [
  2485. {
  2486. "code": "switch",
  2487. "value": false
  2488. },
  2489. {
  2490. "code": "switch_led",
  2491. "value": false
  2492. }
  2493. ],
  2494. "sub": false,
  2495. "time_zone": "-07:00",
  2496. "uid": "***",
  2497. "update_time": 1639596592,
  2498. "uuid": "912153509b40b0b0"
  2499. },
  2500. {
  2501. "active_time": 1606362711,
  2502. "biz_type": 18,
  2503. "category": "cz",
  2504. "create_time": 1579232360,
  2505. "icon": "smart/icon/1498529014_0.png",
  2506. "id": "10812535bcddc2a8a191",
  2507. "ip": "***",
  2508. "lat": "***",
  2509. "local_key": "***",
  2510. "lon": "***",
  2511. "model": "HYS-X5-NEW",
  2512. "name": "Green",
  2513. "online": true,
  2514. "owner_id": "11866790",
  2515. "product_id": "qoacsyyfbrbe3lm8",
  2516. "product_name": "Mini Smart Socket",
  2517. "status": [
  2518. {
  2519. "code": "switch_1",
  2520. "value": false
  2521. },
  2522. {
  2523. "code": "countdown_1",
  2524. "value": 0
  2525. }
  2526. ],
  2527. "sub": false,
  2528. "time_zone": "-08:00",
  2529. "uid": "***",
  2530. "update_time": 1639596405,
  2531. "uuid": "10812535bcddc2a8a191"
  2532. },
  2533. {
  2534. "active_time": 1606614603,
  2535. "biz_type": 18,
  2536. "category": "cz",
  2537. "create_time": 1579236112,
  2538. "icon": "smart/icon/1498529014_0.png",
  2539. "id": "1081253568c63aee1cce",
  2540. "ip": "***",
  2541. "lat": "***",
  2542. "local_key": "***",
  2543. "lon": "***",
  2544. "model": "HYS-X5-NEW",
  2545. "name": "Red Glitter Lamp",
  2546. "online": true,
  2547. "owner_id": "11866790",
  2548. "product_id": "qoacsyyfbrbe3lm8",
  2549. "product_name": "Mini Smart Socket",
  2550. "status": [
  2551. {
  2552. "code": "switch_1",
  2553. "value": false
  2554. },
  2555. {
  2556. "code": "countdown_1",
  2557. "value": 0
  2558. }
  2559. ],
  2560. "sub": false,
  2561. "time_zone": "-08:00",
  2562. "uid": "***",
  2563. "update_time": 1639596069,
  2564. "uuid": "1081253568c63aee1cce"
  2565. },
  2566. {
  2567. "active_time": 1631693069,
  2568. "biz_type": 18,
  2569. "category": "cz",
  2570. "create_time": 1579232097,
  2571. "icon": "smart/icon/1498529014_0.png",
  2572. "id": "33360203c82b960217c9",
  2573. "ip": "***",
  2574. "lat": "***",
  2575. "local_key": "***",
  2576. "lon": "***",
  2577. "model": "HYS-X5-NEW",
  2578. "name": "Purple Lava Lamp",
  2579. "online": true,
  2580. "owner_id": "11866790",
  2581. "product_id": "qoacsyyfbrbe3lm8",
  2582. "product_name": "Mini Smart Socket",
  2583. "status": [
  2584. {
  2585. "code": "switch_1",
  2586. "value": false
  2587. },
  2588. {
  2589. "code": "countdown_1",
  2590. "value": 0
  2591. }
  2592. ],
  2593. "sub": false,
  2594. "time_zone": "-08:00",
  2595. "uid": "***",
  2596. "update_time": 1639595950,
  2597. "uuid": "33360203c82b960217c9"
  2598. },
  2599. {
  2600. "active_time": 1633651110,
  2601. "biz_type": 18,
  2602. "category": "cz",
  2603. "create_time": 1633651110,
  2604. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  2605. "id": "36837871bcddc23ccd0e",
  2606. "ip": "***",
  2607. "lat": "***",
  2608. "local_key": "***",
  2609. "lon": "***",
  2610. "model": "HYS-01-X5P-S7",
  2611. "name": "Pink Lava Lamp",
  2612. "online": true,
  2613. "owner_id": "11866790",
  2614. "product_id": "7i0er84cthlfv1mh",
  2615. "product_name": "Mini Smart Socket",
  2616. "status": [
  2617. {
  2618. "code": "switch_1",
  2619. "value": false
  2620. },
  2621. {
  2622. "code": "countdown_1",
  2623. "value": 0
  2624. }
  2625. ],
  2626. "sub": false,
  2627. "time_zone": "-08:00",
  2628. "uid": "***",
  2629. "update_time": 1639595720,
  2630. "uuid": "36837871bcddc23ccd0e"
  2631. },
  2632. {
  2633. "active_time": 1633649772,
  2634. "biz_type": 18,
  2635. "category": "cz",
  2636. "create_time": 1633649772,
  2637. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  2638. "id": "16505438bcddc29c7d1c",
  2639. "ip": "***",
  2640. "lat": "***",
  2641. "local_key": "***",
  2642. "lon": "***",
  2643. "model": "HYS-01-X5P-S7",
  2644. "name": "Yellow Lava Lamp",
  2645. "online": true,
  2646. "owner_id": "11866790",
  2647. "product_id": "7i0er84cthlfv1mh",
  2648. "product_name": "Mini Smart Socket",
  2649. "status": [
  2650. {
  2651. "code": "switch_1",
  2652. "value": false
  2653. },
  2654. {
  2655. "code": "countdown_1",
  2656. "value": 0
  2657. }
  2658. ],
  2659. "sub": false,
  2660. "time_zone": "-08:00",
  2661. "uid": "***",
  2662. "update_time": 1639595373,
  2663. "uuid": "16505438bcddc29c7d1c"
  2664. }
  2665. ],
  2666. "success": true,
  2667. "t": 1643994003197
  2668. }
  2669. 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
  2670. 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2671. "result": {
  2672. "category": "cz",
  2673. "functions": [
  2674. {
  2675. "code": "switch_1",
  2676. "type": "Boolean",
  2677. "values": "{}"
  2678. },
  2679. {
  2680. "code": "countdown_1",
  2681. "type": "Integer",
  2682. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2683. }
  2684. ],
  2685. "status": [
  2686. {
  2687. "code": "switch_1",
  2688. "type": "Boolean",
  2689. "values": "{}"
  2690. },
  2691. {
  2692. "code": "countdown_1",
  2693. "type": "Integer",
  2694. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2695. }
  2696. ]
  2697. },
  2698. "success": true,
  2699. "t": 1643994003420
  2700. }
  2701. 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
  2702. 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2703. "result": {
  2704. "category": "cz",
  2705. "functions": [
  2706. {
  2707. "code": "switch_1",
  2708. "type": "Boolean",
  2709. "values": "{}"
  2710. },
  2711. {
  2712. "code": "countdown_1",
  2713. "type": "Integer",
  2714. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2715. }
  2716. ],
  2717. "status": [
  2718. {
  2719. "code": "switch_1",
  2720. "type": "Boolean",
  2721. "values": "{}"
  2722. },
  2723. {
  2724. "code": "countdown_1",
  2725. "type": "Integer",
  2726. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2727. }
  2728. ]
  2729. },
  2730. "success": true,
  2731. "t": 1643994003542
  2732. }
  2733. 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
  2734. 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2735. "result": {
  2736. "category": "cz",
  2737. "functions": [
  2738. {
  2739. "code": "switch_1",
  2740. "type": "Boolean",
  2741. "values": "{}"
  2742. },
  2743. {
  2744. "code": "countdown_1",
  2745. "type": "Integer",
  2746. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2747. }
  2748. ],
  2749. "status": [
  2750. {
  2751. "code": "switch_1",
  2752. "type": "Boolean",
  2753. "values": "{}"
  2754. },
  2755. {
  2756. "code": "countdown_1",
  2757. "type": "Integer",
  2758. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2759. }
  2760. ]
  2761. },
  2762. "success": true,
  2763. "t": 1643994003674
  2764. }
  2765. 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
  2766. 2022-02-04 09:00:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2767. "result": {
  2768. "category": "cz",
  2769. "functions": [
  2770. {
  2771. "code": "switch_1",
  2772. "type": "Boolean",
  2773. "values": "{}"
  2774. },
  2775. {
  2776. "code": "countdown_1",
  2777. "type": "Integer",
  2778. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2779. }
  2780. ],
  2781. "status": [
  2782. {
  2783. "code": "switch_1",
  2784. "type": "Boolean",
  2785. "values": "{}"
  2786. },
  2787. {
  2788. "code": "countdown_1",
  2789. "type": "Integer",
  2790. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2791. }
  2792. ]
  2793. },
  2794. "success": true,
  2795. "t": 1643994003812
  2796. }
  2797. 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
  2798. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2799. "result": {
  2800. "category": "cz",
  2801. "functions": [
  2802. {
  2803. "code": "switch_1",
  2804. "type": "Boolean",
  2805. "values": "{}"
  2806. },
  2807. {
  2808. "code": "countdown_1",
  2809. "type": "Integer",
  2810. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2811. }
  2812. ],
  2813. "status": [
  2814. {
  2815. "code": "switch_1",
  2816. "type": "Boolean",
  2817. "values": "{}"
  2818. },
  2819. {
  2820. "code": "countdown_1",
  2821. "type": "Integer",
  2822. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2823. }
  2824. ]
  2825. },
  2826. "success": true,
  2827. "t": 1643994004002
  2828. }
  2829. 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
  2830. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2831. "result": {
  2832. "category": "cz",
  2833. "functions": [
  2834. {
  2835. "code": "switch_1",
  2836. "type": "Boolean",
  2837. "values": "{}"
  2838. },
  2839. {
  2840. "code": "countdown_1",
  2841. "type": "Integer",
  2842. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2843. }
  2844. ],
  2845. "status": [
  2846. {
  2847. "code": "switch_1",
  2848. "type": "Boolean",
  2849. "values": "{}"
  2850. },
  2851. {
  2852. "code": "countdown_1",
  2853. "type": "Integer",
  2854. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2855. }
  2856. ]
  2857. },
  2858. "success": true,
  2859. "t": 1643994004150
  2860. }
  2861. 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
  2862. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2863. "result": {
  2864. "category": "cz",
  2865. "functions": [
  2866. {
  2867. "code": "switch_1",
  2868. "type": "Boolean",
  2869. "values": "{}"
  2870. },
  2871. {
  2872. "code": "countdown_1",
  2873. "type": "Integer",
  2874. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2875. }
  2876. ],
  2877. "status": [
  2878. {
  2879. "code": "switch_1",
  2880. "type": "Boolean",
  2881. "values": "{}"
  2882. },
  2883. {
  2884. "code": "countdown_1",
  2885. "type": "Integer",
  2886. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2887. }
  2888. ]
  2889. },
  2890. "success": true,
  2891. "t": 1643994004308
  2892. }
  2893. 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
  2894. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2895. "result": {
  2896. "category": "cz",
  2897. "functions": [
  2898. {
  2899. "code": "switch_1",
  2900. "type": "Boolean",
  2901. "values": "{}"
  2902. },
  2903. {
  2904. "code": "countdown_1",
  2905. "type": "Integer",
  2906. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2907. }
  2908. ],
  2909. "status": [
  2910. {
  2911. "code": "switch_1",
  2912. "type": "Boolean",
  2913. "values": "{}"
  2914. },
  2915. {
  2916. "code": "countdown_1",
  2917. "type": "Integer",
  2918. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2919. }
  2920. ]
  2921. },
  2922. "success": true,
  2923. "t": 1643994004420
  2924. }
  2925. 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
  2926. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2927. "result": {
  2928. "category": "jsq",
  2929. "functions": [
  2930. {
  2931. "code": "switch",
  2932. "type": "Boolean",
  2933. "values": "{}"
  2934. },
  2935. {
  2936. "code": "switch_led",
  2937. "type": "Boolean",
  2938. "values": "{}"
  2939. }
  2940. ],
  2941. "status": [
  2942. {
  2943. "code": "switch",
  2944. "type": "Boolean",
  2945. "values": "{}"
  2946. },
  2947. {
  2948. "code": "switch_led",
  2949. "type": "Boolean",
  2950. "values": "{}"
  2951. }
  2952. ]
  2953. },
  2954. "success": true,
  2955. "t": 1643994004549
  2956. }
  2957. 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
  2958. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2959. "result": {
  2960. "category": "cz",
  2961. "functions": [
  2962. {
  2963. "code": "switch_1",
  2964. "type": "Boolean",
  2965. "values": "{}"
  2966. },
  2967. {
  2968. "code": "countdown_1",
  2969. "type": "Integer",
  2970. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2971. }
  2972. ],
  2973. "status": [
  2974. {
  2975. "code": "switch_1",
  2976. "type": "Boolean",
  2977. "values": "{}"
  2978. },
  2979. {
  2980. "code": "countdown_1",
  2981. "type": "Integer",
  2982. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  2983. }
  2984. ]
  2985. },
  2986. "success": true,
  2987. "t": 1643994004681
  2988. }
  2989. 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
  2990. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  2991. "result": {
  2992. "category": "cz",
  2993. "functions": [
  2994. {
  2995. "code": "switch_1",
  2996. "type": "Boolean",
  2997. "values": "{}"
  2998. },
  2999. {
  3000. "code": "countdown_1",
  3001. "type": "Integer",
  3002. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3003. }
  3004. ],
  3005. "status": [
  3006. {
  3007. "code": "switch_1",
  3008. "type": "Boolean",
  3009. "values": "{}"
  3010. },
  3011. {
  3012. "code": "countdown_1",
  3013. "type": "Integer",
  3014. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3015. }
  3016. ]
  3017. },
  3018. "success": true,
  3019. "t": 1643994004775
  3020. }
  3021. 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
  3022. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  3023. "result": {
  3024. "category": "cz",
  3025. "functions": [
  3026. {
  3027. "code": "switch_1",
  3028. "type": "Boolean",
  3029. "values": "{}"
  3030. },
  3031. {
  3032. "code": "countdown_1",
  3033. "type": "Integer",
  3034. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3035. }
  3036. ],
  3037. "status": [
  3038. {
  3039. "code": "switch_1",
  3040. "type": "Boolean",
  3041. "values": "{}"
  3042. },
  3043. {
  3044. "code": "countdown_1",
  3045. "type": "Integer",
  3046. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3047. }
  3048. ]
  3049. },
  3050. "success": true,
  3051. "t": 1643994004865
  3052. }
  3053. 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
  3054. 2022-02-04 09:00:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  3055. "result": {
  3056. "category": "cz",
  3057. "functions": [
  3058. {
  3059. "code": "switch_1",
  3060. "type": "Boolean",
  3061. "values": "{}"
  3062. },
  3063. {
  3064. "code": "countdown_1",
  3065. "type": "Integer",
  3066. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3067. }
  3068. ],
  3069. "status": [
  3070. {
  3071. "code": "switch_1",
  3072. "type": "Boolean",
  3073. "values": "{}"
  3074. },
  3075. {
  3076. "code": "countdown_1",
  3077. "type": "Integer",
  3078. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3079. }
  3080. ]
  3081. },
  3082. "success": true,
  3083. "t": 1643994004963
  3084. }
  3085. 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
  3086. 2022-02-04 09:00:05 DEBUG (SyncWorker_12) [tuya iot] Response: {
  3087. "result": {
  3088. "category": "cz",
  3089. "functions": [
  3090. {
  3091. "code": "switch_1",
  3092. "type": "Boolean",
  3093. "values": "{}"
  3094. },
  3095. {
  3096. "code": "countdown_1",
  3097. "type": "Integer",
  3098. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3099. }
  3100. ],
  3101. "status": [
  3102. {
  3103. "code": "switch_1",
  3104. "type": "Boolean",
  3105. "values": "{}"
  3106. },
  3107. {
  3108. "code": "countdown_1",
  3109. "type": "Integer",
  3110. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3111. }
  3112. ]
  3113. },
  3114. "success": true,
  3115. "t": 1643994005050
  3116. }
  3117. 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']
  3118. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  3119. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  3120. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  3121. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  3122. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  3123. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  3124. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  3125. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  3126. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  3127. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  3128. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  3129. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  3130. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  3131. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  3132. 2022-02-04 09:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
  3133. 2022-02-04 09:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  3134. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  3135. 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']
  3136. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  3137. 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']
  3138. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  3139. 2022-02-04 09:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  3140. 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
  3141. 2022-02-04 09:00:05 DEBUG (SyncWorker_9) [tuya iot] Response: {
  3142. "result": [
  3143. {
  3144. "geo_name": "",
  3145. "home_id": 11866790,
  3146. "lat": "***",
  3147. "lon": "***",
  3148. "name": "My Home ..",
  3149. "role": "OWNER"
  3150. }
  3151. ],
  3152. "success": true,
  3153. "t": 1643994005254
  3154. }
  3155. 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
  3156. 2022-02-04 09:00:05 DEBUG (SyncWorker_9) [tuya iot] Response: {
  3157. "result": [],
  3158. "success": true,
  3159. "t": 1643994005443
  3160. }
  3161. 2022-02-04 09:00:06 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  3162. 2022-02-04 09:01:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3163. 2022-02-04 09:01:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3164. 2022-02-04 09:02:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3165. 2022-02-04 09:02:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3166. 2022-02-04 09:03:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3167. 2022-02-04 09:03:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3168. 2022-02-04 09:04:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3169. 2022-02-04 09:04:03 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3170. 2022-02-04 09:05:03 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3171. 2022-02-04 09:05:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3172. 2022-02-04 09:06:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3173. 2022-02-04 09:06:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3174. 2022-02-04 09:07:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  3175. 2022-02-04 09:07:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3176. 2022-02-04 09:07:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3177. 2022-02-04 09:08:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3178. 2022-02-04 09:08:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3179. 2022-02-04 09:09:04 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3180. 2022-02-04 09:09:04 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3181. 2022-02-04 09:10:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3182. 2022-02-04 09:10:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3183. 2022-02-04 09:11:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3184. 2022-02-04 09:11:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3185. 2022-02-04 09:12:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3186. 2022-02-04 09:12:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3187. 2022-02-04 09:13:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3188. 2022-02-04 09:13:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3189. 2022-02-04 09:14:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3190. 2022-02-04 09:14:05 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3191. 2022-02-04 09:15:05 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3192. 2022-02-04 09:15:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3193. 2022-02-04 09:16:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3194. 2022-02-04 09:16:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3195. 2022-02-04 09:17:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3196. 2022-02-04 09:17:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3197. 2022-02-04 09:18:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3198. 2022-02-04 09:18:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3199. 2022-02-04 09:19:06 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3200. 2022-02-04 09:19:06 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3201. 2022-02-04 09:20:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3202. 2022-02-04 09:20:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3203. 2022-02-04 09:21:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3204. 2022-02-04 09:21:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3205. 2022-02-04 09:22:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  3206. 2022-02-04 09:22:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3207. 2022-02-04 09:22:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3208. 2022-02-04 09:23:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3209. 2022-02-04 09:23:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3210. 2022-02-04 09:24:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3211. 2022-02-04 09:24:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3212. 2022-02-04 09:25:07 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3213. 2022-02-04 09:25:07 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3214. 2022-02-04 09:26:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3215. 2022-02-04 09:26:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3216. 2022-02-04 09:27:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3217. 2022-02-04 09:27:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3218. 2022-02-04 09:28:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3219. 2022-02-04 09:28:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3220. 2022-02-04 09:29:08 DEBUG (Thread-352) [tuya iot] _on_log: Sending PINGREQ
  3221. 2022-02-04 09:29:08 DEBUG (Thread-352) [tuya iot] _on_log: Received PINGRESP
  3222. 2022-02-04 09:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  3223. 2022-02-04 09:30:00 DEBUG (MainThread) [tuya iot] stop
  3224. 2022-02-04 09:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  3225. 2022-02-04 09:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  3226. 2022-02-04 09:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  3227. 2022-02-04 09:30:00 DEBUG (Thread-352) [tuya iot] disconnect
  3228. 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
  3229. 2022-02-04 09:30:01 DEBUG (SyncWorker_14) [tuya iot] Response: {
  3230. "result": {
  3231. "access_token": "***",
  3232. "expire_time": 7200,
  3233. "platform_url": "https://openapi.tuyaus.com",
  3234. "refresh_token": "***",
  3235. "uid": "***"
  3236. },
  3237. "success": true,
  3238. "t": 1643995801190
  3239. }
  3240. 2022-02-04 09:30:01 DEBUG (MainThread) [tuya iot] start
  3241. 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
  3242. 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
  3243. 2022-02-04 09:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3244. "result": [
  3245. {
  3246. "active_time": 1642129199,
  3247. "biz_type": 18,
  3248. "category": "cz",
  3249. "create_time": 1633651254,
  3250. "icon": "smart/icon/1498529014_0.png",
  3251. "id": "0518502668c63aee2465",
  3252. "ip": "***",
  3253. "lat": "***",
  3254. "local_key": "***",
  3255. "lon": "***",
  3256. "model": "HYS-01-X5P-帆客",
  3257. "name": "Black Lava Lamp",
  3258. "online": true,
  3259. "owner_id": "11866790",
  3260. "product_id": "gpgdjdp2zvog8m0p",
  3261. "product_name": "Mini Smart Socket",
  3262. "status": [
  3263. {
  3264. "code": "switch_1",
  3265. "value": false
  3266. },
  3267. {
  3268. "code": "countdown_1",
  3269. "value": 0
  3270. }
  3271. ],
  3272. "sub": false,
  3273. "time_zone": "-08:00",
  3274. "uid": "***",
  3275. "update_time": 1643704238,
  3276. "uuid": "0518502668c63aee2465"
  3277. },
  3278. {
  3279. "active_time": 1625883466,
  3280. "biz_type": 18,
  3281. "category": "cz",
  3282. "create_time": 1625877313,
  3283. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  3284. "id": "177623502462ab3c8a02",
  3285. "ip": "***",
  3286. "lat": "***",
  3287. "local_key": "***",
  3288. "lon": "***",
  3289. "name": "Hanging Light",
  3290. "online": true,
  3291. "owner_id": "11866790",
  3292. "product_id": "AiHXxAyyn7eAkLQY",
  3293. "product_name": "Mini Smart Plug",
  3294. "status": [
  3295. {
  3296. "code": "switch_1",
  3297. "value": false
  3298. },
  3299. {
  3300. "code": "countdown_1",
  3301. "value": 0
  3302. }
  3303. ],
  3304. "sub": false,
  3305. "time_zone": "-08:00",
  3306. "uid": "***",
  3307. "update_time": 1639597496,
  3308. "uuid": "177623502462ab3c8a02"
  3309. },
  3310. {
  3311. "active_time": 1606362427,
  3312. "biz_type": 18,
  3313. "category": "cz",
  3314. "create_time": 1579662054,
  3315. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  3316. "id": "736388262462ab3cc045",
  3317. "ip": "***",
  3318. "lat": "***",
  3319. "local_key": "***",
  3320. "lon": "***",
  3321. "name": "Orange Lava Lamp",
  3322. "online": true,
  3323. "owner_id": "11866790",
  3324. "product_id": "AiHXxAyyn7eAkLQY",
  3325. "product_name": "Mini Smart Plug",
  3326. "status": [
  3327. {
  3328. "code": "switch_1",
  3329. "value": false
  3330. },
  3331. {
  3332. "code": "countdown_1",
  3333. "value": 0
  3334. }
  3335. ],
  3336. "sub": false,
  3337. "time_zone": "-08:00",
  3338. "uid": "***",
  3339. "update_time": 1639597476,
  3340. "uuid": "736388262462ab3cc045"
  3341. },
  3342. {
  3343. "active_time": 1576644608,
  3344. "biz_type": 18,
  3345. "category": "cz",
  3346. "create_time": 1576644608,
  3347. "icon": "smart/icon/1498529014_0.png",
  3348. "id": "40834308500291b2b6b7",
  3349. "ip": "***",
  3350. "lat": "***",
  3351. "local_key": "***",
  3352. "lon": "***",
  3353. "model": "HYS-X5-NEW",
  3354. "name": "Banana Light",
  3355. "online": true,
  3356. "owner_id": "11866790",
  3357. "product_id": "qoacsyyfbrbe3lm8",
  3358. "product_name": "Mini Smart Socket",
  3359. "status": [
  3360. {
  3361. "code": "switch_1",
  3362. "value": true
  3363. },
  3364. {
  3365. "code": "countdown_1",
  3366. "value": 0
  3367. }
  3368. ],
  3369. "sub": false,
  3370. "time_zone": "-08:00",
  3371. "uid": "***",
  3372. "update_time": 1639597286,
  3373. "uuid": "40834308500291b2b6b7"
  3374. },
  3375. {
  3376. "active_time": 1633650334,
  3377. "biz_type": 18,
  3378. "category": "cz",
  3379. "create_time": 1633650334,
  3380. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  3381. "id": "165054382cf432255c5f",
  3382. "ip": "***",
  3383. "lat": "***",
  3384. "local_key": "***",
  3385. "lon": "***",
  3386. "model": "HYS-01-X5P-S7",
  3387. "name": "Checkered Lava Lamp",
  3388. "online": true,
  3389. "owner_id": "11866790",
  3390. "product_id": "7i0er84cthlfv1mh",
  3391. "product_name": "Mini Smart Socket",
  3392. "status": [
  3393. {
  3394. "code": "switch_1",
  3395. "value": false
  3396. },
  3397. {
  3398. "code": "countdown_1",
  3399. "value": 0
  3400. }
  3401. ],
  3402. "sub": false,
  3403. "time_zone": "-08:00",
  3404. "uid": "***",
  3405. "update_time": 1639597032,
  3406. "uuid": "165054382cf432255c5f"
  3407. },
  3408. {
  3409. "active_time": 1606616090,
  3410. "biz_type": 18,
  3411. "category": "cz",
  3412. "create_time": 1579677410,
  3413. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  3414. "id": "736388262462ab3c521e",
  3415. "ip": "***",
  3416. "lat": "***",
  3417. "local_key": "***",
  3418. "lon": "***",
  3419. "name": "Blue Lava Lamp",
  3420. "online": true,
  3421. "owner_id": "11866790",
  3422. "product_id": "AiHXxAyyn7eAkLQY",
  3423. "product_name": "Mini Smart Plug",
  3424. "status": [
  3425. {
  3426. "code": "switch_1",
  3427. "value": false
  3428. },
  3429. {
  3430. "code": "countdown_1",
  3431. "value": 0
  3432. }
  3433. ],
  3434. "sub": false,
  3435. "time_zone": "-08:00",
  3436. "uid": "***",
  3437. "update_time": 1639596759,
  3438. "uuid": "736388262462ab3c521e"
  3439. },
  3440. {
  3441. "active_time": 1606362512,
  3442. "biz_type": 18,
  3443. "category": "cz",
  3444. "create_time": 1579776563,
  3445. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  3446. "id": "26300763f4cfa2022836",
  3447. "ip": "***",
  3448. "lat": "***",
  3449. "local_key": "***",
  3450. "lon": "***",
  3451. "model": "WP3-B美规10A(不带计量)/gosund",
  3452. "name": "Lemon Light",
  3453. "online": true,
  3454. "owner_id": "11866790",
  3455. "product_id": "AiHXxAyyn7eAkLQY",
  3456. "product_name": "Mini Smart Plug",
  3457. "status": [
  3458. {
  3459. "code": "switch_1",
  3460. "value": false
  3461. },
  3462. {
  3463. "code": "countdown_1",
  3464. "value": 0
  3465. }
  3466. ],
  3467. "sub": false,
  3468. "time_zone": "-08:00",
  3469. "uid": "***",
  3470. "update_time": 1639596674,
  3471. "uuid": "26300763f4cfa2022836"
  3472. },
  3473. {
  3474. "active_time": 1579313987,
  3475. "biz_type": 18,
  3476. "category": "cz",
  3477. "create_time": 1579313987,
  3478. "icon": "smart/icon/1498529014_0.png",
  3479. "id": "33360203c82b9602204e",
  3480. "ip": "***",
  3481. "lat": "***",
  3482. "local_key": "***",
  3483. "lon": "***",
  3484. "model": "HYS-X5-NEW",
  3485. "name": "Gold Lava Lamp",
  3486. "online": true,
  3487. "owner_id": "11866790",
  3488. "product_id": "qoacsyyfbrbe3lm8",
  3489. "product_name": "Mini Smart Socket",
  3490. "status": [
  3491. {
  3492. "code": "switch_1",
  3493. "value": false
  3494. },
  3495. {
  3496. "code": "countdown_1",
  3497. "value": 0
  3498. }
  3499. ],
  3500. "sub": false,
  3501. "time_zone": "-08:00",
  3502. "uid": "***",
  3503. "update_time": 1639596654,
  3504. "uuid": "33360203c82b9602204e"
  3505. },
  3506. {
  3507. "active_time": 1627023398,
  3508. "biz_type": 18,
  3509. "category": "jsq",
  3510. "create_time": 1627023398,
  3511. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  3512. "id": "eb5a649a9f92cdb9ec1pq6",
  3513. "ip": "***",
  3514. "lat": "***",
  3515. "local_key": "***",
  3516. "lon": "***",
  3517. "name": "Smart Aroma Diffuser Two",
  3518. "online": true,
  3519. "owner_id": "11866790",
  3520. "product_id": "yodwo2ujgwbgjaio",
  3521. "product_name": "Smart Aroma Diffuser",
  3522. "status": [
  3523. {
  3524. "code": "switch",
  3525. "value": false
  3526. },
  3527. {
  3528. "code": "switch_led",
  3529. "value": false
  3530. }
  3531. ],
  3532. "sub": false,
  3533. "time_zone": "-07:00",
  3534. "uid": "***",
  3535. "update_time": 1639596592,
  3536. "uuid": "912153509b40b0b0"
  3537. },
  3538. {
  3539. "active_time": 1606362711,
  3540. "biz_type": 18,
  3541. "category": "cz",
  3542. "create_time": 1579232360,
  3543. "icon": "smart/icon/1498529014_0.png",
  3544. "id": "10812535bcddc2a8a191",
  3545. "ip": "***",
  3546. "lat": "***",
  3547. "local_key": "***",
  3548. "lon": "***",
  3549. "model": "HYS-X5-NEW",
  3550. "name": "Green",
  3551. "online": true,
  3552. "owner_id": "11866790",
  3553. "product_id": "qoacsyyfbrbe3lm8",
  3554. "product_name": "Mini Smart Socket",
  3555. "status": [
  3556. {
  3557. "code": "switch_1",
  3558. "value": false
  3559. },
  3560. {
  3561. "code": "countdown_1",
  3562. "value": 0
  3563. }
  3564. ],
  3565. "sub": false,
  3566. "time_zone": "-08:00",
  3567. "uid": "***",
  3568. "update_time": 1639596405,
  3569. "uuid": "10812535bcddc2a8a191"
  3570. },
  3571. {
  3572. "active_time": 1606614603,
  3573. "biz_type": 18,
  3574. "category": "cz",
  3575. "create_time": 1579236112,
  3576. "icon": "smart/icon/1498529014_0.png",
  3577. "id": "1081253568c63aee1cce",
  3578. "ip": "***",
  3579. "lat": "***",
  3580. "local_key": "***",
  3581. "lon": "***",
  3582. "model": "HYS-X5-NEW",
  3583. "name": "Red Glitter Lamp",
  3584. "online": true,
  3585. "owner_id": "11866790",
  3586. "product_id": "qoacsyyfbrbe3lm8",
  3587. "product_name": "Mini Smart Socket",
  3588. "status": [
  3589. {
  3590. "code": "switch_1",
  3591. "value": false
  3592. },
  3593. {
  3594. "code": "countdown_1",
  3595. "value": 0
  3596. }
  3597. ],
  3598. "sub": false,
  3599. "time_zone": "-08:00",
  3600. "uid": "***",
  3601. "update_time": 1639596069,
  3602. "uuid": "1081253568c63aee1cce"
  3603. },
  3604. {
  3605. "active_time": 1631693069,
  3606. "biz_type": 18,
  3607. "category": "cz",
  3608. "create_time": 1579232097,
  3609. "icon": "smart/icon/1498529014_0.png",
  3610. "id": "33360203c82b960217c9",
  3611. "ip": "***",
  3612. "lat": "***",
  3613. "local_key": "***",
  3614. "lon": "***",
  3615. "model": "HYS-X5-NEW",
  3616. "name": "Purple Lava Lamp",
  3617. "online": true,
  3618. "owner_id": "11866790",
  3619. "product_id": "qoacsyyfbrbe3lm8",
  3620. "product_name": "Mini Smart Socket",
  3621. "status": [
  3622. {
  3623. "code": "switch_1",
  3624. "value": false
  3625. },
  3626. {
  3627. "code": "countdown_1",
  3628. "value": 0
  3629. }
  3630. ],
  3631. "sub": false,
  3632. "time_zone": "-08:00",
  3633. "uid": "***",
  3634. "update_time": 1639595950,
  3635. "uuid": "33360203c82b960217c9"
  3636. },
  3637. {
  3638. "active_time": 1633651110,
  3639. "biz_type": 18,
  3640. "category": "cz",
  3641. "create_time": 1633651110,
  3642. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  3643. "id": "36837871bcddc23ccd0e",
  3644. "ip": "***",
  3645. "lat": "***",
  3646. "local_key": "***",
  3647. "lon": "***",
  3648. "model": "HYS-01-X5P-S7",
  3649. "name": "Pink Lava Lamp",
  3650. "online": true,
  3651. "owner_id": "11866790",
  3652. "product_id": "7i0er84cthlfv1mh",
  3653. "product_name": "Mini Smart Socket",
  3654. "status": [
  3655. {
  3656. "code": "switch_1",
  3657. "value": false
  3658. },
  3659. {
  3660. "code": "countdown_1",
  3661. "value": 0
  3662. }
  3663. ],
  3664. "sub": false,
  3665. "time_zone": "-08:00",
  3666. "uid": "***",
  3667. "update_time": 1639595720,
  3668. "uuid": "36837871bcddc23ccd0e"
  3669. },
  3670. {
  3671. "active_time": 1633649772,
  3672. "biz_type": 18,
  3673. "category": "cz",
  3674. "create_time": 1633649772,
  3675. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  3676. "id": "16505438bcddc29c7d1c",
  3677. "ip": "***",
  3678. "lat": "***",
  3679. "local_key": "***",
  3680. "lon": "***",
  3681. "model": "HYS-01-X5P-S7",
  3682. "name": "Yellow Lava Lamp",
  3683. "online": true,
  3684. "owner_id": "11866790",
  3685. "product_id": "7i0er84cthlfv1mh",
  3686. "product_name": "Mini Smart Socket",
  3687. "status": [
  3688. {
  3689. "code": "switch_1",
  3690. "value": false
  3691. },
  3692. {
  3693. "code": "countdown_1",
  3694. "value": 0
  3695. }
  3696. ],
  3697. "sub": false,
  3698. "time_zone": "-08:00",
  3699. "uid": "***",
  3700. "update_time": 1639595373,
  3701. "uuid": "16505438bcddc29c7d1c"
  3702. }
  3703. ],
  3704. "success": true,
  3705. "t": 1643995801608
  3706. }
  3707. 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
  3708. 2022-02-04 09:30:01 DEBUG (Thread-355) [tuya iot] Response: {
  3709. "result": {
  3710. "client_id": "***",
  3711. "expire_time": 3600,
  3712. "password": "***",
  3713. "sink_topic": {
  3714. "device": "cloud/token/out/{device_id}"
  3715. },
  3716. "source_topic": {
  3717. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  3718. },
  3719. "url": "ssl://m1.tuyaus.com:8883",
  3720. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  3721. },
  3722. "success": true,
  3723. "t": 1643995801638
  3724. }
  3725. 2022-02-04 09:30:01 DEBUG (Thread-355) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  3726. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3727. "result": {
  3728. "category": "cz",
  3729. "functions": [
  3730. {
  3731. "code": "switch_1",
  3732. "type": "Boolean",
  3733. "values": "{}"
  3734. },
  3735. {
  3736. "code": "countdown_1",
  3737. "type": "Integer",
  3738. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3739. }
  3740. ],
  3741. "status": [
  3742. {
  3743. "code": "switch_1",
  3744. "type": "Boolean",
  3745. "values": "{}"
  3746. },
  3747. {
  3748. "code": "countdown_1",
  3749. "type": "Integer",
  3750. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3751. }
  3752. ]
  3753. },
  3754. "success": true,
  3755. "t": 1643995802014
  3756. }
  3757. 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
  3758. 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'
  3759. 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_log: Received CONNACK (0, 0)
  3760. 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] connect flags->{'session present': 0}, rc->0
  3761. 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  3762. 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_log: Received SUBACK
  3763. 2022-02-04 09:30:02 DEBUG (Thread-356) [tuya iot] _on_subscribe: 1
  3764. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3765. "result": {
  3766. "category": "cz",
  3767. "functions": [
  3768. {
  3769. "code": "switch_1",
  3770. "type": "Boolean",
  3771. "values": "{}"
  3772. },
  3773. {
  3774. "code": "countdown_1",
  3775. "type": "Integer",
  3776. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3777. }
  3778. ],
  3779. "status": [
  3780. {
  3781. "code": "switch_1",
  3782. "type": "Boolean",
  3783. "values": "{}"
  3784. },
  3785. {
  3786. "code": "countdown_1",
  3787. "type": "Integer",
  3788. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3789. }
  3790. ]
  3791. },
  3792. "success": true,
  3793. "t": 1643995802289
  3794. }
  3795. 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
  3796. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3797. "result": {
  3798. "category": "cz",
  3799. "functions": [
  3800. {
  3801. "code": "switch_1",
  3802. "type": "Boolean",
  3803. "values": "{}"
  3804. },
  3805. {
  3806. "code": "countdown_1",
  3807. "type": "Integer",
  3808. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3809. }
  3810. ],
  3811. "status": [
  3812. {
  3813. "code": "switch_1",
  3814. "type": "Boolean",
  3815. "values": "{}"
  3816. },
  3817. {
  3818. "code": "countdown_1",
  3819. "type": "Integer",
  3820. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3821. }
  3822. ]
  3823. },
  3824. "success": true,
  3825. "t": 1643995802431
  3826. }
  3827. 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
  3828. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3829. "result": {
  3830. "category": "cz",
  3831. "functions": [
  3832. {
  3833. "code": "switch_1",
  3834. "type": "Boolean",
  3835. "values": "{}"
  3836. },
  3837. {
  3838. "code": "countdown_1",
  3839. "type": "Integer",
  3840. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3841. }
  3842. ],
  3843. "status": [
  3844. {
  3845. "code": "switch_1",
  3846. "type": "Boolean",
  3847. "values": "{}"
  3848. },
  3849. {
  3850. "code": "countdown_1",
  3851. "type": "Integer",
  3852. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3853. }
  3854. ]
  3855. },
  3856. "success": true,
  3857. "t": 1643995802582
  3858. }
  3859. 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
  3860. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3861. "result": {
  3862. "category": "cz",
  3863. "functions": [
  3864. {
  3865. "code": "switch_1",
  3866. "type": "Boolean",
  3867. "values": "{}"
  3868. },
  3869. {
  3870. "code": "countdown_1",
  3871. "type": "Integer",
  3872. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3873. }
  3874. ],
  3875. "status": [
  3876. {
  3877. "code": "switch_1",
  3878. "type": "Boolean",
  3879. "values": "{}"
  3880. },
  3881. {
  3882. "code": "countdown_1",
  3883. "type": "Integer",
  3884. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3885. }
  3886. ]
  3887. },
  3888. "success": true,
  3889. "t": 1643995802681
  3890. }
  3891. 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
  3892. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3893. "result": {
  3894. "category": "cz",
  3895. "functions": [
  3896. {
  3897. "code": "switch_1",
  3898. "type": "Boolean",
  3899. "values": "{}"
  3900. },
  3901. {
  3902. "code": "countdown_1",
  3903. "type": "Integer",
  3904. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3905. }
  3906. ],
  3907. "status": [
  3908. {
  3909. "code": "switch_1",
  3910. "type": "Boolean",
  3911. "values": "{}"
  3912. },
  3913. {
  3914. "code": "countdown_1",
  3915. "type": "Integer",
  3916. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3917. }
  3918. ]
  3919. },
  3920. "success": true,
  3921. "t": 1643995802766
  3922. }
  3923. 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
  3924. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3925. "result": {
  3926. "category": "cz",
  3927. "functions": [
  3928. {
  3929. "code": "switch_1",
  3930. "type": "Boolean",
  3931. "values": "{}"
  3932. },
  3933. {
  3934. "code": "countdown_1",
  3935. "type": "Integer",
  3936. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3937. }
  3938. ],
  3939. "status": [
  3940. {
  3941. "code": "switch_1",
  3942. "type": "Boolean",
  3943. "values": "{}"
  3944. },
  3945. {
  3946. "code": "countdown_1",
  3947. "type": "Integer",
  3948. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3949. }
  3950. ]
  3951. },
  3952. "success": true,
  3953. "t": 1643995802855
  3954. }
  3955. 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
  3956. 2022-02-04 09:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3957. "result": {
  3958. "category": "cz",
  3959. "functions": [
  3960. {
  3961. "code": "switch_1",
  3962. "type": "Boolean",
  3963. "values": "{}"
  3964. },
  3965. {
  3966. "code": "countdown_1",
  3967. "type": "Integer",
  3968. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3969. }
  3970. ],
  3971. "status": [
  3972. {
  3973. "code": "switch_1",
  3974. "type": "Boolean",
  3975. "values": "{}"
  3976. },
  3977. {
  3978. "code": "countdown_1",
  3979. "type": "Integer",
  3980. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  3981. }
  3982. ]
  3983. },
  3984. "success": true,
  3985. "t": 1643995802938
  3986. }
  3987. 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
  3988. 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  3989. "result": {
  3990. "category": "jsq",
  3991. "functions": [
  3992. {
  3993. "code": "switch",
  3994. "type": "Boolean",
  3995. "values": "{}"
  3996. },
  3997. {
  3998. "code": "switch_led",
  3999. "type": "Boolean",
  4000. "values": "{}"
  4001. }
  4002. ],
  4003. "status": [
  4004. {
  4005. "code": "switch",
  4006. "type": "Boolean",
  4007. "values": "{}"
  4008. },
  4009. {
  4010. "code": "switch_led",
  4011. "type": "Boolean",
  4012. "values": "{}"
  4013. }
  4014. ]
  4015. },
  4016. "success": true,
  4017. "t": 1643995803040
  4018. }
  4019. 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
  4020. 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  4021. "result": {
  4022. "category": "cz",
  4023. "functions": [
  4024. {
  4025. "code": "switch_1",
  4026. "type": "Boolean",
  4027. "values": "{}"
  4028. },
  4029. {
  4030. "code": "countdown_1",
  4031. "type": "Integer",
  4032. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4033. }
  4034. ],
  4035. "status": [
  4036. {
  4037. "code": "switch_1",
  4038. "type": "Boolean",
  4039. "values": "{}"
  4040. },
  4041. {
  4042. "code": "countdown_1",
  4043. "type": "Integer",
  4044. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4045. }
  4046. ]
  4047. },
  4048. "success": true,
  4049. "t": 1643995803147
  4050. }
  4051. 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
  4052. 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  4053. "result": {
  4054. "category": "cz",
  4055. "functions": [
  4056. {
  4057. "code": "switch_1",
  4058. "type": "Boolean",
  4059. "values": "{}"
  4060. },
  4061. {
  4062. "code": "countdown_1",
  4063. "type": "Integer",
  4064. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4065. }
  4066. ],
  4067. "status": [
  4068. {
  4069. "code": "switch_1",
  4070. "type": "Boolean",
  4071. "values": "{}"
  4072. },
  4073. {
  4074. "code": "countdown_1",
  4075. "type": "Integer",
  4076. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4077. }
  4078. ]
  4079. },
  4080. "success": true,
  4081. "t": 1643995803234
  4082. }
  4083. 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
  4084. 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  4085. "result": {
  4086. "category": "cz",
  4087. "functions": [
  4088. {
  4089. "code": "switch_1",
  4090. "type": "Boolean",
  4091. "values": "{}"
  4092. },
  4093. {
  4094. "code": "countdown_1",
  4095. "type": "Integer",
  4096. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4097. }
  4098. ],
  4099. "status": [
  4100. {
  4101. "code": "switch_1",
  4102. "type": "Boolean",
  4103. "values": "{}"
  4104. },
  4105. {
  4106. "code": "countdown_1",
  4107. "type": "Integer",
  4108. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4109. }
  4110. ]
  4111. },
  4112. "success": true,
  4113. "t": 1643995803327
  4114. }
  4115. 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
  4116. 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  4117. "result": {
  4118. "category": "cz",
  4119. "functions": [
  4120. {
  4121. "code": "switch_1",
  4122. "type": "Boolean",
  4123. "values": "{}"
  4124. },
  4125. {
  4126. "code": "countdown_1",
  4127. "type": "Integer",
  4128. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4129. }
  4130. ],
  4131. "status": [
  4132. {
  4133. "code": "switch_1",
  4134. "type": "Boolean",
  4135. "values": "{}"
  4136. },
  4137. {
  4138. "code": "countdown_1",
  4139. "type": "Integer",
  4140. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4141. }
  4142. ]
  4143. },
  4144. "success": true,
  4145. "t": 1643995803405
  4146. }
  4147. 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
  4148. 2022-02-04 09:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  4149. "result": {
  4150. "category": "cz",
  4151. "functions": [
  4152. {
  4153. "code": "switch_1",
  4154. "type": "Boolean",
  4155. "values": "{}"
  4156. },
  4157. {
  4158. "code": "countdown_1",
  4159. "type": "Integer",
  4160. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4161. }
  4162. ],
  4163. "status": [
  4164. {
  4165. "code": "switch_1",
  4166. "type": "Boolean",
  4167. "values": "{}"
  4168. },
  4169. {
  4170. "code": "countdown_1",
  4171. "type": "Integer",
  4172. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4173. }
  4174. ]
  4175. },
  4176. "success": true,
  4177. "t": 1643995803489
  4178. }
  4179. 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']
  4180. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  4181. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  4182. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  4183. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  4184. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  4185. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  4186. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  4187. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  4188. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  4189. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  4190. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  4191. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  4192. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  4193. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  4194. 2022-02-04 09:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select init
  4195. 2022-02-04 09:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  4196. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  4197. 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']
  4198. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  4199. 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']
  4200. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  4201. 2022-02-04 09:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  4202. 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
  4203. 2022-02-04 09:30:03 DEBUG (SyncWorker_1) [tuya iot] Response: {
  4204. "result": [
  4205. {
  4206. "geo_name": "",
  4207. "home_id": 11866790,
  4208. "lat": "***",
  4209. "lon": "***",
  4210. "name": "My Home ..",
  4211. "role": "OWNER"
  4212. }
  4213. ],
  4214. "success": true,
  4215. "t": 1643995803671
  4216. }
  4217. 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
  4218. 2022-02-04 09:30:03 DEBUG (SyncWorker_1) [tuya iot] Response: {
  4219. "result": [],
  4220. "success": true,
  4221. "t": 1643995803800
  4222. }
  4223. 2022-02-04 09:31:01 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4224. 2022-02-04 09:31:01 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4225. 2022-02-04 09:32:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4226. 2022-02-04 09:32:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4227. 2022-02-04 09:33:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4228. 2022-02-04 09:33:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4229. 2022-02-04 09:34:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4230. 2022-02-04 09:34:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4231. 2022-02-04 09:35:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4232. 2022-02-04 09:35:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4233. 2022-02-04 09:36:02 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4234. 2022-02-04 09:36:02 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4235. 2022-02-04 09:37:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4236. 2022-02-04 09:37:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4237. 2022-02-04 09:38:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  4238. 2022-02-04 09:38:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4239. 2022-02-04 09:38:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4240. 2022-02-04 09:39:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4241. 2022-02-04 09:39:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4242. 2022-02-04 09:40:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4243. 2022-02-04 09:40:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4244. 2022-02-04 09:41:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4245. 2022-02-04 09:41:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4246. 2022-02-04 09:41:58 WARNING (SyncWorker_9) [homeassistant.components.waze_travel_time.sensor] Error on retrieving data: empty response
  4247. 2022-02-04 09:42:03 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4248. 2022-02-04 09:42:03 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4249. 2022-02-04 09:43:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4250. 2022-02-04 09:43:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4251. 2022-02-04 09:44:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4252. 2022-02-04 09:44:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4253. 2022-02-04 09:45:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4254. 2022-02-04 09:45:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4255. 2022-02-04 09:46:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4256. 2022-02-04 09:46:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4257. 2022-02-04 09:46:58 WARNING (SyncWorker_7) [homeassistant.components.waze_travel_time.sensor] Error on retrieving data: empty response
  4258. 2022-02-04 09:47:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4259. 2022-02-04 09:47:04 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4260. 2022-02-04 09:48:04 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4261. 2022-02-04 09:48:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4262. 2022-02-04 09:49:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4263. 2022-02-04 09:49:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4264. 2022-02-04 09:50:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4265. 2022-02-04 09:50:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4266. 2022-02-04 09:51:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4267. 2022-02-04 09:51:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4268. 2022-02-04 09:52:05 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4269. 2022-02-04 09:52:05 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4270. 2022-02-04 09:53:06 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4271. 2022-02-04 09:53:06 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4272. 2022-02-04 09:54:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  4273. 2022-02-04 09:54:06 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4274. 2022-02-04 09:54:06 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4275. 2022-02-04 09:55:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4276. 2022-02-04 09:55:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4277. 2022-02-04 09:56:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4278. 2022-02-04 09:56:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4279. 2022-02-04 09:57:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4280. 2022-02-04 09:57:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4281. 2022-02-04 09:58:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4282. 2022-02-04 09:58:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4283. 2022-02-04 09:59:07 DEBUG (Thread-356) [tuya iot] _on_log: Sending PINGREQ
  4284. 2022-02-04 09:59:07 DEBUG (Thread-356) [tuya iot] _on_log: Received PINGRESP
  4285. 2022-02-04 10:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  4286. 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
  4287. 2022-02-04 10:00:00 DEBUG (MainThread) [tuya iot] stop
  4288. 2022-02-04 10:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  4289. 2022-02-04 10:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  4290. 2022-02-04 10:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  4291. 2022-02-04 10:00:00 DEBUG (Thread-356) [tuya iot] disconnect
  4292. 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
  4293. 2022-02-04 10:00:02 DEBUG (SyncWorker_7) [tuya iot] Response: {
  4294. "result": {
  4295. "access_token": "***",
  4296. "expire_time": 7200,
  4297. "platform_url": "https://openapi.tuyaus.com",
  4298. "refresh_token": "***",
  4299. "uid": "***"
  4300. },
  4301. "success": true,
  4302. "t": 1643997602685
  4303. }
  4304. 2022-02-04 10:00:02 DEBUG (MainThread) [tuya iot] start
  4305. 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
  4306. 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
  4307. 2022-02-04 10:00:03 DEBUG (SyncWorker_15) [tuya iot] Response: {
  4308. "result": true,
  4309. "success": true,
  4310. "t": 1643997603670
  4311. }
  4312. 2022-02-04 10:00:04 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4313. "result": [
  4314. {
  4315. "active_time": 1642129199,
  4316. "biz_type": 18,
  4317. "category": "cz",
  4318. "create_time": 1633651254,
  4319. "icon": "smart/icon/1498529014_0.png",
  4320. "id": "0518502668c63aee2465",
  4321. "ip": "***",
  4322. "lat": "***",
  4323. "local_key": "***",
  4324. "lon": "***",
  4325. "model": "HYS-01-X5P-帆客",
  4326. "name": "Black Lava Lamp",
  4327. "online": true,
  4328. "owner_id": "11866790",
  4329. "product_id": "gpgdjdp2zvog8m0p",
  4330. "product_name": "Mini Smart Socket",
  4331. "status": [
  4332. {
  4333. "code": "switch_1",
  4334. "value": false
  4335. },
  4336. {
  4337. "code": "countdown_1",
  4338. "value": 0
  4339. }
  4340. ],
  4341. "sub": false,
  4342. "time_zone": "-08:00",
  4343. "uid": "***",
  4344. "update_time": 1643704238,
  4345. "uuid": "0518502668c63aee2465"
  4346. },
  4347. {
  4348. "active_time": 1625883466,
  4349. "biz_type": 18,
  4350. "category": "cz",
  4351. "create_time": 1625877313,
  4352. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  4353. "id": "177623502462ab3c8a02",
  4354. "ip": "***",
  4355. "lat": "***",
  4356. "local_key": "***",
  4357. "lon": "***",
  4358. "name": "Hanging Light",
  4359. "online": true,
  4360. "owner_id": "11866790",
  4361. "product_id": "AiHXxAyyn7eAkLQY",
  4362. "product_name": "Mini Smart Plug",
  4363. "status": [
  4364. {
  4365. "code": "switch_1",
  4366. "value": false
  4367. },
  4368. {
  4369. "code": "countdown_1",
  4370. "value": 0
  4371. }
  4372. ],
  4373. "sub": false,
  4374. "time_zone": "-08:00",
  4375. "uid": "***",
  4376. "update_time": 1639597496,
  4377. "uuid": "177623502462ab3c8a02"
  4378. },
  4379. {
  4380. "active_time": 1606362427,
  4381. "biz_type": 18,
  4382. "category": "cz",
  4383. "create_time": 1579662054,
  4384. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  4385. "id": "736388262462ab3cc045",
  4386. "ip": "***",
  4387. "lat": "***",
  4388. "local_key": "***",
  4389. "lon": "***",
  4390. "name": "Orange Lava Lamp",
  4391. "online": true,
  4392. "owner_id": "11866790",
  4393. "product_id": "AiHXxAyyn7eAkLQY",
  4394. "product_name": "Mini Smart Plug",
  4395. "status": [
  4396. {
  4397. "code": "switch_1",
  4398. "value": false
  4399. },
  4400. {
  4401. "code": "countdown_1",
  4402. "value": 0
  4403. }
  4404. ],
  4405. "sub": false,
  4406. "time_zone": "-08:00",
  4407. "uid": "***",
  4408. "update_time": 1639597476,
  4409. "uuid": "736388262462ab3cc045"
  4410. },
  4411. {
  4412. "active_time": 1576644608,
  4413. "biz_type": 18,
  4414. "category": "cz",
  4415. "create_time": 1576644608,
  4416. "icon": "smart/icon/1498529014_0.png",
  4417. "id": "40834308500291b2b6b7",
  4418. "ip": "***",
  4419. "lat": "***",
  4420. "local_key": "***",
  4421. "lon": "***",
  4422. "model": "HYS-X5-NEW",
  4423. "name": "Banana Light",
  4424. "online": true,
  4425. "owner_id": "11866790",
  4426. "product_id": "qoacsyyfbrbe3lm8",
  4427. "product_name": "Mini Smart Socket",
  4428. "status": [
  4429. {
  4430. "code": "switch_1",
  4431. "value": true
  4432. },
  4433. {
  4434. "code": "countdown_1",
  4435. "value": 0
  4436. }
  4437. ],
  4438. "sub": false,
  4439. "time_zone": "-08:00",
  4440. "uid": "***",
  4441. "update_time": 1639597286,
  4442. "uuid": "40834308500291b2b6b7"
  4443. },
  4444. {
  4445. "active_time": 1633650334,
  4446. "biz_type": 18,
  4447. "category": "cz",
  4448. "create_time": 1633650334,
  4449. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  4450. "id": "165054382cf432255c5f",
  4451. "ip": "***",
  4452. "lat": "***",
  4453. "local_key": "***",
  4454. "lon": "***",
  4455. "model": "HYS-01-X5P-S7",
  4456. "name": "Checkered Lava Lamp",
  4457. "online": true,
  4458. "owner_id": "11866790",
  4459. "product_id": "7i0er84cthlfv1mh",
  4460. "product_name": "Mini Smart Socket",
  4461. "status": [
  4462. {
  4463. "code": "switch_1",
  4464. "value": false
  4465. },
  4466. {
  4467. "code": "countdown_1",
  4468. "value": 0
  4469. }
  4470. ],
  4471. "sub": false,
  4472. "time_zone": "-08:00",
  4473. "uid": "***",
  4474. "update_time": 1639597032,
  4475. "uuid": "165054382cf432255c5f"
  4476. },
  4477. {
  4478. "active_time": 1606616090,
  4479. "biz_type": 18,
  4480. "category": "cz",
  4481. "create_time": 1579677410,
  4482. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  4483. "id": "736388262462ab3c521e",
  4484. "ip": "***",
  4485. "lat": "***",
  4486. "local_key": "***",
  4487. "lon": "***",
  4488. "name": "Blue Lava Lamp",
  4489. "online": true,
  4490. "owner_id": "11866790",
  4491. "product_id": "AiHXxAyyn7eAkLQY",
  4492. "product_name": "Mini Smart Plug",
  4493. "status": [
  4494. {
  4495. "code": "switch_1",
  4496. "value": false
  4497. },
  4498. {
  4499. "code": "countdown_1",
  4500. "value": 0
  4501. }
  4502. ],
  4503. "sub": false,
  4504. "time_zone": "-08:00",
  4505. "uid": "***",
  4506. "update_time": 1639596759,
  4507. "uuid": "736388262462ab3c521e"
  4508. },
  4509. {
  4510. "active_time": 1606362512,
  4511. "biz_type": 18,
  4512. "category": "cz",
  4513. "create_time": 1579776563,
  4514. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  4515. "id": "26300763f4cfa2022836",
  4516. "ip": "***",
  4517. "lat": "***",
  4518. "local_key": "***",
  4519. "lon": "***",
  4520. "model": "WP3-B美规10A(不带计量)/gosund",
  4521. "name": "Lemon Light",
  4522. "online": true,
  4523. "owner_id": "11866790",
  4524. "product_id": "AiHXxAyyn7eAkLQY",
  4525. "product_name": "Mini Smart Plug",
  4526. "status": [
  4527. {
  4528. "code": "switch_1",
  4529. "value": true
  4530. },
  4531. {
  4532. "code": "countdown_1",
  4533. "value": 0
  4534. }
  4535. ],
  4536. "sub": false,
  4537. "time_zone": "-08:00",
  4538. "uid": "***",
  4539. "update_time": 1639596674,
  4540. "uuid": "26300763f4cfa2022836"
  4541. },
  4542. {
  4543. "active_time": 1579313987,
  4544. "biz_type": 18,
  4545. "category": "cz",
  4546. "create_time": 1579313987,
  4547. "icon": "smart/icon/1498529014_0.png",
  4548. "id": "33360203c82b9602204e",
  4549. "ip": "***",
  4550. "lat": "***",
  4551. "local_key": "***",
  4552. "lon": "***",
  4553. "model": "HYS-X5-NEW",
  4554. "name": "Gold Lava Lamp",
  4555. "online": true,
  4556. "owner_id": "11866790",
  4557. "product_id": "qoacsyyfbrbe3lm8",
  4558. "product_name": "Mini Smart Socket",
  4559. "status": [
  4560. {
  4561. "code": "switch_1",
  4562. "value": false
  4563. },
  4564. {
  4565. "code": "countdown_1",
  4566. "value": 0
  4567. }
  4568. ],
  4569. "sub": false,
  4570. "time_zone": "-08:00",
  4571. "uid": "***",
  4572. "update_time": 1639596654,
  4573. "uuid": "33360203c82b9602204e"
  4574. },
  4575. {
  4576. "active_time": 1627023398,
  4577. "biz_type": 18,
  4578. "category": "jsq",
  4579. "create_time": 1627023398,
  4580. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  4581. "id": "eb5a649a9f92cdb9ec1pq6",
  4582. "ip": "***",
  4583. "lat": "***",
  4584. "local_key": "***",
  4585. "lon": "***",
  4586. "name": "Smart Aroma Diffuser Two",
  4587. "online": true,
  4588. "owner_id": "11866790",
  4589. "product_id": "yodwo2ujgwbgjaio",
  4590. "product_name": "Smart Aroma Diffuser",
  4591. "status": [
  4592. {
  4593. "code": "switch",
  4594. "value": false
  4595. },
  4596. {
  4597. "code": "switch_led",
  4598. "value": false
  4599. }
  4600. ],
  4601. "sub": false,
  4602. "time_zone": "-07:00",
  4603. "uid": "***",
  4604. "update_time": 1639596592,
  4605. "uuid": "912153509b40b0b0"
  4606. },
  4607. {
  4608. "active_time": 1606362711,
  4609. "biz_type": 18,
  4610. "category": "cz",
  4611. "create_time": 1579232360,
  4612. "icon": "smart/icon/1498529014_0.png",
  4613. "id": "10812535bcddc2a8a191",
  4614. "ip": "***",
  4615. "lat": "***",
  4616. "local_key": "***",
  4617. "lon": "***",
  4618. "model": "HYS-X5-NEW",
  4619. "name": "Green",
  4620. "online": true,
  4621. "owner_id": "11866790",
  4622. "product_id": "qoacsyyfbrbe3lm8",
  4623. "product_name": "Mini Smart Socket",
  4624. "status": [
  4625. {
  4626. "code": "switch_1",
  4627. "value": false
  4628. },
  4629. {
  4630. "code": "countdown_1",
  4631. "value": 0
  4632. }
  4633. ],
  4634. "sub": false,
  4635. "time_zone": "-08:00",
  4636. "uid": "***",
  4637. "update_time": 1639596405,
  4638. "uuid": "10812535bcddc2a8a191"
  4639. },
  4640. {
  4641. "active_time": 1606614603,
  4642. "biz_type": 18,
  4643. "category": "cz",
  4644. "create_time": 1579236112,
  4645. "icon": "smart/icon/1498529014_0.png",
  4646. "id": "1081253568c63aee1cce",
  4647. "ip": "***",
  4648. "lat": "***",
  4649. "local_key": "***",
  4650. "lon": "***",
  4651. "model": "HYS-X5-NEW",
  4652. "name": "Red Glitter Lamp",
  4653. "online": true,
  4654. "owner_id": "11866790",
  4655. "product_id": "qoacsyyfbrbe3lm8",
  4656. "product_name": "Mini Smart Socket",
  4657. "status": [
  4658. {
  4659. "code": "switch_1",
  4660. "value": false
  4661. },
  4662. {
  4663. "code": "countdown_1",
  4664. "value": 0
  4665. }
  4666. ],
  4667. "sub": false,
  4668. "time_zone": "-08:00",
  4669. "uid": "***",
  4670. "update_time": 1639596069,
  4671. "uuid": "1081253568c63aee1cce"
  4672. },
  4673. {
  4674. "active_time": 1631693069,
  4675. "biz_type": 18,
  4676. "category": "cz",
  4677. "create_time": 1579232097,
  4678. "icon": "smart/icon/1498529014_0.png",
  4679. "id": "33360203c82b960217c9",
  4680. "ip": "***",
  4681. "lat": "***",
  4682. "local_key": "***",
  4683. "lon": "***",
  4684. "model": "HYS-X5-NEW",
  4685. "name": "Purple Lava Lamp",
  4686. "online": true,
  4687. "owner_id": "11866790",
  4688. "product_id": "qoacsyyfbrbe3lm8",
  4689. "product_name": "Mini Smart Socket",
  4690. "status": [
  4691. {
  4692. "code": "switch_1",
  4693. "value": false
  4694. },
  4695. {
  4696. "code": "countdown_1",
  4697. "value": 0
  4698. }
  4699. ],
  4700. "sub": false,
  4701. "time_zone": "-08:00",
  4702. "uid": "***",
  4703. "update_time": 1639595950,
  4704. "uuid": "33360203c82b960217c9"
  4705. },
  4706. {
  4707. "active_time": 1633651110,
  4708. "biz_type": 18,
  4709. "category": "cz",
  4710. "create_time": 1633651110,
  4711. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  4712. "id": "36837871bcddc23ccd0e",
  4713. "ip": "***",
  4714. "lat": "***",
  4715. "local_key": "***",
  4716. "lon": "***",
  4717. "model": "HYS-01-X5P-S7",
  4718. "name": "Pink Lava Lamp",
  4719. "online": true,
  4720. "owner_id": "11866790",
  4721. "product_id": "7i0er84cthlfv1mh",
  4722. "product_name": "Mini Smart Socket",
  4723. "status": [
  4724. {
  4725. "code": "switch_1",
  4726. "value": false
  4727. },
  4728. {
  4729. "code": "countdown_1",
  4730. "value": 0
  4731. }
  4732. ],
  4733. "sub": false,
  4734. "time_zone": "-08:00",
  4735. "uid": "***",
  4736. "update_time": 1639595720,
  4737. "uuid": "36837871bcddc23ccd0e"
  4738. },
  4739. {
  4740. "active_time": 1633649772,
  4741. "biz_type": 18,
  4742. "category": "cz",
  4743. "create_time": 1633649772,
  4744. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  4745. "id": "16505438bcddc29c7d1c",
  4746. "ip": "***",
  4747. "lat": "***",
  4748. "local_key": "***",
  4749. "lon": "***",
  4750. "model": "HYS-01-X5P-S7",
  4751. "name": "Yellow Lava Lamp",
  4752. "online": true,
  4753. "owner_id": "11866790",
  4754. "product_id": "7i0er84cthlfv1mh",
  4755. "product_name": "Mini Smart Socket",
  4756. "status": [
  4757. {
  4758. "code": "switch_1",
  4759. "value": false
  4760. },
  4761. {
  4762. "code": "countdown_1",
  4763. "value": 0
  4764. }
  4765. ],
  4766. "sub": false,
  4767. "time_zone": "-08:00",
  4768. "uid": "***",
  4769. "update_time": 1639595373,
  4770. "uuid": "16505438bcddc29c7d1c"
  4771. }
  4772. ],
  4773. "success": true,
  4774. "t": 1643997604760
  4775. }
  4776. 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
  4777. 2022-02-04 10:00:04 DEBUG (Thread-359) [tuya iot] Response: {
  4778. "result": {
  4779. "client_id": "***",
  4780. "expire_time": 7200,
  4781. "password": "***",
  4782. "sink_topic": {
  4783. "device": "cloud/token/out/{device_id}"
  4784. },
  4785. "source_topic": {
  4786. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  4787. },
  4788. "url": "ssl://m1.tuyaus.com:8883",
  4789. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  4790. },
  4791. "success": true,
  4792. "t": 1643997604954
  4793. }
  4794. 2022-02-04 10:00:04 DEBUG (Thread-359) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  4795. 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'
  4796. 2022-02-04 10:00:05 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4797. "result": {
  4798. "category": "cz",
  4799. "functions": [
  4800. {
  4801. "code": "switch_1",
  4802. "type": "Boolean",
  4803. "values": "{}"
  4804. },
  4805. {
  4806. "code": "countdown_1",
  4807. "type": "Integer",
  4808. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4809. }
  4810. ],
  4811. "status": [
  4812. {
  4813. "code": "switch_1",
  4814. "type": "Boolean",
  4815. "values": "{}"
  4816. },
  4817. {
  4818. "code": "countdown_1",
  4819. "type": "Integer",
  4820. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4821. }
  4822. ]
  4823. },
  4824. "success": true,
  4825. "t": 1643997605566
  4826. }
  4827. 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
  4828. 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_log: Received CONNACK (0, 0)
  4829. 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] connect flags->{'session present': 0}, rc->0
  4830. 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  4831. 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_log: Received SUBACK
  4832. 2022-02-04 10:00:05 DEBUG (Thread-360) [tuya iot] _on_subscribe: 1
  4833. 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4834. "result": {
  4835. "category": "cz",
  4836. "functions": [
  4837. {
  4838. "code": "switch_1",
  4839. "type": "Boolean",
  4840. "values": "{}"
  4841. },
  4842. {
  4843. "code": "countdown_1",
  4844. "type": "Integer",
  4845. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4846. }
  4847. ],
  4848. "status": [
  4849. {
  4850. "code": "switch_1",
  4851. "type": "Boolean",
  4852. "values": "{}"
  4853. },
  4854. {
  4855. "code": "countdown_1",
  4856. "type": "Integer",
  4857. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4858. }
  4859. ]
  4860. },
  4861. "success": true,
  4862. "t": 1643997606167
  4863. }
  4864. 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
  4865. 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4866. "result": {
  4867. "category": "cz",
  4868. "functions": [
  4869. {
  4870. "code": "switch_1",
  4871. "type": "Boolean",
  4872. "values": "{}"
  4873. },
  4874. {
  4875. "code": "countdown_1",
  4876. "type": "Integer",
  4877. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4878. }
  4879. ],
  4880. "status": [
  4881. {
  4882. "code": "switch_1",
  4883. "type": "Boolean",
  4884. "values": "{}"
  4885. },
  4886. {
  4887. "code": "countdown_1",
  4888. "type": "Integer",
  4889. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4890. }
  4891. ]
  4892. },
  4893. "success": true,
  4894. "t": 1643997606382
  4895. }
  4896. 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
  4897. 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4898. "result": {
  4899. "category": "cz",
  4900. "functions": [
  4901. {
  4902. "code": "switch_1",
  4903. "type": "Boolean",
  4904. "values": "{}"
  4905. },
  4906. {
  4907. "code": "countdown_1",
  4908. "type": "Integer",
  4909. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4910. }
  4911. ],
  4912. "status": [
  4913. {
  4914. "code": "switch_1",
  4915. "type": "Boolean",
  4916. "values": "{}"
  4917. },
  4918. {
  4919. "code": "countdown_1",
  4920. "type": "Integer",
  4921. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4922. }
  4923. ]
  4924. },
  4925. "success": true,
  4926. "t": 1643997606747
  4927. }
  4928. 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
  4929. 2022-02-04 10:00:06 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4930. "result": {
  4931. "category": "cz",
  4932. "functions": [
  4933. {
  4934. "code": "switch_1",
  4935. "type": "Boolean",
  4936. "values": "{}"
  4937. },
  4938. {
  4939. "code": "countdown_1",
  4940. "type": "Integer",
  4941. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4942. }
  4943. ],
  4944. "status": [
  4945. {
  4946. "code": "switch_1",
  4947. "type": "Boolean",
  4948. "values": "{}"
  4949. },
  4950. {
  4951. "code": "countdown_1",
  4952. "type": "Integer",
  4953. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4954. }
  4955. ]
  4956. },
  4957. "success": true,
  4958. "t": 1643997606879
  4959. }
  4960. 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
  4961. 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4962. "result": {
  4963. "category": "cz",
  4964. "functions": [
  4965. {
  4966. "code": "switch_1",
  4967. "type": "Boolean",
  4968. "values": "{}"
  4969. },
  4970. {
  4971. "code": "countdown_1",
  4972. "type": "Integer",
  4973. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4974. }
  4975. ],
  4976. "status": [
  4977. {
  4978. "code": "switch_1",
  4979. "type": "Boolean",
  4980. "values": "{}"
  4981. },
  4982. {
  4983. "code": "countdown_1",
  4984. "type": "Integer",
  4985. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  4986. }
  4987. ]
  4988. },
  4989. "success": true,
  4990. "t": 1643997607234
  4991. }
  4992. 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
  4993. 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Response: {
  4994. "result": {
  4995. "category": "cz",
  4996. "functions": [
  4997. {
  4998. "code": "switch_1",
  4999. "type": "Boolean",
  5000. "values": "{}"
  5001. },
  5002. {
  5003. "code": "countdown_1",
  5004. "type": "Integer",
  5005. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5006. }
  5007. ],
  5008. "status": [
  5009. {
  5010. "code": "switch_1",
  5011. "type": "Boolean",
  5012. "values": "{}"
  5013. },
  5014. {
  5015. "code": "countdown_1",
  5016. "type": "Integer",
  5017. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5018. }
  5019. ]
  5020. },
  5021. "success": true,
  5022. "t": 1643997607462
  5023. }
  5024. 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
  5025. 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5026. "result": {
  5027. "category": "cz",
  5028. "functions": [
  5029. {
  5030. "code": "switch_1",
  5031. "type": "Boolean",
  5032. "values": "{}"
  5033. },
  5034. {
  5035. "code": "countdown_1",
  5036. "type": "Integer",
  5037. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5038. }
  5039. ],
  5040. "status": [
  5041. {
  5042. "code": "switch_1",
  5043. "type": "Boolean",
  5044. "values": "{}"
  5045. },
  5046. {
  5047. "code": "countdown_1",
  5048. "type": "Integer",
  5049. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5050. }
  5051. ]
  5052. },
  5053. "success": true,
  5054. "t": 1643997607601
  5055. }
  5056. 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
  5057. 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5058. "result": {
  5059. "category": "jsq",
  5060. "functions": [
  5061. {
  5062. "code": "switch",
  5063. "type": "Boolean",
  5064. "values": "{}"
  5065. },
  5066. {
  5067. "code": "switch_led",
  5068. "type": "Boolean",
  5069. "values": "{}"
  5070. }
  5071. ],
  5072. "status": [
  5073. {
  5074. "code": "switch",
  5075. "type": "Boolean",
  5076. "values": "{}"
  5077. },
  5078. {
  5079. "code": "switch_led",
  5080. "type": "Boolean",
  5081. "values": "{}"
  5082. }
  5083. ]
  5084. },
  5085. "success": true,
  5086. "t": 1643997607712
  5087. }
  5088. 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
  5089. 2022-02-04 10:00:07 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5090. "result": {
  5091. "category": "cz",
  5092. "functions": [
  5093. {
  5094. "code": "switch_1",
  5095. "type": "Boolean",
  5096. "values": "{}"
  5097. },
  5098. {
  5099. "code": "countdown_1",
  5100. "type": "Integer",
  5101. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5102. }
  5103. ],
  5104. "status": [
  5105. {
  5106. "code": "switch_1",
  5107. "type": "Boolean",
  5108. "values": "{}"
  5109. },
  5110. {
  5111. "code": "countdown_1",
  5112. "type": "Integer",
  5113. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5114. }
  5115. ]
  5116. },
  5117. "success": true,
  5118. "t": 1643997607837
  5119. }
  5120. 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
  5121. 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5122. "result": {
  5123. "category": "cz",
  5124. "functions": [
  5125. {
  5126. "code": "switch_1",
  5127. "type": "Boolean",
  5128. "values": "{}"
  5129. },
  5130. {
  5131. "code": "countdown_1",
  5132. "type": "Integer",
  5133. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5134. }
  5135. ],
  5136. "status": [
  5137. {
  5138. "code": "switch_1",
  5139. "type": "Boolean",
  5140. "values": "{}"
  5141. },
  5142. {
  5143. "code": "countdown_1",
  5144. "type": "Integer",
  5145. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5146. }
  5147. ]
  5148. },
  5149. "success": true,
  5150. "t": 1643997607976
  5151. }
  5152. 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
  5153. 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5154. "result": {
  5155. "category": "cz",
  5156. "functions": [
  5157. {
  5158. "code": "switch_1",
  5159. "type": "Boolean",
  5160. "values": "{}"
  5161. },
  5162. {
  5163. "code": "countdown_1",
  5164. "type": "Integer",
  5165. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5166. }
  5167. ],
  5168. "status": [
  5169. {
  5170. "code": "switch_1",
  5171. "type": "Boolean",
  5172. "values": "{}"
  5173. },
  5174. {
  5175. "code": "countdown_1",
  5176. "type": "Integer",
  5177. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5178. }
  5179. ]
  5180. },
  5181. "success": true,
  5182. "t": 1643997608129
  5183. }
  5184. 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
  5185. 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5186. "result": {
  5187. "category": "cz",
  5188. "functions": [
  5189. {
  5190. "code": "switch_1",
  5191. "type": "Boolean",
  5192. "values": "{}"
  5193. },
  5194. {
  5195. "code": "countdown_1",
  5196. "type": "Integer",
  5197. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5198. }
  5199. ],
  5200. "status": [
  5201. {
  5202. "code": "switch_1",
  5203. "type": "Boolean",
  5204. "values": "{}"
  5205. },
  5206. {
  5207. "code": "countdown_1",
  5208. "type": "Integer",
  5209. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5210. }
  5211. ]
  5212. },
  5213. "success": true,
  5214. "t": 1643997608269
  5215. }
  5216. 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
  5217. 2022-02-04 10:00:08 DEBUG (SyncWorker_14) [tuya iot] Response: {
  5218. "result": {
  5219. "category": "cz",
  5220. "functions": [
  5221. {
  5222. "code": "switch_1",
  5223. "type": "Boolean",
  5224. "values": "{}"
  5225. },
  5226. {
  5227. "code": "countdown_1",
  5228. "type": "Integer",
  5229. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5230. }
  5231. ],
  5232. "status": [
  5233. {
  5234. "code": "switch_1",
  5235. "type": "Boolean",
  5236. "values": "{}"
  5237. },
  5238. {
  5239. "code": "countdown_1",
  5240. "type": "Integer",
  5241. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5242. }
  5243. ]
  5244. },
  5245. "success": true,
  5246. "t": 1643997608422
  5247. }
  5248. 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']
  5249. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  5250. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  5251. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  5252. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  5253. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  5254. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  5255. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  5256. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  5257. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  5258. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  5259. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  5260. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  5261. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  5262. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  5263. 2022-02-04 10:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select init
  5264. 2022-02-04 10:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  5265. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  5266. 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']
  5267. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  5268. 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']
  5269. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  5270. 2022-02-04 10:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  5271. 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
  5272. 2022-02-04 10:00:08 DEBUG (SyncWorker_6) [tuya iot] Response: {
  5273. "result": [
  5274. {
  5275. "geo_name": "",
  5276. "home_id": 11866790,
  5277. "lat": "***",
  5278. "lon": "***",
  5279. "name": "My Home ..",
  5280. "role": "OWNER"
  5281. }
  5282. ],
  5283. "success": true,
  5284. "t": 1643997608910
  5285. }
  5286. 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
  5287. 2022-02-04 10:00:09 DEBUG (SyncWorker_6) [tuya iot] Response: {
  5288. "result": [],
  5289. "success": true,
  5290. "t": 1643997609187
  5291. }
  5292. 2022-02-04 10:01:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5293. 2022-02-04 10:01:05 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5294. 2022-02-04 10:02:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5295. 2022-02-04 10:02:05 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5296. 2022-02-04 10:03:05 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5297. 2022-02-04 10:03:05 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5298. 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)
  5299. 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}'
  5300. 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}
  5301. 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}
  5302. 2022-02-04 10:03:54 DEBUG (Thread-360) [tuya iot] mq _on_device_other-> eb5a649a9f92cdb9ec1pq6 -- offline
  5303. 2022-02-04 10:03:54 DEBUG (Thread-360) [custom_components.tuya_v2] _update--><custom_components.tuya_v2.DeviceListener object at 0x7f906c2d60>;->>eb5a649a9f92cdb9ec1pq6
  5304. 2022-02-04 10:04:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5305. 2022-02-04 10:04:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5306. 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)
  5307. 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}'
  5308. 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}
  5309. 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}
  5310. 2022-02-04 10:04:08 DEBUG (Thread-360) [tuya iot] mq _on_device_other-> eb5a649a9f92cdb9ec1pq6 -- online
  5311. 2022-02-04 10:04:08 DEBUG (Thread-360) [custom_components.tuya_v2] _update--><custom_components.tuya_v2.DeviceListener object at 0x7f906c2d60>;->>eb5a649a9f92cdb9ec1pq6
  5312. 2022-02-04 10:05:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  5313. 2022-02-04 10:05:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5314. 2022-02-04 10:05:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5315. 2022-02-04 10:06:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5316. 2022-02-04 10:06:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5317. 2022-02-04 10:07:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5318. 2022-02-04 10:07:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5319. 2022-02-04 10:08:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5320. 2022-02-04 10:08:06 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5321. 2022-02-04 10:09:06 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5322. 2022-02-04 10:09:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5323. 2022-02-04 10:10:07 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5324. 2022-02-04 10:10:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5325. 2022-02-04 10:11:07 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5326. 2022-02-04 10:11:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5327. 2022-02-04 10:12:07 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5328. 2022-02-04 10:12:07 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5329. 2022-02-04 10:13:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5330. 2022-02-04 10:13:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5331. 2022-02-04 10:14:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5332. 2022-02-04 10:14:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5333. 2022-02-04 10:15:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5334. 2022-02-04 10:15:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5335. 2022-02-04 10:16:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5336. 2022-02-04 10:16:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5337. 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
  5338. 2022-02-04 10:17:08 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5339. 2022-02-04 10:17:08 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5340. 2022-02-04 10:18:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5341. 2022-02-04 10:18:09 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5342. 2022-02-04 10:19:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5343. 2022-02-04 10:19:09 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5344. 2022-02-04 10:20:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5345. 2022-02-04 10:20:09 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5346. 2022-02-04 10:21:09 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5347. 2022-02-04 10:21:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5348. 2022-02-04 10:22:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  5349. 2022-02-04 10:22:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5350. 2022-02-04 10:22:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5351. 2022-02-04 10:23:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5352. 2022-02-04 10:23:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5353. 2022-02-04 10:24:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5354. 2022-02-04 10:24:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5355. 2022-02-04 10:25:10 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5356. 2022-02-04 10:25:10 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5357. 2022-02-04 10:26:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5358. 2022-02-04 10:26:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5359. 2022-02-04 10:27:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5360. 2022-02-04 10:27:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5361. 2022-02-04 10:28:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5362. 2022-02-04 10:28:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5363. 2022-02-04 10:29:11 DEBUG (Thread-360) [tuya iot] _on_log: Sending PINGREQ
  5364. 2022-02-04 10:29:11 DEBUG (Thread-360) [tuya iot] _on_log: Received PINGRESP
  5365. 2022-02-04 10:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  5366. 2022-02-04 10:30:00 DEBUG (MainThread) [tuya iot] stop
  5367. 2022-02-04 10:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  5368. 2022-02-04 10:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  5369. 2022-02-04 10:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  5370. 2022-02-04 10:30:00 DEBUG (Thread-360) [tuya iot] disconnect
  5371. 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
  5372. 2022-02-04 10:30:02 DEBUG (SyncWorker_9) [tuya iot] Response: {
  5373. "result": {
  5374. "access_token": "***",
  5375. "expire_time": 7200,
  5376. "platform_url": "https://openapi.tuyaus.com",
  5377. "refresh_token": "***",
  5378. "uid": "***"
  5379. },
  5380. "success": true,
  5381. "t": 1643999401957
  5382. }
  5383. 2022-02-04 10:30:02 DEBUG (MainThread) [tuya iot] start
  5384. 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
  5385. 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
  5386. 2022-02-04 10:30:02 DEBUG (Thread-461) [tuya iot] Response: {
  5387. "result": {
  5388. "client_id": "***",
  5389. "expire_time": 5403,
  5390. "password": "***",
  5391. "sink_topic": {
  5392. "device": "cloud/token/out/{device_id}"
  5393. },
  5394. "source_topic": {
  5395. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  5396. },
  5397. "url": "ssl://m1.tuyaus.com:8883",
  5398. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  5399. },
  5400. "success": true,
  5401. "t": 1643999402320
  5402. }
  5403. 2022-02-04 10:30:02 DEBUG (Thread-461) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  5404. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  5405. "result": [
  5406. {
  5407. "active_time": 1642129199,
  5408. "biz_type": 18,
  5409. "category": "cz",
  5410. "create_time": 1633651254,
  5411. "icon": "smart/icon/1498529014_0.png",
  5412. "id": "0518502668c63aee2465",
  5413. "ip": "***",
  5414. "lat": "***",
  5415. "local_key": "***",
  5416. "lon": "***",
  5417. "model": "HYS-01-X5P-帆客",
  5418. "name": "Black Lava Lamp",
  5419. "online": true,
  5420. "owner_id": "11866790",
  5421. "product_id": "gpgdjdp2zvog8m0p",
  5422. "product_name": "Mini Smart Socket",
  5423. "status": [
  5424. {
  5425. "code": "switch_1",
  5426. "value": false
  5427. },
  5428. {
  5429. "code": "countdown_1",
  5430. "value": 0
  5431. }
  5432. ],
  5433. "sub": false,
  5434. "time_zone": "-08:00",
  5435. "uid": "***",
  5436. "update_time": 1643704238,
  5437. "uuid": "0518502668c63aee2465"
  5438. },
  5439. {
  5440. "active_time": 1625883466,
  5441. "biz_type": 18,
  5442. "category": "cz",
  5443. "create_time": 1625877313,
  5444. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  5445. "id": "177623502462ab3c8a02",
  5446. "ip": "***",
  5447. "lat": "***",
  5448. "local_key": "***",
  5449. "lon": "***",
  5450. "name": "Hanging Light",
  5451. "online": true,
  5452. "owner_id": "11866790",
  5453. "product_id": "AiHXxAyyn7eAkLQY",
  5454. "product_name": "Mini Smart Plug",
  5455. "status": [
  5456. {
  5457. "code": "switch_1",
  5458. "value": false
  5459. },
  5460. {
  5461. "code": "countdown_1",
  5462. "value": 0
  5463. }
  5464. ],
  5465. "sub": false,
  5466. "time_zone": "-08:00",
  5467. "uid": "***",
  5468. "update_time": 1639597496,
  5469. "uuid": "177623502462ab3c8a02"
  5470. },
  5471. {
  5472. "active_time": 1606362427,
  5473. "biz_type": 18,
  5474. "category": "cz",
  5475. "create_time": 1579662054,
  5476. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  5477. "id": "736388262462ab3cc045",
  5478. "ip": "***",
  5479. "lat": "***",
  5480. "local_key": "***",
  5481. "lon": "***",
  5482. "name": "Orange Lava Lamp",
  5483. "online": true,
  5484. "owner_id": "11866790",
  5485. "product_id": "AiHXxAyyn7eAkLQY",
  5486. "product_name": "Mini Smart Plug",
  5487. "status": [
  5488. {
  5489. "code": "switch_1",
  5490. "value": false
  5491. },
  5492. {
  5493. "code": "countdown_1",
  5494. "value": 0
  5495. }
  5496. ],
  5497. "sub": false,
  5498. "time_zone": "-08:00",
  5499. "uid": "***",
  5500. "update_time": 1639597476,
  5501. "uuid": "736388262462ab3cc045"
  5502. },
  5503. {
  5504. "active_time": 1576644608,
  5505. "biz_type": 18,
  5506. "category": "cz",
  5507. "create_time": 1576644608,
  5508. "icon": "smart/icon/1498529014_0.png",
  5509. "id": "40834308500291b2b6b7",
  5510. "ip": "***",
  5511. "lat": "***",
  5512. "local_key": "***",
  5513. "lon": "***",
  5514. "model": "HYS-X5-NEW",
  5515. "name": "Banana Light",
  5516. "online": true,
  5517. "owner_id": "11866790",
  5518. "product_id": "qoacsyyfbrbe3lm8",
  5519. "product_name": "Mini Smart Socket",
  5520. "status": [
  5521. {
  5522. "code": "switch_1",
  5523. "value": true
  5524. },
  5525. {
  5526. "code": "countdown_1",
  5527. "value": 0
  5528. }
  5529. ],
  5530. "sub": false,
  5531. "time_zone": "-08:00",
  5532. "uid": "***",
  5533. "update_time": 1639597286,
  5534. "uuid": "40834308500291b2b6b7"
  5535. },
  5536. {
  5537. "active_time": 1633650334,
  5538. "biz_type": 18,
  5539. "category": "cz",
  5540. "create_time": 1633650334,
  5541. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  5542. "id": "165054382cf432255c5f",
  5543. "ip": "***",
  5544. "lat": "***",
  5545. "local_key": "***",
  5546. "lon": "***",
  5547. "model": "HYS-01-X5P-S7",
  5548. "name": "Checkered Lava Lamp",
  5549. "online": true,
  5550. "owner_id": "11866790",
  5551. "product_id": "7i0er84cthlfv1mh",
  5552. "product_name": "Mini Smart Socket",
  5553. "status": [
  5554. {
  5555. "code": "switch_1",
  5556. "value": false
  5557. },
  5558. {
  5559. "code": "countdown_1",
  5560. "value": 0
  5561. }
  5562. ],
  5563. "sub": false,
  5564. "time_zone": "-08:00",
  5565. "uid": "***",
  5566. "update_time": 1639597032,
  5567. "uuid": "165054382cf432255c5f"
  5568. },
  5569. {
  5570. "active_time": 1606616090,
  5571. "biz_type": 18,
  5572. "category": "cz",
  5573. "create_time": 1579677410,
  5574. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  5575. "id": "736388262462ab3c521e",
  5576. "ip": "***",
  5577. "lat": "***",
  5578. "local_key": "***",
  5579. "lon": "***",
  5580. "name": "Blue Lava Lamp",
  5581. "online": true,
  5582. "owner_id": "11866790",
  5583. "product_id": "AiHXxAyyn7eAkLQY",
  5584. "product_name": "Mini Smart Plug",
  5585. "status": [
  5586. {
  5587. "code": "switch_1",
  5588. "value": false
  5589. },
  5590. {
  5591. "code": "countdown_1",
  5592. "value": 0
  5593. }
  5594. ],
  5595. "sub": false,
  5596. "time_zone": "-08:00",
  5597. "uid": "***",
  5598. "update_time": 1639596759,
  5599. "uuid": "736388262462ab3c521e"
  5600. },
  5601. {
  5602. "active_time": 1606362512,
  5603. "biz_type": 18,
  5604. "category": "cz",
  5605. "create_time": 1579776563,
  5606. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  5607. "id": "26300763f4cfa2022836",
  5608. "ip": "***",
  5609. "lat": "***",
  5610. "local_key": "***",
  5611. "lon": "***",
  5612. "model": "WP3-B美规10A(不带计量)/gosund",
  5613. "name": "Lemon Light",
  5614. "online": true,
  5615. "owner_id": "11866790",
  5616. "product_id": "AiHXxAyyn7eAkLQY",
  5617. "product_name": "Mini Smart Plug",
  5618. "status": [
  5619. {
  5620. "code": "switch_1",
  5621. "value": true
  5622. },
  5623. {
  5624. "code": "countdown_1",
  5625. "value": 0
  5626. }
  5627. ],
  5628. "sub": false,
  5629. "time_zone": "-08:00",
  5630. "uid": "***",
  5631. "update_time": 1639596674,
  5632. "uuid": "26300763f4cfa2022836"
  5633. },
  5634. {
  5635. "active_time": 1579313987,
  5636. "biz_type": 18,
  5637. "category": "cz",
  5638. "create_time": 1579313987,
  5639. "icon": "smart/icon/1498529014_0.png",
  5640. "id": "33360203c82b9602204e",
  5641. "ip": "***",
  5642. "lat": "***",
  5643. "local_key": "***",
  5644. "lon": "***",
  5645. "model": "HYS-X5-NEW",
  5646. "name": "Gold Lava Lamp",
  5647. "online": true,
  5648. "owner_id": "11866790",
  5649. "product_id": "qoacsyyfbrbe3lm8",
  5650. "product_name": "Mini Smart Socket",
  5651. "status": [
  5652. {
  5653. "code": "switch_1",
  5654. "value": false
  5655. },
  5656. {
  5657. "code": "countdown_1",
  5658. "value": 0
  5659. }
  5660. ],
  5661. "sub": false,
  5662. "time_zone": "-08:00",
  5663. "uid": "***",
  5664. "update_time": 1639596654,
  5665. "uuid": "33360203c82b9602204e"
  5666. },
  5667. {
  5668. "active_time": 1627023398,
  5669. "biz_type": 18,
  5670. "category": "jsq",
  5671. "create_time": 1627023398,
  5672. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  5673. "id": "eb5a649a9f92cdb9ec1pq6",
  5674. "ip": "***",
  5675. "lat": "***",
  5676. "local_key": "***",
  5677. "lon": "***",
  5678. "name": "Smart Aroma Diffuser Two",
  5679. "online": true,
  5680. "owner_id": "11866790",
  5681. "product_id": "yodwo2ujgwbgjaio",
  5682. "product_name": "Smart Aroma Diffuser",
  5683. "status": [
  5684. {
  5685. "code": "switch",
  5686. "value": false
  5687. },
  5688. {
  5689. "code": "switch_led",
  5690. "value": false
  5691. }
  5692. ],
  5693. "sub": false,
  5694. "time_zone": "-07:00",
  5695. "uid": "***",
  5696. "update_time": 1639596592,
  5697. "uuid": "912153509b40b0b0"
  5698. },
  5699. {
  5700. "active_time": 1606362711,
  5701. "biz_type": 18,
  5702. "category": "cz",
  5703. "create_time": 1579232360,
  5704. "icon": "smart/icon/1498529014_0.png",
  5705. "id": "10812535bcddc2a8a191",
  5706. "ip": "***",
  5707. "lat": "***",
  5708. "local_key": "***",
  5709. "lon": "***",
  5710. "model": "HYS-X5-NEW",
  5711. "name": "Green",
  5712. "online": true,
  5713. "owner_id": "11866790",
  5714. "product_id": "qoacsyyfbrbe3lm8",
  5715. "product_name": "Mini Smart Socket",
  5716. "status": [
  5717. {
  5718. "code": "switch_1",
  5719. "value": false
  5720. },
  5721. {
  5722. "code": "countdown_1",
  5723. "value": 0
  5724. }
  5725. ],
  5726. "sub": false,
  5727. "time_zone": "-08:00",
  5728. "uid": "***",
  5729. "update_time": 1639596405,
  5730. "uuid": "10812535bcddc2a8a191"
  5731. },
  5732. {
  5733. "active_time": 1606614603,
  5734. "biz_type": 18,
  5735. "category": "cz",
  5736. "create_time": 1579236112,
  5737. "icon": "smart/icon/1498529014_0.png",
  5738. "id": "1081253568c63aee1cce",
  5739. "ip": "***",
  5740. "lat": "***",
  5741. "local_key": "***",
  5742. "lon": "***",
  5743. "model": "HYS-X5-NEW",
  5744. "name": "Red Glitter Lamp",
  5745. "online": true,
  5746. "owner_id": "11866790",
  5747. "product_id": "qoacsyyfbrbe3lm8",
  5748. "product_name": "Mini Smart Socket",
  5749. "status": [
  5750. {
  5751. "code": "switch_1",
  5752. "value": false
  5753. },
  5754. {
  5755. "code": "countdown_1",
  5756. "value": 0
  5757. }
  5758. ],
  5759. "sub": false,
  5760. "time_zone": "-08:00",
  5761. "uid": "***",
  5762. "update_time": 1639596069,
  5763. "uuid": "1081253568c63aee1cce"
  5764. },
  5765. {
  5766. "active_time": 1631693069,
  5767. "biz_type": 18,
  5768. "category": "cz",
  5769. "create_time": 1579232097,
  5770. "icon": "smart/icon/1498529014_0.png",
  5771. "id": "33360203c82b960217c9",
  5772. "ip": "***",
  5773. "lat": "***",
  5774. "local_key": "***",
  5775. "lon": "***",
  5776. "model": "HYS-X5-NEW",
  5777. "name": "Purple Lava Lamp",
  5778. "online": true,
  5779. "owner_id": "11866790",
  5780. "product_id": "qoacsyyfbrbe3lm8",
  5781. "product_name": "Mini Smart Socket",
  5782. "status": [
  5783. {
  5784. "code": "switch_1",
  5785. "value": false
  5786. },
  5787. {
  5788. "code": "countdown_1",
  5789. "value": 0
  5790. }
  5791. ],
  5792. "sub": false,
  5793. "time_zone": "-08:00",
  5794. "uid": "***",
  5795. "update_time": 1639595950,
  5796. "uuid": "33360203c82b960217c9"
  5797. },
  5798. {
  5799. "active_time": 1633651110,
  5800. "biz_type": 18,
  5801. "category": "cz",
  5802. "create_time": 1633651110,
  5803. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  5804. "id": "36837871bcddc23ccd0e",
  5805. "ip": "***",
  5806. "lat": "***",
  5807. "local_key": "***",
  5808. "lon": "***",
  5809. "model": "HYS-01-X5P-S7",
  5810. "name": "Pink Lava Lamp",
  5811. "online": true,
  5812. "owner_id": "11866790",
  5813. "product_id": "7i0er84cthlfv1mh",
  5814. "product_name": "Mini Smart Socket",
  5815. "status": [
  5816. {
  5817. "code": "switch_1",
  5818. "value": false
  5819. },
  5820. {
  5821. "code": "countdown_1",
  5822. "value": 0
  5823. }
  5824. ],
  5825. "sub": false,
  5826. "time_zone": "-08:00",
  5827. "uid": "***",
  5828. "update_time": 1639595720,
  5829. "uuid": "36837871bcddc23ccd0e"
  5830. },
  5831. {
  5832. "active_time": 1633649772,
  5833. "biz_type": 18,
  5834. "category": "cz",
  5835. "create_time": 1633649772,
  5836. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  5837. "id": "16505438bcddc29c7d1c",
  5838. "ip": "***",
  5839. "lat": "***",
  5840. "local_key": "***",
  5841. "lon": "***",
  5842. "model": "HYS-01-X5P-S7",
  5843. "name": "Yellow Lava Lamp",
  5844. "online": true,
  5845. "owner_id": "11866790",
  5846. "product_id": "7i0er84cthlfv1mh",
  5847. "product_name": "Mini Smart Socket",
  5848. "status": [
  5849. {
  5850. "code": "switch_1",
  5851. "value": false
  5852. },
  5853. {
  5854. "code": "countdown_1",
  5855. "value": 0
  5856. }
  5857. ],
  5858. "sub": false,
  5859. "time_zone": "-08:00",
  5860. "uid": "***",
  5861. "update_time": 1639595373,
  5862. "uuid": "16505438bcddc29c7d1c"
  5863. }
  5864. ],
  5865. "success": true,
  5866. "t": 1643999404005
  5867. }
  5868. 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
  5869. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  5870. "result": {
  5871. "category": "cz",
  5872. "functions": [
  5873. {
  5874. "code": "switch_1",
  5875. "type": "Boolean",
  5876. "values": "{}"
  5877. },
  5878. {
  5879. "code": "countdown_1",
  5880. "type": "Integer",
  5881. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5882. }
  5883. ],
  5884. "status": [
  5885. {
  5886. "code": "switch_1",
  5887. "type": "Boolean",
  5888. "values": "{}"
  5889. },
  5890. {
  5891. "code": "countdown_1",
  5892. "type": "Integer",
  5893. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5894. }
  5895. ]
  5896. },
  5897. "success": true,
  5898. "t": 1643999404140
  5899. }
  5900. 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
  5901. 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'
  5902. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  5903. "result": {
  5904. "category": "cz",
  5905. "functions": [
  5906. {
  5907. "code": "switch_1",
  5908. "type": "Boolean",
  5909. "values": "{}"
  5910. },
  5911. {
  5912. "code": "countdown_1",
  5913. "type": "Integer",
  5914. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5915. }
  5916. ],
  5917. "status": [
  5918. {
  5919. "code": "switch_1",
  5920. "type": "Boolean",
  5921. "values": "{}"
  5922. },
  5923. {
  5924. "code": "countdown_1",
  5925. "type": "Integer",
  5926. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5927. }
  5928. ]
  5929. },
  5930. "success": true,
  5931. "t": 1643999404270
  5932. }
  5933. 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
  5934. 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_log: Received CONNACK (0, 0)
  5935. 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] connect flags->{'session present': 0}, rc->0
  5936. 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  5937. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  5938. "result": {
  5939. "category": "cz",
  5940. "functions": [
  5941. {
  5942. "code": "switch_1",
  5943. "type": "Boolean",
  5944. "values": "{}"
  5945. },
  5946. {
  5947. "code": "countdown_1",
  5948. "type": "Integer",
  5949. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5950. }
  5951. ],
  5952. "status": [
  5953. {
  5954. "code": "switch_1",
  5955. "type": "Boolean",
  5956. "values": "{}"
  5957. },
  5958. {
  5959. "code": "countdown_1",
  5960. "type": "Integer",
  5961. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5962. }
  5963. ]
  5964. },
  5965. "success": true,
  5966. "t": 1643999404349
  5967. }
  5968. 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
  5969. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  5970. "result": {
  5971. "category": "cz",
  5972. "functions": [
  5973. {
  5974. "code": "switch_1",
  5975. "type": "Boolean",
  5976. "values": "{}"
  5977. },
  5978. {
  5979. "code": "countdown_1",
  5980. "type": "Integer",
  5981. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5982. }
  5983. ],
  5984. "status": [
  5985. {
  5986. "code": "switch_1",
  5987. "type": "Boolean",
  5988. "values": "{}"
  5989. },
  5990. {
  5991. "code": "countdown_1",
  5992. "type": "Integer",
  5993. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  5994. }
  5995. ]
  5996. },
  5997. "success": true,
  5998. "t": 1643999404469
  5999. }
  6000. 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
  6001. 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_log: Received SUBACK
  6002. 2022-02-04 10:30:04 DEBUG (Thread-462) [tuya iot] _on_subscribe: 1
  6003. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6004. "result": {
  6005. "category": "cz",
  6006. "functions": [
  6007. {
  6008. "code": "switch_1",
  6009. "type": "Boolean",
  6010. "values": "{}"
  6011. },
  6012. {
  6013. "code": "countdown_1",
  6014. "type": "Integer",
  6015. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6016. }
  6017. ],
  6018. "status": [
  6019. {
  6020. "code": "switch_1",
  6021. "type": "Boolean",
  6022. "values": "{}"
  6023. },
  6024. {
  6025. "code": "countdown_1",
  6026. "type": "Integer",
  6027. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6028. }
  6029. ]
  6030. },
  6031. "success": true,
  6032. "t": 1643999404585
  6033. }
  6034. 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
  6035. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6036. "result": {
  6037. "category": "cz",
  6038. "functions": [
  6039. {
  6040. "code": "switch_1",
  6041. "type": "Boolean",
  6042. "values": "{}"
  6043. },
  6044. {
  6045. "code": "countdown_1",
  6046. "type": "Integer",
  6047. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6048. }
  6049. ],
  6050. "status": [
  6051. {
  6052. "code": "switch_1",
  6053. "type": "Boolean",
  6054. "values": "{}"
  6055. },
  6056. {
  6057. "code": "countdown_1",
  6058. "type": "Integer",
  6059. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6060. }
  6061. ]
  6062. },
  6063. "success": true,
  6064. "t": 1643999404739
  6065. }
  6066. 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
  6067. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6068. "result": {
  6069. "category": "cz",
  6070. "functions": [
  6071. {
  6072. "code": "switch_1",
  6073. "type": "Boolean",
  6074. "values": "{}"
  6075. },
  6076. {
  6077. "code": "countdown_1",
  6078. "type": "Integer",
  6079. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6080. }
  6081. ],
  6082. "status": [
  6083. {
  6084. "code": "switch_1",
  6085. "type": "Boolean",
  6086. "values": "{}"
  6087. },
  6088. {
  6089. "code": "countdown_1",
  6090. "type": "Integer",
  6091. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6092. }
  6093. ]
  6094. },
  6095. "success": true,
  6096. "t": 1643999404816
  6097. }
  6098. 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
  6099. 2022-02-04 10:30:04 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6100. "result": {
  6101. "category": "cz",
  6102. "functions": [
  6103. {
  6104. "code": "switch_1",
  6105. "type": "Boolean",
  6106. "values": "{}"
  6107. },
  6108. {
  6109. "code": "countdown_1",
  6110. "type": "Integer",
  6111. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6112. }
  6113. ],
  6114. "status": [
  6115. {
  6116. "code": "switch_1",
  6117. "type": "Boolean",
  6118. "values": "{}"
  6119. },
  6120. {
  6121. "code": "countdown_1",
  6122. "type": "Integer",
  6123. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6124. }
  6125. ]
  6126. },
  6127. "success": true,
  6128. "t": 1643999404901
  6129. }
  6130. 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
  6131. 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6132. "result": {
  6133. "category": "jsq",
  6134. "functions": [
  6135. {
  6136. "code": "switch",
  6137. "type": "Boolean",
  6138. "values": "{}"
  6139. },
  6140. {
  6141. "code": "switch_led",
  6142. "type": "Boolean",
  6143. "values": "{}"
  6144. }
  6145. ],
  6146. "status": [
  6147. {
  6148. "code": "switch",
  6149. "type": "Boolean",
  6150. "values": "{}"
  6151. },
  6152. {
  6153. "code": "switch_led",
  6154. "type": "Boolean",
  6155. "values": "{}"
  6156. }
  6157. ]
  6158. },
  6159. "success": true,
  6160. "t": 1643999404986
  6161. }
  6162. 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
  6163. 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6164. "result": {
  6165. "category": "cz",
  6166. "functions": [
  6167. {
  6168. "code": "switch_1",
  6169. "type": "Boolean",
  6170. "values": "{}"
  6171. },
  6172. {
  6173. "code": "countdown_1",
  6174. "type": "Integer",
  6175. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6176. }
  6177. ],
  6178. "status": [
  6179. {
  6180. "code": "switch_1",
  6181. "type": "Boolean",
  6182. "values": "{}"
  6183. },
  6184. {
  6185. "code": "countdown_1",
  6186. "type": "Integer",
  6187. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6188. }
  6189. ]
  6190. },
  6191. "success": true,
  6192. "t": 1643999405078
  6193. }
  6194. 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
  6195. 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6196. "result": {
  6197. "category": "cz",
  6198. "functions": [
  6199. {
  6200. "code": "switch_1",
  6201. "type": "Boolean",
  6202. "values": "{}"
  6203. },
  6204. {
  6205. "code": "countdown_1",
  6206. "type": "Integer",
  6207. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6208. }
  6209. ],
  6210. "status": [
  6211. {
  6212. "code": "switch_1",
  6213. "type": "Boolean",
  6214. "values": "{}"
  6215. },
  6216. {
  6217. "code": "countdown_1",
  6218. "type": "Integer",
  6219. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6220. }
  6221. ]
  6222. },
  6223. "success": true,
  6224. "t": 1643999405199
  6225. }
  6226. 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
  6227. 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6228. "result": {
  6229. "category": "cz",
  6230. "functions": [
  6231. {
  6232. "code": "switch_1",
  6233. "type": "Boolean",
  6234. "values": "{}"
  6235. },
  6236. {
  6237. "code": "countdown_1",
  6238. "type": "Integer",
  6239. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6240. }
  6241. ],
  6242. "status": [
  6243. {
  6244. "code": "switch_1",
  6245. "type": "Boolean",
  6246. "values": "{}"
  6247. },
  6248. {
  6249. "code": "countdown_1",
  6250. "type": "Integer",
  6251. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6252. }
  6253. ]
  6254. },
  6255. "success": true,
  6256. "t": 1643999405294
  6257. }
  6258. 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
  6259. 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6260. "result": {
  6261. "category": "cz",
  6262. "functions": [
  6263. {
  6264. "code": "switch_1",
  6265. "type": "Boolean",
  6266. "values": "{}"
  6267. },
  6268. {
  6269. "code": "countdown_1",
  6270. "type": "Integer",
  6271. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6272. }
  6273. ],
  6274. "status": [
  6275. {
  6276. "code": "switch_1",
  6277. "type": "Boolean",
  6278. "values": "{}"
  6279. },
  6280. {
  6281. "code": "countdown_1",
  6282. "type": "Integer",
  6283. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6284. }
  6285. ]
  6286. },
  6287. "success": true,
  6288. "t": 1643999405384
  6289. }
  6290. 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
  6291. 2022-02-04 10:30:05 DEBUG (SyncWorker_8) [tuya iot] Response: {
  6292. "result": {
  6293. "category": "cz",
  6294. "functions": [
  6295. {
  6296. "code": "switch_1",
  6297. "type": "Boolean",
  6298. "values": "{}"
  6299. },
  6300. {
  6301. "code": "countdown_1",
  6302. "type": "Integer",
  6303. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6304. }
  6305. ],
  6306. "status": [
  6307. {
  6308. "code": "switch_1",
  6309. "type": "Boolean",
  6310. "values": "{}"
  6311. },
  6312. {
  6313. "code": "countdown_1",
  6314. "type": "Integer",
  6315. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6316. }
  6317. ]
  6318. },
  6319. "success": true,
  6320. "t": 1643999405499
  6321. }
  6322. 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']
  6323. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  6324. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  6325. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  6326. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  6327. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  6328. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  6329. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  6330. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  6331. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  6332. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  6333. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  6334. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  6335. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  6336. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  6337. 2022-02-04 10:30:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
  6338. 2022-02-04 10:30:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  6339. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  6340. 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']
  6341. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  6342. 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']
  6343. 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
  6344. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  6345. 2022-02-04 10:30:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  6346. 2022-02-04 10:30:05 DEBUG (SyncWorker_6) [tuya iot] Response: {
  6347. "result": [
  6348. {
  6349. "geo_name": "",
  6350. "home_id": 11866790,
  6351. "lat": "***",
  6352. "lon": "***",
  6353. "name": "My Home ..",
  6354. "role": "OWNER"
  6355. }
  6356. ],
  6357. "success": true,
  6358. "t": 1643999405671
  6359. }
  6360. 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
  6361. 2022-02-04 10:30:05 DEBUG (SyncWorker_6) [tuya iot] Response: {
  6362. "result": [],
  6363. "success": true,
  6364. "t": 1643999405830
  6365. }
  6366. 2022-02-04 10:31:03 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6367. 2022-02-04 10:31:03 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6368. 2022-02-04 10:32:03 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6369. 2022-02-04 10:32:03 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6370. 2022-02-04 10:32:05 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  6371. 2022-02-04 10:33:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6372. 2022-02-04 10:33:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6373. 2022-02-04 10:34:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6374. 2022-02-04 10:34:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6375. 2022-02-04 10:35:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  6376. 2022-02-04 10:35:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6377. 2022-02-04 10:35:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6378. 2022-02-04 10:36:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6379. 2022-02-04 10:36:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6380. 2022-02-04 10:37:04 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6381. 2022-02-04 10:37:04 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6382. 2022-02-04 10:38:00 ERROR (MainThread) [custom_components.mail_and_packages] Timeout fetching Mail and Packages (imap.gmail.com) data
  6383. 2022-02-04 10:38:05 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6384. 2022-02-04 10:38:05 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6385. 2022-02-04 10:38:33 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Stream ended; no additional packets
  6386. 2022-02-04 10:39:05 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6387. 2022-02-04 10:39:05 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6388. 2022-02-04 10:40:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6389. 2022-02-04 10:40:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6390. 2022-02-04 10:41:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6391. 2022-02-04 10:41:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6392. 2022-02-04 10:42:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6393. 2022-02-04 10:42:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6394. 2022-02-04 10:43:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6395. 2022-02-04 10:43:06 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6396. 2022-02-04 10:44:06 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6397. 2022-02-04 10:44:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6398. 2022-02-04 10:45:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6399. 2022-02-04 10:45:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6400. 2022-02-04 10:46:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6401. 2022-02-04 10:46:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6402. 2022-02-04 10:47:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6403. 2022-02-04 10:47:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6404. 2022-02-04 10:48:07 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6405. 2022-02-04 10:48:07 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6406. 2022-02-04 10:49:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6407. 2022-02-04 10:49:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6408. 2022-02-04 10:50:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  6409. 2022-02-04 10:50:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6410. 2022-02-04 10:50:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6411. 2022-02-04 10:51:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6412. 2022-02-04 10:51:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6413. 2022-02-04 10:52:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6414. 2022-02-04 10:52:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6415. 2022-02-04 10:53:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6416. 2022-02-04 10:53:08 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6417. 2022-02-04 10:54:08 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6418. 2022-02-04 10:54:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6419. 2022-02-04 10:55:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6420. 2022-02-04 10:55:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6421. 2022-02-04 10:56:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6422. 2022-02-04 10:56:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6423. 2022-02-04 10:57:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6424. 2022-02-04 10:57:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6425. 2022-02-04 10:58:09 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6426. 2022-02-04 10:58:09 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6427. 2022-02-04 10:59:10 DEBUG (Thread-462) [tuya iot] _on_log: Sending PINGREQ
  6428. 2022-02-04 10:59:10 DEBUG (Thread-462) [tuya iot] _on_log: Received PINGRESP
  6429. 2022-02-04 11:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  6430. 2022-02-04 11:00:00 DEBUG (MainThread) [tuya iot] stop
  6431. 2022-02-04 11:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  6432. 2022-02-04 11:00:00 DEBUG (Thread-462) [tuya iot] disconnect
  6433. 2022-02-04 11:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  6434. 2022-02-04 11:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  6435. 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
  6436. 2022-02-04 11:00:01 DEBUG (SyncWorker_7) [tuya iot] Response: {
  6437. "result": {
  6438. "access_token": "***",
  6439. "expire_time": 7200,
  6440. "platform_url": "https://openapi.tuyaus.com",
  6441. "refresh_token": "***",
  6442. "uid": "***"
  6443. },
  6444. "success": true,
  6445. "t": 1644001201551
  6446. }
  6447. 2022-02-04 11:00:01 DEBUG (MainThread) [tuya iot] start
  6448. 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
  6449. 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
  6450. 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  6451. "result": [
  6452. {
  6453. "active_time": 1642129199,
  6454. "biz_type": 18,
  6455. "category": "cz",
  6456. "create_time": 1633651254,
  6457. "icon": "smart/icon/1498529014_0.png",
  6458. "id": "0518502668c63aee2465",
  6459. "ip": "***",
  6460. "lat": "***",
  6461. "local_key": "***",
  6462. "lon": "***",
  6463. "model": "HYS-01-X5P-帆客",
  6464. "name": "Black Lava Lamp",
  6465. "online": true,
  6466. "owner_id": "11866790",
  6467. "product_id": "gpgdjdp2zvog8m0p",
  6468. "product_name": "Mini Smart Socket",
  6469. "status": [
  6470. {
  6471. "code": "switch_1",
  6472. "value": false
  6473. },
  6474. {
  6475. "code": "countdown_1",
  6476. "value": 0
  6477. }
  6478. ],
  6479. "sub": false,
  6480. "time_zone": "-08:00",
  6481. "uid": "***",
  6482. "update_time": 1643704238,
  6483. "uuid": "0518502668c63aee2465"
  6484. },
  6485. {
  6486. "active_time": 1625883466,
  6487. "biz_type": 18,
  6488. "category": "cz",
  6489. "create_time": 1625877313,
  6490. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  6491. "id": "177623502462ab3c8a02",
  6492. "ip": "***",
  6493. "lat": "***",
  6494. "local_key": "***",
  6495. "lon": "***",
  6496. "name": "Hanging Light",
  6497. "online": true,
  6498. "owner_id": "11866790",
  6499. "product_id": "AiHXxAyyn7eAkLQY",
  6500. "product_name": "Mini Smart Plug",
  6501. "status": [
  6502. {
  6503. "code": "switch_1",
  6504. "value": false
  6505. },
  6506. {
  6507. "code": "countdown_1",
  6508. "value": 0
  6509. }
  6510. ],
  6511. "sub": false,
  6512. "time_zone": "-08:00",
  6513. "uid": "***",
  6514. "update_time": 1639597496,
  6515. "uuid": "177623502462ab3c8a02"
  6516. },
  6517. {
  6518. "active_time": 1606362427,
  6519. "biz_type": 18,
  6520. "category": "cz",
  6521. "create_time": 1579662054,
  6522. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  6523. "id": "736388262462ab3cc045",
  6524. "ip": "***",
  6525. "lat": "***",
  6526. "local_key": "***",
  6527. "lon": "***",
  6528. "name": "Orange Lava Lamp",
  6529. "online": true,
  6530. "owner_id": "11866790",
  6531. "product_id": "AiHXxAyyn7eAkLQY",
  6532. "product_name": "Mini Smart Plug",
  6533. "status": [
  6534. {
  6535. "code": "switch_1",
  6536. "value": false
  6537. },
  6538. {
  6539. "code": "countdown_1",
  6540. "value": 0
  6541. }
  6542. ],
  6543. "sub": false,
  6544. "time_zone": "-08:00",
  6545. "uid": "***",
  6546. "update_time": 1639597476,
  6547. "uuid": "736388262462ab3cc045"
  6548. },
  6549. {
  6550. "active_time": 1576644608,
  6551. "biz_type": 18,
  6552. "category": "cz",
  6553. "create_time": 1576644608,
  6554. "icon": "smart/icon/1498529014_0.png",
  6555. "id": "40834308500291b2b6b7",
  6556. "ip": "***",
  6557. "lat": "***",
  6558. "local_key": "***",
  6559. "lon": "***",
  6560. "model": "HYS-X5-NEW",
  6561. "name": "Banana Light",
  6562. "online": true,
  6563. "owner_id": "11866790",
  6564. "product_id": "qoacsyyfbrbe3lm8",
  6565. "product_name": "Mini Smart Socket",
  6566. "status": [
  6567. {
  6568. "code": "switch_1",
  6569. "value": true
  6570. },
  6571. {
  6572. "code": "countdown_1",
  6573. "value": 0
  6574. }
  6575. ],
  6576. "sub": false,
  6577. "time_zone": "-08:00",
  6578. "uid": "***",
  6579. "update_time": 1639597286,
  6580. "uuid": "40834308500291b2b6b7"
  6581. },
  6582. {
  6583. "active_time": 1633650334,
  6584. "biz_type": 18,
  6585. "category": "cz",
  6586. "create_time": 1633650334,
  6587. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  6588. "id": "165054382cf432255c5f",
  6589. "ip": "***",
  6590. "lat": "***",
  6591. "local_key": "***",
  6592. "lon": "***",
  6593. "model": "HYS-01-X5P-S7",
  6594. "name": "Checkered Lava Lamp",
  6595. "online": true,
  6596. "owner_id": "11866790",
  6597. "product_id": "7i0er84cthlfv1mh",
  6598. "product_name": "Mini Smart Socket",
  6599. "status": [
  6600. {
  6601. "code": "switch_1",
  6602. "value": false
  6603. },
  6604. {
  6605. "code": "countdown_1",
  6606. "value": 0
  6607. }
  6608. ],
  6609. "sub": false,
  6610. "time_zone": "-08:00",
  6611. "uid": "***",
  6612. "update_time": 1639597032,
  6613. "uuid": "165054382cf432255c5f"
  6614. },
  6615. {
  6616. "active_time": 1606616090,
  6617. "biz_type": 18,
  6618. "category": "cz",
  6619. "create_time": 1579677410,
  6620. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  6621. "id": "736388262462ab3c521e",
  6622. "ip": "***",
  6623. "lat": "***",
  6624. "local_key": "***",
  6625. "lon": "***",
  6626. "name": "Blue Lava Lamp",
  6627. "online": true,
  6628. "owner_id": "11866790",
  6629. "product_id": "AiHXxAyyn7eAkLQY",
  6630. "product_name": "Mini Smart Plug",
  6631. "status": [
  6632. {
  6633. "code": "switch_1",
  6634. "value": false
  6635. },
  6636. {
  6637. "code": "countdown_1",
  6638. "value": 0
  6639. }
  6640. ],
  6641. "sub": false,
  6642. "time_zone": "-08:00",
  6643. "uid": "***",
  6644. "update_time": 1639596759,
  6645. "uuid": "736388262462ab3c521e"
  6646. },
  6647. {
  6648. "active_time": 1606362512,
  6649. "biz_type": 18,
  6650. "category": "cz",
  6651. "create_time": 1579776563,
  6652. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  6653. "id": "26300763f4cfa2022836",
  6654. "ip": "***",
  6655. "lat": "***",
  6656. "local_key": "***",
  6657. "lon": "***",
  6658. "model": "WP3-B美规10A(不带计量)/gosund",
  6659. "name": "Lemon Light",
  6660. "online": true,
  6661. "owner_id": "11866790",
  6662. "product_id": "AiHXxAyyn7eAkLQY",
  6663. "product_name": "Mini Smart Plug",
  6664. "status": [
  6665. {
  6666. "code": "switch_1",
  6667. "value": true
  6668. },
  6669. {
  6670. "code": "countdown_1",
  6671. "value": 0
  6672. }
  6673. ],
  6674. "sub": false,
  6675. "time_zone": "-08:00",
  6676. "uid": "***",
  6677. "update_time": 1639596674,
  6678. "uuid": "26300763f4cfa2022836"
  6679. },
  6680. {
  6681. "active_time": 1579313987,
  6682. "biz_type": 18,
  6683. "category": "cz",
  6684. "create_time": 1579313987,
  6685. "icon": "smart/icon/1498529014_0.png",
  6686. "id": "33360203c82b9602204e",
  6687. "ip": "***",
  6688. "lat": "***",
  6689. "local_key": "***",
  6690. "lon": "***",
  6691. "model": "HYS-X5-NEW",
  6692. "name": "Gold Lava Lamp",
  6693. "online": true,
  6694. "owner_id": "11866790",
  6695. "product_id": "qoacsyyfbrbe3lm8",
  6696. "product_name": "Mini Smart Socket",
  6697. "status": [
  6698. {
  6699. "code": "switch_1",
  6700. "value": false
  6701. },
  6702. {
  6703. "code": "countdown_1",
  6704. "value": 0
  6705. }
  6706. ],
  6707. "sub": false,
  6708. "time_zone": "-08:00",
  6709. "uid": "***",
  6710. "update_time": 1639596654,
  6711. "uuid": "33360203c82b9602204e"
  6712. },
  6713. {
  6714. "active_time": 1627023398,
  6715. "biz_type": 18,
  6716. "category": "jsq",
  6717. "create_time": 1627023398,
  6718. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  6719. "id": "eb5a649a9f92cdb9ec1pq6",
  6720. "ip": "***",
  6721. "lat": "***",
  6722. "local_key": "***",
  6723. "lon": "***",
  6724. "name": "Smart Aroma Diffuser Two",
  6725. "online": true,
  6726. "owner_id": "11866790",
  6727. "product_id": "yodwo2ujgwbgjaio",
  6728. "product_name": "Smart Aroma Diffuser",
  6729. "status": [
  6730. {
  6731. "code": "switch",
  6732. "value": false
  6733. },
  6734. {
  6735. "code": "switch_led",
  6736. "value": false
  6737. }
  6738. ],
  6739. "sub": false,
  6740. "time_zone": "-07:00",
  6741. "uid": "***",
  6742. "update_time": 1639596592,
  6743. "uuid": "912153509b40b0b0"
  6744. },
  6745. {
  6746. "active_time": 1606362711,
  6747. "biz_type": 18,
  6748. "category": "cz",
  6749. "create_time": 1579232360,
  6750. "icon": "smart/icon/1498529014_0.png",
  6751. "id": "10812535bcddc2a8a191",
  6752. "ip": "***",
  6753. "lat": "***",
  6754. "local_key": "***",
  6755. "lon": "***",
  6756. "model": "HYS-X5-NEW",
  6757. "name": "Green",
  6758. "online": true,
  6759. "owner_id": "11866790",
  6760. "product_id": "qoacsyyfbrbe3lm8",
  6761. "product_name": "Mini Smart Socket",
  6762. "status": [
  6763. {
  6764. "code": "switch_1",
  6765. "value": false
  6766. },
  6767. {
  6768. "code": "countdown_1",
  6769. "value": 0
  6770. }
  6771. ],
  6772. "sub": false,
  6773. "time_zone": "-08:00",
  6774. "uid": "***",
  6775. "update_time": 1639596405,
  6776. "uuid": "10812535bcddc2a8a191"
  6777. },
  6778. {
  6779. "active_time": 1606614603,
  6780. "biz_type": 18,
  6781. "category": "cz",
  6782. "create_time": 1579236112,
  6783. "icon": "smart/icon/1498529014_0.png",
  6784. "id": "1081253568c63aee1cce",
  6785. "ip": "***",
  6786. "lat": "***",
  6787. "local_key": "***",
  6788. "lon": "***",
  6789. "model": "HYS-X5-NEW",
  6790. "name": "Red Glitter Lamp",
  6791. "online": true,
  6792. "owner_id": "11866790",
  6793. "product_id": "qoacsyyfbrbe3lm8",
  6794. "product_name": "Mini Smart Socket",
  6795. "status": [
  6796. {
  6797. "code": "switch_1",
  6798. "value": false
  6799. },
  6800. {
  6801. "code": "countdown_1",
  6802. "value": 0
  6803. }
  6804. ],
  6805. "sub": false,
  6806. "time_zone": "-08:00",
  6807. "uid": "***",
  6808. "update_time": 1639596069,
  6809. "uuid": "1081253568c63aee1cce"
  6810. },
  6811. {
  6812. "active_time": 1631693069,
  6813. "biz_type": 18,
  6814. "category": "cz",
  6815. "create_time": 1579232097,
  6816. "icon": "smart/icon/1498529014_0.png",
  6817. "id": "33360203c82b960217c9",
  6818. "ip": "***",
  6819. "lat": "***",
  6820. "local_key": "***",
  6821. "lon": "***",
  6822. "model": "HYS-X5-NEW",
  6823. "name": "Purple Lava Lamp",
  6824. "online": true,
  6825. "owner_id": "11866790",
  6826. "product_id": "qoacsyyfbrbe3lm8",
  6827. "product_name": "Mini Smart Socket",
  6828. "status": [
  6829. {
  6830. "code": "switch_1",
  6831. "value": false
  6832. },
  6833. {
  6834. "code": "countdown_1",
  6835. "value": 0
  6836. }
  6837. ],
  6838. "sub": false,
  6839. "time_zone": "-08:00",
  6840. "uid": "***",
  6841. "update_time": 1639595950,
  6842. "uuid": "33360203c82b960217c9"
  6843. },
  6844. {
  6845. "active_time": 1633651110,
  6846. "biz_type": 18,
  6847. "category": "cz",
  6848. "create_time": 1633651110,
  6849. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  6850. "id": "36837871bcddc23ccd0e",
  6851. "ip": "***",
  6852. "lat": "***",
  6853. "local_key": "***",
  6854. "lon": "***",
  6855. "model": "HYS-01-X5P-S7",
  6856. "name": "Pink Lava Lamp",
  6857. "online": true,
  6858. "owner_id": "11866790",
  6859. "product_id": "7i0er84cthlfv1mh",
  6860. "product_name": "Mini Smart Socket",
  6861. "status": [
  6862. {
  6863. "code": "switch_1",
  6864. "value": false
  6865. },
  6866. {
  6867. "code": "countdown_1",
  6868. "value": 0
  6869. }
  6870. ],
  6871. "sub": false,
  6872. "time_zone": "-08:00",
  6873. "uid": "***",
  6874. "update_time": 1639595720,
  6875. "uuid": "36837871bcddc23ccd0e"
  6876. },
  6877. {
  6878. "active_time": 1633649772,
  6879. "biz_type": 18,
  6880. "category": "cz",
  6881. "create_time": 1633649772,
  6882. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  6883. "id": "16505438bcddc29c7d1c",
  6884. "ip": "***",
  6885. "lat": "***",
  6886. "local_key": "***",
  6887. "lon": "***",
  6888. "model": "HYS-01-X5P-S7",
  6889. "name": "Yellow Lava Lamp",
  6890. "online": true,
  6891. "owner_id": "11866790",
  6892. "product_id": "7i0er84cthlfv1mh",
  6893. "product_name": "Mini Smart Socket",
  6894. "status": [
  6895. {
  6896. "code": "switch_1",
  6897. "value": false
  6898. },
  6899. {
  6900. "code": "countdown_1",
  6901. "value": 0
  6902. }
  6903. ],
  6904. "sub": false,
  6905. "time_zone": "-08:00",
  6906. "uid": "***",
  6907. "update_time": 1639595373,
  6908. "uuid": "16505438bcddc29c7d1c"
  6909. }
  6910. ],
  6911. "success": true,
  6912. "t": 1644001202191
  6913. }
  6914. 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
  6915. 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  6916. "result": {
  6917. "category": "cz",
  6918. "functions": [
  6919. {
  6920. "code": "switch_1",
  6921. "type": "Boolean",
  6922. "values": "{}"
  6923. },
  6924. {
  6925. "code": "countdown_1",
  6926. "type": "Integer",
  6927. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6928. }
  6929. ],
  6930. "status": [
  6931. {
  6932. "code": "switch_1",
  6933. "type": "Boolean",
  6934. "values": "{}"
  6935. },
  6936. {
  6937. "code": "countdown_1",
  6938. "type": "Integer",
  6939. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6940. }
  6941. ]
  6942. },
  6943. "success": true,
  6944. "t": 1644001202490
  6945. }
  6946. 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
  6947. 2022-02-04 11:00:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  6948. "result": {
  6949. "category": "cz",
  6950. "functions": [
  6951. {
  6952. "code": "switch_1",
  6953. "type": "Boolean",
  6954. "values": "{}"
  6955. },
  6956. {
  6957. "code": "countdown_1",
  6958. "type": "Integer",
  6959. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6960. }
  6961. ],
  6962. "status": [
  6963. {
  6964. "code": "switch_1",
  6965. "type": "Boolean",
  6966. "values": "{}"
  6967. },
  6968. {
  6969. "code": "countdown_1",
  6970. "type": "Integer",
  6971. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  6972. }
  6973. ]
  6974. },
  6975. "success": true,
  6976. "t": 1644001202713
  6977. }
  6978. 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
  6979. 2022-02-04 11:00:02 DEBUG (Thread-465) [tuya iot] Response: {
  6980. "result": {
  6981. "client_id": "***",
  6982. "expire_time": 3603,
  6983. "password": "***",
  6984. "sink_topic": {
  6985. "device": "cloud/token/out/{device_id}"
  6986. },
  6987. "source_topic": {
  6988. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  6989. },
  6990. "url": "ssl://m1.tuyaus.com:8883",
  6991. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  6992. },
  6993. "success": true,
  6994. "t": 1644001202771
  6995. }
  6996. 2022-02-04 11:00:02 DEBUG (Thread-465) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  6997. 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  6998. "result": {
  6999. "category": "cz",
  7000. "functions": [
  7001. {
  7002. "code": "switch_1",
  7003. "type": "Boolean",
  7004. "values": "{}"
  7005. },
  7006. {
  7007. "code": "countdown_1",
  7008. "type": "Integer",
  7009. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7010. }
  7011. ],
  7012. "status": [
  7013. {
  7014. "code": "switch_1",
  7015. "type": "Boolean",
  7016. "values": "{}"
  7017. },
  7018. {
  7019. "code": "countdown_1",
  7020. "type": "Integer",
  7021. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7022. }
  7023. ]
  7024. },
  7025. "success": true,
  7026. "t": 1644001203102
  7027. }
  7028. 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
  7029. 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7030. "result": {
  7031. "category": "cz",
  7032. "functions": [
  7033. {
  7034. "code": "switch_1",
  7035. "type": "Boolean",
  7036. "values": "{}"
  7037. },
  7038. {
  7039. "code": "countdown_1",
  7040. "type": "Integer",
  7041. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7042. }
  7043. ],
  7044. "status": [
  7045. {
  7046. "code": "switch_1",
  7047. "type": "Boolean",
  7048. "values": "{}"
  7049. },
  7050. {
  7051. "code": "countdown_1",
  7052. "type": "Integer",
  7053. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7054. }
  7055. ]
  7056. },
  7057. "success": true,
  7058. "t": 1644001203201
  7059. }
  7060. 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
  7061. 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'
  7062. 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7063. "result": {
  7064. "category": "cz",
  7065. "functions": [
  7066. {
  7067. "code": "switch_1",
  7068. "type": "Boolean",
  7069. "values": "{}"
  7070. },
  7071. {
  7072. "code": "countdown_1",
  7073. "type": "Integer",
  7074. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7075. }
  7076. ],
  7077. "status": [
  7078. {
  7079. "code": "switch_1",
  7080. "type": "Boolean",
  7081. "values": "{}"
  7082. },
  7083. {
  7084. "code": "countdown_1",
  7085. "type": "Integer",
  7086. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7087. }
  7088. ]
  7089. },
  7090. "success": true,
  7091. "t": 1644001203467
  7092. }
  7093. 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
  7094. 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_log: Received CONNACK (0, 0)
  7095. 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] connect flags->{'session present': 0}, rc->0
  7096. 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  7097. 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_log: Received SUBACK
  7098. 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7099. "result": {
  7100. "category": "cz",
  7101. "functions": [
  7102. {
  7103. "code": "switch_1",
  7104. "type": "Boolean",
  7105. "values": "{}"
  7106. },
  7107. {
  7108. "code": "countdown_1",
  7109. "type": "Integer",
  7110. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7111. }
  7112. ],
  7113. "status": [
  7114. {
  7115. "code": "switch_1",
  7116. "type": "Boolean",
  7117. "values": "{}"
  7118. },
  7119. {
  7120. "code": "countdown_1",
  7121. "type": "Integer",
  7122. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7123. }
  7124. ]
  7125. },
  7126. "success": true,
  7127. "t": 1644001203589
  7128. }
  7129. 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
  7130. 2022-02-04 11:00:03 DEBUG (Thread-466) [tuya iot] _on_subscribe: 1
  7131. 2022-02-04 11:00:03 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7132. "result": {
  7133. "category": "cz",
  7134. "functions": [
  7135. {
  7136. "code": "switch_1",
  7137. "type": "Boolean",
  7138. "values": "{}"
  7139. },
  7140. {
  7141. "code": "countdown_1",
  7142. "type": "Integer",
  7143. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7144. }
  7145. ],
  7146. "status": [
  7147. {
  7148. "code": "switch_1",
  7149. "type": "Boolean",
  7150. "values": "{}"
  7151. },
  7152. {
  7153. "code": "countdown_1",
  7154. "type": "Integer",
  7155. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7156. }
  7157. ]
  7158. },
  7159. "success": true,
  7160. "t": 1644001203820
  7161. }
  7162. 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
  7163. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7164. "result": {
  7165. "category": "cz",
  7166. "functions": [
  7167. {
  7168. "code": "switch_1",
  7169. "type": "Boolean",
  7170. "values": "{}"
  7171. },
  7172. {
  7173. "code": "countdown_1",
  7174. "type": "Integer",
  7175. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7176. }
  7177. ],
  7178. "status": [
  7179. {
  7180. "code": "switch_1",
  7181. "type": "Boolean",
  7182. "values": "{}"
  7183. },
  7184. {
  7185. "code": "countdown_1",
  7186. "type": "Integer",
  7187. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7188. }
  7189. ]
  7190. },
  7191. "success": true,
  7192. "t": 1644001204033
  7193. }
  7194. 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
  7195. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7196. "result": {
  7197. "category": "jsq",
  7198. "functions": [
  7199. {
  7200. "code": "switch",
  7201. "type": "Boolean",
  7202. "values": "{}"
  7203. },
  7204. {
  7205. "code": "switch_led",
  7206. "type": "Boolean",
  7207. "values": "{}"
  7208. }
  7209. ],
  7210. "status": [
  7211. {
  7212. "code": "switch",
  7213. "type": "Boolean",
  7214. "values": "{}"
  7215. },
  7216. {
  7217. "code": "switch_led",
  7218. "type": "Boolean",
  7219. "values": "{}"
  7220. }
  7221. ]
  7222. },
  7223. "success": true,
  7224. "t": 1644001204217
  7225. }
  7226. 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
  7227. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7228. "result": {
  7229. "category": "cz",
  7230. "functions": [
  7231. {
  7232. "code": "switch_1",
  7233. "type": "Boolean",
  7234. "values": "{}"
  7235. },
  7236. {
  7237. "code": "countdown_1",
  7238. "type": "Integer",
  7239. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7240. }
  7241. ],
  7242. "status": [
  7243. {
  7244. "code": "switch_1",
  7245. "type": "Boolean",
  7246. "values": "{}"
  7247. },
  7248. {
  7249. "code": "countdown_1",
  7250. "type": "Integer",
  7251. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7252. }
  7253. ]
  7254. },
  7255. "success": true,
  7256. "t": 1644001204441
  7257. }
  7258. 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
  7259. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7260. "result": {
  7261. "category": "cz",
  7262. "functions": [
  7263. {
  7264. "code": "switch_1",
  7265. "type": "Boolean",
  7266. "values": "{}"
  7267. },
  7268. {
  7269. "code": "countdown_1",
  7270. "type": "Integer",
  7271. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7272. }
  7273. ],
  7274. "status": [
  7275. {
  7276. "code": "switch_1",
  7277. "type": "Boolean",
  7278. "values": "{}"
  7279. },
  7280. {
  7281. "code": "countdown_1",
  7282. "type": "Integer",
  7283. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7284. }
  7285. ]
  7286. },
  7287. "success": true,
  7288. "t": 1644001204544
  7289. }
  7290. 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
  7291. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7292. "result": {
  7293. "category": "cz",
  7294. "functions": [
  7295. {
  7296. "code": "switch_1",
  7297. "type": "Boolean",
  7298. "values": "{}"
  7299. },
  7300. {
  7301. "code": "countdown_1",
  7302. "type": "Integer",
  7303. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7304. }
  7305. ],
  7306. "status": [
  7307. {
  7308. "code": "switch_1",
  7309. "type": "Boolean",
  7310. "values": "{}"
  7311. },
  7312. {
  7313. "code": "countdown_1",
  7314. "type": "Integer",
  7315. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7316. }
  7317. ]
  7318. },
  7319. "success": true,
  7320. "t": 1644001204701
  7321. }
  7322. 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
  7323. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7324. "result": {
  7325. "category": "cz",
  7326. "functions": [
  7327. {
  7328. "code": "switch_1",
  7329. "type": "Boolean",
  7330. "values": "{}"
  7331. },
  7332. {
  7333. "code": "countdown_1",
  7334. "type": "Integer",
  7335. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7336. }
  7337. ],
  7338. "status": [
  7339. {
  7340. "code": "switch_1",
  7341. "type": "Boolean",
  7342. "values": "{}"
  7343. },
  7344. {
  7345. "code": "countdown_1",
  7346. "type": "Integer",
  7347. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7348. }
  7349. ]
  7350. },
  7351. "success": true,
  7352. "t": 1644001204795
  7353. }
  7354. 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
  7355. 2022-02-04 11:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  7356. "result": {
  7357. "category": "cz",
  7358. "functions": [
  7359. {
  7360. "code": "switch_1",
  7361. "type": "Boolean",
  7362. "values": "{}"
  7363. },
  7364. {
  7365. "code": "countdown_1",
  7366. "type": "Integer",
  7367. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7368. }
  7369. ],
  7370. "status": [
  7371. {
  7372. "code": "switch_1",
  7373. "type": "Boolean",
  7374. "values": "{}"
  7375. },
  7376. {
  7377. "code": "countdown_1",
  7378. "type": "Integer",
  7379. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  7380. }
  7381. ]
  7382. },
  7383. "success": true,
  7384. "t": 1644001204894
  7385. }
  7386. 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']
  7387. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  7388. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  7389. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  7390. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  7391. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  7392. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  7393. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  7394. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  7395. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  7396. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  7397. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  7398. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  7399. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  7400. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  7401. 2022-02-04 11:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
  7402. 2022-02-04 11:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  7403. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  7404. 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
  7405. 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']
  7406. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  7407. 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']
  7408. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  7409. 2022-02-04 11:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  7410. 2022-02-04 11:00:05 DEBUG (SyncWorker_7) [tuya iot] Response: {
  7411. "result": [
  7412. {
  7413. "geo_name": "",
  7414. "home_id": 11866790,
  7415. "lat": "***",
  7416. "lon": "***",
  7417. "name": "My Home ..",
  7418. "role": "OWNER"
  7419. }
  7420. ],
  7421. "success": true,
  7422. "t": 1644001205299
  7423. }
  7424. 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
  7425. 2022-02-04 11:00:05 DEBUG (SyncWorker_7) [tuya iot] Response: {
  7426. "result": [],
  7427. "success": true,
  7428. "t": 1644001205468
  7429. }
  7430. 2022-02-04 11:01:03 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7431. 2022-02-04 11:01:03 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7432. 2022-02-04 11:02:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7433. 2022-02-04 11:02:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7434. 2022-02-04 11:03:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7435. 2022-02-04 11:03:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7436. 2022-02-04 11:04:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7437. 2022-02-04 11:04:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7438. 2022-02-04 11:05:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7439. 2022-02-04 11:05:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7440. 2022-02-04 11:06:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  7441. 2022-02-04 11:06:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7442. 2022-02-04 11:06:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7443. 2022-02-04 11:07:04 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7444. 2022-02-04 11:07:04 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7445. 2022-02-04 11:08:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7446. 2022-02-04 11:08:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7447. 2022-02-04 11:09:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7448. 2022-02-04 11:09:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7449. 2022-02-04 11:10:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7450. 2022-02-04 11:10:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7451. 2022-02-04 11:11:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7452. 2022-02-04 11:11:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7453. 2022-02-04 11:12:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7454. 2022-02-04 11:12:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7455. 2022-02-04 11:13:05 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7456. 2022-02-04 11:13:05 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7457. 2022-02-04 11:14:06 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7458. 2022-02-04 11:14:06 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7459. 2022-02-04 11:15:06 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7460. 2022-02-04 11:15:06 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7461. 2022-02-04 11:16:06 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7462. 2022-02-04 11:16:06 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7463. 2022-02-04 11:17:07 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7464. 2022-02-04 11:17:07 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7465. 2022-02-04 11:18:07 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7466. 2022-02-04 11:18:07 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7467. 2022-02-04 11:19:07 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7468. 2022-02-04 11:19:07 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7469. 2022-02-04 11:20:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7470. 2022-02-04 11:20:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7471. 2022-02-04 11:21:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7472. 2022-02-04 11:21:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7473. 2022-02-04 11:22:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7474. 2022-02-04 11:22:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7475. 2022-02-04 11:23:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  7476. 2022-02-04 11:23:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7477. 2022-02-04 11:23:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7478. 2022-02-04 11:24:08 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7479. 2022-02-04 11:24:08 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7480. 2022-02-04 11:25:09 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7481. 2022-02-04 11:25:09 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7482. 2022-02-04 11:26:09 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7483. 2022-02-04 11:26:09 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7484. 2022-02-04 11:27:09 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7485. 2022-02-04 11:27:09 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7486. 2022-02-04 11:28:10 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7487. 2022-02-04 11:28:10 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7488. 2022-02-04 11:29:10 DEBUG (Thread-466) [tuya iot] _on_log: Sending PINGREQ
  7489. 2022-02-04 11:29:10 DEBUG (Thread-466) [tuya iot] _on_log: Received PINGRESP
  7490. 2022-02-04 11:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  7491. 2022-02-04 11:30:00 DEBUG (MainThread) [tuya iot] stop
  7492. 2022-02-04 11:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  7493. 2022-02-04 11:30:00 DEBUG (Thread-466) [tuya iot] disconnect
  7494. 2022-02-04 11:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  7495. 2022-02-04 11:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  7496. 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
  7497. 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
  7498. "result": {
  7499. "access_token": "***",
  7500. "expire_time": 7200,
  7501. "platform_url": "https://openapi.tuyaus.com",
  7502. "refresh_token": "***",
  7503. "uid": "***"
  7504. },
  7505. "success": true,
  7506. "t": 1644003001041
  7507. }
  7508. 2022-02-04 11:30:01 DEBUG (MainThread) [tuya iot] start
  7509. 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
  7510. 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
  7511. 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
  7512. "result": [
  7513. {
  7514. "active_time": 1642129199,
  7515. "biz_type": 18,
  7516. "category": "cz",
  7517. "create_time": 1633651254,
  7518. "icon": "smart/icon/1498529014_0.png",
  7519. "id": "0518502668c63aee2465",
  7520. "ip": "***",
  7521. "lat": "***",
  7522. "local_key": "***",
  7523. "lon": "***",
  7524. "model": "HYS-01-X5P-帆客",
  7525. "name": "Black Lava Lamp",
  7526. "online": true,
  7527. "owner_id": "11866790",
  7528. "product_id": "gpgdjdp2zvog8m0p",
  7529. "product_name": "Mini Smart Socket",
  7530. "status": [
  7531. {
  7532. "code": "switch_1",
  7533. "value": false
  7534. },
  7535. {
  7536. "code": "countdown_1",
  7537. "value": 0
  7538. }
  7539. ],
  7540. "sub": false,
  7541. "time_zone": "-08:00",
  7542. "uid": "***",
  7543. "update_time": 1643704238,
  7544. "uuid": "0518502668c63aee2465"
  7545. },
  7546. {
  7547. "active_time": 1625883466,
  7548. "biz_type": 18,
  7549. "category": "cz",
  7550. "create_time": 1625877313,
  7551. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  7552. "id": "177623502462ab3c8a02",
  7553. "ip": "***",
  7554. "lat": "***",
  7555. "local_key": "***",
  7556. "lon": "***",
  7557. "name": "Hanging Light",
  7558. "online": true,
  7559. "owner_id": "11866790",
  7560. "product_id": "AiHXxAyyn7eAkLQY",
  7561. "product_name": "Mini Smart Plug",
  7562. "status": [
  7563. {
  7564. "code": "switch_1",
  7565. "value": false
  7566. },
  7567. {
  7568. "code": "countdown_1",
  7569. "value": 0
  7570. }
  7571. ],
  7572. "sub": false,
  7573. "time_zone": "-08:00",
  7574. "uid": "***",
  7575. "update_time": 1639597496,
  7576. "uuid": "177623502462ab3c8a02"
  7577. },
  7578. {
  7579. "active_time": 1606362427,
  7580. "biz_type": 18,
  7581. "category": "cz",
  7582. "create_time": 1579662054,
  7583. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  7584. "id": "736388262462ab3cc045",
  7585. "ip": "***",
  7586. "lat": "***",
  7587. "local_key": "***",
  7588. "lon": "***",
  7589. "name": "Orange Lava Lamp",
  7590. "online": true,
  7591. "owner_id": "11866790",
  7592. "product_id": "AiHXxAyyn7eAkLQY",
  7593. "product_name": "Mini Smart Plug",
  7594. "status": [
  7595. {
  7596. "code": "switch_1",
  7597. "value": false
  7598. },
  7599. {
  7600. "code": "countdown_1",
  7601. "value": 0
  7602. }
  7603. ],
  7604. "sub": false,
  7605. "time_zone": "-08:00",
  7606. "uid": "***",
  7607. "update_time": 1639597476,
  7608. "uuid": "736388262462ab3cc045"
  7609. },
  7610. {
  7611. "active_time": 1576644608,
  7612. "biz_type": 18,
  7613. "category": "cz",
  7614. "create_time": 1576644608,
  7615. "icon": "smart/icon/1498529014_0.png",
  7616. "id": "40834308500291b2b6b7",
  7617. "ip": "***",
  7618. "lat": "***",
  7619. "local_key": "***",
  7620. "lon": "***",
  7621. "model": "HYS-X5-NEW",
  7622. "name": "Banana Light",
  7623. "online": true,
  7624. "owner_id": "11866790",
  7625. "product_id": "qoacsyyfbrbe3lm8",
  7626. "product_name": "Mini Smart Socket",
  7627. "status": [
  7628. {
  7629. "code": "switch_1",
  7630. "value": true
  7631. },
  7632. {
  7633. "code": "countdown_1",
  7634. "value": 0
  7635. }
  7636. ],
  7637. "sub": false,
  7638. "time_zone": "-08:00",
  7639. "uid": "***",
  7640. "update_time": 1639597286,
  7641. "uuid": "40834308500291b2b6b7"
  7642. },
  7643. {
  7644. "active_time": 1633650334,
  7645. "biz_type": 18,
  7646. "category": "cz",
  7647. "create_time": 1633650334,
  7648. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  7649. "id": "165054382cf432255c5f",
  7650. "ip": "***",
  7651. "lat": "***",
  7652. "local_key": "***",
  7653. "lon": "***",
  7654. "model": "HYS-01-X5P-S7",
  7655. "name": "Checkered Lava Lamp",
  7656. "online": true,
  7657. "owner_id": "11866790",
  7658. "product_id": "7i0er84cthlfv1mh",
  7659. "product_name": "Mini Smart Socket",
  7660. "status": [
  7661. {
  7662. "code": "switch_1",
  7663. "value": false
  7664. },
  7665. {
  7666. "code": "countdown_1",
  7667. "value": 0
  7668. }
  7669. ],
  7670. "sub": false,
  7671. "time_zone": "-08:00",
  7672. "uid": "***",
  7673. "update_time": 1639597032,
  7674. "uuid": "165054382cf432255c5f"
  7675. },
  7676. {
  7677. "active_time": 1606616090,
  7678. "biz_type": 18,
  7679. "category": "cz",
  7680. "create_time": 1579677410,
  7681. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  7682. "id": "736388262462ab3c521e",
  7683. "ip": "***",
  7684. "lat": "***",
  7685. "local_key": "***",
  7686. "lon": "***",
  7687. "name": "Blue Lava Lamp",
  7688. "online": true,
  7689. "owner_id": "11866790",
  7690. "product_id": "AiHXxAyyn7eAkLQY",
  7691. "product_name": "Mini Smart Plug",
  7692. "status": [
  7693. {
  7694. "code": "switch_1",
  7695. "value": false
  7696. },
  7697. {
  7698. "code": "countdown_1",
  7699. "value": 0
  7700. }
  7701. ],
  7702. "sub": false,
  7703. "time_zone": "-08:00",
  7704. "uid": "***",
  7705. "update_time": 1639596759,
  7706. "uuid": "736388262462ab3c521e"
  7707. },
  7708. {
  7709. "active_time": 1606362512,
  7710. "biz_type": 18,
  7711. "category": "cz",
  7712. "create_time": 1579776563,
  7713. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  7714. "id": "26300763f4cfa2022836",
  7715. "ip": "***",
  7716. "lat": "***",
  7717. "local_key": "***",
  7718. "lon": "***",
  7719. "model": "WP3-B美规10A(不带计量)/gosund",
  7720. "name": "Lemon Light",
  7721. "online": true,
  7722. "owner_id": "11866790",
  7723. "product_id": "AiHXxAyyn7eAkLQY",
  7724. "product_name": "Mini Smart Plug",
  7725. "status": [
  7726. {
  7727. "code": "switch_1",
  7728. "value": true
  7729. },
  7730. {
  7731. "code": "countdown_1",
  7732. "value": 0
  7733. }
  7734. ],
  7735. "sub": false,
  7736. "time_zone": "-08:00",
  7737. "uid": "***",
  7738. "update_time": 1639596674,
  7739. "uuid": "26300763f4cfa2022836"
  7740. },
  7741. {
  7742. "active_time": 1579313987,
  7743. "biz_type": 18,
  7744. "category": "cz",
  7745. "create_time": 1579313987,
  7746. "icon": "smart/icon/1498529014_0.png",
  7747. "id": "33360203c82b9602204e",
  7748. "ip": "***",
  7749. "lat": "***",
  7750. "local_key": "***",
  7751. "lon": "***",
  7752. "model": "HYS-X5-NEW",
  7753. "name": "Gold Lava Lamp",
  7754. "online": true,
  7755. "owner_id": "11866790",
  7756. "product_id": "qoacsyyfbrbe3lm8",
  7757. "product_name": "Mini Smart Socket",
  7758. "status": [
  7759. {
  7760. "code": "switch_1",
  7761. "value": false
  7762. },
  7763. {
  7764. "code": "countdown_1",
  7765. "value": 0
  7766. }
  7767. ],
  7768. "sub": false,
  7769. "time_zone": "-08:00",
  7770. "uid": "***",
  7771. "update_time": 1639596654,
  7772. "uuid": "33360203c82b9602204e"
  7773. },
  7774. {
  7775. "active_time": 1627023398,
  7776. "biz_type": 18,
  7777. "category": "jsq",
  7778. "create_time": 1627023398,
  7779. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  7780. "id": "eb5a649a9f92cdb9ec1pq6",
  7781. "ip": "***",
  7782. "lat": "***",
  7783. "local_key": "***",
  7784. "lon": "***",
  7785. "name": "Smart Aroma Diffuser Two",
  7786. "online": true,
  7787. "owner_id": "11866790",
  7788. "product_id": "yodwo2ujgwbgjaio",
  7789. "product_name": "Smart Aroma Diffuser",
  7790. "status": [
  7791. {
  7792. "code": "switch",
  7793. "value": false
  7794. },
  7795. {
  7796. "code": "switch_led",
  7797. "value": false
  7798. }
  7799. ],
  7800. "sub": false,
  7801. "time_zone": "-07:00",
  7802. "uid": "***",
  7803. "update_time": 1639596592,
  7804. "uuid": "912153509b40b0b0"
  7805. },
  7806. {
  7807. "active_time": 1606362711,
  7808. "biz_type": 18,
  7809. "category": "cz",
  7810. "create_time": 1579232360,
  7811. "icon": "smart/icon/1498529014_0.png",
  7812. "id": "10812535bcddc2a8a191",
  7813. "ip": "***",
  7814. "lat": "***",
  7815. "local_key": "***",
  7816. "lon": "***",
  7817. "model": "HYS-X5-NEW",
  7818. "name": "Green",
  7819. "online": true,
  7820. "owner_id": "11866790",
  7821. "product_id": "qoacsyyfbrbe3lm8",
  7822. "product_name": "Mini Smart Socket",
  7823. "status": [
  7824. {
  7825. "code": "switch_1",
  7826. "value": false
  7827. },
  7828. {
  7829. "code": "countdown_1",
  7830. "value": 0
  7831. }
  7832. ],
  7833. "sub": false,
  7834. "time_zone": "-08:00",
  7835. "uid": "***",
  7836. "update_time": 1639596405,
  7837. "uuid": "10812535bcddc2a8a191"
  7838. },
  7839. {
  7840. "active_time": 1606614603,
  7841. "biz_type": 18,
  7842. "category": "cz",
  7843. "create_time": 1579236112,
  7844. "icon": "smart/icon/1498529014_0.png",
  7845. "id": "1081253568c63aee1cce",
  7846. "ip": "***",
  7847. "lat": "***",
  7848. "local_key": "***",
  7849. "lon": "***",
  7850. "model": "HYS-X5-NEW",
  7851. "name": "Red Glitter Lamp",
  7852. "online": true,
  7853. "owner_id": "11866790",
  7854. "product_id": "qoacsyyfbrbe3lm8",
  7855. "product_name": "Mini Smart Socket",
  7856. "status": [
  7857. {
  7858. "code": "switch_1",
  7859. "value": false
  7860. },
  7861. {
  7862. "code": "countdown_1",
  7863. "value": 0
  7864. }
  7865. ],
  7866. "sub": false,
  7867. "time_zone": "-08:00",
  7868. "uid": "***",
  7869. "update_time": 1639596069,
  7870. "uuid": "1081253568c63aee1cce"
  7871. },
  7872. {
  7873. "active_time": 1631693069,
  7874. "biz_type": 18,
  7875. "category": "cz",
  7876. "create_time": 1579232097,
  7877. "icon": "smart/icon/1498529014_0.png",
  7878. "id": "33360203c82b960217c9",
  7879. "ip": "***",
  7880. "lat": "***",
  7881. "local_key": "***",
  7882. "lon": "***",
  7883. "model": "HYS-X5-NEW",
  7884. "name": "Purple Lava Lamp",
  7885. "online": true,
  7886. "owner_id": "11866790",
  7887. "product_id": "qoacsyyfbrbe3lm8",
  7888. "product_name": "Mini Smart Socket",
  7889. "status": [
  7890. {
  7891. "code": "switch_1",
  7892. "value": false
  7893. },
  7894. {
  7895. "code": "countdown_1",
  7896. "value": 0
  7897. }
  7898. ],
  7899. "sub": false,
  7900. "time_zone": "-08:00",
  7901. "uid": "***",
  7902. "update_time": 1639595950,
  7903. "uuid": "33360203c82b960217c9"
  7904. },
  7905. {
  7906. "active_time": 1633651110,
  7907. "biz_type": 18,
  7908. "category": "cz",
  7909. "create_time": 1633651110,
  7910. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  7911. "id": "36837871bcddc23ccd0e",
  7912. "ip": "***",
  7913. "lat": "***",
  7914. "local_key": "***",
  7915. "lon": "***",
  7916. "model": "HYS-01-X5P-S7",
  7917. "name": "Pink Lava Lamp",
  7918. "online": true,
  7919. "owner_id": "11866790",
  7920. "product_id": "7i0er84cthlfv1mh",
  7921. "product_name": "Mini Smart Socket",
  7922. "status": [
  7923. {
  7924. "code": "switch_1",
  7925. "value": false
  7926. },
  7927. {
  7928. "code": "countdown_1",
  7929. "value": 0
  7930. }
  7931. ],
  7932. "sub": false,
  7933. "time_zone": "-08:00",
  7934. "uid": "***",
  7935. "update_time": 1639595720,
  7936. "uuid": "36837871bcddc23ccd0e"
  7937. },
  7938. {
  7939. "active_time": 1633649772,
  7940. "biz_type": 18,
  7941. "category": "cz",
  7942. "create_time": 1633649772,
  7943. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  7944. "id": "16505438bcddc29c7d1c",
  7945. "ip": "***",
  7946. "lat": "***",
  7947. "local_key": "***",
  7948. "lon": "***",
  7949. "model": "HYS-01-X5P-S7",
  7950. "name": "Yellow Lava Lamp",
  7951. "online": true,
  7952. "owner_id": "11866790",
  7953. "product_id": "7i0er84cthlfv1mh",
  7954. "product_name": "Mini Smart Socket",
  7955. "status": [
  7956. {
  7957. "code": "switch_1",
  7958. "value": false
  7959. },
  7960. {
  7961. "code": "countdown_1",
  7962. "value": 0
  7963. }
  7964. ],
  7965. "sub": false,
  7966. "time_zone": "-08:00",
  7967. "uid": "***",
  7968. "update_time": 1639595373,
  7969. "uuid": "16505438bcddc29c7d1c"
  7970. }
  7971. ],
  7972. "success": true,
  7973. "t": 1644003001328
  7974. }
  7975. 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
  7976. 2022-02-04 11:30:01 DEBUG (Thread-473) [tuya iot] Response: {
  7977. "result": {
  7978. "client_id": "***",
  7979. "expire_time": 1804,
  7980. "password": "***",
  7981. "sink_topic": {
  7982. "device": "cloud/token/out/{device_id}"
  7983. },
  7984. "source_topic": {
  7985. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  7986. },
  7987. "url": "ssl://m1.tuyaus.com:8883",
  7988. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  7989. },
  7990. "success": true,
  7991. "t": 1644003001361
  7992. }
  7993. 2022-02-04 11:30:01 DEBUG (Thread-473) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  7994. 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
  7995. "result": {
  7996. "category": "cz",
  7997. "functions": [
  7998. {
  7999. "code": "switch_1",
  8000. "type": "Boolean",
  8001. "values": "{}"
  8002. },
  8003. {
  8004. "code": "countdown_1",
  8005. "type": "Integer",
  8006. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8007. }
  8008. ],
  8009. "status": [
  8010. {
  8011. "code": "switch_1",
  8012. "type": "Boolean",
  8013. "values": "{}"
  8014. },
  8015. {
  8016. "code": "countdown_1",
  8017. "type": "Integer",
  8018. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8019. }
  8020. ]
  8021. },
  8022. "success": true,
  8023. "t": 1644003001467
  8024. }
  8025. 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
  8026. 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8027. "result": {
  8028. "category": "cz",
  8029. "functions": [
  8030. {
  8031. "code": "switch_1",
  8032. "type": "Boolean",
  8033. "values": "{}"
  8034. },
  8035. {
  8036. "code": "countdown_1",
  8037. "type": "Integer",
  8038. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8039. }
  8040. ],
  8041. "status": [
  8042. {
  8043. "code": "switch_1",
  8044. "type": "Boolean",
  8045. "values": "{}"
  8046. },
  8047. {
  8048. "code": "countdown_1",
  8049. "type": "Integer",
  8050. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8051. }
  8052. ]
  8053. },
  8054. "success": true,
  8055. "t": 1644003001609
  8056. }
  8057. 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
  8058. 2022-02-04 11:30:01 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8059. "result": {
  8060. "category": "cz",
  8061. "functions": [
  8062. {
  8063. "code": "switch_1",
  8064. "type": "Boolean",
  8065. "values": "{}"
  8066. },
  8067. {
  8068. "code": "countdown_1",
  8069. "type": "Integer",
  8070. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8071. }
  8072. ],
  8073. "status": [
  8074. {
  8075. "code": "switch_1",
  8076. "type": "Boolean",
  8077. "values": "{}"
  8078. },
  8079. {
  8080. "code": "countdown_1",
  8081. "type": "Integer",
  8082. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8083. }
  8084. ]
  8085. },
  8086. "success": true,
  8087. "t": 1644003001694
  8088. }
  8089. 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
  8090. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8091. "result": {
  8092. "category": "cz",
  8093. "functions": [
  8094. {
  8095. "code": "switch_1",
  8096. "type": "Boolean",
  8097. "values": "{}"
  8098. },
  8099. {
  8100. "code": "countdown_1",
  8101. "type": "Integer",
  8102. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8103. }
  8104. ],
  8105. "status": [
  8106. {
  8107. "code": "switch_1",
  8108. "type": "Boolean",
  8109. "values": "{}"
  8110. },
  8111. {
  8112. "code": "countdown_1",
  8113. "type": "Integer",
  8114. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8115. }
  8116. ]
  8117. },
  8118. "success": true,
  8119. "t": 1644003001985
  8120. }
  8121. 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
  8122. 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'
  8123. 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_log: Received CONNACK (0, 0)
  8124. 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] connect flags->{'session present': 0}, rc->0
  8125. 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  8126. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8127. "result": {
  8128. "category": "cz",
  8129. "functions": [
  8130. {
  8131. "code": "switch_1",
  8132. "type": "Boolean",
  8133. "values": "{}"
  8134. },
  8135. {
  8136. "code": "countdown_1",
  8137. "type": "Integer",
  8138. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8139. }
  8140. ],
  8141. "status": [
  8142. {
  8143. "code": "switch_1",
  8144. "type": "Boolean",
  8145. "values": "{}"
  8146. },
  8147. {
  8148. "code": "countdown_1",
  8149. "type": "Integer",
  8150. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8151. }
  8152. ]
  8153. },
  8154. "success": true,
  8155. "t": 1644003002091
  8156. }
  8157. 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
  8158. 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_log: Received SUBACK
  8159. 2022-02-04 11:30:02 DEBUG (Thread-474) [tuya iot] _on_subscribe: 1
  8160. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8161. "result": {
  8162. "category": "cz",
  8163. "functions": [
  8164. {
  8165. "code": "switch_1",
  8166. "type": "Boolean",
  8167. "values": "{}"
  8168. },
  8169. {
  8170. "code": "countdown_1",
  8171. "type": "Integer",
  8172. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8173. }
  8174. ],
  8175. "status": [
  8176. {
  8177. "code": "switch_1",
  8178. "type": "Boolean",
  8179. "values": "{}"
  8180. },
  8181. {
  8182. "code": "countdown_1",
  8183. "type": "Integer",
  8184. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8185. }
  8186. ]
  8187. },
  8188. "success": true,
  8189. "t": 1644003002194
  8190. }
  8191. 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
  8192. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8193. "result": {
  8194. "category": "cz",
  8195. "functions": [
  8196. {
  8197. "code": "switch_1",
  8198. "type": "Boolean",
  8199. "values": "{}"
  8200. },
  8201. {
  8202. "code": "countdown_1",
  8203. "type": "Integer",
  8204. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8205. }
  8206. ],
  8207. "status": [
  8208. {
  8209. "code": "switch_1",
  8210. "type": "Boolean",
  8211. "values": "{}"
  8212. },
  8213. {
  8214. "code": "countdown_1",
  8215. "type": "Integer",
  8216. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8217. }
  8218. ]
  8219. },
  8220. "success": true,
  8221. "t": 1644003002368
  8222. }
  8223. 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
  8224. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8225. "result": {
  8226. "category": "cz",
  8227. "functions": [
  8228. {
  8229. "code": "switch_1",
  8230. "type": "Boolean",
  8231. "values": "{}"
  8232. },
  8233. {
  8234. "code": "countdown_1",
  8235. "type": "Integer",
  8236. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8237. }
  8238. ],
  8239. "status": [
  8240. {
  8241. "code": "switch_1",
  8242. "type": "Boolean",
  8243. "values": "{}"
  8244. },
  8245. {
  8246. "code": "countdown_1",
  8247. "type": "Integer",
  8248. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8249. }
  8250. ]
  8251. },
  8252. "success": true,
  8253. "t": 1644003002451
  8254. }
  8255. 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
  8256. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8257. "result": {
  8258. "category": "jsq",
  8259. "functions": [
  8260. {
  8261. "code": "switch",
  8262. "type": "Boolean",
  8263. "values": "{}"
  8264. },
  8265. {
  8266. "code": "switch_led",
  8267. "type": "Boolean",
  8268. "values": "{}"
  8269. }
  8270. ],
  8271. "status": [
  8272. {
  8273. "code": "switch",
  8274. "type": "Boolean",
  8275. "values": "{}"
  8276. },
  8277. {
  8278. "code": "switch_led",
  8279. "type": "Boolean",
  8280. "values": "{}"
  8281. }
  8282. ]
  8283. },
  8284. "success": true,
  8285. "t": 1644003002545
  8286. }
  8287. 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
  8288. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8289. "result": {
  8290. "category": "cz",
  8291. "functions": [
  8292. {
  8293. "code": "switch_1",
  8294. "type": "Boolean",
  8295. "values": "{}"
  8296. },
  8297. {
  8298. "code": "countdown_1",
  8299. "type": "Integer",
  8300. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8301. }
  8302. ],
  8303. "status": [
  8304. {
  8305. "code": "switch_1",
  8306. "type": "Boolean",
  8307. "values": "{}"
  8308. },
  8309. {
  8310. "code": "countdown_1",
  8311. "type": "Integer",
  8312. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8313. }
  8314. ]
  8315. },
  8316. "success": true,
  8317. "t": 1644003002633
  8318. }
  8319. 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
  8320. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8321. "result": {
  8322. "category": "cz",
  8323. "functions": [
  8324. {
  8325. "code": "switch_1",
  8326. "type": "Boolean",
  8327. "values": "{}"
  8328. },
  8329. {
  8330. "code": "countdown_1",
  8331. "type": "Integer",
  8332. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8333. }
  8334. ],
  8335. "status": [
  8336. {
  8337. "code": "switch_1",
  8338. "type": "Boolean",
  8339. "values": "{}"
  8340. },
  8341. {
  8342. "code": "countdown_1",
  8343. "type": "Integer",
  8344. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8345. }
  8346. ]
  8347. },
  8348. "success": true,
  8349. "t": 1644003002723
  8350. }
  8351. 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
  8352. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8353. "result": {
  8354. "category": "cz",
  8355. "functions": [
  8356. {
  8357. "code": "switch_1",
  8358. "type": "Boolean",
  8359. "values": "{}"
  8360. },
  8361. {
  8362. "code": "countdown_1",
  8363. "type": "Integer",
  8364. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8365. }
  8366. ],
  8367. "status": [
  8368. {
  8369. "code": "switch_1",
  8370. "type": "Boolean",
  8371. "values": "{}"
  8372. },
  8373. {
  8374. "code": "countdown_1",
  8375. "type": "Integer",
  8376. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8377. }
  8378. ]
  8379. },
  8380. "success": true,
  8381. "t": 1644003002829
  8382. }
  8383. 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
  8384. 2022-02-04 11:30:02 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8385. "result": {
  8386. "category": "cz",
  8387. "functions": [
  8388. {
  8389. "code": "switch_1",
  8390. "type": "Boolean",
  8391. "values": "{}"
  8392. },
  8393. {
  8394. "code": "countdown_1",
  8395. "type": "Integer",
  8396. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8397. }
  8398. ],
  8399. "status": [
  8400. {
  8401. "code": "switch_1",
  8402. "type": "Boolean",
  8403. "values": "{}"
  8404. },
  8405. {
  8406. "code": "countdown_1",
  8407. "type": "Integer",
  8408. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8409. }
  8410. ]
  8411. },
  8412. "success": true,
  8413. "t": 1644003002915
  8414. }
  8415. 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
  8416. 2022-02-04 11:30:03 DEBUG (SyncWorker_0) [tuya iot] Response: {
  8417. "result": {
  8418. "category": "cz",
  8419. "functions": [
  8420. {
  8421. "code": "switch_1",
  8422. "type": "Boolean",
  8423. "values": "{}"
  8424. },
  8425. {
  8426. "code": "countdown_1",
  8427. "type": "Integer",
  8428. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8429. }
  8430. ],
  8431. "status": [
  8432. {
  8433. "code": "switch_1",
  8434. "type": "Boolean",
  8435. "values": "{}"
  8436. },
  8437. {
  8438. "code": "countdown_1",
  8439. "type": "Integer",
  8440. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  8441. }
  8442. ]
  8443. },
  8444. "success": true,
  8445. "t": 1644003003022
  8446. }
  8447. 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']
  8448. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  8449. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  8450. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  8451. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  8452. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  8453. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  8454. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  8455. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  8456. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  8457. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  8458. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  8459. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  8460. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  8461. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  8462. 2022-02-04 11:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select init
  8463. 2022-02-04 11:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  8464. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  8465. 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']
  8466. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  8467. 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']
  8468. 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
  8469. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  8470. 2022-02-04 11:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  8471. 2022-02-04 11:30:03 DEBUG (SyncWorker_10) [tuya iot] Response: {
  8472. "result": [
  8473. {
  8474. "geo_name": "",
  8475. "home_id": 11866790,
  8476. "lat": "***",
  8477. "lon": "***",
  8478. "name": "My Home ..",
  8479. "role": "OWNER"
  8480. }
  8481. ],
  8482. "success": true,
  8483. "t": 1644003003223
  8484. }
  8485. 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
  8486. 2022-02-04 11:30:03 DEBUG (SyncWorker_10) [tuya iot] Response: {
  8487. "result": [],
  8488. "success": true,
  8489. "t": 1644003003413
  8490. }
  8491. 2022-02-04 11:31:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8492. 2022-02-04 11:31:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8493. 2022-02-04 11:32:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8494. 2022-02-04 11:32:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8495. 2022-02-04 11:33:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8496. 2022-02-04 11:33:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8497. 2022-02-04 11:34:02 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8498. 2022-02-04 11:34:02 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8499. 2022-02-04 11:35:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8500. 2022-02-04 11:35:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8501. 2022-02-04 11:36:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8502. 2022-02-04 11:36:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8503. 2022-02-04 11:37:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8504. 2022-02-04 11:37:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8505. 2022-02-04 11:38:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8506. 2022-02-04 11:38:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8507. 2022-02-04 11:38:28 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  8508. 2022-02-04 11:39:03 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8509. 2022-02-04 11:39:03 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8510. 2022-02-04 11:40:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8511. 2022-02-04 11:40:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8512. 2022-02-04 11:41:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8513. 2022-02-04 11:41:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8514. 2022-02-04 11:41:58 WARNING (SyncWorker_0) [homeassistant.components.waze_travel_time.sensor] Error on retrieving data: empty response
  8515. 2022-02-04 11:42:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8516. 2022-02-04 11:42:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8517. 2022-02-04 11:43:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8518. 2022-02-04 11:43:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8519. 2022-02-04 11:44:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8520. 2022-02-04 11:44:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8521. 2022-02-04 11:45:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8522. 2022-02-04 11:45:04 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8523. 2022-02-04 11:46:04 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8524. 2022-02-04 11:46:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8525. 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
  8526. 2022-02-04 11:47:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8527. 2022-02-04 11:47:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8528. 2022-02-04 11:48:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8529. 2022-02-04 11:48:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8530. 2022-02-04 11:49:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8531. 2022-02-04 11:49:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8532. 2022-02-04 11:50:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8533. 2022-02-04 11:50:05 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8534. 2022-02-04 11:51:05 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8535. 2022-02-04 11:51:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8536. 2022-02-04 11:52:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8537. 2022-02-04 11:52:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8538. 2022-02-04 11:53:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8539. 2022-02-04 11:53:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8540. 2022-02-04 11:54:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8541. 2022-02-04 11:54:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8542. 2022-02-04 11:55:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8543. 2022-02-04 11:55:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8544. 2022-02-04 11:56:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8545. 2022-02-04 11:56:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8546. 2022-02-04 11:57:06 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8547. 2022-02-04 11:57:06 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8548. 2022-02-04 11:57:35 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  8549. 2022-02-04 11:58:07 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8550. 2022-02-04 11:58:07 DEBUG (Thread-474) [tuya iot] _on_log: Received PINGRESP
  8551. 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
  8552. 2022-02-04 11:59:06 DEBUG (Thread-473) [tuya iot] Response: {
  8553. "result": {
  8554. "client_id": "***",
  8555. "expire_time": 7200,
  8556. "password": "***",
  8557. "sink_topic": {
  8558. "device": "cloud/token/out/{device_id}"
  8559. },
  8560. "source_topic": {
  8561. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  8562. },
  8563. "url": "ssl://m1.tuyaus.com:8883",
  8564. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  8565. },
  8566. "success": true,
  8567. "t": 1644004746547
  8568. }
  8569. 2022-02-04 11:59:06 DEBUG (Thread-473) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  8570. 2022-02-04 11:59:07 DEBUG (Thread-474) [tuya iot] _on_log: Sending PINGREQ
  8571. 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'
  8572. 2022-02-04 11:59:07 DEBUG (Thread-473) [tuya iot] _on_log: Sending DISCONNECT
  8573. 2022-02-04 11:59:07 DEBUG (Thread-474) [tuya iot] disconnect
  8574. 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_log: Received CONNACK (0, 0)
  8575. 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] connect flags->{'session present': 0}, rc->0
  8576. 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  8577. 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_log: Received SUBACK
  8578. 2022-02-04 11:59:07 DEBUG (Thread-477) [tuya iot] _on_subscribe: 1
  8579. 2022-02-04 12:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  8580. 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
  8581. 2022-02-04 12:00:01 DEBUG (MainThread) [tuya iot] stop
  8582. 2022-02-04 12:00:01 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  8583. 2022-02-04 12:00:01 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  8584. 2022-02-04 12:00:01 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  8585. 2022-02-04 12:00:01 DEBUG (Thread-477) [tuya iot] disconnect
  8586. 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
  8587. 2022-02-04 12:00:02 DEBUG (SyncWorker_13) [tuya iot] Response: {
  8588. "result": {
  8589. "access_token": "***",
  8590. "expire_time": 7200,
  8591. "platform_url": "https://openapi.tuyaus.com",
  8592. "refresh_token": "***",
  8593. "uid": "***"
  8594. },
  8595. "success": true,
  8596. "t": 1644004802684
  8597. }
  8598. 2022-02-04 12:00:02 DEBUG (MainThread) [tuya iot] start
  8599. 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
  8600. 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
  8601. 2022-02-04 12:00:03 DEBUG (SyncWorker_10) [tuya iot] Response: {
  8602. "result": true,
  8603. "success": true,
  8604. "t": 1644004803139
  8605. }
  8606. 2022-02-04 12:00:04 DEBUG (Thread-478) [tuya iot] Response: {
  8607. "result": {
  8608. "client_id": "***",
  8609. "expire_time": 7142,
  8610. "password": "***",
  8611. "sink_topic": {
  8612. "device": "cloud/token/out/{device_id}"
  8613. },
  8614. "source_topic": {
  8615. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  8616. },
  8617. "url": "ssl://m1.tuyaus.com:8883",
  8618. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  8619. },
  8620. "success": true,
  8621. "t": 1644004804270
  8622. }
  8623. 2022-02-04 12:00:04 DEBUG (Thread-478) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  8624. 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'
  8625. 2022-02-04 12:00:04 DEBUG (Thread-479) [tuya iot] _on_log: Received CONNACK (0, 0)
  8626. 2022-02-04 12:00:04 DEBUG (Thread-479) [tuya iot] connect flags->{'session present': 0}, rc->0
  8627. 2022-02-04 12:00:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  8628. 2022-02-04 12:00:05 DEBUG (Thread-479) [tuya iot] _on_log: Received SUBACK
  8629. 2022-02-04 12:00:05 DEBUG (Thread-479) [tuya iot] _on_subscribe: 1
  8630. 2022-02-04 12:00:05 DEBUG (SyncWorker_5) [tuya iot] Response: {
  8631. "result": [
  8632. {
  8633. "active_time": 1642129199,
  8634. "biz_type": 18,
  8635. "category": "cz",
  8636. "create_time": 1633651254,
  8637. "icon": "smart/icon/1498529014_0.png",
  8638. "id": "0518502668c63aee2465",
  8639. "ip": "***",
  8640. "lat": "***",
  8641. "local_key": "***",
  8642. "lon": "***",
  8643. "model": "HYS-01-X5P-帆客",
  8644. "name": "Black Lava Lamp",
  8645. "online": true,
  8646. "owner_id": "11866790",
  8647. "product_id": "gpgdjdp2zvog8m0p",
  8648. "product_name": "Mini Smart Socket",
  8649. "status": [
  8650. {
  8651. "code": "switch_1",
  8652. "value": false
  8653. },
  8654. {
  8655. "code": "countdown_1",
  8656. "value": 0
  8657. }
  8658. ],
  8659. "sub": false,
  8660. "time_zone": "-08:00",
  8661. "uid": "***",
  8662. "update_time": 1643704238,
  8663. "uuid": "0518502668c63aee2465"
  8664. },
  8665. {
  8666. "active_time": 1625883466,
  8667. "biz_type": 18,
  8668. "category": "cz",
  8669. "create_time": 1625877313,
  8670. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  8671. "id": "177623502462ab3c8a02",
  8672. "ip": "***",
  8673. "lat": "***",
  8674. "local_key": "***",
  8675. "lon": "***",
  8676. "name": "Hanging Light",
  8677. "online": true,
  8678. "owner_id": "11866790",
  8679. "product_id": "AiHXxAyyn7eAkLQY",
  8680. "product_name": "Mini Smart Plug",
  8681. "status": [
  8682. {
  8683. "code": "switch_1",
  8684. "value": true
  8685. },
  8686. {
  8687. "code": "countdown_1",
  8688. "value": 0
  8689. }
  8690. ],
  8691. "sub": false,
  8692. "time_zone": "-08:00",
  8693. "uid": "***",
  8694. "update_time": 1639597496,
  8695. "uuid": "177623502462ab3c8a02"
  8696. },
  8697. {
  8698. "active_time": 1606362427,
  8699. "biz_type": 18,
  8700. "category": "cz",
  8701. "create_time": 1579662054,
  8702. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  8703. "id": "736388262462ab3cc045",
  8704. "ip": "***",
  8705. "lat": "***",
  8706. "local_key": "***",
  8707. "lon": "***",
  8708. "name": "Orange Lava Lamp",
  8709. "online": true,
  8710. "owner_id": "11866790",
  8711. "product_id": "AiHXxAyyn7eAkLQY",
  8712. "product_name": "Mini Smart Plug",
  8713. "status": [
  8714. {
  8715. "code": "switch_1",
  8716. "value": false
  8717. },
  8718. {
  8719. "code": "countdown_1",
  8720. "value": 0
  8721. }
  8722. ],
  8723. "sub": false,
  8724. "time_zone": "-08:00",
  8725. "uid": "***",
  8726. "update_time": 1639597476,
  8727. "uuid": "736388262462ab3cc045"
  8728. },
  8729. {
  8730. "active_time": 1576644608,
  8731. "biz_type": 18,
  8732. "category": "cz",
  8733. "create_time": 1576644608,
  8734. "icon": "smart/icon/1498529014_0.png",
  8735. "id": "40834308500291b2b6b7",
  8736. "ip": "***",
  8737. "lat": "***",
  8738. "local_key": "***",
  8739. "lon": "***",
  8740. "model": "HYS-X5-NEW",
  8741. "name": "Banana Light",
  8742. "online": true,
  8743. "owner_id": "11866790",
  8744. "product_id": "qoacsyyfbrbe3lm8",
  8745. "product_name": "Mini Smart Socket",
  8746. "status": [
  8747. {
  8748. "code": "switch_1",
  8749. "value": true
  8750. },
  8751. {
  8752. "code": "countdown_1",
  8753. "value": 0
  8754. }
  8755. ],
  8756. "sub": false,
  8757. "time_zone": "-08:00",
  8758. "uid": "***",
  8759. "update_time": 1639597286,
  8760. "uuid": "40834308500291b2b6b7"
  8761. },
  8762. {
  8763. "active_time": 1633650334,
  8764. "biz_type": 18,
  8765. "category": "cz",
  8766. "create_time": 1633650334,
  8767. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  8768. "id": "165054382cf432255c5f",
  8769. "ip": "***",
  8770. "lat": "***",
  8771. "local_key": "***",
  8772. "lon": "***",
  8773. "model": "HYS-01-X5P-S7",
  8774. "name": "Checkered Lava Lamp",
  8775. "online": true,
  8776. "owner_id": "11866790",
  8777. "product_id": "7i0er84cthlfv1mh",
  8778. "product_name": "Mini Smart Socket",
  8779. "status": [
  8780. {
  8781. "code": "switch_1",
  8782. "value": false
  8783. },
  8784. {
  8785. "code": "countdown_1",
  8786. "value": 0
  8787. }
  8788. ],
  8789. "sub": false,
  8790. "time_zone": "-08:00",
  8791. "uid": "***",
  8792. "update_time": 1639597032,
  8793. "uuid": "165054382cf432255c5f"
  8794. },
  8795. {
  8796. "active_time": 1606616090,
  8797. "biz_type": 18,
  8798. "category": "cz",
  8799. "create_time": 1579677410,
  8800. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  8801. "id": "736388262462ab3c521e",
  8802. "ip": "***",
  8803. "lat": "***",
  8804. "local_key": "***",
  8805. "lon": "***",
  8806. "name": "Blue Lava Lamp",
  8807. "online": true,
  8808. "owner_id": "11866790",
  8809. "product_id": "AiHXxAyyn7eAkLQY",
  8810. "product_name": "Mini Smart Plug",
  8811. "status": [
  8812. {
  8813. "code": "switch_1",
  8814. "value": false
  8815. },
  8816. {
  8817. "code": "countdown_1",
  8818. "value": 0
  8819. }
  8820. ],
  8821. "sub": false,
  8822. "time_zone": "-08:00",
  8823. "uid": "***",
  8824. "update_time": 1639596759,
  8825. "uuid": "736388262462ab3c521e"
  8826. },
  8827. {
  8828. "active_time": 1606362512,
  8829. "biz_type": 18,
  8830. "category": "cz",
  8831. "create_time": 1579776563,
  8832. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  8833. "id": "26300763f4cfa2022836",
  8834. "ip": "***",
  8835. "lat": "***",
  8836. "local_key": "***",
  8837. "lon": "***",
  8838. "model": "WP3-B美规10A(不带计量)/gosund",
  8839. "name": "Lemon Light",
  8840. "online": true,
  8841. "owner_id": "11866790",
  8842. "product_id": "AiHXxAyyn7eAkLQY",
  8843. "product_name": "Mini Smart Plug",
  8844. "status": [
  8845. {
  8846. "code": "switch_1",
  8847. "value": true
  8848. },
  8849. {
  8850. "code": "countdown_1",
  8851. "value": 0
  8852. }
  8853. ],
  8854. "sub": false,
  8855. "time_zone": "-08:00",
  8856. "uid": "***",
  8857. "update_time": 1639596674,
  8858. "uuid": "26300763f4cfa2022836"
  8859. },
  8860. {
  8861. "active_time": 1579313987,
  8862. "biz_type": 18,
  8863. "category": "cz",
  8864. "create_time": 1579313987,
  8865. "icon": "smart/icon/1498529014_0.png",
  8866. "id": "33360203c82b9602204e",
  8867. "ip": "***",
  8868. "lat": "***",
  8869. "local_key": "***",
  8870. "lon": "***",
  8871. "model": "HYS-X5-NEW",
  8872. "name": "Gold Lava Lamp",
  8873. "online": true,
  8874. "owner_id": "11866790",
  8875. "product_id": "qoacsyyfbrbe3lm8",
  8876. "product_name": "Mini Smart Socket",
  8877. "status": [
  8878. {
  8879. "code": "switch_1",
  8880. "value": false
  8881. },
  8882. {
  8883. "code": "countdown_1",
  8884. "value": 0
  8885. }
  8886. ],
  8887. "sub": false,
  8888. "time_zone": "-08:00",
  8889. "uid": "***",
  8890. "update_time": 1639596654,
  8891. "uuid": "33360203c82b9602204e"
  8892. },
  8893. {
  8894. "active_time": 1627023398,
  8895. "biz_type": 18,
  8896. "category": "jsq",
  8897. "create_time": 1627023398,
  8898. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  8899. "id": "eb5a649a9f92cdb9ec1pq6",
  8900. "ip": "***",
  8901. "lat": "***",
  8902. "local_key": "***",
  8903. "lon": "***",
  8904. "name": "Smart Aroma Diffuser Two",
  8905. "online": true,
  8906. "owner_id": "11866790",
  8907. "product_id": "yodwo2ujgwbgjaio",
  8908. "product_name": "Smart Aroma Diffuser",
  8909. "status": [
  8910. {
  8911. "code": "switch",
  8912. "value": false
  8913. },
  8914. {
  8915. "code": "switch_led",
  8916. "value": false
  8917. }
  8918. ],
  8919. "sub": false,
  8920. "time_zone": "-07:00",
  8921. "uid": "***",
  8922. "update_time": 1639596592,
  8923. "uuid": "912153509b40b0b0"
  8924. },
  8925. {
  8926. "active_time": 1606362711,
  8927. "biz_type": 18,
  8928. "category": "cz",
  8929. "create_time": 1579232360,
  8930. "icon": "smart/icon/1498529014_0.png",
  8931. "id": "10812535bcddc2a8a191",
  8932. "ip": "***",
  8933. "lat": "***",
  8934. "local_key": "***",
  8935. "lon": "***",
  8936. "model": "HYS-X5-NEW",
  8937. "name": "Green",
  8938. "online": true,
  8939. "owner_id": "11866790",
  8940. "product_id": "qoacsyyfbrbe3lm8",
  8941. "product_name": "Mini Smart Socket",
  8942. "status": [
  8943. {
  8944. "code": "switch_1",
  8945. "value": false
  8946. },
  8947. {
  8948. "code": "countdown_1",
  8949. "value": 0
  8950. }
  8951. ],
  8952. "sub": false,
  8953. "time_zone": "-08:00",
  8954. "uid": "***",
  8955. "update_time": 1639596405,
  8956. "uuid": "10812535bcddc2a8a191"
  8957. },
  8958. {
  8959. "active_time": 1606614603,
  8960. "biz_type": 18,
  8961. "category": "cz",
  8962. "create_time": 1579236112,
  8963. "icon": "smart/icon/1498529014_0.png",
  8964. "id": "1081253568c63aee1cce",
  8965. "ip": "***",
  8966. "lat": "***",
  8967. "local_key": "***",
  8968. "lon": "***",
  8969. "model": "HYS-X5-NEW",
  8970. "name": "Red Glitter Lamp",
  8971. "online": true,
  8972. "owner_id": "11866790",
  8973. "product_id": "qoacsyyfbrbe3lm8",
  8974. "product_name": "Mini Smart Socket",
  8975. "status": [
  8976. {
  8977. "code": "switch_1",
  8978. "value": false
  8979. },
  8980. {
  8981. "code": "countdown_1",
  8982. "value": 0
  8983. }
  8984. ],
  8985. "sub": false,
  8986. "time_zone": "-08:00",
  8987. "uid": "***",
  8988. "update_time": 1639596069,
  8989. "uuid": "1081253568c63aee1cce"
  8990. },
  8991. {
  8992. "active_time": 1631693069,
  8993. "biz_type": 18,
  8994. "category": "cz",
  8995. "create_time": 1579232097,
  8996. "icon": "smart/icon/1498529014_0.png",
  8997. "id": "33360203c82b960217c9",
  8998. "ip": "***",
  8999. "lat": "***",
  9000. "local_key": "***",
  9001. "lon": "***",
  9002. "model": "HYS-X5-NEW",
  9003. "name": "Purple Lava Lamp",
  9004. "online": true,
  9005. "owner_id": "11866790",
  9006. "product_id": "qoacsyyfbrbe3lm8",
  9007. "product_name": "Mini Smart Socket",
  9008. "status": [
  9009. {
  9010. "code": "switch_1",
  9011. "value": false
  9012. },
  9013. {
  9014. "code": "countdown_1",
  9015. "value": 0
  9016. }
  9017. ],
  9018. "sub": false,
  9019. "time_zone": "-08:00",
  9020. "uid": "***",
  9021. "update_time": 1639595950,
  9022. "uuid": "33360203c82b960217c9"
  9023. },
  9024. {
  9025. "active_time": 1633651110,
  9026. "biz_type": 18,
  9027. "category": "cz",
  9028. "create_time": 1633651110,
  9029. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  9030. "id": "36837871bcddc23ccd0e",
  9031. "ip": "***",
  9032. "lat": "***",
  9033. "local_key": "***",
  9034. "lon": "***",
  9035. "model": "HYS-01-X5P-S7",
  9036. "name": "Pink Lava Lamp",
  9037. "online": true,
  9038. "owner_id": "11866790",
  9039. "product_id": "7i0er84cthlfv1mh",
  9040. "product_name": "Mini Smart Socket",
  9041. "status": [
  9042. {
  9043. "code": "switch_1",
  9044. "value": false
  9045. },
  9046. {
  9047. "code": "countdown_1",
  9048. "value": 0
  9049. }
  9050. ],
  9051. "sub": false,
  9052. "time_zone": "-08:00",
  9053. "uid": "***",
  9054. "update_time": 1639595720,
  9055. "uuid": "36837871bcddc23ccd0e"
  9056. },
  9057. {
  9058. "active_time": 1633649772,
  9059. "biz_type": 18,
  9060. "category": "cz",
  9061. "create_time": 1633649772,
  9062. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  9063. "id": "16505438bcddc29c7d1c",
  9064. "ip": "***",
  9065. "lat": "***",
  9066. "local_key": "***",
  9067. "lon": "***",
  9068. "model": "HYS-01-X5P-S7",
  9069. "name": "Yellow Lava Lamp",
  9070. "online": true,
  9071. "owner_id": "11866790",
  9072. "product_id": "7i0er84cthlfv1mh",
  9073. "product_name": "Mini Smart Socket",
  9074. "status": [
  9075. {
  9076. "code": "switch_1",
  9077. "value": false
  9078. },
  9079. {
  9080. "code": "countdown_1",
  9081. "value": 0
  9082. }
  9083. ],
  9084. "sub": false,
  9085. "time_zone": "-08:00",
  9086. "uid": "***",
  9087. "update_time": 1639595373,
  9088. "uuid": "16505438bcddc29c7d1c"
  9089. }
  9090. ],
  9091. "success": true,
  9092. "t": 1644004805495
  9093. }
  9094. 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
  9095. 2022-02-04 12:00:05 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9096. "result": {
  9097. "category": "cz",
  9098. "functions": [
  9099. {
  9100. "code": "switch_1",
  9101. "type": "Boolean",
  9102. "values": "{}"
  9103. },
  9104. {
  9105. "code": "countdown_1",
  9106. "type": "Integer",
  9107. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9108. }
  9109. ],
  9110. "status": [
  9111. {
  9112. "code": "switch_1",
  9113. "type": "Boolean",
  9114. "values": "{}"
  9115. },
  9116. {
  9117. "code": "countdown_1",
  9118. "type": "Integer",
  9119. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9120. }
  9121. ]
  9122. },
  9123. "success": true,
  9124. "t": 1644004805848
  9125. }
  9126. 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
  9127. 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9128. "result": {
  9129. "category": "cz",
  9130. "functions": [
  9131. {
  9132. "code": "switch_1",
  9133. "type": "Boolean",
  9134. "values": "{}"
  9135. },
  9136. {
  9137. "code": "countdown_1",
  9138. "type": "Integer",
  9139. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9140. }
  9141. ],
  9142. "status": [
  9143. {
  9144. "code": "switch_1",
  9145. "type": "Boolean",
  9146. "values": "{}"
  9147. },
  9148. {
  9149. "code": "countdown_1",
  9150. "type": "Integer",
  9151. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9152. }
  9153. ]
  9154. },
  9155. "success": true,
  9156. "t": 1644004806013
  9157. }
  9158. 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
  9159. 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9160. "result": {
  9161. "category": "cz",
  9162. "functions": [
  9163. {
  9164. "code": "switch_1",
  9165. "type": "Boolean",
  9166. "values": "{}"
  9167. },
  9168. {
  9169. "code": "countdown_1",
  9170. "type": "Integer",
  9171. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9172. }
  9173. ],
  9174. "status": [
  9175. {
  9176. "code": "switch_1",
  9177. "type": "Boolean",
  9178. "values": "{}"
  9179. },
  9180. {
  9181. "code": "countdown_1",
  9182. "type": "Integer",
  9183. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9184. }
  9185. ]
  9186. },
  9187. "success": true,
  9188. "t": 1644004806451
  9189. }
  9190. 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
  9191. 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9192. "result": {
  9193. "category": "cz",
  9194. "functions": [
  9195. {
  9196. "code": "switch_1",
  9197. "type": "Boolean",
  9198. "values": "{}"
  9199. },
  9200. {
  9201. "code": "countdown_1",
  9202. "type": "Integer",
  9203. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9204. }
  9205. ],
  9206. "status": [
  9207. {
  9208. "code": "switch_1",
  9209. "type": "Boolean",
  9210. "values": "{}"
  9211. },
  9212. {
  9213. "code": "countdown_1",
  9214. "type": "Integer",
  9215. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9216. }
  9217. ]
  9218. },
  9219. "success": true,
  9220. "t": 1644004806741
  9221. }
  9222. 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
  9223. 2022-02-04 12:00:06 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9224. "result": {
  9225. "category": "cz",
  9226. "functions": [
  9227. {
  9228. "code": "switch_1",
  9229. "type": "Boolean",
  9230. "values": "{}"
  9231. },
  9232. {
  9233. "code": "countdown_1",
  9234. "type": "Integer",
  9235. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9236. }
  9237. ],
  9238. "status": [
  9239. {
  9240. "code": "switch_1",
  9241. "type": "Boolean",
  9242. "values": "{}"
  9243. },
  9244. {
  9245. "code": "countdown_1",
  9246. "type": "Integer",
  9247. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9248. }
  9249. ]
  9250. },
  9251. "success": true,
  9252. "t": 1644004806851
  9253. }
  9254. 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
  9255. 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9256. "result": {
  9257. "category": "cz",
  9258. "functions": [
  9259. {
  9260. "code": "switch_1",
  9261. "type": "Boolean",
  9262. "values": "{}"
  9263. },
  9264. {
  9265. "code": "countdown_1",
  9266. "type": "Integer",
  9267. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9268. }
  9269. ],
  9270. "status": [
  9271. {
  9272. "code": "switch_1",
  9273. "type": "Boolean",
  9274. "values": "{}"
  9275. },
  9276. {
  9277. "code": "countdown_1",
  9278. "type": "Integer",
  9279. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9280. }
  9281. ]
  9282. },
  9283. "success": true,
  9284. "t": 1644004807052
  9285. }
  9286. 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
  9287. 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9288. "result": {
  9289. "category": "cz",
  9290. "functions": [
  9291. {
  9292. "code": "switch_1",
  9293. "type": "Boolean",
  9294. "values": "{}"
  9295. },
  9296. {
  9297. "code": "countdown_1",
  9298. "type": "Integer",
  9299. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9300. }
  9301. ],
  9302. "status": [
  9303. {
  9304. "code": "switch_1",
  9305. "type": "Boolean",
  9306. "values": "{}"
  9307. },
  9308. {
  9309. "code": "countdown_1",
  9310. "type": "Integer",
  9311. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9312. }
  9313. ]
  9314. },
  9315. "success": true,
  9316. "t": 1644004807183
  9317. }
  9318. 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
  9319. 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9320. "result": {
  9321. "category": "cz",
  9322. "functions": [
  9323. {
  9324. "code": "switch_1",
  9325. "type": "Boolean",
  9326. "values": "{}"
  9327. },
  9328. {
  9329. "code": "countdown_1",
  9330. "type": "Integer",
  9331. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9332. }
  9333. ],
  9334. "status": [
  9335. {
  9336. "code": "switch_1",
  9337. "type": "Boolean",
  9338. "values": "{}"
  9339. },
  9340. {
  9341. "code": "countdown_1",
  9342. "type": "Integer",
  9343. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9344. }
  9345. ]
  9346. },
  9347. "success": true,
  9348. "t": 1644004807493
  9349. }
  9350. 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
  9351. 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9352. "result": {
  9353. "category": "jsq",
  9354. "functions": [
  9355. {
  9356. "code": "switch",
  9357. "type": "Boolean",
  9358. "values": "{}"
  9359. },
  9360. {
  9361. "code": "switch_led",
  9362. "type": "Boolean",
  9363. "values": "{}"
  9364. }
  9365. ],
  9366. "status": [
  9367. {
  9368. "code": "switch",
  9369. "type": "Boolean",
  9370. "values": "{}"
  9371. },
  9372. {
  9373. "code": "switch_led",
  9374. "type": "Boolean",
  9375. "values": "{}"
  9376. }
  9377. ]
  9378. },
  9379. "success": true,
  9380. "t": 1644004807680
  9381. }
  9382. 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
  9383. 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9384. "result": {
  9385. "category": "cz",
  9386. "functions": [
  9387. {
  9388. "code": "switch_1",
  9389. "type": "Boolean",
  9390. "values": "{}"
  9391. },
  9392. {
  9393. "code": "countdown_1",
  9394. "type": "Integer",
  9395. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9396. }
  9397. ],
  9398. "status": [
  9399. {
  9400. "code": "switch_1",
  9401. "type": "Boolean",
  9402. "values": "{}"
  9403. },
  9404. {
  9405. "code": "countdown_1",
  9406. "type": "Integer",
  9407. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9408. }
  9409. ]
  9410. },
  9411. "success": true,
  9412. "t": 1644004807817
  9413. }
  9414. 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
  9415. 2022-02-04 12:00:07 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9416. "result": {
  9417. "category": "cz",
  9418. "functions": [
  9419. {
  9420. "code": "switch_1",
  9421. "type": "Boolean",
  9422. "values": "{}"
  9423. },
  9424. {
  9425. "code": "countdown_1",
  9426. "type": "Integer",
  9427. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9428. }
  9429. ],
  9430. "status": [
  9431. {
  9432. "code": "switch_1",
  9433. "type": "Boolean",
  9434. "values": "{}"
  9435. },
  9436. {
  9437. "code": "countdown_1",
  9438. "type": "Integer",
  9439. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9440. }
  9441. ]
  9442. },
  9443. "success": true,
  9444. "t": 1644004807947
  9445. }
  9446. 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
  9447. 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9448. "result": {
  9449. "category": "cz",
  9450. "functions": [
  9451. {
  9452. "code": "switch_1",
  9453. "type": "Boolean",
  9454. "values": "{}"
  9455. },
  9456. {
  9457. "code": "countdown_1",
  9458. "type": "Integer",
  9459. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9460. }
  9461. ],
  9462. "status": [
  9463. {
  9464. "code": "switch_1",
  9465. "type": "Boolean",
  9466. "values": "{}"
  9467. },
  9468. {
  9469. "code": "countdown_1",
  9470. "type": "Integer",
  9471. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9472. }
  9473. ]
  9474. },
  9475. "success": true,
  9476. "t": 1644004808101
  9477. }
  9478. 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
  9479. 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9480. "result": {
  9481. "category": "cz",
  9482. "functions": [
  9483. {
  9484. "code": "switch_1",
  9485. "type": "Boolean",
  9486. "values": "{}"
  9487. },
  9488. {
  9489. "code": "countdown_1",
  9490. "type": "Integer",
  9491. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9492. }
  9493. ],
  9494. "status": [
  9495. {
  9496. "code": "switch_1",
  9497. "type": "Boolean",
  9498. "values": "{}"
  9499. },
  9500. {
  9501. "code": "countdown_1",
  9502. "type": "Integer",
  9503. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9504. }
  9505. ]
  9506. },
  9507. "success": true,
  9508. "t": 1644004808208
  9509. }
  9510. 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
  9511. 2022-02-04 12:00:08 DEBUG (SyncWorker_5) [tuya iot] Response: {
  9512. "result": {
  9513. "category": "cz",
  9514. "functions": [
  9515. {
  9516. "code": "switch_1",
  9517. "type": "Boolean",
  9518. "values": "{}"
  9519. },
  9520. {
  9521. "code": "countdown_1",
  9522. "type": "Integer",
  9523. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9524. }
  9525. ],
  9526. "status": [
  9527. {
  9528. "code": "switch_1",
  9529. "type": "Boolean",
  9530. "values": "{}"
  9531. },
  9532. {
  9533. "code": "countdown_1",
  9534. "type": "Integer",
  9535. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  9536. }
  9537. ]
  9538. },
  9539. "success": true,
  9540. "t": 1644004808323
  9541. }
  9542. 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']
  9543. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  9544. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  9545. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  9546. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  9547. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  9548. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  9549. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  9550. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  9551. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  9552. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  9553. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  9554. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  9555. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  9556. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  9557. 2022-02-04 12:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select init
  9558. 2022-02-04 12:00:08 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  9559. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  9560. 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']
  9561. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  9562. 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']
  9563. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  9564. 2022-02-04 12:00:08 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  9565. 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
  9566. 2022-02-04 12:00:08 DEBUG (SyncWorker_8) [tuya iot] Response: {
  9567. "result": [
  9568. {
  9569. "geo_name": "",
  9570. "home_id": 11866790,
  9571. "lat": "***",
  9572. "lon": "***",
  9573. "name": "My Home ..",
  9574. "role": "OWNER"
  9575. }
  9576. ],
  9577. "success": true,
  9578. "t": 1644004808703
  9579. }
  9580. 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
  9581. 2022-02-04 12:00:09 DEBUG (SyncWorker_8) [tuya iot] Response: {
  9582. "result": [],
  9583. "success": true,
  9584. "t": 1644004808981
  9585. }
  9586. 2022-02-04 12:01:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9587. 2022-02-04 12:01:04 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9588. 2022-02-04 12:02:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9589. 2022-02-04 12:02:04 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9590. 2022-02-04 12:03:02 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  9591. 2022-02-04 12:03:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9592. 2022-02-04 12:03:04 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9593. 2022-02-04 12:04:04 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9594. 2022-02-04 12:04:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9595. 2022-02-04 12:05:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9596. 2022-02-04 12:05:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9597. 2022-02-04 12:06:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9598. 2022-02-04 12:06:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9599. 2022-02-04 12:07:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9600. 2022-02-04 12:07:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9601. 2022-02-04 12:08:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9602. 2022-02-04 12:08:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9603. 2022-02-04 12:09:05 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9604. 2022-02-04 12:09:05 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9605. 2022-02-04 12:10:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9606. 2022-02-04 12:10:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9607. 2022-02-04 12:11:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9608. 2022-02-04 12:11:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9609. 2022-02-04 12:12:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9610. 2022-02-04 12:12:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9611. 2022-02-04 12:13:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9612. 2022-02-04 12:13:06 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9613. 2022-02-04 12:14:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  9614. 2022-02-04 12:14:06 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9615. 2022-02-04 12:14:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9616. 2022-02-04 12:15:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9617. 2022-02-04 12:15:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9618. 2022-02-04 12:16:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9619. 2022-02-04 12:16:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9620. 2022-02-04 12:17:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9621. 2022-02-04 12:17:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9622. 2022-02-04 12:18:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9623. 2022-02-04 12:18:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9624. 2022-02-04 12:19:07 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9625. 2022-02-04 12:19:07 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9626. 2022-02-04 12:20:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9627. 2022-02-04 12:20:08 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9628. 2022-02-04 12:21:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9629. 2022-02-04 12:21:08 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9630. 2022-02-04 12:22:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9631. 2022-02-04 12:22:08 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9632. 2022-02-04 12:23:08 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9633. 2022-02-04 12:23:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9634. 2022-02-04 12:24:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9635. 2022-02-04 12:24:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9636. 2022-02-04 12:25:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9637. 2022-02-04 12:25:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9638. 2022-02-04 12:26:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9639. 2022-02-04 12:26:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9640. 2022-02-04 12:27:09 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9641. 2022-02-04 12:27:09 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9642. 2022-02-04 12:28:10 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9643. 2022-02-04 12:28:10 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9644. 2022-02-04 12:29:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  9645. 2022-02-04 12:29:10 DEBUG (Thread-479) [tuya iot] _on_log: Sending PINGREQ
  9646. 2022-02-04 12:29:10 DEBUG (Thread-479) [tuya iot] _on_log: Received PINGRESP
  9647. 2022-02-04 12:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  9648. 2022-02-04 12:30:00 DEBUG (MainThread) [tuya iot] stop
  9649. 2022-02-04 12:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  9650. 2022-02-04 12:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  9651. 2022-02-04 12:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  9652. 2022-02-04 12:30:00 DEBUG (Thread-479) [tuya iot] disconnect
  9653. 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
  9654. 2022-02-04 12:30:01 DEBUG (SyncWorker_8) [tuya iot] Response: {
  9655. "result": {
  9656. "access_token": "***",
  9657. "expire_time": 7200,
  9658. "platform_url": "https://openapi.tuyaus.com",
  9659. "refresh_token": "***",
  9660. "uid": "***"
  9661. },
  9662. "success": true,
  9663. "t": 1644006601152
  9664. }
  9665. 2022-02-04 12:30:01 DEBUG (MainThread) [tuya iot] start
  9666. 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
  9667. 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
  9668. 2022-02-04 12:30:01 DEBUG (Thread-484) [tuya iot] Response: {
  9669. "result": {
  9670. "client_id": "***",
  9671. "expire_time": 5345,
  9672. "password": "***",
  9673. "sink_topic": {
  9674. "device": "cloud/token/out/{device_id}"
  9675. },
  9676. "source_topic": {
  9677. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  9678. },
  9679. "url": "ssl://m1.tuyaus.com:8883",
  9680. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  9681. },
  9682. "success": true,
  9683. "t": 1644006601404
  9684. }
  9685. 2022-02-04 12:30:01 DEBUG (Thread-484) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  9686. 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [tuya iot] Response: {
  9687. "result": [
  9688. {
  9689. "active_time": 1642129199,
  9690. "biz_type": 18,
  9691. "category": "cz",
  9692. "create_time": 1633651254,
  9693. "icon": "smart/icon/1498529014_0.png",
  9694. "id": "0518502668c63aee2465",
  9695. "ip": "***",
  9696. "lat": "***",
  9697. "local_key": "***",
  9698. "lon": "***",
  9699. "model": "HYS-01-X5P-帆客",
  9700. "name": "Black Lava Lamp",
  9701. "online": true,
  9702. "owner_id": "11866790",
  9703. "product_id": "gpgdjdp2zvog8m0p",
  9704. "product_name": "Mini Smart Socket",
  9705. "status": [
  9706. {
  9707. "code": "switch_1",
  9708. "value": false
  9709. },
  9710. {
  9711. "code": "countdown_1",
  9712. "value": 0
  9713. }
  9714. ],
  9715. "sub": false,
  9716. "time_zone": "-08:00",
  9717. "uid": "***",
  9718. "update_time": 1643704238,
  9719. "uuid": "0518502668c63aee2465"
  9720. },
  9721. {
  9722. "active_time": 1625883466,
  9723. "biz_type": 18,
  9724. "category": "cz",
  9725. "create_time": 1625877313,
  9726. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  9727. "id": "177623502462ab3c8a02",
  9728. "ip": "***",
  9729. "lat": "***",
  9730. "local_key": "***",
  9731. "lon": "***",
  9732. "name": "Hanging Light",
  9733. "online": true,
  9734. "owner_id": "11866790",
  9735. "product_id": "AiHXxAyyn7eAkLQY",
  9736. "product_name": "Mini Smart Plug",
  9737. "status": [
  9738. {
  9739. "code": "switch_1",
  9740. "value": true
  9741. },
  9742. {
  9743. "code": "countdown_1",
  9744. "value": 0
  9745. }
  9746. ],
  9747. "sub": false,
  9748. "time_zone": "-08:00",
  9749. "uid": "***",
  9750. "update_time": 1639597496,
  9751. "uuid": "177623502462ab3c8a02"
  9752. },
  9753. {
  9754. "active_time": 1606362427,
  9755. "biz_type": 18,
  9756. "category": "cz",
  9757. "create_time": 1579662054,
  9758. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  9759. "id": "736388262462ab3cc045",
  9760. "ip": "***",
  9761. "lat": "***",
  9762. "local_key": "***",
  9763. "lon": "***",
  9764. "name": "Orange Lava Lamp",
  9765. "online": true,
  9766. "owner_id": "11866790",
  9767. "product_id": "AiHXxAyyn7eAkLQY",
  9768. "product_name": "Mini Smart Plug",
  9769. "status": [
  9770. {
  9771. "code": "switch_1",
  9772. "value": false
  9773. },
  9774. {
  9775. "code": "countdown_1",
  9776. "value": 0
  9777. }
  9778. ],
  9779. "sub": false,
  9780. "time_zone": "-08:00",
  9781. "uid": "***",
  9782. "update_time": 1639597476,
  9783. "uuid": "736388262462ab3cc045"
  9784. },
  9785. {
  9786. "active_time": 1576644608,
  9787. "biz_type": 18,
  9788. "category": "cz",
  9789. "create_time": 1576644608,
  9790. "icon": "smart/icon/1498529014_0.png",
  9791. "id": "40834308500291b2b6b7",
  9792. "ip": "***",
  9793. "lat": "***",
  9794. "local_key": "***",
  9795. "lon": "***",
  9796. "model": "HYS-X5-NEW",
  9797. "name": "Banana Light",
  9798. "online": true,
  9799. "owner_id": "11866790",
  9800. "product_id": "qoacsyyfbrbe3lm8",
  9801. "product_name": "Mini Smart Socket",
  9802. "status": [
  9803. {
  9804. "code": "switch_1",
  9805. "value": true
  9806. },
  9807. {
  9808. "code": "countdown_1",
  9809. "value": 0
  9810. }
  9811. ],
  9812. "sub": false,
  9813. "time_zone": "-08:00",
  9814. "uid": "***",
  9815. "update_time": 1639597286,
  9816. "uuid": "40834308500291b2b6b7"
  9817. },
  9818. {
  9819. "active_time": 1633650334,
  9820. "biz_type": 18,
  9821. "category": "cz",
  9822. "create_time": 1633650334,
  9823. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  9824. "id": "165054382cf432255c5f",
  9825. "ip": "***",
  9826. "lat": "***",
  9827. "local_key": "***",
  9828. "lon": "***",
  9829. "model": "HYS-01-X5P-S7",
  9830. "name": "Checkered Lava Lamp",
  9831. "online": true,
  9832. "owner_id": "11866790",
  9833. "product_id": "7i0er84cthlfv1mh",
  9834. "product_name": "Mini Smart Socket",
  9835. "status": [
  9836. {
  9837. "code": "switch_1",
  9838. "value": false
  9839. },
  9840. {
  9841. "code": "countdown_1",
  9842. "value": 0
  9843. }
  9844. ],
  9845. "sub": false,
  9846. "time_zone": "-08:00",
  9847. "uid": "***",
  9848. "update_time": 1639597032,
  9849. "uuid": "165054382cf432255c5f"
  9850. },
  9851. {
  9852. "active_time": 1606616090,
  9853. "biz_type": 18,
  9854. "category": "cz",
  9855. "create_time": 1579677410,
  9856. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  9857. "id": "736388262462ab3c521e",
  9858. "ip": "***",
  9859. "lat": "***",
  9860. "local_key": "***",
  9861. "lon": "***",
  9862. "name": "Blue Lava Lamp",
  9863. "online": true,
  9864. "owner_id": "11866790",
  9865. "product_id": "AiHXxAyyn7eAkLQY",
  9866. "product_name": "Mini Smart Plug",
  9867. "status": [
  9868. {
  9869. "code": "switch_1",
  9870. "value": false
  9871. },
  9872. {
  9873. "code": "countdown_1",
  9874. "value": 0
  9875. }
  9876. ],
  9877. "sub": false,
  9878. "time_zone": "-08:00",
  9879. "uid": "***",
  9880. "update_time": 1639596759,
  9881. "uuid": "736388262462ab3c521e"
  9882. },
  9883. {
  9884. "active_time": 1606362512,
  9885. "biz_type": 18,
  9886. "category": "cz",
  9887. "create_time": 1579776563,
  9888. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  9889. "id": "26300763f4cfa2022836",
  9890. "ip": "***",
  9891. "lat": "***",
  9892. "local_key": "***",
  9893. "lon": "***",
  9894. "model": "WP3-B美规10A(不带计量)/gosund",
  9895. "name": "Lemon Light",
  9896. "online": true,
  9897. "owner_id": "11866790",
  9898. "product_id": "AiHXxAyyn7eAkLQY",
  9899. "product_name": "Mini Smart Plug",
  9900. "status": [
  9901. {
  9902. "code": "switch_1",
  9903. "value": true
  9904. },
  9905. {
  9906. "code": "countdown_1",
  9907. "value": 0
  9908. }
  9909. ],
  9910. "sub": false,
  9911. "time_zone": "-08:00",
  9912. "uid": "***",
  9913. "update_time": 1639596674,
  9914. "uuid": "26300763f4cfa2022836"
  9915. },
  9916. {
  9917. "active_time": 1579313987,
  9918. "biz_type": 18,
  9919. "category": "cz",
  9920. "create_time": 1579313987,
  9921. "icon": "smart/icon/1498529014_0.png",
  9922. "id": "33360203c82b9602204e",
  9923. "ip": "***",
  9924. "lat": "***",
  9925. "local_key": "***",
  9926. "lon": "***",
  9927. "model": "HYS-X5-NEW",
  9928. "name": "Gold Lava Lamp",
  9929. "online": true,
  9930. "owner_id": "11866790",
  9931. "product_id": "qoacsyyfbrbe3lm8",
  9932. "product_name": "Mini Smart Socket",
  9933. "status": [
  9934. {
  9935. "code": "switch_1",
  9936. "value": false
  9937. },
  9938. {
  9939. "code": "countdown_1",
  9940. "value": 0
  9941. }
  9942. ],
  9943. "sub": false,
  9944. "time_zone": "-08:00",
  9945. "uid": "***",
  9946. "update_time": 1639596654,
  9947. "uuid": "33360203c82b9602204e"
  9948. },
  9949. {
  9950. "active_time": 1627023398,
  9951. "biz_type": 18,
  9952. "category": "jsq",
  9953. "create_time": 1627023398,
  9954. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  9955. "id": "eb5a649a9f92cdb9ec1pq6",
  9956. "ip": "***",
  9957. "lat": "***",
  9958. "local_key": "***",
  9959. "lon": "***",
  9960. "name": "Smart Aroma Diffuser Two",
  9961. "online": true,
  9962. "owner_id": "11866790",
  9963. "product_id": "yodwo2ujgwbgjaio",
  9964. "product_name": "Smart Aroma Diffuser",
  9965. "status": [
  9966. {
  9967. "code": "switch",
  9968. "value": false
  9969. },
  9970. {
  9971. "code": "switch_led",
  9972. "value": false
  9973. }
  9974. ],
  9975. "sub": false,
  9976. "time_zone": "-07:00",
  9977. "uid": "***",
  9978. "update_time": 1639596592,
  9979. "uuid": "912153509b40b0b0"
  9980. },
  9981. {
  9982. "active_time": 1606362711,
  9983. "biz_type": 18,
  9984. "category": "cz",
  9985. "create_time": 1579232360,
  9986. "icon": "smart/icon/1498529014_0.png",
  9987. "id": "10812535bcddc2a8a191",
  9988. "ip": "***",
  9989. "lat": "***",
  9990. "local_key": "***",
  9991. "lon": "***",
  9992. "model": "HYS-X5-NEW",
  9993. "name": "Green",
  9994. "online": true,
  9995. "owner_id": "11866790",
  9996. "product_id": "qoacsyyfbrbe3lm8",
  9997. "product_name": "Mini Smart Socket",
  9998. "status": [
  9999. {
  10000. "code": "switch_1",
  10001. "value": false
  10002. },
  10003. {
  10004. "code": "countdown_1",
  10005. "value": 0
  10006. }
  10007. ],
  10008. "sub": false,
  10009. "time_zone": "-08:00",
  10010. "uid": "***",
  10011. "update_time": 1639596405,
  10012. "uuid": "10812535bcddc2a8a191"
  10013. },
  10014. {
  10015. "active_time": 1606614603,
  10016. "biz_type": 18,
  10017. "category": "cz",
  10018. "create_time": 1579236112,
  10019. "icon": "smart/icon/1498529014_0.png",
  10020. "id": "1081253568c63aee1cce",
  10021. "ip": "***",
  10022. "lat": "***",
  10023. "local_key": "***",
  10024. "lon": "***",
  10025. "model": "HYS-X5-NEW",
  10026. "name": "Red Glitter Lamp",
  10027. "online": true,
  10028. "owner_id": "11866790",
  10029. "product_id": "qoacsyyfbrbe3lm8",
  10030. "product_name": "Mini Smart Socket",
  10031. "status": [
  10032. {
  10033. "code": "switch_1",
  10034. "value": false
  10035. },
  10036. {
  10037. "code": "countdown_1",
  10038. "value": 0
  10039. }
  10040. ],
  10041. "sub": false,
  10042. "time_zone": "-08:00",
  10043. "uid": "***",
  10044. "update_time": 1639596069,
  10045. "uuid": "1081253568c63aee1cce"
  10046. },
  10047. {
  10048. "active_time": 1631693069,
  10049. "biz_type": 18,
  10050. "category": "cz",
  10051. "create_time": 1579232097,
  10052. "icon": "smart/icon/1498529014_0.png",
  10053. "id": "33360203c82b960217c9",
  10054. "ip": "***",
  10055. "lat": "***",
  10056. "local_key": "***",
  10057. "lon": "***",
  10058. "model": "HYS-X5-NEW",
  10059. "name": "Purple Lava Lamp",
  10060. "online": true,
  10061. "owner_id": "11866790",
  10062. "product_id": "qoacsyyfbrbe3lm8",
  10063. "product_name": "Mini Smart Socket",
  10064. "status": [
  10065. {
  10066. "code": "switch_1",
  10067. "value": false
  10068. },
  10069. {
  10070. "code": "countdown_1",
  10071. "value": 0
  10072. }
  10073. ],
  10074. "sub": false,
  10075. "time_zone": "-08:00",
  10076. "uid": "***",
  10077. "update_time": 1639595950,
  10078. "uuid": "33360203c82b960217c9"
  10079. },
  10080. {
  10081. "active_time": 1633651110,
  10082. "biz_type": 18,
  10083. "category": "cz",
  10084. "create_time": 1633651110,
  10085. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  10086. "id": "36837871bcddc23ccd0e",
  10087. "ip": "***",
  10088. "lat": "***",
  10089. "local_key": "***",
  10090. "lon": "***",
  10091. "model": "HYS-01-X5P-S7",
  10092. "name": "Pink Lava Lamp",
  10093. "online": true,
  10094. "owner_id": "11866790",
  10095. "product_id": "7i0er84cthlfv1mh",
  10096. "product_name": "Mini Smart Socket",
  10097. "status": [
  10098. {
  10099. "code": "switch_1",
  10100. "value": false
  10101. },
  10102. {
  10103. "code": "countdown_1",
  10104. "value": 0
  10105. }
  10106. ],
  10107. "sub": false,
  10108. "time_zone": "-08:00",
  10109. "uid": "***",
  10110. "update_time": 1639595720,
  10111. "uuid": "36837871bcddc23ccd0e"
  10112. },
  10113. {
  10114. "active_time": 1633649772,
  10115. "biz_type": 18,
  10116. "category": "cz",
  10117. "create_time": 1633649772,
  10118. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  10119. "id": "16505438bcddc29c7d1c",
  10120. "ip": "***",
  10121. "lat": "***",
  10122. "local_key": "***",
  10123. "lon": "***",
  10124. "model": "HYS-01-X5P-S7",
  10125. "name": "Yellow Lava Lamp",
  10126. "online": true,
  10127. "owner_id": "11866790",
  10128. "product_id": "7i0er84cthlfv1mh",
  10129. "product_name": "Mini Smart Socket",
  10130. "status": [
  10131. {
  10132. "code": "switch_1",
  10133. "value": false
  10134. },
  10135. {
  10136. "code": "countdown_1",
  10137. "value": 0
  10138. }
  10139. ],
  10140. "sub": false,
  10141. "time_zone": "-08:00",
  10142. "uid": "***",
  10143. "update_time": 1639595373,
  10144. "uuid": "16505438bcddc29c7d1c"
  10145. }
  10146. ],
  10147. "success": true,
  10148. "t": 1644006601600
  10149. }
  10150. 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
  10151. 2022-02-04 12:30:01 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10152. "result": {
  10153. "category": "cz",
  10154. "functions": [
  10155. {
  10156. "code": "switch_1",
  10157. "type": "Boolean",
  10158. "values": "{}"
  10159. },
  10160. {
  10161. "code": "countdown_1",
  10162. "type": "Integer",
  10163. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10164. }
  10165. ],
  10166. "status": [
  10167. {
  10168. "code": "switch_1",
  10169. "type": "Boolean",
  10170. "values": "{}"
  10171. },
  10172. {
  10173. "code": "countdown_1",
  10174. "type": "Integer",
  10175. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10176. }
  10177. ]
  10178. },
  10179. "success": true,
  10180. "t": 1644006601794
  10181. }
  10182. 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
  10183. 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10184. "result": {
  10185. "category": "cz",
  10186. "functions": [
  10187. {
  10188. "code": "switch_1",
  10189. "type": "Boolean",
  10190. "values": "{}"
  10191. },
  10192. {
  10193. "code": "countdown_1",
  10194. "type": "Integer",
  10195. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10196. }
  10197. ],
  10198. "status": [
  10199. {
  10200. "code": "switch_1",
  10201. "type": "Boolean",
  10202. "values": "{}"
  10203. },
  10204. {
  10205. "code": "countdown_1",
  10206. "type": "Integer",
  10207. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10208. }
  10209. ]
  10210. },
  10211. "success": true,
  10212. "t": 1644006601990
  10213. }
  10214. 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
  10215. 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'
  10216. 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_log: Received CONNACK (0, 0)
  10217. 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] connect flags->{'session present': 0}, rc->0
  10218. 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  10219. 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_log: Received SUBACK
  10220. 2022-02-04 12:30:02 DEBUG (Thread-485) [tuya iot] _on_subscribe: 1
  10221. 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10222. "result": {
  10223. "category": "cz",
  10224. "functions": [
  10225. {
  10226. "code": "switch_1",
  10227. "type": "Boolean",
  10228. "values": "{}"
  10229. },
  10230. {
  10231. "code": "countdown_1",
  10232. "type": "Integer",
  10233. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10234. }
  10235. ],
  10236. "status": [
  10237. {
  10238. "code": "switch_1",
  10239. "type": "Boolean",
  10240. "values": "{}"
  10241. },
  10242. {
  10243. "code": "countdown_1",
  10244. "type": "Integer",
  10245. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10246. }
  10247. ]
  10248. },
  10249. "success": true,
  10250. "t": 1644006602480
  10251. }
  10252. 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
  10253. 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10254. "result": {
  10255. "category": "cz",
  10256. "functions": [
  10257. {
  10258. "code": "switch_1",
  10259. "type": "Boolean",
  10260. "values": "{}"
  10261. },
  10262. {
  10263. "code": "countdown_1",
  10264. "type": "Integer",
  10265. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10266. }
  10267. ],
  10268. "status": [
  10269. {
  10270. "code": "switch_1",
  10271. "type": "Boolean",
  10272. "values": "{}"
  10273. },
  10274. {
  10275. "code": "countdown_1",
  10276. "type": "Integer",
  10277. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10278. }
  10279. ]
  10280. },
  10281. "success": true,
  10282. "t": 1644006602730
  10283. }
  10284. 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
  10285. 2022-02-04 12:30:02 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10286. "result": {
  10287. "category": "cz",
  10288. "functions": [
  10289. {
  10290. "code": "switch_1",
  10291. "type": "Boolean",
  10292. "values": "{}"
  10293. },
  10294. {
  10295. "code": "countdown_1",
  10296. "type": "Integer",
  10297. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10298. }
  10299. ],
  10300. "status": [
  10301. {
  10302. "code": "switch_1",
  10303. "type": "Boolean",
  10304. "values": "{}"
  10305. },
  10306. {
  10307. "code": "countdown_1",
  10308. "type": "Integer",
  10309. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10310. }
  10311. ]
  10312. },
  10313. "success": true,
  10314. "t": 1644006602897
  10315. }
  10316. 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
  10317. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10318. "result": {
  10319. "category": "cz",
  10320. "functions": [
  10321. {
  10322. "code": "switch_1",
  10323. "type": "Boolean",
  10324. "values": "{}"
  10325. },
  10326. {
  10327. "code": "countdown_1",
  10328. "type": "Integer",
  10329. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10330. }
  10331. ],
  10332. "status": [
  10333. {
  10334. "code": "switch_1",
  10335. "type": "Boolean",
  10336. "values": "{}"
  10337. },
  10338. {
  10339. "code": "countdown_1",
  10340. "type": "Integer",
  10341. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10342. }
  10343. ]
  10344. },
  10345. "success": true,
  10346. "t": 1644006602983
  10347. }
  10348. 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
  10349. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10350. "result": {
  10351. "category": "cz",
  10352. "functions": [
  10353. {
  10354. "code": "switch_1",
  10355. "type": "Boolean",
  10356. "values": "{}"
  10357. },
  10358. {
  10359. "code": "countdown_1",
  10360. "type": "Integer",
  10361. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10362. }
  10363. ],
  10364. "status": [
  10365. {
  10366. "code": "switch_1",
  10367. "type": "Boolean",
  10368. "values": "{}"
  10369. },
  10370. {
  10371. "code": "countdown_1",
  10372. "type": "Integer",
  10373. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10374. }
  10375. ]
  10376. },
  10377. "success": true,
  10378. "t": 1644006603083
  10379. }
  10380. 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
  10381. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10382. "result": {
  10383. "category": "cz",
  10384. "functions": [
  10385. {
  10386. "code": "switch_1",
  10387. "type": "Boolean",
  10388. "values": "{}"
  10389. },
  10390. {
  10391. "code": "countdown_1",
  10392. "type": "Integer",
  10393. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10394. }
  10395. ],
  10396. "status": [
  10397. {
  10398. "code": "switch_1",
  10399. "type": "Boolean",
  10400. "values": "{}"
  10401. },
  10402. {
  10403. "code": "countdown_1",
  10404. "type": "Integer",
  10405. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10406. }
  10407. ]
  10408. },
  10409. "success": true,
  10410. "t": 1644006603211
  10411. }
  10412. 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
  10413. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10414. "result": {
  10415. "category": "jsq",
  10416. "functions": [
  10417. {
  10418. "code": "switch",
  10419. "type": "Boolean",
  10420. "values": "{}"
  10421. },
  10422. {
  10423. "code": "switch_led",
  10424. "type": "Boolean",
  10425. "values": "{}"
  10426. }
  10427. ],
  10428. "status": [
  10429. {
  10430. "code": "switch",
  10431. "type": "Boolean",
  10432. "values": "{}"
  10433. },
  10434. {
  10435. "code": "switch_led",
  10436. "type": "Boolean",
  10437. "values": "{}"
  10438. }
  10439. ]
  10440. },
  10441. "success": true,
  10442. "t": 1644006603321
  10443. }
  10444. 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
  10445. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10446. "result": {
  10447. "category": "cz",
  10448. "functions": [
  10449. {
  10450. "code": "switch_1",
  10451. "type": "Boolean",
  10452. "values": "{}"
  10453. },
  10454. {
  10455. "code": "countdown_1",
  10456. "type": "Integer",
  10457. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10458. }
  10459. ],
  10460. "status": [
  10461. {
  10462. "code": "switch_1",
  10463. "type": "Boolean",
  10464. "values": "{}"
  10465. },
  10466. {
  10467. "code": "countdown_1",
  10468. "type": "Integer",
  10469. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10470. }
  10471. ]
  10472. },
  10473. "success": true,
  10474. "t": 1644006603449
  10475. }
  10476. 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
  10477. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10478. "result": {
  10479. "category": "cz",
  10480. "functions": [
  10481. {
  10482. "code": "switch_1",
  10483. "type": "Boolean",
  10484. "values": "{}"
  10485. },
  10486. {
  10487. "code": "countdown_1",
  10488. "type": "Integer",
  10489. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10490. }
  10491. ],
  10492. "status": [
  10493. {
  10494. "code": "switch_1",
  10495. "type": "Boolean",
  10496. "values": "{}"
  10497. },
  10498. {
  10499. "code": "countdown_1",
  10500. "type": "Integer",
  10501. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10502. }
  10503. ]
  10504. },
  10505. "success": true,
  10506. "t": 1644006603539
  10507. }
  10508. 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
  10509. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10510. "result": {
  10511. "category": "cz",
  10512. "functions": [
  10513. {
  10514. "code": "switch_1",
  10515. "type": "Boolean",
  10516. "values": "{}"
  10517. },
  10518. {
  10519. "code": "countdown_1",
  10520. "type": "Integer",
  10521. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10522. }
  10523. ],
  10524. "status": [
  10525. {
  10526. "code": "switch_1",
  10527. "type": "Boolean",
  10528. "values": "{}"
  10529. },
  10530. {
  10531. "code": "countdown_1",
  10532. "type": "Integer",
  10533. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10534. }
  10535. ]
  10536. },
  10537. "success": true,
  10538. "t": 1644006603612
  10539. }
  10540. 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
  10541. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10542. "result": {
  10543. "category": "cz",
  10544. "functions": [
  10545. {
  10546. "code": "switch_1",
  10547. "type": "Boolean",
  10548. "values": "{}"
  10549. },
  10550. {
  10551. "code": "countdown_1",
  10552. "type": "Integer",
  10553. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10554. }
  10555. ],
  10556. "status": [
  10557. {
  10558. "code": "switch_1",
  10559. "type": "Boolean",
  10560. "values": "{}"
  10561. },
  10562. {
  10563. "code": "countdown_1",
  10564. "type": "Integer",
  10565. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10566. }
  10567. ]
  10568. },
  10569. "success": true,
  10570. "t": 1644006603697
  10571. }
  10572. 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
  10573. 2022-02-04 12:30:03 DEBUG (SyncWorker_14) [tuya iot] Response: {
  10574. "result": {
  10575. "category": "cz",
  10576. "functions": [
  10577. {
  10578. "code": "switch_1",
  10579. "type": "Boolean",
  10580. "values": "{}"
  10581. },
  10582. {
  10583. "code": "countdown_1",
  10584. "type": "Integer",
  10585. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10586. }
  10587. ],
  10588. "status": [
  10589. {
  10590. "code": "switch_1",
  10591. "type": "Boolean",
  10592. "values": "{}"
  10593. },
  10594. {
  10595. "code": "countdown_1",
  10596. "type": "Integer",
  10597. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  10598. }
  10599. ]
  10600. },
  10601. "success": true,
  10602. "t": 1644006603775
  10603. }
  10604. 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']
  10605. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  10606. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  10607. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  10608. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  10609. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  10610. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  10611. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  10612. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  10613. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  10614. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  10615. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  10616. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  10617. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  10618. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  10619. 2022-02-04 12:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select init
  10620. 2022-02-04 12:30:03 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  10621. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  10622. 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']
  10623. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  10624. 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']
  10625. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  10626. 2022-02-04 12:30:03 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  10627. 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
  10628. 2022-02-04 12:30:04 DEBUG (SyncWorker_9) [tuya iot] Response: {
  10629. "result": [
  10630. {
  10631. "geo_name": "",
  10632. "home_id": 11866790,
  10633. "lat": "***",
  10634. "lon": "***",
  10635. "name": "My Home ..",
  10636. "role": "OWNER"
  10637. }
  10638. ],
  10639. "success": true,
  10640. "t": 1644006603989
  10641. }
  10642. 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
  10643. 2022-02-04 12:30:04 DEBUG (SyncWorker_9) [tuya iot] Response: {
  10644. "result": [],
  10645. "success": true,
  10646. "t": 1644006604142
  10647. }
  10648. 2022-02-04 12:31:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10649. 2022-02-04 12:31:02 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10650. 2022-02-04 12:32:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10651. 2022-02-04 12:32:02 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10652. 2022-02-04 12:33:02 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10653. 2022-02-04 12:33:02 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10654. 2022-02-04 12:34:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10655. 2022-02-04 12:34:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10656. 2022-02-04 12:35:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10657. 2022-02-04 12:35:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10658. 2022-02-04 12:36:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10659. 2022-02-04 12:36:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10660. 2022-02-04 12:37:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10661. 2022-02-04 12:37:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10662. 2022-02-04 12:38:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10663. 2022-02-04 12:38:03 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10664. 2022-02-04 12:39:03 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10665. 2022-02-04 12:39:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10666. 2022-02-04 12:40:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10667. 2022-02-04 12:40:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10668. 2022-02-04 12:41:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10669. 2022-02-04 12:41:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10670. 2022-02-04 12:42:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10671. 2022-02-04 12:42:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10672. 2022-02-04 12:43:04 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10673. 2022-02-04 12:43:04 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10674. 2022-02-04 12:44:05 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10675. 2022-02-04 12:44:05 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10676. 2022-02-04 12:45:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  10677. 2022-02-04 12:45:05 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10678. 2022-02-04 12:45:05 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10679. 2022-02-04 12:46:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10680. 2022-02-04 12:46:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10681. 2022-02-04 12:47:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10682. 2022-02-04 12:47:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10683. 2022-02-04 12:48:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10684. 2022-02-04 12:48:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10685. 2022-02-04 12:49:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10686. 2022-02-04 12:49:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10687. 2022-02-04 12:50:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10688. 2022-02-04 12:50:06 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10689. 2022-02-04 12:51:06 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10690. 2022-02-04 12:51:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10691. 2022-02-04 12:52:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10692. 2022-02-04 12:52:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10693. 2022-02-04 12:53:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10694. 2022-02-04 12:53:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10695. 2022-02-04 12:54:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10696. 2022-02-04 12:54:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10697. 2022-02-04 12:55:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
  10698. 2022-02-04 12:55:07 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10699. 2022-02-04 12:55:07 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10700. 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  10701. 2022-02-04 12:55:57 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  10702. 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "90044", "fps": "21", "no'
  10703. 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  10704. 2022-02-04 12:55:57 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  10705. 2022-02-04 12:55:57 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "90044", "fps": "21", "no'
  10706. 2022-02-04 12:56:08 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10707. 2022-02-04 12:56:08 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10708. 2022-02-04 12:56:17 ERROR (MainThread) [custom_components.mail_and_packages] Timeout fetching Mail and Packages (imap.gmail.com) data
  10709. 2022-02-04 12:57:08 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10710. 2022-02-04 12:57:08 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10711. 2022-02-04 12:57:34 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 500
  10712. 2022-02-04 12:57:34 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
  10713. 2022-02-04 12:58:09 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10714. 2022-02-04 12:58:09 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10715. 2022-02-04 12:59:09 DEBUG (Thread-485) [tuya iot] _on_log: Sending PINGREQ
  10716. 2022-02-04 12:59:09 DEBUG (Thread-485) [tuya iot] _on_log: Received PINGRESP
  10717. 2022-02-04 13:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  10718. 2022-02-04 13:00:00 DEBUG (MainThread) [tuya iot] stop
  10719. 2022-02-04 13:00:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  10720. 2022-02-04 13:00:00 DEBUG (Thread-485) [tuya iot] disconnect
  10721. 2022-02-04 13:00:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  10722. 2022-02-04 13:00:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  10723. 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
  10724. 2022-02-04 13:00:02 DEBUG (SyncWorker_5) [tuya iot] Response: {
  10725. "result": {
  10726. "access_token": "***",
  10727. "expire_time": 7200,
  10728. "platform_url": "https://openapi.tuyaus.com",
  10729. "refresh_token": "***",
  10730. "uid": "***"
  10731. },
  10732. "success": true,
  10733. "t": 1644008402190
  10734. }
  10735. 2022-02-04 13:00:02 DEBUG (MainThread) [tuya iot] start
  10736. 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
  10737. 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
  10738. 2022-02-04 13:00:02 DEBUG (Thread-488) [tuya iot] Response: {
  10739. "result": {
  10740. "client_id": "***",
  10741. "expire_time": 3544,
  10742. "password": "***",
  10743. "sink_topic": {
  10744. "device": "cloud/token/out/{device_id}"
  10745. },
  10746. "source_topic": {
  10747. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  10748. },
  10749. "url": "ssl://m1.tuyaus.com:8883",
  10750. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  10751. },
  10752. "success": true,
  10753. "t": 1644008402626
  10754. }
  10755. 2022-02-04 13:00:02 DEBUG (Thread-488) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  10756. 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'
  10757. 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_log: Received CONNACK (0, 0)
  10758. 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] connect flags->{'session present': 0}, rc->0
  10759. 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  10760. 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_log: Received SUBACK
  10761. 2022-02-04 13:00:03 DEBUG (Thread-489) [tuya iot] _on_subscribe: 1
  10762. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  10763. "result": [
  10764. {
  10765. "active_time": 1642129199,
  10766. "biz_type": 18,
  10767. "category": "cz",
  10768. "create_time": 1633651254,
  10769. "icon": "smart/icon/1498529014_0.png",
  10770. "id": "0518502668c63aee2465",
  10771. "ip": "***",
  10772. "lat": "***",
  10773. "local_key": "***",
  10774. "lon": "***",
  10775. "model": "HYS-01-X5P-帆客",
  10776. "name": "Black Lava Lamp",
  10777. "online": true,
  10778. "owner_id": "11866790",
  10779. "product_id": "gpgdjdp2zvog8m0p",
  10780. "product_name": "Mini Smart Socket",
  10781. "status": [
  10782. {
  10783. "code": "switch_1",
  10784. "value": false
  10785. },
  10786. {
  10787. "code": "countdown_1",
  10788. "value": 0
  10789. }
  10790. ],
  10791. "sub": false,
  10792. "time_zone": "-08:00",
  10793. "uid": "***",
  10794. "update_time": 1643704238,
  10795. "uuid": "0518502668c63aee2465"
  10796. },
  10797. {
  10798. "active_time": 1625883466,
  10799. "biz_type": 18,
  10800. "category": "cz",
  10801. "create_time": 1625877313,
  10802. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  10803. "id": "177623502462ab3c8a02",
  10804. "ip": "***",
  10805. "lat": "***",
  10806. "local_key": "***",
  10807. "lon": "***",
  10808. "name": "Hanging Light",
  10809. "online": true,
  10810. "owner_id": "11866790",
  10811. "product_id": "AiHXxAyyn7eAkLQY",
  10812. "product_name": "Mini Smart Plug",
  10813. "status": [
  10814. {
  10815. "code": "switch_1",
  10816. "value": true
  10817. },
  10818. {
  10819. "code": "countdown_1",
  10820. "value": 0
  10821. }
  10822. ],
  10823. "sub": false,
  10824. "time_zone": "-08:00",
  10825. "uid": "***",
  10826. "update_time": 1639597496,
  10827. "uuid": "177623502462ab3c8a02"
  10828. },
  10829. {
  10830. "active_time": 1606362427,
  10831. "biz_type": 18,
  10832. "category": "cz",
  10833. "create_time": 1579662054,
  10834. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  10835. "id": "736388262462ab3cc045",
  10836. "ip": "***",
  10837. "lat": "***",
  10838. "local_key": "***",
  10839. "lon": "***",
  10840. "name": "Orange Lava Lamp",
  10841. "online": true,
  10842. "owner_id": "11866790",
  10843. "product_id": "AiHXxAyyn7eAkLQY",
  10844. "product_name": "Mini Smart Plug",
  10845. "status": [
  10846. {
  10847. "code": "switch_1",
  10848. "value": false
  10849. },
  10850. {
  10851. "code": "countdown_1",
  10852. "value": 0
  10853. }
  10854. ],
  10855. "sub": false,
  10856. "time_zone": "-08:00",
  10857. "uid": "***",
  10858. "update_time": 1639597476,
  10859. "uuid": "736388262462ab3cc045"
  10860. },
  10861. {
  10862. "active_time": 1576644608,
  10863. "biz_type": 18,
  10864. "category": "cz",
  10865. "create_time": 1576644608,
  10866. "icon": "smart/icon/1498529014_0.png",
  10867. "id": "40834308500291b2b6b7",
  10868. "ip": "***",
  10869. "lat": "***",
  10870. "local_key": "***",
  10871. "lon": "***",
  10872. "model": "HYS-X5-NEW",
  10873. "name": "Banana Light",
  10874. "online": true,
  10875. "owner_id": "11866790",
  10876. "product_id": "qoacsyyfbrbe3lm8",
  10877. "product_name": "Mini Smart Socket",
  10878. "status": [
  10879. {
  10880. "code": "switch_1",
  10881. "value": true
  10882. },
  10883. {
  10884. "code": "countdown_1",
  10885. "value": 0
  10886. }
  10887. ],
  10888. "sub": false,
  10889. "time_zone": "-08:00",
  10890. "uid": "***",
  10891. "update_time": 1639597286,
  10892. "uuid": "40834308500291b2b6b7"
  10893. },
  10894. {
  10895. "active_time": 1633650334,
  10896. "biz_type": 18,
  10897. "category": "cz",
  10898. "create_time": 1633650334,
  10899. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  10900. "id": "165054382cf432255c5f",
  10901. "ip": "***",
  10902. "lat": "***",
  10903. "local_key": "***",
  10904. "lon": "***",
  10905. "model": "HYS-01-X5P-S7",
  10906. "name": "Checkered Lava Lamp",
  10907. "online": true,
  10908. "owner_id": "11866790",
  10909. "product_id": "7i0er84cthlfv1mh",
  10910. "product_name": "Mini Smart Socket",
  10911. "status": [
  10912. {
  10913. "code": "switch_1",
  10914. "value": false
  10915. },
  10916. {
  10917. "code": "countdown_1",
  10918. "value": 0
  10919. }
  10920. ],
  10921. "sub": false,
  10922. "time_zone": "-08:00",
  10923. "uid": "***",
  10924. "update_time": 1639597032,
  10925. "uuid": "165054382cf432255c5f"
  10926. },
  10927. {
  10928. "active_time": 1606616090,
  10929. "biz_type": 18,
  10930. "category": "cz",
  10931. "create_time": 1579677410,
  10932. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  10933. "id": "736388262462ab3c521e",
  10934. "ip": "***",
  10935. "lat": "***",
  10936. "local_key": "***",
  10937. "lon": "***",
  10938. "name": "Blue Lava Lamp",
  10939. "online": true,
  10940. "owner_id": "11866790",
  10941. "product_id": "AiHXxAyyn7eAkLQY",
  10942. "product_name": "Mini Smart Plug",
  10943. "status": [
  10944. {
  10945. "code": "switch_1",
  10946. "value": false
  10947. },
  10948. {
  10949. "code": "countdown_1",
  10950. "value": 0
  10951. }
  10952. ],
  10953. "sub": false,
  10954. "time_zone": "-08:00",
  10955. "uid": "***",
  10956. "update_time": 1639596759,
  10957. "uuid": "736388262462ab3c521e"
  10958. },
  10959. {
  10960. "active_time": 1606362512,
  10961. "biz_type": 18,
  10962. "category": "cz",
  10963. "create_time": 1579776563,
  10964. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  10965. "id": "26300763f4cfa2022836",
  10966. "ip": "***",
  10967. "lat": "***",
  10968. "local_key": "***",
  10969. "lon": "***",
  10970. "model": "WP3-B美规10A(不带计量)/gosund",
  10971. "name": "Lemon Light",
  10972. "online": true,
  10973. "owner_id": "11866790",
  10974. "product_id": "AiHXxAyyn7eAkLQY",
  10975. "product_name": "Mini Smart Plug",
  10976. "status": [
  10977. {
  10978. "code": "switch_1",
  10979. "value": true
  10980. },
  10981. {
  10982. "code": "countdown_1",
  10983. "value": 0
  10984. }
  10985. ],
  10986. "sub": false,
  10987. "time_zone": "-08:00",
  10988. "uid": "***",
  10989. "update_time": 1639596674,
  10990. "uuid": "26300763f4cfa2022836"
  10991. },
  10992. {
  10993. "active_time": 1579313987,
  10994. "biz_type": 18,
  10995. "category": "cz",
  10996. "create_time": 1579313987,
  10997. "icon": "smart/icon/1498529014_0.png",
  10998. "id": "33360203c82b9602204e",
  10999. "ip": "***",
  11000. "lat": "***",
  11001. "local_key": "***",
  11002. "lon": "***",
  11003. "model": "HYS-X5-NEW",
  11004. "name": "Gold Lava Lamp",
  11005. "online": true,
  11006. "owner_id": "11866790",
  11007. "product_id": "qoacsyyfbrbe3lm8",
  11008. "product_name": "Mini Smart Socket",
  11009. "status": [
  11010. {
  11011. "code": "switch_1",
  11012. "value": false
  11013. },
  11014. {
  11015. "code": "countdown_1",
  11016. "value": 0
  11017. }
  11018. ],
  11019. "sub": false,
  11020. "time_zone": "-08:00",
  11021. "uid": "***",
  11022. "update_time": 1639596654,
  11023. "uuid": "33360203c82b9602204e"
  11024. },
  11025. {
  11026. "active_time": 1627023398,
  11027. "biz_type": 18,
  11028. "category": "jsq",
  11029. "create_time": 1627023398,
  11030. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  11031. "id": "eb5a649a9f92cdb9ec1pq6",
  11032. "ip": "***",
  11033. "lat": "***",
  11034. "local_key": "***",
  11035. "lon": "***",
  11036. "name": "Smart Aroma Diffuser Two",
  11037. "online": true,
  11038. "owner_id": "11866790",
  11039. "product_id": "yodwo2ujgwbgjaio",
  11040. "product_name": "Smart Aroma Diffuser",
  11041. "status": [
  11042. {
  11043. "code": "switch",
  11044. "value": false
  11045. },
  11046. {
  11047. "code": "switch_led",
  11048. "value": false
  11049. }
  11050. ],
  11051. "sub": false,
  11052. "time_zone": "-07:00",
  11053. "uid": "***",
  11054. "update_time": 1639596592,
  11055. "uuid": "912153509b40b0b0"
  11056. },
  11057. {
  11058. "active_time": 1606362711,
  11059. "biz_type": 18,
  11060. "category": "cz",
  11061. "create_time": 1579232360,
  11062. "icon": "smart/icon/1498529014_0.png",
  11063. "id": "10812535bcddc2a8a191",
  11064. "ip": "***",
  11065. "lat": "***",
  11066. "local_key": "***",
  11067. "lon": "***",
  11068. "model": "HYS-X5-NEW",
  11069. "name": "Green",
  11070. "online": true,
  11071. "owner_id": "11866790",
  11072. "product_id": "qoacsyyfbrbe3lm8",
  11073. "product_name": "Mini Smart Socket",
  11074. "status": [
  11075. {
  11076. "code": "switch_1",
  11077. "value": false
  11078. },
  11079. {
  11080. "code": "countdown_1",
  11081. "value": 0
  11082. }
  11083. ],
  11084. "sub": false,
  11085. "time_zone": "-08:00",
  11086. "uid": "***",
  11087. "update_time": 1639596405,
  11088. "uuid": "10812535bcddc2a8a191"
  11089. },
  11090. {
  11091. "active_time": 1606614603,
  11092. "biz_type": 18,
  11093. "category": "cz",
  11094. "create_time": 1579236112,
  11095. "icon": "smart/icon/1498529014_0.png",
  11096. "id": "1081253568c63aee1cce",
  11097. "ip": "***",
  11098. "lat": "***",
  11099. "local_key": "***",
  11100. "lon": "***",
  11101. "model": "HYS-X5-NEW",
  11102. "name": "Red Glitter Lamp",
  11103. "online": true,
  11104. "owner_id": "11866790",
  11105. "product_id": "qoacsyyfbrbe3lm8",
  11106. "product_name": "Mini Smart Socket",
  11107. "status": [
  11108. {
  11109. "code": "switch_1",
  11110. "value": false
  11111. },
  11112. {
  11113. "code": "countdown_1",
  11114. "value": 0
  11115. }
  11116. ],
  11117. "sub": false,
  11118. "time_zone": "-08:00",
  11119. "uid": "***",
  11120. "update_time": 1639596069,
  11121. "uuid": "1081253568c63aee1cce"
  11122. },
  11123. {
  11124. "active_time": 1631693069,
  11125. "biz_type": 18,
  11126. "category": "cz",
  11127. "create_time": 1579232097,
  11128. "icon": "smart/icon/1498529014_0.png",
  11129. "id": "33360203c82b960217c9",
  11130. "ip": "***",
  11131. "lat": "***",
  11132. "local_key": "***",
  11133. "lon": "***",
  11134. "model": "HYS-X5-NEW",
  11135. "name": "Purple Lava Lamp",
  11136. "online": true,
  11137. "owner_id": "11866790",
  11138. "product_id": "qoacsyyfbrbe3lm8",
  11139. "product_name": "Mini Smart Socket",
  11140. "status": [
  11141. {
  11142. "code": "switch_1",
  11143. "value": false
  11144. },
  11145. {
  11146. "code": "countdown_1",
  11147. "value": 0
  11148. }
  11149. ],
  11150. "sub": false,
  11151. "time_zone": "-08:00",
  11152. "uid": "***",
  11153. "update_time": 1639595950,
  11154. "uuid": "33360203c82b960217c9"
  11155. },
  11156. {
  11157. "active_time": 1633651110,
  11158. "biz_type": 18,
  11159. "category": "cz",
  11160. "create_time": 1633651110,
  11161. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  11162. "id": "36837871bcddc23ccd0e",
  11163. "ip": "***",
  11164. "lat": "***",
  11165. "local_key": "***",
  11166. "lon": "***",
  11167. "model": "HYS-01-X5P-S7",
  11168. "name": "Pink Lava Lamp",
  11169. "online": true,
  11170. "owner_id": "11866790",
  11171. "product_id": "7i0er84cthlfv1mh",
  11172. "product_name": "Mini Smart Socket",
  11173. "status": [
  11174. {
  11175. "code": "switch_1",
  11176. "value": false
  11177. },
  11178. {
  11179. "code": "countdown_1",
  11180. "value": 0
  11181. }
  11182. ],
  11183. "sub": false,
  11184. "time_zone": "-08:00",
  11185. "uid": "***",
  11186. "update_time": 1639595720,
  11187. "uuid": "36837871bcddc23ccd0e"
  11188. },
  11189. {
  11190. "active_time": 1633649772,
  11191. "biz_type": 18,
  11192. "category": "cz",
  11193. "create_time": 1633649772,
  11194. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  11195. "id": "16505438bcddc29c7d1c",
  11196. "ip": "***",
  11197. "lat": "***",
  11198. "local_key": "***",
  11199. "lon": "***",
  11200. "model": "HYS-01-X5P-S7",
  11201. "name": "Yellow Lava Lamp",
  11202. "online": true,
  11203. "owner_id": "11866790",
  11204. "product_id": "7i0er84cthlfv1mh",
  11205. "product_name": "Mini Smart Socket",
  11206. "status": [
  11207. {
  11208. "code": "switch_1",
  11209. "value": false
  11210. },
  11211. {
  11212. "code": "countdown_1",
  11213. "value": 0
  11214. }
  11215. ],
  11216. "sub": false,
  11217. "time_zone": "-08:00",
  11218. "uid": "***",
  11219. "update_time": 1639595373,
  11220. "uuid": "16505438bcddc29c7d1c"
  11221. }
  11222. ],
  11223. "success": true,
  11224. "t": 1644008403997
  11225. }
  11226. 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
  11227. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11228. "result": {
  11229. "category": "cz",
  11230. "functions": [
  11231. {
  11232. "code": "switch_1",
  11233. "type": "Boolean",
  11234. "values": "{}"
  11235. },
  11236. {
  11237. "code": "countdown_1",
  11238. "type": "Integer",
  11239. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11240. }
  11241. ],
  11242. "status": [
  11243. {
  11244. "code": "switch_1",
  11245. "type": "Boolean",
  11246. "values": "{}"
  11247. },
  11248. {
  11249. "code": "countdown_1",
  11250. "type": "Integer",
  11251. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11252. }
  11253. ]
  11254. },
  11255. "success": true,
  11256. "t": 1644008404223
  11257. }
  11258. 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
  11259. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11260. "result": {
  11261. "category": "cz",
  11262. "functions": [
  11263. {
  11264. "code": "switch_1",
  11265. "type": "Boolean",
  11266. "values": "{}"
  11267. },
  11268. {
  11269. "code": "countdown_1",
  11270. "type": "Integer",
  11271. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11272. }
  11273. ],
  11274. "status": [
  11275. {
  11276. "code": "switch_1",
  11277. "type": "Boolean",
  11278. "values": "{}"
  11279. },
  11280. {
  11281. "code": "countdown_1",
  11282. "type": "Integer",
  11283. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11284. }
  11285. ]
  11286. },
  11287. "success": true,
  11288. "t": 1644008404454
  11289. }
  11290. 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
  11291. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11292. "result": {
  11293. "category": "cz",
  11294. "functions": [
  11295. {
  11296. "code": "switch_1",
  11297. "type": "Boolean",
  11298. "values": "{}"
  11299. },
  11300. {
  11301. "code": "countdown_1",
  11302. "type": "Integer",
  11303. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11304. }
  11305. ],
  11306. "status": [
  11307. {
  11308. "code": "switch_1",
  11309. "type": "Boolean",
  11310. "values": "{}"
  11311. },
  11312. {
  11313. "code": "countdown_1",
  11314. "type": "Integer",
  11315. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11316. }
  11317. ]
  11318. },
  11319. "success": true,
  11320. "t": 1644008404611
  11321. }
  11322. 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
  11323. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11324. "result": {
  11325. "category": "cz",
  11326. "functions": [
  11327. {
  11328. "code": "switch_1",
  11329. "type": "Boolean",
  11330. "values": "{}"
  11331. },
  11332. {
  11333. "code": "countdown_1",
  11334. "type": "Integer",
  11335. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11336. }
  11337. ],
  11338. "status": [
  11339. {
  11340. "code": "switch_1",
  11341. "type": "Boolean",
  11342. "values": "{}"
  11343. },
  11344. {
  11345. "code": "countdown_1",
  11346. "type": "Integer",
  11347. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11348. }
  11349. ]
  11350. },
  11351. "success": true,
  11352. "t": 1644008404693
  11353. }
  11354. 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
  11355. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11356. "result": {
  11357. "category": "cz",
  11358. "functions": [
  11359. {
  11360. "code": "switch_1",
  11361. "type": "Boolean",
  11362. "values": "{}"
  11363. },
  11364. {
  11365. "code": "countdown_1",
  11366. "type": "Integer",
  11367. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11368. }
  11369. ],
  11370. "status": [
  11371. {
  11372. "code": "switch_1",
  11373. "type": "Boolean",
  11374. "values": "{}"
  11375. },
  11376. {
  11377. "code": "countdown_1",
  11378. "type": "Integer",
  11379. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11380. }
  11381. ]
  11382. },
  11383. "success": true,
  11384. "t": 1644008404826
  11385. }
  11386. 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
  11387. 2022-02-04 13:00:04 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11388. "result": {
  11389. "category": "cz",
  11390. "functions": [
  11391. {
  11392. "code": "switch_1",
  11393. "type": "Boolean",
  11394. "values": "{}"
  11395. },
  11396. {
  11397. "code": "countdown_1",
  11398. "type": "Integer",
  11399. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11400. }
  11401. ],
  11402. "status": [
  11403. {
  11404. "code": "switch_1",
  11405. "type": "Boolean",
  11406. "values": "{}"
  11407. },
  11408. {
  11409. "code": "countdown_1",
  11410. "type": "Integer",
  11411. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11412. }
  11413. ]
  11414. },
  11415. "success": true,
  11416. "t": 1644008404914
  11417. }
  11418. 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
  11419. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11420. "result": {
  11421. "category": "cz",
  11422. "functions": [
  11423. {
  11424. "code": "switch_1",
  11425. "type": "Boolean",
  11426. "values": "{}"
  11427. },
  11428. {
  11429. "code": "countdown_1",
  11430. "type": "Integer",
  11431. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11432. }
  11433. ],
  11434. "status": [
  11435. {
  11436. "code": "switch_1",
  11437. "type": "Boolean",
  11438. "values": "{}"
  11439. },
  11440. {
  11441. "code": "countdown_1",
  11442. "type": "Integer",
  11443. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11444. }
  11445. ]
  11446. },
  11447. "success": true,
  11448. "t": 1644008404992
  11449. }
  11450. 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
  11451. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11452. "result": {
  11453. "category": "cz",
  11454. "functions": [
  11455. {
  11456. "code": "switch_1",
  11457. "type": "Boolean",
  11458. "values": "{}"
  11459. },
  11460. {
  11461. "code": "countdown_1",
  11462. "type": "Integer",
  11463. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11464. }
  11465. ],
  11466. "status": [
  11467. {
  11468. "code": "switch_1",
  11469. "type": "Boolean",
  11470. "values": "{}"
  11471. },
  11472. {
  11473. "code": "countdown_1",
  11474. "type": "Integer",
  11475. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11476. }
  11477. ]
  11478. },
  11479. "success": true,
  11480. "t": 1644008405094
  11481. }
  11482. 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
  11483. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11484. "result": {
  11485. "category": "jsq",
  11486. "functions": [
  11487. {
  11488. "code": "switch",
  11489. "type": "Boolean",
  11490. "values": "{}"
  11491. },
  11492. {
  11493. "code": "switch_led",
  11494. "type": "Boolean",
  11495. "values": "{}"
  11496. }
  11497. ],
  11498. "status": [
  11499. {
  11500. "code": "switch",
  11501. "type": "Boolean",
  11502. "values": "{}"
  11503. },
  11504. {
  11505. "code": "switch_led",
  11506. "type": "Boolean",
  11507. "values": "{}"
  11508. }
  11509. ]
  11510. },
  11511. "success": true,
  11512. "t": 1644008405194
  11513. }
  11514. 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
  11515. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11516. "result": {
  11517. "category": "cz",
  11518. "functions": [
  11519. {
  11520. "code": "switch_1",
  11521. "type": "Boolean",
  11522. "values": "{}"
  11523. },
  11524. {
  11525. "code": "countdown_1",
  11526. "type": "Integer",
  11527. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11528. }
  11529. ],
  11530. "status": [
  11531. {
  11532. "code": "switch_1",
  11533. "type": "Boolean",
  11534. "values": "{}"
  11535. },
  11536. {
  11537. "code": "countdown_1",
  11538. "type": "Integer",
  11539. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11540. }
  11541. ]
  11542. },
  11543. "success": true,
  11544. "t": 1644008405310
  11545. }
  11546. 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
  11547. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11548. "result": {
  11549. "category": "cz",
  11550. "functions": [
  11551. {
  11552. "code": "switch_1",
  11553. "type": "Boolean",
  11554. "values": "{}"
  11555. },
  11556. {
  11557. "code": "countdown_1",
  11558. "type": "Integer",
  11559. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11560. }
  11561. ],
  11562. "status": [
  11563. {
  11564. "code": "switch_1",
  11565. "type": "Boolean",
  11566. "values": "{}"
  11567. },
  11568. {
  11569. "code": "countdown_1",
  11570. "type": "Integer",
  11571. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11572. }
  11573. ]
  11574. },
  11575. "success": true,
  11576. "t": 1644008405428
  11577. }
  11578. 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
  11579. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11580. "result": {
  11581. "category": "cz",
  11582. "functions": [
  11583. {
  11584. "code": "switch_1",
  11585. "type": "Boolean",
  11586. "values": "{}"
  11587. },
  11588. {
  11589. "code": "countdown_1",
  11590. "type": "Integer",
  11591. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11592. }
  11593. ],
  11594. "status": [
  11595. {
  11596. "code": "switch_1",
  11597. "type": "Boolean",
  11598. "values": "{}"
  11599. },
  11600. {
  11601. "code": "countdown_1",
  11602. "type": "Integer",
  11603. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11604. }
  11605. ]
  11606. },
  11607. "success": true,
  11608. "t": 1644008405523
  11609. }
  11610. 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
  11611. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11612. "result": {
  11613. "category": "cz",
  11614. "functions": [
  11615. {
  11616. "code": "switch_1",
  11617. "type": "Boolean",
  11618. "values": "{}"
  11619. },
  11620. {
  11621. "code": "countdown_1",
  11622. "type": "Integer",
  11623. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11624. }
  11625. ],
  11626. "status": [
  11627. {
  11628. "code": "switch_1",
  11629. "type": "Boolean",
  11630. "values": "{}"
  11631. },
  11632. {
  11633. "code": "countdown_1",
  11634. "type": "Integer",
  11635. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11636. }
  11637. ]
  11638. },
  11639. "success": true,
  11640. "t": 1644008405615
  11641. }
  11642. 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
  11643. 2022-02-04 13:00:05 DEBUG (SyncWorker_3) [tuya iot] Response: {
  11644. "result": {
  11645. "category": "cz",
  11646. "functions": [
  11647. {
  11648. "code": "switch_1",
  11649. "type": "Boolean",
  11650. "values": "{}"
  11651. },
  11652. {
  11653. "code": "countdown_1",
  11654. "type": "Integer",
  11655. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11656. }
  11657. ],
  11658. "status": [
  11659. {
  11660. "code": "switch_1",
  11661. "type": "Boolean",
  11662. "values": "{}"
  11663. },
  11664. {
  11665. "code": "countdown_1",
  11666. "type": "Integer",
  11667. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  11668. }
  11669. ]
  11670. },
  11671. "success": true,
  11672. "t": 1644008405704
  11673. }
  11674. 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']
  11675. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  11676. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  11677. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  11678. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  11679. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  11680. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  11681. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  11682. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  11683. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  11684. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  11685. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  11686. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  11687. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  11688. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  11689. 2022-02-04 13:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select init
  11690. 2022-02-04 13:00:05 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  11691. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  11692. 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']
  11693. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  11694. 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']
  11695. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  11696. 2022-02-04 13:00:05 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  11697. 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
  11698. 2022-02-04 13:00:06 DEBUG (SyncWorker_7) [tuya iot] Response: {
  11699. "result": [
  11700. {
  11701. "geo_name": "",
  11702. "home_id": 11866790,
  11703. "lat": "***",
  11704. "lon": "***",
  11705. "name": "My Home ..",
  11706. "role": "OWNER"
  11707. }
  11708. ],
  11709. "success": true,
  11710. "t": 1644008406003
  11711. }
  11712. 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
  11713. 2022-02-04 13:00:06 DEBUG (SyncWorker_7) [tuya iot] Response: {
  11714. "result": [],
  11715. "success": true,
  11716. "t": 1644008406160
  11717. }
  11718. 2022-02-04 13:01:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  11719. 2022-02-04 13:01:02 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11720. 2022-02-04 13:01:03 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11721. 2022-02-04 13:02:03 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11722. 2022-02-04 13:02:03 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11723. 2022-02-04 13:03:03 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11724. 2022-02-04 13:03:03 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11725. 2022-02-04 13:04:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11726. 2022-02-04 13:04:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11727. 2022-02-04 13:05:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11728. 2022-02-04 13:05:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11729. 2022-02-04 13:06:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11730. 2022-02-04 13:06:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11731. 2022-02-04 13:07:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11732. 2022-02-04 13:07:04 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11733. 2022-02-04 13:08:04 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11734. 2022-02-04 13:08:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11735. 2022-02-04 13:09:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11736. 2022-02-04 13:09:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11737. 2022-02-04 13:10:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11738. 2022-02-04 13:10:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11739. 2022-02-04 13:11:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11740. 2022-02-04 13:11:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11741. 2022-02-04 13:12:05 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11742. 2022-02-04 13:12:05 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11743. 2022-02-04 13:13:06 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11744. 2022-02-04 13:13:06 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11745. 2022-02-04 13:14:06 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11746. 2022-02-04 13:14:06 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11747. 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]
  11748. Traceback (most recent call last):
  11749. File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1154, in _create_direct_connection
  11750. hosts = await asyncio.shield(host_resolved)
  11751. File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 880, in _resolve_host
  11752. addrs = await self._resolver.resolve(host, port, family=self._family)
  11753. File "/usr/local/lib/python3.9/site-packages/aiohttp/resolver.py", line 33, in resolve
  11754. infos = await self._loop.getaddrinfo(
  11755. File "/usr/local/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo
  11756. return await self.run_in_executor(
  11757. File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
  11758. result = self.fn(*self.args, **self.kwargs)
  11759. File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
  11760. for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  11761. socket.gaierror: [Errno -3] Try again
  11762.  
  11763. The above exception was the direct cause of the following exception:
  11764.  
  11765. Traceback (most recent call last):
  11766. File "/usr/src/homeassistant/homeassistant/components/mazda/__init__.py", line 148, in async_update_data
  11767. vehicle["status"] = await with_timeout(
  11768. File "/usr/src/homeassistant/homeassistant/components/mazda/__init__.py", line 43, in with_timeout
  11769. return await task
  11770. File "/usr/local/lib/python3.9/site-packages/pymazda/client.py", line 64, in get_vehicle_status
  11771. vehicle_status_response = await self.controller.get_vehicle_status(vehicle_id)
  11772. File "/usr/local/lib/python3.9/site-packages/pymazda/controller.py", line 31, in get_vehicle_status
  11773. response = await self.connection.api_request("POST", "remoteServices/getVehicleStatus/v4", body_dict=post_body, needs_keys=True, needs_auth=True)
  11774. File "/usr/local/lib/python3.9/site-packages/pymazda/connection.py", line 158, in api_request
  11775. return await self.__api_request_retry(method, uri, query_dict, body_dict, needs_keys, needs_auth, num_retries=0)
  11776. File "/usr/local/lib/python3.9/site-packages/pymazda/connection.py", line 173, in __api_request_retry
  11777. return await self.__send_api_request(method, uri, query_dict, body_dict, needs_keys, needs_auth)
  11778. File "/usr/local/lib/python3.9/site-packages/pymazda/connection.py", line 227, in __send_api_request
  11779. response = await self._session.request(method, self.base_url + uri, headers=headers, data=encrypted_body_Str)
  11780. File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
  11781. conn = await self._connector.connect(
  11782. File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
  11783. proto = await self._create_connection(req, traces, timeout)
  11784. File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
  11785. _, proto = await self._create_direct_connection(req, traces, timeout)
  11786. File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1166, in _create_direct_connection
  11787. raise ClientConnectorError(req.connection_key, exc) from exc
  11788. aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 0cxo7m58.mazda.com:443 ssl:default [Try again]
  11789. 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]
  11790. 2022-02-04 13:14:57 ERROR (MainThread) [homeassistant.components.alexa.state_report] Timeout sending report to Alexa
  11791. 2022-02-04 13:15:06 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11792. 2022-02-04 13:15:06 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11793. 2022-02-04 13:16:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11794. 2022-02-04 13:16:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11795. 2022-02-04 13:17:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  11796. 2022-02-04 13:17:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11797. 2022-02-04 13:17:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11798. 2022-02-04 13:18:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11799. 2022-02-04 13:18:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11800. 2022-02-04 13:19:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11801. 2022-02-04 13:19:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11802. 2022-02-04 13:20:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11803. 2022-02-04 13:20:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11804. 2022-02-04 13:21:07 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11805. 2022-02-04 13:21:07 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11806. 2022-02-04 13:22:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11807. 2022-02-04 13:22:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11808. 2022-02-04 13:23:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11809. 2022-02-04 13:23:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11810. 2022-02-04 13:24:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11811. 2022-02-04 13:24:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11812. 2022-02-04 13:25:08 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11813. 2022-02-04 13:25:08 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11814. 2022-02-04 13:26:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11815. 2022-02-04 13:26:09 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11816. 2022-02-04 13:27:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11817. 2022-02-04 13:27:09 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11818. 2022-02-04 13:28:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11819. 2022-02-04 13:28:09 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11820. 2022-02-04 13:29:09 DEBUG (Thread-489) [tuya iot] _on_log: Sending PINGREQ
  11821. 2022-02-04 13:29:10 DEBUG (Thread-489) [tuya iot] _on_log: Received PINGRESP
  11822. 2022-02-04 13:30:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  11823. 2022-02-04 13:30:00 DEBUG (MainThread) [tuya iot] stop
  11824. 2022-02-04 13:30:00 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  11825. 2022-02-04 13:30:00 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  11826. 2022-02-04 13:30:00 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  11827. 2022-02-04 13:30:00 DEBUG (Thread-489) [tuya iot] disconnect
  11828. 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
  11829. 2022-02-04 13:30:01 DEBUG (SyncWorker_13) [tuya iot] Response: {
  11830. "result": {
  11831. "access_token": "***",
  11832. "expire_time": 7200,
  11833. "platform_url": "https://openapi.tuyaus.com",
  11834. "refresh_token": "***",
  11835. "uid": "***"
  11836. },
  11837. "success": true,
  11838. "t": 1644010201051
  11839. }
  11840. 2022-02-04 13:30:01 DEBUG (MainThread) [tuya iot] start
  11841. 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
  11842. 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
  11843. 2022-02-04 13:30:01 DEBUG (Thread-492) [tuya iot] Response: {
  11844. "result": {
  11845. "client_id": "***",
  11846. "expire_time": 7200,
  11847. "password": "***",
  11848. "sink_topic": {
  11849. "device": "cloud/token/out/{device_id}"
  11850. },
  11851. "source_topic": {
  11852. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  11853. },
  11854. "url": "ssl://m1.tuyaus.com:8883",
  11855. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  11856. },
  11857. "success": true,
  11858. "t": 1644010201280
  11859. }
  11860. 2022-02-04 13:30:01 DEBUG (Thread-492) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  11861. 2022-02-04 13:30:01 DEBUG (SyncWorker_12) [tuya iot] Response: {
  11862. "result": [
  11863. {
  11864. "active_time": 1642129199,
  11865. "biz_type": 18,
  11866. "category": "cz",
  11867. "create_time": 1633651254,
  11868. "icon": "smart/icon/1498529014_0.png",
  11869. "id": "0518502668c63aee2465",
  11870. "ip": "***",
  11871. "lat": "***",
  11872. "local_key": "***",
  11873. "lon": "***",
  11874. "model": "HYS-01-X5P-帆客",
  11875. "name": "Black Lava Lamp",
  11876. "online": true,
  11877. "owner_id": "11866790",
  11878. "product_id": "gpgdjdp2zvog8m0p",
  11879. "product_name": "Mini Smart Socket",
  11880. "status": [
  11881. {
  11882. "code": "switch_1",
  11883. "value": false
  11884. },
  11885. {
  11886. "code": "countdown_1",
  11887. "value": 0
  11888. }
  11889. ],
  11890. "sub": false,
  11891. "time_zone": "-08:00",
  11892. "uid": "***",
  11893. "update_time": 1643704238,
  11894. "uuid": "0518502668c63aee2465"
  11895. },
  11896. {
  11897. "active_time": 1625883466,
  11898. "biz_type": 18,
  11899. "category": "cz",
  11900. "create_time": 1625877313,
  11901. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  11902. "id": "177623502462ab3c8a02",
  11903. "ip": "***",
  11904. "lat": "***",
  11905. "local_key": "***",
  11906. "lon": "***",
  11907. "name": "Hanging Light",
  11908. "online": true,
  11909. "owner_id": "11866790",
  11910. "product_id": "AiHXxAyyn7eAkLQY",
  11911. "product_name": "Mini Smart Plug",
  11912. "status": [
  11913. {
  11914. "code": "switch_1",
  11915. "value": true
  11916. },
  11917. {
  11918. "code": "countdown_1",
  11919. "value": 0
  11920. }
  11921. ],
  11922. "sub": false,
  11923. "time_zone": "-08:00",
  11924. "uid": "***",
  11925. "update_time": 1639597496,
  11926. "uuid": "177623502462ab3c8a02"
  11927. },
  11928. {
  11929. "active_time": 1606362427,
  11930. "biz_type": 18,
  11931. "category": "cz",
  11932. "create_time": 1579662054,
  11933. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  11934. "id": "736388262462ab3cc045",
  11935. "ip": "***",
  11936. "lat": "***",
  11937. "local_key": "***",
  11938. "lon": "***",
  11939. "name": "Orange Lava Lamp",
  11940. "online": true,
  11941. "owner_id": "11866790",
  11942. "product_id": "AiHXxAyyn7eAkLQY",
  11943. "product_name": "Mini Smart Plug",
  11944. "status": [
  11945. {
  11946. "code": "switch_1",
  11947. "value": false
  11948. },
  11949. {
  11950. "code": "countdown_1",
  11951. "value": 0
  11952. }
  11953. ],
  11954. "sub": false,
  11955. "time_zone": "-08:00",
  11956. "uid": "***",
  11957. "update_time": 1639597476,
  11958. "uuid": "736388262462ab3cc045"
  11959. },
  11960. {
  11961. "active_time": 1576644608,
  11962. "biz_type": 18,
  11963. "category": "cz",
  11964. "create_time": 1576644608,
  11965. "icon": "smart/icon/1498529014_0.png",
  11966. "id": "40834308500291b2b6b7",
  11967. "ip": "***",
  11968. "lat": "***",
  11969. "local_key": "***",
  11970. "lon": "***",
  11971. "model": "HYS-X5-NEW",
  11972. "name": "Banana Light",
  11973. "online": true,
  11974. "owner_id": "11866790",
  11975. "product_id": "qoacsyyfbrbe3lm8",
  11976. "product_name": "Mini Smart Socket",
  11977. "status": [
  11978. {
  11979. "code": "switch_1",
  11980. "value": true
  11981. },
  11982. {
  11983. "code": "countdown_1",
  11984. "value": 0
  11985. }
  11986. ],
  11987. "sub": false,
  11988. "time_zone": "-08:00",
  11989. "uid": "***",
  11990. "update_time": 1639597286,
  11991. "uuid": "40834308500291b2b6b7"
  11992. },
  11993. {
  11994. "active_time": 1633650334,
  11995. "biz_type": 18,
  11996. "category": "cz",
  11997. "create_time": 1633650334,
  11998. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  11999. "id": "165054382cf432255c5f",
  12000. "ip": "***",
  12001. "lat": "***",
  12002. "local_key": "***",
  12003. "lon": "***",
  12004. "model": "HYS-01-X5P-S7",
  12005. "name": "Checkered Lava Lamp",
  12006. "online": true,
  12007. "owner_id": "11866790",
  12008. "product_id": "7i0er84cthlfv1mh",
  12009. "product_name": "Mini Smart Socket",
  12010. "status": [
  12011. {
  12012. "code": "switch_1",
  12013. "value": false
  12014. },
  12015. {
  12016. "code": "countdown_1",
  12017. "value": 0
  12018. }
  12019. ],
  12020. "sub": false,
  12021. "time_zone": "-08:00",
  12022. "uid": "***",
  12023. "update_time": 1639597032,
  12024. "uuid": "165054382cf432255c5f"
  12025. },
  12026. {
  12027. "active_time": 1606616090,
  12028. "biz_type": 18,
  12029. "category": "cz",
  12030. "create_time": 1579677410,
  12031. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  12032. "id": "736388262462ab3c521e",
  12033. "ip": "***",
  12034. "lat": "***",
  12035. "local_key": "***",
  12036. "lon": "***",
  12037. "name": "Blue Lava Lamp",
  12038. "online": true,
  12039. "owner_id": "11866790",
  12040. "product_id": "AiHXxAyyn7eAkLQY",
  12041. "product_name": "Mini Smart Plug",
  12042. "status": [
  12043. {
  12044. "code": "switch_1",
  12045. "value": false
  12046. },
  12047. {
  12048. "code": "countdown_1",
  12049. "value": 0
  12050. }
  12051. ],
  12052. "sub": false,
  12053. "time_zone": "-08:00",
  12054. "uid": "***",
  12055. "update_time": 1639596759,
  12056. "uuid": "736388262462ab3c521e"
  12057. },
  12058. {
  12059. "active_time": 1606362512,
  12060. "biz_type": 18,
  12061. "category": "cz",
  12062. "create_time": 1579776563,
  12063. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  12064. "id": "26300763f4cfa2022836",
  12065. "ip": "***",
  12066. "lat": "***",
  12067. "local_key": "***",
  12068. "lon": "***",
  12069. "model": "WP3-B美规10A(不带计量)/gosund",
  12070. "name": "Lemon Light",
  12071. "online": true,
  12072. "owner_id": "11866790",
  12073. "product_id": "AiHXxAyyn7eAkLQY",
  12074. "product_name": "Mini Smart Plug",
  12075. "status": [
  12076. {
  12077. "code": "switch_1",
  12078. "value": true
  12079. },
  12080. {
  12081. "code": "countdown_1",
  12082. "value": 0
  12083. }
  12084. ],
  12085. "sub": false,
  12086. "time_zone": "-08:00",
  12087. "uid": "***",
  12088. "update_time": 1639596674,
  12089. "uuid": "26300763f4cfa2022836"
  12090. },
  12091. {
  12092. "active_time": 1579313987,
  12093. "biz_type": 18,
  12094. "category": "cz",
  12095. "create_time": 1579313987,
  12096. "icon": "smart/icon/1498529014_0.png",
  12097. "id": "33360203c82b9602204e",
  12098. "ip": "***",
  12099. "lat": "***",
  12100. "local_key": "***",
  12101. "lon": "***",
  12102. "model": "HYS-X5-NEW",
  12103. "name": "Gold Lava Lamp",
  12104. "online": true,
  12105. "owner_id": "11866790",
  12106. "product_id": "qoacsyyfbrbe3lm8",
  12107. "product_name": "Mini Smart Socket",
  12108. "status": [
  12109. {
  12110. "code": "switch_1",
  12111. "value": false
  12112. },
  12113. {
  12114. "code": "countdown_1",
  12115. "value": 0
  12116. }
  12117. ],
  12118. "sub": false,
  12119. "time_zone": "-08:00",
  12120. "uid": "***",
  12121. "update_time": 1639596654,
  12122. "uuid": "33360203c82b9602204e"
  12123. },
  12124. {
  12125. "active_time": 1627023398,
  12126. "biz_type": 18,
  12127. "category": "jsq",
  12128. "create_time": 1627023398,
  12129. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  12130. "id": "eb5a649a9f92cdb9ec1pq6",
  12131. "ip": "***",
  12132. "lat": "***",
  12133. "local_key": "***",
  12134. "lon": "***",
  12135. "name": "Smart Aroma Diffuser Two",
  12136. "online": true,
  12137. "owner_id": "11866790",
  12138. "product_id": "yodwo2ujgwbgjaio",
  12139. "product_name": "Smart Aroma Diffuser",
  12140. "status": [
  12141. {
  12142. "code": "switch",
  12143. "value": false
  12144. },
  12145. {
  12146. "code": "switch_led",
  12147. "value": false
  12148. }
  12149. ],
  12150. "sub": false,
  12151. "time_zone": "-07:00",
  12152. "uid": "***",
  12153. "update_time": 1639596592,
  12154. "uuid": "912153509b40b0b0"
  12155. },
  12156. {
  12157. "active_time": 1606362711,
  12158. "biz_type": 18,
  12159. "category": "cz",
  12160. "create_time": 1579232360,
  12161. "icon": "smart/icon/1498529014_0.png",
  12162. "id": "10812535bcddc2a8a191",
  12163. "ip": "***",
  12164. "lat": "***",
  12165. "local_key": "***",
  12166. "lon": "***",
  12167. "model": "HYS-X5-NEW",
  12168. "name": "Green",
  12169. "online": true,
  12170. "owner_id": "11866790",
  12171. "product_id": "qoacsyyfbrbe3lm8",
  12172. "product_name": "Mini Smart Socket",
  12173. "status": [
  12174. {
  12175. "code": "switch_1",
  12176. "value": false
  12177. },
  12178. {
  12179. "code": "countdown_1",
  12180. "value": 0
  12181. }
  12182. ],
  12183. "sub": false,
  12184. "time_zone": "-08:00",
  12185. "uid": "***",
  12186. "update_time": 1639596405,
  12187. "uuid": "10812535bcddc2a8a191"
  12188. },
  12189. {
  12190. "active_time": 1606614603,
  12191. "biz_type": 18,
  12192. "category": "cz",
  12193. "create_time": 1579236112,
  12194. "icon": "smart/icon/1498529014_0.png",
  12195. "id": "1081253568c63aee1cce",
  12196. "ip": "***",
  12197. "lat": "***",
  12198. "local_key": "***",
  12199. "lon": "***",
  12200. "model": "HYS-X5-NEW",
  12201. "name": "Red Glitter Lamp",
  12202. "online": true,
  12203. "owner_id": "11866790",
  12204. "product_id": "qoacsyyfbrbe3lm8",
  12205. "product_name": "Mini Smart Socket",
  12206. "status": [
  12207. {
  12208. "code": "switch_1",
  12209. "value": false
  12210. },
  12211. {
  12212. "code": "countdown_1",
  12213. "value": 0
  12214. }
  12215. ],
  12216. "sub": false,
  12217. "time_zone": "-08:00",
  12218. "uid": "***",
  12219. "update_time": 1639596069,
  12220. "uuid": "1081253568c63aee1cce"
  12221. },
  12222. {
  12223. "active_time": 1631693069,
  12224. "biz_type": 18,
  12225. "category": "cz",
  12226. "create_time": 1579232097,
  12227. "icon": "smart/icon/1498529014_0.png",
  12228. "id": "33360203c82b960217c9",
  12229. "ip": "***",
  12230. "lat": "***",
  12231. "local_key": "***",
  12232. "lon": "***",
  12233. "model": "HYS-X5-NEW",
  12234. "name": "Purple Lava Lamp",
  12235. "online": true,
  12236. "owner_id": "11866790",
  12237. "product_id": "qoacsyyfbrbe3lm8",
  12238. "product_name": "Mini Smart Socket",
  12239. "status": [
  12240. {
  12241. "code": "switch_1",
  12242. "value": false
  12243. },
  12244. {
  12245. "code": "countdown_1",
  12246. "value": 0
  12247. }
  12248. ],
  12249. "sub": false,
  12250. "time_zone": "-08:00",
  12251. "uid": "***",
  12252. "update_time": 1639595950,
  12253. "uuid": "33360203c82b960217c9"
  12254. },
  12255. {
  12256. "active_time": 1633651110,
  12257. "biz_type": 18,
  12258. "category": "cz",
  12259. "create_time": 1633651110,
  12260. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  12261. "id": "36837871bcddc23ccd0e",
  12262. "ip": "***",
  12263. "lat": "***",
  12264. "local_key": "***",
  12265. "lon": "***",
  12266. "model": "HYS-01-X5P-S7",
  12267. "name": "Pink Lava Lamp",
  12268. "online": true,
  12269. "owner_id": "11866790",
  12270. "product_id": "7i0er84cthlfv1mh",
  12271. "product_name": "Mini Smart Socket",
  12272. "status": [
  12273. {
  12274. "code": "switch_1",
  12275. "value": false
  12276. },
  12277. {
  12278. "code": "countdown_1",
  12279. "value": 0
  12280. }
  12281. ],
  12282. "sub": false,
  12283. "time_zone": "-08:00",
  12284. "uid": "***",
  12285. "update_time": 1639595720,
  12286. "uuid": "36837871bcddc23ccd0e"
  12287. },
  12288. {
  12289. "active_time": 1633649772,
  12290. "biz_type": 18,
  12291. "category": "cz",
  12292. "create_time": 1633649772,
  12293. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  12294. "id": "16505438bcddc29c7d1c",
  12295. "ip": "***",
  12296. "lat": "***",
  12297. "local_key": "***",
  12298. "lon": "***",
  12299. "model": "HYS-01-X5P-S7",
  12300. "name": "Yellow Lava Lamp",
  12301. "online": true,
  12302. "owner_id": "11866790",
  12303. "product_id": "7i0er84cthlfv1mh",
  12304. "product_name": "Mini Smart Socket",
  12305. "status": [
  12306. {
  12307. "code": "switch_1",
  12308. "value": false
  12309. },
  12310. {
  12311. "code": "countdown_1",
  12312. "value": 0
  12313. }
  12314. ],
  12315. "sub": false,
  12316. "time_zone": "-08:00",
  12317. "uid": "***",
  12318. "update_time": 1639595373,
  12319. "uuid": "16505438bcddc29c7d1c"
  12320. }
  12321. ],
  12322. "success": true,
  12323. "t": 1644010201547
  12324. }
  12325. 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
  12326. 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'
  12327. 2022-02-04 13:30:01 DEBUG (Thread-493) [tuya iot] _on_log: Received CONNACK (0, 0)
  12328. 2022-02-04 13:30:01 DEBUG (Thread-493) [tuya iot] connect flags->{'session present': 0}, rc->0
  12329. 2022-02-04 13:30:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  12330. 2022-02-04 13:30:02 DEBUG (Thread-493) [tuya iot] _on_log: Received SUBACK
  12331. 2022-02-04 13:30:02 DEBUG (Thread-493) [tuya iot] _on_subscribe: 1
  12332. 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12333. "result": {
  12334. "category": "cz",
  12335. "functions": [
  12336. {
  12337. "code": "switch_1",
  12338. "type": "Boolean",
  12339. "values": "{}"
  12340. },
  12341. {
  12342. "code": "countdown_1",
  12343. "type": "Integer",
  12344. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12345. }
  12346. ],
  12347. "status": [
  12348. {
  12349. "code": "switch_1",
  12350. "type": "Boolean",
  12351. "values": "{}"
  12352. },
  12353. {
  12354. "code": "countdown_1",
  12355. "type": "Integer",
  12356. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12357. }
  12358. ]
  12359. },
  12360. "success": true,
  12361. "t": 1644010202075
  12362. }
  12363. 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
  12364. 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12365. "result": {
  12366. "category": "cz",
  12367. "functions": [
  12368. {
  12369. "code": "switch_1",
  12370. "type": "Boolean",
  12371. "values": "{}"
  12372. },
  12373. {
  12374. "code": "countdown_1",
  12375. "type": "Integer",
  12376. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12377. }
  12378. ],
  12379. "status": [
  12380. {
  12381. "code": "switch_1",
  12382. "type": "Boolean",
  12383. "values": "{}"
  12384. },
  12385. {
  12386. "code": "countdown_1",
  12387. "type": "Integer",
  12388. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12389. }
  12390. ]
  12391. },
  12392. "success": true,
  12393. "t": 1644010202272
  12394. }
  12395. 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
  12396. 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12397. "result": {
  12398. "category": "cz",
  12399. "functions": [
  12400. {
  12401. "code": "switch_1",
  12402. "type": "Boolean",
  12403. "values": "{}"
  12404. },
  12405. {
  12406. "code": "countdown_1",
  12407. "type": "Integer",
  12408. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12409. }
  12410. ],
  12411. "status": [
  12412. {
  12413. "code": "switch_1",
  12414. "type": "Boolean",
  12415. "values": "{}"
  12416. },
  12417. {
  12418. "code": "countdown_1",
  12419. "type": "Integer",
  12420. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12421. }
  12422. ]
  12423. },
  12424. "success": true,
  12425. "t": 1644010202448
  12426. }
  12427. 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
  12428. 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12429. "result": {
  12430. "category": "cz",
  12431. "functions": [
  12432. {
  12433. "code": "switch_1",
  12434. "type": "Boolean",
  12435. "values": "{}"
  12436. },
  12437. {
  12438. "code": "countdown_1",
  12439. "type": "Integer",
  12440. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12441. }
  12442. ],
  12443. "status": [
  12444. {
  12445. "code": "switch_1",
  12446. "type": "Boolean",
  12447. "values": "{}"
  12448. },
  12449. {
  12450. "code": "countdown_1",
  12451. "type": "Integer",
  12452. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12453. }
  12454. ]
  12455. },
  12456. "success": true,
  12457. "t": 1644010202561
  12458. }
  12459. 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
  12460. 2022-02-04 13:30:02 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12461. "result": {
  12462. "category": "cz",
  12463. "functions": [
  12464. {
  12465. "code": "switch_1",
  12466. "type": "Boolean",
  12467. "values": "{}"
  12468. },
  12469. {
  12470. "code": "countdown_1",
  12471. "type": "Integer",
  12472. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12473. }
  12474. ],
  12475. "status": [
  12476. {
  12477. "code": "switch_1",
  12478. "type": "Boolean",
  12479. "values": "{}"
  12480. },
  12481. {
  12482. "code": "countdown_1",
  12483. "type": "Integer",
  12484. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12485. }
  12486. ]
  12487. },
  12488. "success": true,
  12489. "t": 1644010202646
  12490. }
  12491. 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
  12492. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12493. "result": {
  12494. "category": "cz",
  12495. "functions": [
  12496. {
  12497. "code": "switch_1",
  12498. "type": "Boolean",
  12499. "values": "{}"
  12500. },
  12501. {
  12502. "code": "countdown_1",
  12503. "type": "Integer",
  12504. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12505. }
  12506. ],
  12507. "status": [
  12508. {
  12509. "code": "switch_1",
  12510. "type": "Boolean",
  12511. "values": "{}"
  12512. },
  12513. {
  12514. "code": "countdown_1",
  12515. "type": "Integer",
  12516. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12517. }
  12518. ]
  12519. },
  12520. "success": true,
  12521. "t": 1644010203015
  12522. }
  12523. 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
  12524. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12525. "result": {
  12526. "category": "cz",
  12527. "functions": [
  12528. {
  12529. "code": "switch_1",
  12530. "type": "Boolean",
  12531. "values": "{}"
  12532. },
  12533. {
  12534. "code": "countdown_1",
  12535. "type": "Integer",
  12536. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12537. }
  12538. ],
  12539. "status": [
  12540. {
  12541. "code": "switch_1",
  12542. "type": "Boolean",
  12543. "values": "{}"
  12544. },
  12545. {
  12546. "code": "countdown_1",
  12547. "type": "Integer",
  12548. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12549. }
  12550. ]
  12551. },
  12552. "success": true,
  12553. "t": 1644010203360
  12554. }
  12555. 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
  12556. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12557. "result": {
  12558. "category": "cz",
  12559. "functions": [
  12560. {
  12561. "code": "switch_1",
  12562. "type": "Boolean",
  12563. "values": "{}"
  12564. },
  12565. {
  12566. "code": "countdown_1",
  12567. "type": "Integer",
  12568. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12569. }
  12570. ],
  12571. "status": [
  12572. {
  12573. "code": "switch_1",
  12574. "type": "Boolean",
  12575. "values": "{}"
  12576. },
  12577. {
  12578. "code": "countdown_1",
  12579. "type": "Integer",
  12580. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12581. }
  12582. ]
  12583. },
  12584. "success": true,
  12585. "t": 1644010203458
  12586. }
  12587. 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
  12588. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12589. "result": {
  12590. "category": "jsq",
  12591. "functions": [
  12592. {
  12593. "code": "switch",
  12594. "type": "Boolean",
  12595. "values": "{}"
  12596. },
  12597. {
  12598. "code": "switch_led",
  12599. "type": "Boolean",
  12600. "values": "{}"
  12601. }
  12602. ],
  12603. "status": [
  12604. {
  12605. "code": "switch",
  12606. "type": "Boolean",
  12607. "values": "{}"
  12608. },
  12609. {
  12610. "code": "switch_led",
  12611. "type": "Boolean",
  12612. "values": "{}"
  12613. }
  12614. ]
  12615. },
  12616. "success": true,
  12617. "t": 1644010203574
  12618. }
  12619. 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
  12620. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12621. "result": {
  12622. "category": "cz",
  12623. "functions": [
  12624. {
  12625. "code": "switch_1",
  12626. "type": "Boolean",
  12627. "values": "{}"
  12628. },
  12629. {
  12630. "code": "countdown_1",
  12631. "type": "Integer",
  12632. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12633. }
  12634. ],
  12635. "status": [
  12636. {
  12637. "code": "switch_1",
  12638. "type": "Boolean",
  12639. "values": "{}"
  12640. },
  12641. {
  12642. "code": "countdown_1",
  12643. "type": "Integer",
  12644. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12645. }
  12646. ]
  12647. },
  12648. "success": true,
  12649. "t": 1644010203672
  12650. }
  12651. 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
  12652. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12653. "result": {
  12654. "category": "cz",
  12655. "functions": [
  12656. {
  12657. "code": "switch_1",
  12658. "type": "Boolean",
  12659. "values": "{}"
  12660. },
  12661. {
  12662. "code": "countdown_1",
  12663. "type": "Integer",
  12664. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12665. }
  12666. ],
  12667. "status": [
  12668. {
  12669. "code": "switch_1",
  12670. "type": "Boolean",
  12671. "values": "{}"
  12672. },
  12673. {
  12674. "code": "countdown_1",
  12675. "type": "Integer",
  12676. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12677. }
  12678. ]
  12679. },
  12680. "success": true,
  12681. "t": 1644010203769
  12682. }
  12683. 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
  12684. 2022-02-04 13:30:03 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12685. "result": {
  12686. "category": "cz",
  12687. "functions": [
  12688. {
  12689. "code": "switch_1",
  12690. "type": "Boolean",
  12691. "values": "{}"
  12692. },
  12693. {
  12694. "code": "countdown_1",
  12695. "type": "Integer",
  12696. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12697. }
  12698. ],
  12699. "status": [
  12700. {
  12701. "code": "switch_1",
  12702. "type": "Boolean",
  12703. "values": "{}"
  12704. },
  12705. {
  12706. "code": "countdown_1",
  12707. "type": "Integer",
  12708. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12709. }
  12710. ]
  12711. },
  12712. "success": true,
  12713. "t": 1644010203909
  12714. }
  12715. 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
  12716. 2022-02-04 13:30:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12717. "result": {
  12718. "category": "cz",
  12719. "functions": [
  12720. {
  12721. "code": "switch_1",
  12722. "type": "Boolean",
  12723. "values": "{}"
  12724. },
  12725. {
  12726. "code": "countdown_1",
  12727. "type": "Integer",
  12728. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12729. }
  12730. ],
  12731. "status": [
  12732. {
  12733. "code": "switch_1",
  12734. "type": "Boolean",
  12735. "values": "{}"
  12736. },
  12737. {
  12738. "code": "countdown_1",
  12739. "type": "Integer",
  12740. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12741. }
  12742. ]
  12743. },
  12744. "success": true,
  12745. "t": 1644010203989
  12746. }
  12747. 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
  12748. 2022-02-04 13:30:04 DEBUG (SyncWorker_12) [tuya iot] Response: {
  12749. "result": {
  12750. "category": "cz",
  12751. "functions": [
  12752. {
  12753. "code": "switch_1",
  12754. "type": "Boolean",
  12755. "values": "{}"
  12756. },
  12757. {
  12758. "code": "countdown_1",
  12759. "type": "Integer",
  12760. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12761. }
  12762. ],
  12763. "status": [
  12764. {
  12765. "code": "switch_1",
  12766. "type": "Boolean",
  12767. "values": "{}"
  12768. },
  12769. {
  12770. "code": "countdown_1",
  12771. "type": "Integer",
  12772. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  12773. }
  12774. ]
  12775. },
  12776. "success": true,
  12777. "t": 1644010204105
  12778. }
  12779. 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']
  12780. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  12781. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  12782. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  12783. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  12784. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  12785. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  12786. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  12787. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  12788. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  12789. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  12790. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  12791. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  12792. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  12793. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  12794. 2022-02-04 13:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select init
  12795. 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
  12796. 2022-02-04 13:30:04 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  12797. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  12798. 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']
  12799. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  12800. 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']
  12801. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  12802. 2022-02-04 13:30:04 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  12803. 2022-02-04 13:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
  12804. "result": [
  12805. {
  12806. "geo_name": "",
  12807. "home_id": 11866790,
  12808. "lat": "***",
  12809. "lon": "***",
  12810. "name": "My Home ..",
  12811. "role": "OWNER"
  12812. }
  12813. ],
  12814. "success": true,
  12815. "t": 1644010204453
  12816. }
  12817. 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
  12818. 2022-02-04 13:30:04 DEBUG (SyncWorker_7) [tuya iot] Response: {
  12819. "result": [],
  12820. "success": true,
  12821. "t": 1644010204682
  12822. }
  12823. 2022-02-04 13:31:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12824. 2022-02-04 13:31:01 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12825. 2022-02-04 13:32:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12826. 2022-02-04 13:32:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12827. 2022-02-04 13:32:01 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12828. 2022-02-04 13:33:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12829. 2022-02-04 13:33:01 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12830. 2022-02-04 13:34:01 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12831. 2022-02-04 13:34:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12832. 2022-02-04 13:35:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12833. 2022-02-04 13:35:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12834. 2022-02-04 13:36:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12835. 2022-02-04 13:36:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12836. 2022-02-04 13:37:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12837. 2022-02-04 13:37:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12838. 2022-02-04 13:38:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12839. 2022-02-04 13:38:02 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12840. 2022-02-04 13:39:02 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12841. 2022-02-04 13:39:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12842. 2022-02-04 13:40:03 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12843. 2022-02-04 13:40:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12844. 2022-02-04 13:41:03 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12845. 2022-02-04 13:41:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12846. 2022-02-04 13:42:03 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12847. 2022-02-04 13:42:03 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12848. 2022-02-04 13:43:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12849. 2022-02-04 13:43:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12850. 2022-02-04 13:44:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12851. 2022-02-04 13:44:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12852. 2022-02-04 13:45:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12853. 2022-02-04 13:45:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12854. 2022-02-04 13:46:04 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12855. 2022-02-04 13:46:04 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12856. 2022-02-04 13:47:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12857. 2022-02-04 13:47:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12858. 2022-02-04 13:48:01 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12859. 2022-02-04 13:48:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12860. 2022-02-04 13:48:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12861. 2022-02-04 13:49:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12862. 2022-02-04 13:49:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12863. 2022-02-04 13:50:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12864. 2022-02-04 13:50:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12865. 2022-02-04 13:51:05 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12866. 2022-02-04 13:51:05 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12867. 2022-02-04 13:52:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12868. 2022-02-04 13:52:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12869. 2022-02-04 13:53:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12870. 2022-02-04 13:53:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12871. 2022-02-04 13:53:47 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12872. 2022-02-04 13:53:52 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12873. 2022-02-04 13:53:56 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12874. 2022-02-04 13:54:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12875. 2022-02-04 13:54:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12876. 2022-02-04 13:54:46 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12877. 2022-02-04 13:55:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12878. 2022-02-04 13:55:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12879. 2022-02-04 13:55:41 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12880. 2022-02-04 13:56:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12881. 2022-02-04 13:56:06 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12882. 2022-02-04 13:57:06 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12883. 2022-02-04 13:57:07 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12884. 2022-02-04 13:57:09 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12885. 2022-02-04 13:57:10 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12886. 2022-02-04 13:57:13 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12887. 2022-02-04 13:57:15 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12888. 2022-02-04 13:57:15 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12889. 2022-02-04 13:57:15 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12890. 2022-02-04 13:57:16 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12891. 2022-02-04 13:57:16 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12892. 2022-02-04 13:57:16 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  12893. 2022-02-04 13:58:07 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12894. 2022-02-04 13:58:07 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12895. 2022-02-04 13:58:45 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
  12896. 2022-02-04 13:59:07 DEBUG (Thread-493) [tuya iot] _on_log: Sending PINGREQ
  12897. 2022-02-04 13:59:07 DEBUG (Thread-493) [tuya iot] _on_log: Received PINGRESP
  12898. 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  12899. 2022-02-04 13:59:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  12900. 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "99927", "fps": "25", "no'
  12901. 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  12902. 2022-02-04 13:59:40 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  12903. 2022-02-04 13:59:40 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "99927", "fps": "25", "no'
  12904. 2022-02-04 14:00:00 DEBUG (MainThread) [custom_components.tuya_v2] integration unload
  12905. 2022-02-04 14:00:01 DEBUG (MainThread) [tuya iot] stop
  12906. 2022-02-04 14:00:01 DEBUG (MainThread) [tuya iot] _on_log: Sending DISCONNECT
  12907. 2022-02-04 14:00:01 DEBUG (MainThread) [custom_components.tuya_v2] tuya.__init__.async_setup_entry-->{'o0o0o0': '26196b7a10d61b86552fd48bbb06ce8a75ce5a5fa30318e71b80448c9854d1a425599167cc712970923c7277efdb9b07bdf648b9a871589eeb0745ccc80c834fa113432b4a3a375215b12311f0a99107cd1fd9473efde250e305c336d04f357f14c4172a3ff1d7f7a4cefda18bfe91fd3dfffdf7daa0b2322cbff972da05ba2debeab8657943acc5d58ca6d1355d3f4830ce34a94ee427cec50bf043a235c1df0ece2c3bccafcd2b8457bf261f7988abfc576c3fe73d367264abeba2b4416986bf4d9e1756487b24316ea8f767b8667cc59f7fef2b505d22631d995bb1750544e6140d52a344d787430ee18914850401eea0a0c7e0f1aeed49ab2d013a5de5ba284fb4e69f76799d54859e55a4717a639687d4ca7d10732a0dd1c672d7890749', '00oo00': 'HRxFVl8FRxZCC0xAQUFYOkFHFFdXCUsKARRHXFQdDAA=', 'oo00oo': 'e6a36332f347684d1a512a291a553d55f74661e54c0b96efde09bc8be3e9a67f'}
  12908. 2022-02-04 14:00:01 INFO (MainThread) [custom_components.tuya_v2] tuya.__init__.exist_xor_cache-->True
  12909. 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
  12910. 2022-02-04 14:00:01 DEBUG (Thread-493) [tuya iot] disconnect
  12911. 2022-02-04 14:00:04 DEBUG (SyncWorker_5) [tuya iot] Response: {
  12912. "result": {
  12913. "access_token": "***",
  12914. "expire_time": 7200,
  12915. "platform_url": "https://openapi.tuyaus.com",
  12916. "refresh_token": "***",
  12917. "uid": "***"
  12918. },
  12919. "success": true,
  12920. "t": 1644012004705
  12921. }
  12922. 2022-02-04 14:00:04 DEBUG (MainThread) [tuya iot] start
  12923. 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
  12924. 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
  12925. 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.
  12926. 2022-02-04 14:00:06 DEBUG (Thread-511) [tuya iot] Response: {
  12927. "result": {
  12928. "client_id": "***",
  12929. "expire_time": 5395,
  12930. "password": "***",
  12931. "sink_topic": {
  12932. "device": "cloud/token/out/{device_id}"
  12933. },
  12934. "source_topic": {
  12935. "device": "cloud/token/in/f1abe062324d4eec205685521945f9f1"
  12936. },
  12937. "url": "ssl://m1.tuyaus.com:8883",
  12938. "username": "cloud_f1abe062324d4eec205685521945f9f1"
  12939. },
  12940. "success": true,
  12941. "t": 1644012006431
  12942. }
  12943. 2022-02-04 14:00:06 DEBUG (Thread-511) [tuya iot] connecting ssl://m1.tuyaus.com:8883
  12944. 2022-02-04 14:00:06 DEBUG (SyncWorker_3) [tuya iot] Response: {
  12945. "result": [
  12946. {
  12947. "active_time": 1642129199,
  12948. "biz_type": 18,
  12949. "category": "cz",
  12950. "create_time": 1633651254,
  12951. "icon": "smart/icon/1498529014_0.png",
  12952. "id": "0518502668c63aee2465",
  12953. "ip": "***",
  12954. "lat": "***",
  12955. "local_key": "***",
  12956. "lon": "***",
  12957. "model": "HYS-01-X5P-帆客",
  12958. "name": "Black Lava Lamp",
  12959. "online": true,
  12960. "owner_id": "11866790",
  12961. "product_id": "gpgdjdp2zvog8m0p",
  12962. "product_name": "Mini Smart Socket",
  12963. "status": [
  12964. {
  12965. "code": "switch_1",
  12966. "value": false
  12967. },
  12968. {
  12969. "code": "countdown_1",
  12970. "value": 0
  12971. }
  12972. ],
  12973. "sub": false,
  12974. "time_zone": "-08:00",
  12975. "uid": "***",
  12976. "update_time": 1643704238,
  12977. "uuid": "0518502668c63aee2465"
  12978. },
  12979. {
  12980. "active_time": 1625883466,
  12981. "biz_type": 18,
  12982. "category": "cz",
  12983. "create_time": 1625877313,
  12984. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  12985. "id": "177623502462ab3c8a02",
  12986. "ip": "***",
  12987. "lat": "***",
  12988. "local_key": "***",
  12989. "lon": "***",
  12990. "name": "Hanging Light",
  12991. "online": true,
  12992. "owner_id": "11866790",
  12993. "product_id": "AiHXxAyyn7eAkLQY",
  12994. "product_name": "Mini Smart Plug",
  12995. "status": [
  12996. {
  12997. "code": "switch_1",
  12998. "value": true
  12999. },
  13000. {
  13001. "code": "countdown_1",
  13002. "value": 0
  13003. }
  13004. ],
  13005. "sub": false,
  13006. "time_zone": "-08:00",
  13007. "uid": "***",
  13008. "update_time": 1639597496,
  13009. "uuid": "177623502462ab3c8a02"
  13010. },
  13011. {
  13012. "active_time": 1606362427,
  13013. "biz_type": 18,
  13014. "category": "cz",
  13015. "create_time": 1579662054,
  13016. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  13017. "id": "736388262462ab3cc045",
  13018. "ip": "***",
  13019. "lat": "***",
  13020. "local_key": "***",
  13021. "lon": "***",
  13022. "name": "Orange Lava Lamp",
  13023. "online": true,
  13024. "owner_id": "11866790",
  13025. "product_id": "AiHXxAyyn7eAkLQY",
  13026. "product_name": "Mini Smart Plug",
  13027. "status": [
  13028. {
  13029. "code": "switch_1",
  13030. "value": false
  13031. },
  13032. {
  13033. "code": "countdown_1",
  13034. "value": 0
  13035. }
  13036. ],
  13037. "sub": false,
  13038. "time_zone": "-08:00",
  13039. "uid": "***",
  13040. "update_time": 1639597476,
  13041. "uuid": "736388262462ab3cc045"
  13042. },
  13043. {
  13044. "active_time": 1576644608,
  13045. "biz_type": 18,
  13046. "category": "cz",
  13047. "create_time": 1576644608,
  13048. "icon": "smart/icon/1498529014_0.png",
  13049. "id": "40834308500291b2b6b7",
  13050. "ip": "***",
  13051. "lat": "***",
  13052. "local_key": "***",
  13053. "lon": "***",
  13054. "model": "HYS-X5-NEW",
  13055. "name": "Banana Light",
  13056. "online": true,
  13057. "owner_id": "11866790",
  13058. "product_id": "qoacsyyfbrbe3lm8",
  13059. "product_name": "Mini Smart Socket",
  13060. "status": [
  13061. {
  13062. "code": "switch_1",
  13063. "value": true
  13064. },
  13065. {
  13066. "code": "countdown_1",
  13067. "value": 0
  13068. }
  13069. ],
  13070. "sub": false,
  13071. "time_zone": "-08:00",
  13072. "uid": "***",
  13073. "update_time": 1639597286,
  13074. "uuid": "40834308500291b2b6b7"
  13075. },
  13076. {
  13077. "active_time": 1633650334,
  13078. "biz_type": 18,
  13079. "category": "cz",
  13080. "create_time": 1633650334,
  13081. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  13082. "id": "165054382cf432255c5f",
  13083. "ip": "***",
  13084. "lat": "***",
  13085. "local_key": "***",
  13086. "lon": "***",
  13087. "model": "HYS-01-X5P-S7",
  13088. "name": "Checkered Lava Lamp",
  13089. "online": true,
  13090. "owner_id": "11866790",
  13091. "product_id": "7i0er84cthlfv1mh",
  13092. "product_name": "Mini Smart Socket",
  13093. "status": [
  13094. {
  13095. "code": "switch_1",
  13096. "value": false
  13097. },
  13098. {
  13099. "code": "countdown_1",
  13100. "value": 0
  13101. }
  13102. ],
  13103. "sub": false,
  13104. "time_zone": "-08:00",
  13105. "uid": "***",
  13106. "update_time": 1639597032,
  13107. "uuid": "165054382cf432255c5f"
  13108. },
  13109. {
  13110. "active_time": 1606616090,
  13111. "biz_type": 18,
  13112. "category": "cz",
  13113. "create_time": 1579677410,
  13114. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  13115. "id": "736388262462ab3c521e",
  13116. "ip": "***",
  13117. "lat": "***",
  13118. "local_key": "***",
  13119. "lon": "***",
  13120. "name": "Blue Lava Lamp",
  13121. "online": true,
  13122. "owner_id": "11866790",
  13123. "product_id": "AiHXxAyyn7eAkLQY",
  13124. "product_name": "Mini Smart Plug",
  13125. "status": [
  13126. {
  13127. "code": "switch_1",
  13128. "value": false
  13129. },
  13130. {
  13131. "code": "countdown_1",
  13132. "value": 0
  13133. }
  13134. ],
  13135. "sub": false,
  13136. "time_zone": "-08:00",
  13137. "uid": "***",
  13138. "update_time": 1639596759,
  13139. "uuid": "736388262462ab3c521e"
  13140. },
  13141. {
  13142. "active_time": 1606362512,
  13143. "biz_type": 18,
  13144. "category": "cz",
  13145. "create_time": 1579776563,
  13146. "icon": "smart/icon/ay1519551146071pEnBd/2fae60091fd7cb600ea42b7f81c48d8f.png",
  13147. "id": "26300763f4cfa2022836",
  13148. "ip": "***",
  13149. "lat": "***",
  13150. "local_key": "***",
  13151. "lon": "***",
  13152. "model": "WP3-B美规10A(不带计量)/gosund",
  13153. "name": "Lemon Light",
  13154. "online": true,
  13155. "owner_id": "11866790",
  13156. "product_id": "AiHXxAyyn7eAkLQY",
  13157. "product_name": "Mini Smart Plug",
  13158. "status": [
  13159. {
  13160. "code": "switch_1",
  13161. "value": true
  13162. },
  13163. {
  13164. "code": "countdown_1",
  13165. "value": 0
  13166. }
  13167. ],
  13168. "sub": false,
  13169. "time_zone": "-08:00",
  13170. "uid": "***",
  13171. "update_time": 1639596674,
  13172. "uuid": "26300763f4cfa2022836"
  13173. },
  13174. {
  13175. "active_time": 1579313987,
  13176. "biz_type": 18,
  13177. "category": "cz",
  13178. "create_time": 1579313987,
  13179. "icon": "smart/icon/1498529014_0.png",
  13180. "id": "33360203c82b9602204e",
  13181. "ip": "***",
  13182. "lat": "***",
  13183. "local_key": "***",
  13184. "lon": "***",
  13185. "model": "HYS-X5-NEW",
  13186. "name": "Gold Lava Lamp",
  13187. "online": true,
  13188. "owner_id": "11866790",
  13189. "product_id": "qoacsyyfbrbe3lm8",
  13190. "product_name": "Mini Smart Socket",
  13191. "status": [
  13192. {
  13193. "code": "switch_1",
  13194. "value": false
  13195. },
  13196. {
  13197. "code": "countdown_1",
  13198. "value": 0
  13199. }
  13200. ],
  13201. "sub": false,
  13202. "time_zone": "-08:00",
  13203. "uid": "***",
  13204. "update_time": 1639596654,
  13205. "uuid": "33360203c82b9602204e"
  13206. },
  13207. {
  13208. "active_time": 1627023398,
  13209. "biz_type": 18,
  13210. "category": "jsq",
  13211. "create_time": 1627023398,
  13212. "icon": "smart/icon/ay1496289297888GkNKB/e37dc3d5bed7147b344e6eda5073f40e.jpg",
  13213. "id": "eb5a649a9f92cdb9ec1pq6",
  13214. "ip": "***",
  13215. "lat": "***",
  13216. "local_key": "***",
  13217. "lon": "***",
  13218. "name": "Smart Aroma Diffuser Two",
  13219. "online": true,
  13220. "owner_id": "11866790",
  13221. "product_id": "yodwo2ujgwbgjaio",
  13222. "product_name": "Smart Aroma Diffuser",
  13223. "status": [
  13224. {
  13225. "code": "switch",
  13226. "value": false
  13227. },
  13228. {
  13229. "code": "switch_led",
  13230. "value": false
  13231. }
  13232. ],
  13233. "sub": false,
  13234. "time_zone": "-07:00",
  13235. "uid": "***",
  13236. "update_time": 1639596592,
  13237. "uuid": "912153509b40b0b0"
  13238. },
  13239. {
  13240. "active_time": 1606362711,
  13241. "biz_type": 18,
  13242. "category": "cz",
  13243. "create_time": 1579232360,
  13244. "icon": "smart/icon/1498529014_0.png",
  13245. "id": "10812535bcddc2a8a191",
  13246. "ip": "***",
  13247. "lat": "***",
  13248. "local_key": "***",
  13249. "lon": "***",
  13250. "model": "HYS-X5-NEW",
  13251. "name": "Green",
  13252. "online": true,
  13253. "owner_id": "11866790",
  13254. "product_id": "qoacsyyfbrbe3lm8",
  13255. "product_name": "Mini Smart Socket",
  13256. "status": [
  13257. {
  13258. "code": "switch_1",
  13259. "value": false
  13260. },
  13261. {
  13262. "code": "countdown_1",
  13263. "value": 0
  13264. }
  13265. ],
  13266. "sub": false,
  13267. "time_zone": "-08:00",
  13268. "uid": "***",
  13269. "update_time": 1639596405,
  13270. "uuid": "10812535bcddc2a8a191"
  13271. },
  13272. {
  13273. "active_time": 1606614603,
  13274. "biz_type": 18,
  13275. "category": "cz",
  13276. "create_time": 1579236112,
  13277. "icon": "smart/icon/1498529014_0.png",
  13278. "id": "1081253568c63aee1cce",
  13279. "ip": "***",
  13280. "lat": "***",
  13281. "local_key": "***",
  13282. "lon": "***",
  13283. "model": "HYS-X5-NEW",
  13284. "name": "Red Glitter Lamp",
  13285. "online": true,
  13286. "owner_id": "11866790",
  13287. "product_id": "qoacsyyfbrbe3lm8",
  13288. "product_name": "Mini Smart Socket",
  13289. "status": [
  13290. {
  13291. "code": "switch_1",
  13292. "value": false
  13293. },
  13294. {
  13295. "code": "countdown_1",
  13296. "value": 0
  13297. }
  13298. ],
  13299. "sub": false,
  13300. "time_zone": "-08:00",
  13301. "uid": "***",
  13302. "update_time": 1639596069,
  13303. "uuid": "1081253568c63aee1cce"
  13304. },
  13305. {
  13306. "active_time": 1631693069,
  13307. "biz_type": 18,
  13308. "category": "cz",
  13309. "create_time": 1579232097,
  13310. "icon": "smart/icon/1498529014_0.png",
  13311. "id": "33360203c82b960217c9",
  13312. "ip": "***",
  13313. "lat": "***",
  13314. "local_key": "***",
  13315. "lon": "***",
  13316. "model": "HYS-X5-NEW",
  13317. "name": "Purple Lava Lamp",
  13318. "online": true,
  13319. "owner_id": "11866790",
  13320. "product_id": "qoacsyyfbrbe3lm8",
  13321. "product_name": "Mini Smart Socket",
  13322. "status": [
  13323. {
  13324. "code": "switch_1",
  13325. "value": false
  13326. },
  13327. {
  13328. "code": "countdown_1",
  13329. "value": 0
  13330. }
  13331. ],
  13332. "sub": false,
  13333. "time_zone": "-08:00",
  13334. "uid": "***",
  13335. "update_time": 1639595950,
  13336. "uuid": "33360203c82b960217c9"
  13337. },
  13338. {
  13339. "active_time": 1633651110,
  13340. "biz_type": 18,
  13341. "category": "cz",
  13342. "create_time": 1633651110,
  13343. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  13344. "id": "36837871bcddc23ccd0e",
  13345. "ip": "***",
  13346. "lat": "***",
  13347. "local_key": "***",
  13348. "lon": "***",
  13349. "model": "HYS-01-X5P-S7",
  13350. "name": "Pink Lava Lamp",
  13351. "online": true,
  13352. "owner_id": "11866790",
  13353. "product_id": "7i0er84cthlfv1mh",
  13354. "product_name": "Mini Smart Socket",
  13355. "status": [
  13356. {
  13357. "code": "switch_1",
  13358. "value": false
  13359. },
  13360. {
  13361. "code": "countdown_1",
  13362. "value": 0
  13363. }
  13364. ],
  13365. "sub": false,
  13366. "time_zone": "-08:00",
  13367. "uid": "***",
  13368. "update_time": 1639595720,
  13369. "uuid": "36837871bcddc23ccd0e"
  13370. },
  13371. {
  13372. "active_time": 1633649772,
  13373. "biz_type": 18,
  13374. "category": "cz",
  13375. "create_time": 1633649772,
  13376. "icon": "smart/icon/ay1488250737181CTA8y/847b2763d9cc2d6320ed9e77820f91e5.png",
  13377. "id": "16505438bcddc29c7d1c",
  13378. "ip": "***",
  13379. "lat": "***",
  13380. "local_key": "***",
  13381. "lon": "***",
  13382. "model": "HYS-01-X5P-S7",
  13383. "name": "Yellow Lava Lamp",
  13384. "online": true,
  13385. "owner_id": "11866790",
  13386. "product_id": "7i0er84cthlfv1mh",
  13387. "product_name": "Mini Smart Socket",
  13388. "status": [
  13389. {
  13390. "code": "switch_1",
  13391. "value": false
  13392. },
  13393. {
  13394. "code": "countdown_1",
  13395. "value": 0
  13396. }
  13397. ],
  13398. "sub": false,
  13399. "time_zone": "-08:00",
  13400. "uid": "***",
  13401. "update_time": 1639595373,
  13402. "uuid": "16505438bcddc29c7d1c"
  13403. }
  13404. ],
  13405. "success": true,
  13406. "t": 1644012006560
  13407. }
  13408. 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
  13409. 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13410. "result": {
  13411. "category": "cz",
  13412. "functions": [
  13413. {
  13414. "code": "switch_1",
  13415. "type": "Boolean",
  13416. "values": "{}"
  13417. },
  13418. {
  13419. "code": "countdown_1",
  13420. "type": "Integer",
  13421. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13422. }
  13423. ],
  13424. "status": [
  13425. {
  13426. "code": "switch_1",
  13427. "type": "Boolean",
  13428. "values": "{}"
  13429. },
  13430. {
  13431. "code": "countdown_1",
  13432. "type": "Integer",
  13433. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13434. }
  13435. ]
  13436. },
  13437. "success": true,
  13438. "t": 1644012007106
  13439. }
  13440. 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
  13441. 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'
  13442. 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_log: Received CONNACK (0, 0)
  13443. 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] connect flags->{'session present': 0}, rc->0
  13444. 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending SUBSCRIBE (d0, m1) [(b'cloud/token/in/f1abe062324d4eec205685521945f9f1', 0)]
  13445. 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_log: Received SUBACK
  13446. 2022-02-04 14:00:07 DEBUG (Thread-512) [tuya iot] _on_subscribe: 1
  13447. 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13448. "result": {
  13449. "category": "cz",
  13450. "functions": [
  13451. {
  13452. "code": "switch_1",
  13453. "type": "Boolean",
  13454. "values": "{}"
  13455. },
  13456. {
  13457. "code": "countdown_1",
  13458. "type": "Integer",
  13459. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13460. }
  13461. ],
  13462. "status": [
  13463. {
  13464. "code": "switch_1",
  13465. "type": "Boolean",
  13466. "values": "{}"
  13467. },
  13468. {
  13469. "code": "countdown_1",
  13470. "type": "Integer",
  13471. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13472. }
  13473. ]
  13474. },
  13475. "success": true,
  13476. "t": 1644012007496
  13477. }
  13478. 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
  13479. 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13480. "result": {
  13481. "category": "cz",
  13482. "functions": [
  13483. {
  13484. "code": "switch_1",
  13485. "type": "Boolean",
  13486. "values": "{}"
  13487. },
  13488. {
  13489. "code": "countdown_1",
  13490. "type": "Integer",
  13491. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13492. }
  13493. ],
  13494. "status": [
  13495. {
  13496. "code": "switch_1",
  13497. "type": "Boolean",
  13498. "values": "{}"
  13499. },
  13500. {
  13501. "code": "countdown_1",
  13502. "type": "Integer",
  13503. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13504. }
  13505. ]
  13506. },
  13507. "success": true,
  13508. "t": 1644012007642
  13509. }
  13510. 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
  13511. 2022-02-04 14:00:07 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13512. "result": {
  13513. "category": "cz",
  13514. "functions": [
  13515. {
  13516. "code": "switch_1",
  13517. "type": "Boolean",
  13518. "values": "{}"
  13519. },
  13520. {
  13521. "code": "countdown_1",
  13522. "type": "Integer",
  13523. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13524. }
  13525. ],
  13526. "status": [
  13527. {
  13528. "code": "switch_1",
  13529. "type": "Boolean",
  13530. "values": "{}"
  13531. },
  13532. {
  13533. "code": "countdown_1",
  13534. "type": "Integer",
  13535. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13536. }
  13537. ]
  13538. },
  13539. "success": true,
  13540. "t": 1644012007964
  13541. }
  13542. 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
  13543. 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13544. "result": {
  13545. "category": "cz",
  13546. "functions": [
  13547. {
  13548. "code": "switch_1",
  13549. "type": "Boolean",
  13550. "values": "{}"
  13551. },
  13552. {
  13553. "code": "countdown_1",
  13554. "type": "Integer",
  13555. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13556. }
  13557. ],
  13558. "status": [
  13559. {
  13560. "code": "switch_1",
  13561. "type": "Boolean",
  13562. "values": "{}"
  13563. },
  13564. {
  13565. "code": "countdown_1",
  13566. "type": "Integer",
  13567. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13568. }
  13569. ]
  13570. },
  13571. "success": true,
  13572. "t": 1644012008136
  13573. }
  13574. 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
  13575. 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13576. "result": {
  13577. "category": "cz",
  13578. "functions": [
  13579. {
  13580. "code": "switch_1",
  13581. "type": "Boolean",
  13582. "values": "{}"
  13583. },
  13584. {
  13585. "code": "countdown_1",
  13586. "type": "Integer",
  13587. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13588. }
  13589. ],
  13590. "status": [
  13591. {
  13592. "code": "switch_1",
  13593. "type": "Boolean",
  13594. "values": "{}"
  13595. },
  13596. {
  13597. "code": "countdown_1",
  13598. "type": "Integer",
  13599. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13600. }
  13601. ]
  13602. },
  13603. "success": true,
  13604. "t": 1644012008331
  13605. }
  13606. 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
  13607. 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13608. "result": {
  13609. "category": "cz",
  13610. "functions": [
  13611. {
  13612. "code": "switch_1",
  13613. "type": "Boolean",
  13614. "values": "{}"
  13615. },
  13616. {
  13617. "code": "countdown_1",
  13618. "type": "Integer",
  13619. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13620. }
  13621. ],
  13622. "status": [
  13623. {
  13624. "code": "switch_1",
  13625. "type": "Boolean",
  13626. "values": "{}"
  13627. },
  13628. {
  13629. "code": "countdown_1",
  13630. "type": "Integer",
  13631. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13632. }
  13633. ]
  13634. },
  13635. "success": true,
  13636. "t": 1644012008487
  13637. }
  13638. 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
  13639. 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13640. "result": {
  13641. "category": "cz",
  13642. "functions": [
  13643. {
  13644. "code": "switch_1",
  13645. "type": "Boolean",
  13646. "values": "{}"
  13647. },
  13648. {
  13649. "code": "countdown_1",
  13650. "type": "Integer",
  13651. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13652. }
  13653. ],
  13654. "status": [
  13655. {
  13656. "code": "switch_1",
  13657. "type": "Boolean",
  13658. "values": "{}"
  13659. },
  13660. {
  13661. "code": "countdown_1",
  13662. "type": "Integer",
  13663. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13664. }
  13665. ]
  13666. },
  13667. "success": true,
  13668. "t": 1644012008708
  13669. }
  13670. 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
  13671. 2022-02-04 14:00:08 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13672. "result": {
  13673. "category": "jsq",
  13674. "functions": [
  13675. {
  13676. "code": "switch",
  13677. "type": "Boolean",
  13678. "values": "{}"
  13679. },
  13680. {
  13681. "code": "switch_led",
  13682. "type": "Boolean",
  13683. "values": "{}"
  13684. }
  13685. ],
  13686. "status": [
  13687. {
  13688. "code": "switch",
  13689. "type": "Boolean",
  13690. "values": "{}"
  13691. },
  13692. {
  13693. "code": "switch_led",
  13694. "type": "Boolean",
  13695. "values": "{}"
  13696. }
  13697. ]
  13698. },
  13699. "success": true,
  13700. "t": 1644012008885
  13701. }
  13702. 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
  13703. 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13704. "result": {
  13705. "category": "cz",
  13706. "functions": [
  13707. {
  13708. "code": "switch_1",
  13709. "type": "Boolean",
  13710. "values": "{}"
  13711. },
  13712. {
  13713. "code": "countdown_1",
  13714. "type": "Integer",
  13715. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13716. }
  13717. ],
  13718. "status": [
  13719. {
  13720. "code": "switch_1",
  13721. "type": "Boolean",
  13722. "values": "{}"
  13723. },
  13724. {
  13725. "code": "countdown_1",
  13726. "type": "Integer",
  13727. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13728. }
  13729. ]
  13730. },
  13731. "success": true,
  13732. "t": 1644012009048
  13733. }
  13734. 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
  13735. 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13736. "result": {
  13737. "category": "cz",
  13738. "functions": [
  13739. {
  13740. "code": "switch_1",
  13741. "type": "Boolean",
  13742. "values": "{}"
  13743. },
  13744. {
  13745. "code": "countdown_1",
  13746. "type": "Integer",
  13747. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13748. }
  13749. ],
  13750. "status": [
  13751. {
  13752. "code": "switch_1",
  13753. "type": "Boolean",
  13754. "values": "{}"
  13755. },
  13756. {
  13757. "code": "countdown_1",
  13758. "type": "Integer",
  13759. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13760. }
  13761. ]
  13762. },
  13763. "success": true,
  13764. "t": 1644012009256
  13765. }
  13766. 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
  13767. 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13768. "result": {
  13769. "category": "cz",
  13770. "functions": [
  13771. {
  13772. "code": "switch_1",
  13773. "type": "Boolean",
  13774. "values": "{}"
  13775. },
  13776. {
  13777. "code": "countdown_1",
  13778. "type": "Integer",
  13779. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13780. }
  13781. ],
  13782. "status": [
  13783. {
  13784. "code": "switch_1",
  13785. "type": "Boolean",
  13786. "values": "{}"
  13787. },
  13788. {
  13789. "code": "countdown_1",
  13790. "type": "Integer",
  13791. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13792. }
  13793. ]
  13794. },
  13795. "success": true,
  13796. "t": 1644012009415
  13797. }
  13798. 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
  13799. 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13800. "result": {
  13801. "category": "cz",
  13802. "functions": [
  13803. {
  13804. "code": "switch_1",
  13805. "type": "Boolean",
  13806. "values": "{}"
  13807. },
  13808. {
  13809. "code": "countdown_1",
  13810. "type": "Integer",
  13811. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13812. }
  13813. ],
  13814. "status": [
  13815. {
  13816. "code": "switch_1",
  13817. "type": "Boolean",
  13818. "values": "{}"
  13819. },
  13820. {
  13821. "code": "countdown_1",
  13822. "type": "Integer",
  13823. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13824. }
  13825. ]
  13826. },
  13827. "success": true,
  13828. "t": 1644012009524
  13829. }
  13830. 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
  13831. 2022-02-04 14:00:09 DEBUG (SyncWorker_3) [tuya iot] Response: {
  13832. "result": {
  13833. "category": "cz",
  13834. "functions": [
  13835. {
  13836. "code": "switch_1",
  13837. "type": "Boolean",
  13838. "values": "{}"
  13839. },
  13840. {
  13841. "code": "countdown_1",
  13842. "type": "Integer",
  13843. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13844. }
  13845. ],
  13846. "status": [
  13847. {
  13848. "code": "switch_1",
  13849. "type": "Boolean",
  13850. "values": "{}"
  13851. },
  13852. {
  13853. "code": "countdown_1",
  13854. "type": "Integer",
  13855. "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
  13856. }
  13857. ]
  13858. },
  13859. "success": true,
  13860. "t": 1644012009716
  13861. }
  13862. 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']
  13863. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor init
  13864. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.binary_sensor] binary sensor add->[]
  13865. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate init
  13866. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.climate] climate add-> []
  13867. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover init
  13868. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.cover] cover add-> []
  13869. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan init
  13870. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.fan] fan add-> []
  13871. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier init
  13872. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.humidifier] humidifier add-> ['eb5a649a9f92cdb9ec1pq6']
  13873. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light init
  13874. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.light] light add-> ['eb5a649a9f92cdb9ec1pq6']
  13875. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number init
  13876. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.number] number add-> []
  13877. 2022-02-04 14:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select init
  13878. 2022-02-04 14:00:09 INFO (MainThread) [custom_components.tuya_v2.select] select add-> []
  13879. 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
  13880. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.sensor] sensor init
  13881. 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']
  13882. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.switch] switch init
  13883. 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']
  13884. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum init
  13885. 2022-02-04 14:00:09 DEBUG (MainThread) [custom_components.tuya_v2.vacuum] vacuum add -> []
  13886. 2022-02-04 14:00:10 DEBUG (SyncWorker_1) [tuya iot] Response: {
  13887. "result": [
  13888. {
  13889. "geo_name": "",
  13890. "home_id": 11866790,
  13891. "lat": "***",
  13892. "lon": "***",
  13893. "name": "My Home ..",
  13894. "role": "OWNER"
  13895. }
  13896. ],
  13897. "success": true,
  13898. "t": 1644012010145
  13899. }
  13900. 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
  13901. 2022-02-04 14:00:10 DEBUG (SyncWorker_1) [tuya iot] Response: {
  13902. "result": [],
  13903. "success": true,
  13904. "t": 1644012010678
  13905. }
  13906. 2022-02-04 14:00:11 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13907. 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13908. 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13909. 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13910. 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13911. 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13912. 2022-02-04 14:00:12 WARNING (MainThread) [homeassistant.components.rest_command] Timeout call http://192.168.1.205:6100/v1/lifx/command
  13913. 2022-02-04 14:00:31 ERROR (MainThread) [custom_components.mail_and_packages] Timeout fetching Mail and Packages (imap.gmail.com) data
  13914. 2022-02-04 14:01:06 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13915. 2022-02-04 14:01:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13916. 2022-02-04 14:01:43 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13917. 2022-02-04 14:01:58 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13918. 2022-02-04 14:02:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13919. 2022-02-04 14:02:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13920. 2022-02-04 14:03:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13921. 2022-02-04 14:03:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13922. 2022-02-04 14:04:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13923. 2022-02-04 14:04:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13924. 2022-02-04 14:04:34 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13925. 2022-02-04 14:05:00 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13926. 2022-02-04 14:05:07 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13927. 2022-02-04 14:05:07 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13928. 2022-02-04 14:05:24 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13929. 2022-02-04 14:05:49 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13930. 2022-02-04 14:05:58 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 123321
  13931. 2022-02-04 14:06:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13932. 2022-02-04 14:06:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13933. 2022-02-04 14:06:25 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13934. 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  13935. 2022-02-04 14:06:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  13936. 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "101083", "fps": "24", "n'
  13937. 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda
  13938. 2022-02-04 14:06:48 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 00a6d874ca4ffb6df142770551efa415f5e2001d773b0de12aaa9ca4a4969fda from 192.168.1.205
  13939. 2022-02-04 14:06:48 DEBUG (MainThread) [homeassistant.components.webhook] b'{"src": "hass-motioneye", "threshold": "101083", "fps": "24", "n'
  13940. 2022-02-04 14:07:04 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13941. 2022-02-04 14:07:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13942. 2022-02-04 14:07:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13943. 2022-02-04 14:08:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13944. 2022-02-04 14:08:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13945. 2022-02-04 14:09:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13946. 2022-02-04 14:09:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13947. 2022-02-04 14:10:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13948. 2022-02-04 14:10:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13949. 2022-02-04 14:11:08 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13950. 2022-02-04 14:11:08 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13951. 2022-02-04 14:12:09 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13952. 2022-02-04 14:12:09 DEBUG (Thread-512) [tuya iot] _on_log: Received PINGRESP
  13953. 2022-02-04 14:12:27 DEBUG (MainThread) [homeassistant.components.webhook] Handling webhook POST payload for c805219edb8aef34c3397effc7f5b5e268613c46eee6ad3a51a2f90c34fdd021
  13954. 2022-02-04 14:14:17 DEBUG (Thread-512) [tuya iot] _on_log: Sending PINGREQ
  13955. 2022-02-04 14:22:05 WARNING (Thread-6) [homeassistant.components.mqtt] Disconnected from MQTT server core-mosquitto:1883 (16)
  13956. 2022-02-04 14:21:20 ERROR (Thread-512) [tuya iot] Unexpected disconnection.7
  13957. 2022-02-04 14:24:39 WARNING (Thread-6) [homeassistant.components.mqtt] Disconnected from MQTT server core-mosquitto:1883 (16)
  13958. 2022-02-04 14:25:47 DEBUG (Thread-512) [tuya iot] _on_log: Connection failed, retrying
  13959. 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'
  13960. 2022-02-04 14:42:13 DEBUG (Thread-512) [tuya iot] _on_log: Connection failed, retrying
  13961. 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
  13962.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement