Advertisement
Guest User

diyHue light detection issue

a guest
Nov 16th, 2019
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.92 KB | None | 0 0
  1. 172.17.0.1 - - [16/Nov/2019 15:56:22] "GET /api/84240392087d11eaa7150242ac110002/config HTTP/1.1" 200 -
  2. 172.17.0.1 - - [16/Nov/2019 15:56:22] "GET /api/84240392087d11eaa7150242ac110002 HTTP/1.1" 200 -
  3. 172.17.0.1 - - [16/Nov/2019 15:56:22] "GET /api/84240392087d11eaa7150242ac110002/config HTTP/1.1" 200 -
  4. 172.17.0.1 - - [16/Nov/2019 15:56:22] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  5. 172.17.0.1 - - [16/Nov/2019 15:56:22] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  6. 172.17.0.1 - - [16/Nov/2019 15:56:22] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  7. 172.17.0.1 - - [16/Nov/2019 15:56:23] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  8. 172.17.0.1 - - [16/Nov/2019 15:56:23] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  9. 172.17.0.1 - - [16/Nov/2019 15:56:23] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  10. 2019-11-16 15:56:24,328 - root - INFO - sync with lights
  11. 172.17.0.1 - - [16/Nov/2019 15:56:24] "POST /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  12. 2019-11-16 15:56:24,553 - root - INFO - in post method
  13. 2019-11-16 15:56:24,553 - root - INFO - /api/84240392087d11eaa7150242ac110002/lights
  14. 2019-11-16 15:56:24,553 - root - INFO - b'{}'
  15. 2019-11-16 15:56:24,554 - root - DEBUG - tasmota: <discover> invoked!
  16. 2019-11-16 15:56:24,555 - root - DEBUG - ESPHome: <discover> invoked!
  17. 172.17.0.1 - - [16/Nov/2019 15:56:24] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  18. 172.17.0.1 - - [16/Nov/2019 15:56:24] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  19. 172.17.0.1 - - [16/Nov/2019 15:56:24] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  20. 172.17.0.1 - - [16/Nov/2019 15:56:25] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  21. 172.17.0.1 - - [16/Nov/2019 15:56:26] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  22. 172.17.0.1 - - [16/Nov/2019 15:56:26] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  23. 172.17.0.1 - - [16/Nov/2019 15:56:26] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  24. 172.17.0.1 - - [16/Nov/2019 15:56:26] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  25. 172.17.0.1 - - [16/Nov/2019 15:56:27] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  26. 172.17.0.1 - - [16/Nov/2019 15:56:27] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  27. 2019-11-16 15:56:27,558 - root - DEBUG - Yeelight search end
  28. 172.17.0.1 - - [16/Nov/2019 15:56:28] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  29. 172.17.0.1 - - [16/Nov/2019 15:56:28] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  30. 172.17.0.1 - - [16/Nov/2019 15:56:29] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  31. 172.17.0.1 - - [16/Nov/2019 15:56:29] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  32. 172.17.0.1 - - [16/Nov/2019 15:56:29] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  33. 172.17.0.1 - - [16/Nov/2019 15:56:29] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  34. 2019-11-16 15:56:29,681 - root - INFO - [
  35. "192.168.1.1:80"
  36. ]
  37. --- Logging error ---
  38. Traceback (most recent call last):
  39. File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
  40. msg = self.format(record)
  41. File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
  42. return fmt.format(record)
  43. File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
  44. record.message = record.getMessage()
  45. File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
  46. msg = msg % self.args
  47. TypeError: not all arguments converted during string formatting
  48. Call stack:
  49. File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
  50. self._bootstrap_inner()
  51. File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
  52. self.run()
  53. File "/usr/lib/python3.7/threading.py", line 865, in run
  54. self._target(*self._args, **self._kwargs)
  55. File "/opt/hue-emulator/HueEmulator3.py", line 716, in scan_for_lights
  56. logging.debug('devs', device_ips)
  57. Message: 'devs'
  58. Arguments: (['192.168.1.1:80'],)
  59. 2019-11-16 15:56:29,682 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.1:80
  60. 2019-11-16 15:56:29,689 - urllib3.connectionpool - DEBUG - http://192.168.1.1:80 "GET /detect HTTP/1.1" 404 None
  61. 2019-11-16 15:56:29,690 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8080
  62. 2019-11-16 15:56:29,691 - root - INFO - registration fail, is the link button pressed?
  63. 2019-11-16 15:56:30,029 - root - DEBUG - tasmota: probing ip 172.17.0.1
  64. 2019-11-16 15:56:30,030 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
  65. 172.17.0.1 - - [16/Nov/2019 15:56:30] code 404, message not found
  66. 172.17.0.1 - - [16/Nov/2019 15:56:30] "GET /cm?cmnd=Status%200 HTTP/1.1" 404 -
  67. 2019-11-16 15:56:30,031 - urllib3.connectionpool - DEBUG - http://172.17.0.1:80 "GET /cm?cmnd=Status%200 HTTP/1.1" 404 447
  68. 2019-11-16 15:56:30,049 - root - DEBUG - ESPHome: probing ip 172.17.0.1
  69. 2019-11-16 15:56:30,050 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
  70. 172.17.0.1 - - [16/Nov/2019 15:56:30] "GET /text_sensor/light_id HTTP/1.1" 200 -
  71. 2019-11-16 15:56:30,052 - urllib3.connectionpool - DEBUG - http://172.17.0.1:80 "GET /text_sensor/light_id HTTP/1.1" 200 90
  72. 2019-11-16 15:56:30,052 - root - DEBUG - ESPHome: ip 172.17.0.1 is unknown device, list indices must be integers or slices, not str
  73. 172.17.0.1 - - [16/Nov/2019 15:56:30] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  74. 172.17.0.1 - - [16/Nov/2019 15:56:30] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  75. 2019-11-16 15:56:31,042 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  76. 172.17.0.1 - - [16/Nov/2019 15:56:31] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  77. 172.17.0.1 - - [16/Nov/2019 15:56:31] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  78. 2019-11-16 15:56:31,403 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  79.  
  80. 172.17.0.1 - - [16/Nov/2019 15:56:32] "GET /api/84240392087d11eaa7150242ac110002/lights/new HTTP/1.1" 200 -
  81. 172.17.0.1 - - [16/Nov/2019 15:56:32] "GET /api/84240392087d11eaa7150242ac110002/sensors/new HTTP/1.1" 200 -
  82. 172.17.0.1 - - [16/Nov/2019 15:56:33] "GET /api/84240392087d11eaa7150242ac110002/config HTTP/1.1" 200 -
  83. 172.17.0.1 - - [16/Nov/2019 15:56:33] "GET /api/84240392087d11eaa7150242ac110002/lights HTTP/1.1" 200 -
  84. 172.17.0.1 - - [16/Nov/2019 15:56:33] "GET /api/84240392087d11eaa7150242ac110002/groups HTTP/1.1" 200 -
  85. 2019-11-16 15:57:01,435 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  86. 2019-11-16 15:57:01,795 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  87.  
  88. 2019-11-16 15:57:31,803 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  89. 2019-11-16 15:57:32,198 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  90.  
  91. 2019-11-16 15:58:02,230 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  92. 2019-11-16 15:58:02,620 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  93.  
  94. 2019-11-16 15:58:32,652 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  95. 2019-11-16 15:58:33,033 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
  96.  
  97. 2019-11-16 15:59:03,065 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
  98. 2019-11-16 15:59:03,455 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement