Advertisement
Guest User

diyHue light detection issue #2

a guest
Nov 16th, 2019
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.97 KB | None | 0 0
  1. 7d8c0d813cbb9e177170a46bbf3660e195e598fd99dbc62c643b417d047f7cf8
  2. 2019-11-16 16:19:08,701 - urllib3.connectionpool - DEBUG - https://raw.githubusercontent.com:443 "GET /diyHue/diyHue/master/BridgeEmulator/default-config.json HTTP/1.1" 200 4179
  3. Config downloaded
  4. Docker Setup Complete
  5. 2019-11-16 16:19:08,730 - root - INFO - IP range for light discovery: 0-255
  6. 2019-11-16 16:19:08,730 - root - INFO - 127.0.0.1
  7. 2019-11-16 16:19:08,730 - root - INFO - Online Discovery/Remote API Enabled!
  8. 2019-11-16 16:19:08,730 - root - INFO - Config loaded
  9. 2019-11-16 16:19:08,731 - root - DEBUG - starting ssdp...
  10. 2019-11-16 16:19:08,731 - root - DEBUG - start ssdp broadcast
  11. 2019-11-16 16:19:08,731 - root - INFO - sync with lights
  12. 2019-11-16 16:19:08,734 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  13. 2019-11-16 16:19:08,734 - root - INFO - Starting httpd...
  14. 2019-11-16 16:19:08,735 - root - INFO - Starting ssl httpd...
  15. 2019-11-16 16:19:09,491 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  16. {"ok"}
  17. 2019-11-16 16:19:39,515 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  18. 2019-11-16 16:19:39,871 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  19.  
  20. 172.17.0.1 - - [16/Nov/2019 16:20:02] "GET /api/nouser/config HTTP/1.1" 200 -
  21. 172.17.0.1 - - [16/Nov/2019 16:20:02] "GET /api/nouser/config HTTP/1.1" 200 -
  22. 172.17.0.1 - - [16/Nov/2019 16:20:02] "POST /api/ HTTP/1.1" 200 -
  23. 2019-11-16 16:20:02,548 - root - INFO - in post method
  24. 2019-11-16 16:20:02,548 - root - INFO - /api/
  25. 2019-11-16 16:20:02,549 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  26. 172.17.0.1 - - [16/Nov/2019 16:20:03] "POST /api/ HTTP/1.1" 200 -
  27. 2019-11-16 16:20:03,585 - root - INFO - in post method
  28. 2019-11-16 16:20:03,586 - root - INFO - /api/
  29. 2019-11-16 16:20:03,586 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  30. 172.17.0.1 - - [16/Nov/2019 16:20:04] "POST /api/ HTTP/1.1" 200 -
  31. 2019-11-16 16:20:04,557 - root - INFO - in post method
  32. 2019-11-16 16:20:04,557 - root - INFO - /api/
  33. 2019-11-16 16:20:04,557 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  34. 172.17.0.1 - - [16/Nov/2019 16:20:05] "POST /api/ HTTP/1.1" 200 -
  35. 2019-11-16 16:20:05,539 - root - INFO - in post method
  36. 2019-11-16 16:20:05,539 - root - INFO - /api/
  37. 2019-11-16 16:20:05,539 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  38. 172.17.0.1 - - [16/Nov/2019 16:20:06] "POST /api/ HTTP/1.1" 200 -
  39. 2019-11-16 16:20:06,558 - root - INFO - in post method
  40. 2019-11-16 16:20:06,558 - root - INFO - /api/
  41. 2019-11-16 16:20:06,558 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  42. 172.17.0.1 - - [16/Nov/2019 16:20:07] "POST /api/ HTTP/1.1" 200 -
  43. 2019-11-16 16:20:07,544 - root - INFO - in post method
  44. 2019-11-16 16:20:07,544 - root - INFO - /api/
  45. 2019-11-16 16:20:07,544 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  46. 172.17.0.1 - - [16/Nov/2019 16:20:08] "POST /api/ HTTP/1.1" 200 -
  47. 2019-11-16 16:20:08,542 - root - INFO - in post method
  48. 2019-11-16 16:20:08,542 - root - INFO - /api/
  49. 2019-11-16 16:20:08,542 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  50. 172.17.0.1 - - [16/Nov/2019 16:20:09] "POST /api/ HTTP/1.1" 200 -
  51. 2019-11-16 16:20:09,580 - root - INFO - in post method
  52. 2019-11-16 16:20:09,580 - root - INFO - /api/
  53. 2019-11-16 16:20:09,580 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  54. 2019-11-16 16:20:09,891 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  55. 172.17.0.1 - - [16/Nov/2019 16:20:10] "POST /api/ HTTP/1.1" 200 -
  56. 2019-11-16 16:20:10,565 - root - INFO - in post method
  57. 2019-11-16 16:20:10,565 - root - INFO - /api/
  58. 2019-11-16 16:20:10,565 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  59. 2019-11-16 16:20:10,626 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  60. {"ok"}
  61. 172.17.0.1 - - [16/Nov/2019 16:20:11] "POST /api/ HTTP/1.1" 200 -
  62. 2019-11-16 16:20:11,577 - root - INFO - in post method
  63. 2019-11-16 16:20:11,577 - root - INFO - /api/
  64. 2019-11-16 16:20:11,577 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  65. 2019-11-16 16:20:12,594 - root - INFO - in post method
  66. 2019-11-16 16:20:12,595 - root - INFO - /api/
  67. 2019-11-16 16:20:12,595 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  68. 172.17.0.1 - - [16/Nov/2019 16:20:12] "POST /api/ HTTP/1.1" 200 -
  69. 172.17.0.1 - - [16/Nov/2019 16:20:13] "POST /api/ HTTP/1.1" 200 -
  70. 2019-11-16 16:20:13,603 - root - INFO - in post method
  71. 2019-11-16 16:20:13,603 - root - INFO - /api/
  72. 2019-11-16 16:20:13,603 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  73. 172.17.0.1 - - [16/Nov/2019 16:20:14] "POST /api/ HTTP/1.1" 200 -
  74. 2019-11-16 16:20:14,594 - root - INFO - in post method
  75. 2019-11-16 16:20:14,595 - root - INFO - /api/
  76. 2019-11-16 16:20:14,595 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  77. 172.17.0.1 - - [16/Nov/2019 16:20:15] "POST /api/ HTTP/1.1" 200 -
  78. 2019-11-16 16:20:15,601 - root - INFO - in post method
  79. 2019-11-16 16:20:15,601 - root - INFO - /api/
  80. 2019-11-16 16:20:15,601 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  81. 172.17.0.1 - - [16/Nov/2019 16:20:16] "POST /api/ HTTP/1.1" 200 -
  82. 2019-11-16 16:20:16,600 - root - INFO - in post method
  83. 2019-11-16 16:20:16,600 - root - INFO - /api/
  84. 2019-11-16 16:20:16,600 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  85. 172.17.0.1 - - [16/Nov/2019 16:20:17] "POST /api/ HTTP/1.1" 200 -
  86. 2019-11-16 16:20:17,603 - root - INFO - in post method
  87. 2019-11-16 16:20:17,603 - root - INFO - /api/
  88. 2019-11-16 16:20:17,603 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  89. 172.17.0.1 - - [16/Nov/2019 16:20:18] "POST /api/ HTTP/1.1" 200 -
  90. 2019-11-16 16:20:18,607 - root - INFO - in post method
  91. 2019-11-16 16:20:18,608 - root - INFO - /api/
  92. 2019-11-16 16:20:18,608 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  93. 172.17.0.1 - - [16/Nov/2019 16:20:19] "POST /api/ HTTP/1.1" 200 -
  94. 2019-11-16 16:20:19,621 - root - INFO - in post method
  95. 2019-11-16 16:20:19,621 - root - INFO - /api/
  96. 2019-11-16 16:20:19,622 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  97. 172.17.0.1 - - [16/Nov/2019 16:20:20] "POST /api/ HTTP/1.1" 200 -
  98. 2019-11-16 16:20:20,601 - root - INFO - in post method
  99. 2019-11-16 16:20:20,601 - root - INFO - /api/
  100. 2019-11-16 16:20:20,601 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  101. 172.17.0.1 - - [16/Nov/2019 16:20:21] "POST /api/ HTTP/1.1" 200 -
  102. 2019-11-16 16:20:21,619 - root - INFO - in post method
  103. 2019-11-16 16:20:21,619 - root - INFO - /api/
  104. 2019-11-16 16:20:21,620 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  105. 172.17.0.1 - - [16/Nov/2019 16:20:22] "POST /api/ HTTP/1.1" 200 -
  106. 2019-11-16 16:20:22,610 - root - INFO - in post method
  107. 2019-11-16 16:20:22,610 - root - INFO - /api/
  108. 2019-11-16 16:20:22,610 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  109. 172.17.0.1 - - [16/Nov/2019 16:20:23] "POST /api/ HTTP/1.1" 200 -
  110. 2019-11-16 16:20:23,590 - root - INFO - in post method
  111. 2019-11-16 16:20:23,590 - root - INFO - /api/
  112. 2019-11-16 16:20:23,590 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  113. 172.17.0.1 - - [16/Nov/2019 16:20:24] "POST /api/ HTTP/1.1" 200 -
  114. 2019-11-16 16:20:24,640 - root - INFO - in post method
  115. 2019-11-16 16:20:24,640 - root - INFO - /api/
  116. 2019-11-16 16:20:24,640 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  117. 172.17.0.1 - - [16/Nov/2019 16:20:25] "POST /api/ HTTP/1.1" 200 -
  118. 2019-11-16 16:20:25,624 - root - INFO - in post method
  119. 2019-11-16 16:20:25,624 - root - INFO - /api/
  120. 2019-11-16 16:20:25,624 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  121. 172.17.0.1 - - [16/Nov/2019 16:20:26] "POST /api/ HTTP/1.1" 200 -
  122. 2019-11-16 16:20:26,632 - root - INFO - in post method
  123. 2019-11-16 16:20:26,632 - root - INFO - /api/
  124. 2019-11-16 16:20:26,632 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  125. 172.17.0.1 - - [16/Nov/2019 16:20:27] "POST /api/ HTTP/1.1" 200 -
  126. 2019-11-16 16:20:27,632 - root - INFO - in post method
  127. 2019-11-16 16:20:27,632 - root - INFO - /api/
  128. 2019-11-16 16:20:27,632 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  129. 172.17.0.1 - - [16/Nov/2019 16:20:28] "POST /api/ HTTP/1.1" 200 -
  130. 2019-11-16 16:20:28,631 - root - INFO - in post method
  131. 2019-11-16 16:20:28,631 - root - INFO - /api/
  132. 2019-11-16 16:20:28,631 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  133. 172.17.0.1 - - [16/Nov/2019 16:20:29] "POST /api/ HTTP/1.1" 200 -
  134. 2019-11-16 16:20:29,639 - root - INFO - in post method
  135. 2019-11-16 16:20:29,640 - root - INFO - /api/
  136. 2019-11-16 16:20:29,640 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  137. 172.17.0.1 - - [16/Nov/2019 16:20:30] "POST /api/ HTTP/1.1" 200 -
  138. 2019-11-16 16:20:30,642 - root - INFO - in post method
  139. 2019-11-16 16:20:30,642 - root - INFO - /api/
  140. 2019-11-16 16:20:30,643 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  141. 172.17.0.1 - - [16/Nov/2019 16:20:31] "POST /api/ HTTP/1.1" 200 -
  142. 2019-11-16 16:20:31,632 - root - INFO - in post method
  143. 2019-11-16 16:20:31,632 - root - INFO - /api/
  144. 2019-11-16 16:20:31,632 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  145. 172.17.0.1 - - [16/Nov/2019 16:20:32] "POST /api/ HTTP/1.1" 200 -
  146. 2019-11-16 16:20:32,626 - root - INFO - in post method
  147. 2019-11-16 16:20:32,626 - root - INFO - /api/
  148. 2019-11-16 16:20:32,627 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  149. 172.17.0.1 - - [16/Nov/2019 16:20:32] "GET /hue/linkbutton?username=Hue&password=Hue&action=Activate HTTP/1.1" 401 -
  150. 172.17.0.1 - - [16/Nov/2019 16:20:33] "POST /api/ HTTP/1.1" 200 -
  151. 2019-11-16 16:20:33,640 - root - INFO - in post method
  152. 2019-11-16 16:20:33,640 - root - INFO - /api/
  153. 2019-11-16 16:20:33,640 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  154. 172.17.0.1 - - [16/Nov/2019 16:20:34] "GET /hue/linkbutton?username=Hue&password=Hue&action=Activate HTTP/1.1" 200 -
  155. 172.17.0.1 - - [16/Nov/2019 16:20:34] code 404, message not found
  156. 172.17.0.1 - - [16/Nov/2019 16:20:34] "GET /favicon.ico HTTP/1.1" 404 -
  157. 172.17.0.1 - - [16/Nov/2019 16:20:34] "POST /api/ HTTP/1.1" 200 -
  158. 2019-11-16 16:20:34,642 - root - INFO - in post method
  159. 2019-11-16 16:20:34,642 - root - INFO - /api/
  160. 2019-11-16 16:20:34,642 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
  161. 2019-11-16 16:20:34,643 - root - INFO - [
  162. {
  163. "success": {
  164. "clientkey": "321c0c2ebfa7361e55491095b2f5f9db",
  165. "username": "047554d8088d11ea8fa10242ac110002"
  166. }
  167. }
  168. ]
  169. 172.17.0.1 - - [16/Nov/2019 16:20:34] "GET /api/047554d8088d11ea8fa10242ac110002 HTTP/1.1" 200 -
  170. 172.17.0.1 - - [16/Nov/2019 16:20:34] "PUT /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
  171. 2019-11-16 16:20:34,988 - root - INFO - in PUT method
  172. 2019-11-16 16:20:34,988 - root - INFO - /api/047554d8088d11ea8fa10242ac110002/config
  173. 2019-11-16 16:20:34,988 - root - INFO - b'{"swupdate2":{"autoinstall":{"on":true}}}'
  174. 2019-11-16 16:20:34,989 - root - INFO - [
  175. {
  176. "success": {
  177. "/config/swupdate2": {
  178. "autoinstall": {
  179. "on": true
  180. }
  181. }
  182. }
  183. }
  184. ]
  185. 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
  186. 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002 HTTP/1.1" 200 -
  187. 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  188. 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  189. 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  190. 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  191. 2019-11-16 16:20:35,823 - root - INFO - sync with lights
  192. 172.17.0.1 - - [16/Nov/2019 16:20:36] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  193. 172.17.0.1 - - [16/Nov/2019 16:20:36] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  194. 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  195. 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  196. 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  197. 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  198. 172.17.0.1 - - [16/Nov/2019 16:20:38] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  199. 172.17.0.1 - - [16/Nov/2019 16:20:38] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  200. 2019-11-16 16:20:40,658 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  201. 2019-11-16 16:20:41,066 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  202.  
  203. 172.17.0.1 - - [16/Nov/2019 16:20:45] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
  204. 2019-11-16 16:20:46,832 - root - INFO - sync with lights
  205. 172.17.0.1 - - [16/Nov/2019 16:20:46] "POST /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  206. 2019-11-16 16:20:46,923 - root - INFO - in post method
  207. 2019-11-16 16:20:46,923 - root - INFO - /api/047554d8088d11ea8fa10242ac110002/lights
  208. 2019-11-16 16:20:46,923 - root - INFO - b'{}'
  209. 2019-11-16 16:20:46,924 - root - DEBUG - tasmota: <discover> invoked!
  210. 2019-11-16 16:20:46,924 - root - DEBUG - ESPHome: <discover> invoked!
  211. 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  212. 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  213. 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  214. 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  215. 172.17.0.1 - - [16/Nov/2019 16:20:48] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  216. 172.17.0.1 - - [16/Nov/2019 16:20:48] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  217. 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  218. 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  219. 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  220. 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  221. 2019-11-16 16:20:49,925 - root - DEBUG - Yeelight search end
  222. 172.17.0.1 - - [16/Nov/2019 16:20:50] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  223. 172.17.0.1 - - [16/Nov/2019 16:20:50] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  224. 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  225. 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  226. 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  227. 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  228. 2019-11-16 16:20:52,051 - root - INFO - [
  229. "192.168.1.1:80"
  230. ]
  231. --- Logging error ---
  232. Traceback (most recent call last):
  233. File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
  234. msg = self.format(record)
  235. File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
  236. return fmt.format(record)
  237. File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
  238. record.message = record.getMessage()
  239. File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
  240. msg = msg % self.args
  241. TypeError: not all arguments converted during string formatting
  242. Call stack:
  243. File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
  244. self._bootstrap_inner()
  245. File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
  246. self.run()
  247. File "/usr/lib/python3.7/threading.py", line 865, in run
  248. self._target(*self._args, **self._kwargs)
  249. File "/opt/hue-emulator/HueEmulator3.py", line 716, in scan_for_lights
  250. logging.debug('devs', device_ips)
  251. Message: 'devs'
  252. Arguments: (['192.168.1.1:80'],)
  253. 2019-11-16 16:20:52,053 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.1:80
  254. 2019-11-16 16:20:52,060 - urllib3.connectionpool - DEBUG - http://192.168.1.1:80 "GET /detect HTTP/1.1" 404 None
  255. 2019-11-16 16:20:52,061 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8080
  256. 2019-11-16 16:20:52,062 - root - INFO - registration fail, is the link button pressed?
  257. 2019-11-16 16:20:52,329 - root - DEBUG - tasmota: probing ip 172.17.0.1
  258. 2019-11-16 16:20:52,330 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
  259. 172.17.0.1 - - [16/Nov/2019 16:20:52] code 404, message not found
  260. 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /cm?cmnd=Status%200 HTTP/1.1" 404 -
  261. 2019-11-16 16:20:52,331 - urllib3.connectionpool - DEBUG - http://172.17.0.1:80 "GET /cm?cmnd=Status%200 HTTP/1.1" 404 447
  262. 2019-11-16 16:20:52,369 - root - DEBUG - ESPHome: probing ip 172.17.0.1
  263. 2019-11-16 16:20:52,369 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
  264. 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /text_sensor/light_id HTTP/1.1" 200 -
  265. 2019-11-16 16:20:52,372 - urllib3.connectionpool - DEBUG - http://172.17.0.1:80 "GET /text_sensor/light_id HTTP/1.1" 200 90
  266. 2019-11-16 16:20:52,372 - root - DEBUG - ESPHome: ip 172.17.0.1 is unknown device, list indices must be integers or slices, not str
  267. 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  268. 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  269. 172.17.0.1 - - [16/Nov/2019 16:20:53] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  270. 172.17.0.1 - - [16/Nov/2019 16:20:53] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  271. 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  272. 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  273. 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
  274. 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  275. 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  276. 172.17.0.1 - - [16/Nov/2019 16:20:57] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  277. 172.17.0.1 - - [16/Nov/2019 16:20:57] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  278. 2019-11-16 16:20:58,845 - root - INFO - sync with lights
  279. 172.17.0.1 - - [16/Nov/2019 16:20:59] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  280. 172.17.0.1 - - [16/Nov/2019 16:20:59] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  281. 172.17.0.1 - - [16/Nov/2019 16:21:02] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  282. 172.17.0.1 - - [16/Nov/2019 16:21:02] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  283. 172.17.0.1 - - [16/Nov/2019 16:21:03] "POST /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  284. 2019-11-16 16:21:03,962 - root - INFO - in post method
  285. 2019-11-16 16:21:03,963 - root - INFO - /api/047554d8088d11ea8fa10242ac110002/lights
  286. 2019-11-16 16:21:03,963 - root - INFO - b'{}'
  287. 2019-11-16 16:21:03,963 - root - DEBUG - tasmota: <discover> invoked!
  288. 2019-11-16 16:21:03,965 - root - DEBUG - ESPHome: <discover> invoked!
  289. 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  290. 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  291. 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  292. 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  293. 172.17.0.1 - - [16/Nov/2019 16:21:05] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  294. 172.17.0.1 - - [16/Nov/2019 16:21:05] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  295. 172.17.0.1 - - [16/Nov/2019 16:21:05] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
  296. 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  297. 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  298. 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  299. 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  300. 2019-11-16 16:21:06,965 - root - DEBUG - Yeelight search end
  301. 172.17.0.1 - - [16/Nov/2019 16:21:07] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  302. 172.17.0.1 - - [16/Nov/2019 16:21:07] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  303. 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  304. 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  305. 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  306. 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  307. --- Logging error ---
  308. 2019-11-16 16:21:09,077 - root - INFO - [
  309. "192.168.1.1:80",
  310. "192.168.1.28:80"
  311. ]
  312. Traceback (most recent call last):
  313. File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
  314. msg = self.format(record)
  315. File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
  316. return fmt.format(record)
  317. File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
  318. record.message = record.getMessage()
  319. File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
  320. msg = msg % self.args
  321. TypeError: not all arguments converted during string formatting
  322. Call stack:
  323. File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
  324. self._bootstrap_inner()
  325. File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
  326. self.run()
  327. File "/usr/lib/python3.7/threading.py", line 865, in run
  328. self._target(*self._args, **self._kwargs)
  329. File "/opt/hue-emulator/HueEmulator3.py", line 716, in scan_for_lights
  330. logging.debug('devs', device_ips)
  331. Message: 'devs'
  332. Arguments: (['192.168.1.1:80', '192.168.1.28:80'],)
  333. 2019-11-16 16:21:09,079 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.1:80
  334. 2019-11-16 16:21:09,086 - urllib3.connectionpool - DEBUG - http://192.168.1.1:80 "GET /detect HTTP/1.1" 404 None
  335. 2019-11-16 16:21:09,087 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.28:80
  336. 2019-11-16 16:21:09,168 - urllib3.connectionpool - DEBUG - http://192.168.1.28:80 "GET /detect HTTP/1.1" 200 141
  337. 2019-11-16 16:21:09,213 - root - INFO - {
  338. "lights": 1,
  339. "mac": "CC:50:E3:3B:FD:77",
  340. "modelid": "LST002",
  341. "name": "My WSb Strip",
  342. "protocol": "native_multi",
  343. "type": "ws2812_strip",
  344. "version": 3.1
  345. }
  346. 2019-11-16 16:21:09,213 - root - INFO - 192.168.1.28:80 is My WSb Strip
  347. 2019-11-16 16:21:09,213 - root - INFO - Add new light: My WSb Strip
  348. 2019-11-16 16:21:09,213 - root - INFO - ip 192.168.1.28:80 is unknown device: list index out of range
  349. 2019-11-16 16:21:09,213 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8080
  350. 2019-11-16 16:21:09,214 - root - INFO - registration fail, is the link button pressed?
  351. 2019-11-16 16:21:09,399 - root - DEBUG - tasmota: probing ip 172.17.0.1
  352. 2019-11-16 16:21:09,400 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
  353. 172.17.0.1 - - [16/Nov/2019 16:21:09] code 404, message not found
  354. 172.17.0.1 - - [16/Nov/2019 16:21:09] "GET /cm?cmnd=Status%200 HTTP/1.1" 404 -
  355. 2019-11-16 16:21:09,402 - urllib3.connectionpool - DEBUG - http://172.17.0.1:80 "GET /cm?cmnd=Status%200 HTTP/1.1" 404 447
  356. 2019-11-16 16:21:09,459 - root - DEBUG - ESPHome: probing ip 172.17.0.1
  357. 2019-11-16 16:21:09,460 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
  358. 172.17.0.1 - - [16/Nov/2019 16:21:09] "GET /text_sensor/light_id HTTP/1.1" 200 -
  359. 2019-11-16 16:21:09,461 - urllib3.connectionpool - DEBUG - http://172.17.0.1:80 "GET /text_sensor/light_id HTTP/1.1" 200 90
  360. 2019-11-16 16:21:09,462 - root - DEBUG - ESPHome: ip 172.17.0.1 is unknown device, list indices must be integers or slices, not str
  361. 2019-11-16 16:21:09,856 - root - INFO - sync with lights
  362. 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  363. 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  364. 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  365. 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  366. 2019-11-16 16:21:11,099 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  367. 2019-11-16 16:21:11,812 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  368. {"ok"}
  369. 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
  370. 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
  371. 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  372. 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  373. 172.17.0.1 - - [16/Nov/2019 16:21:14] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
  374. 172.17.0.1 - - [16/Nov/2019 16:21:14] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
  375. 172.17.0.1 - - [16/Nov/2019 16:21:16] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement