Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 7d8c0d813cbb9e177170a46bbf3660e195e598fd99dbc62c643b417d047f7cf8
- 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
- Config downloaded
- Docker Setup Complete
- 2019-11-16 16:19:08,730 - root - INFO - IP range for light discovery: 0-255
- 2019-11-16 16:19:08,730 - root - INFO - 127.0.0.1
- 2019-11-16 16:19:08,730 - root - INFO - Online Discovery/Remote API Enabled!
- 2019-11-16 16:19:08,730 - root - INFO - Config loaded
- 2019-11-16 16:19:08,731 - root - DEBUG - starting ssdp...
- 2019-11-16 16:19:08,731 - root - DEBUG - start ssdp broadcast
- 2019-11-16 16:19:08,731 - root - INFO - sync with lights
- 2019-11-16 16:19:08,734 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
- 2019-11-16 16:19:08,734 - root - INFO - Starting httpd...
- 2019-11-16 16:19:08,735 - root - INFO - Starting ssl httpd...
- 2019-11-16 16:19:09,491 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
- {"ok"}
- 2019-11-16 16:19:39,515 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
- 2019-11-16 16:19:39,871 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
- 172.17.0.1 - - [16/Nov/2019 16:20:02] "GET /api/nouser/config HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:02] "GET /api/nouser/config HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:02] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:02,548 - root - INFO - in post method
- 2019-11-16 16:20:02,548 - root - INFO - /api/
- 2019-11-16 16:20:02,549 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:03] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:03,585 - root - INFO - in post method
- 2019-11-16 16:20:03,586 - root - INFO - /api/
- 2019-11-16 16:20:03,586 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:04] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:04,557 - root - INFO - in post method
- 2019-11-16 16:20:04,557 - root - INFO - /api/
- 2019-11-16 16:20:04,557 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:05] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:05,539 - root - INFO - in post method
- 2019-11-16 16:20:05,539 - root - INFO - /api/
- 2019-11-16 16:20:05,539 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:06] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:06,558 - root - INFO - in post method
- 2019-11-16 16:20:06,558 - root - INFO - /api/
- 2019-11-16 16:20:06,558 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:07] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:07,544 - root - INFO - in post method
- 2019-11-16 16:20:07,544 - root - INFO - /api/
- 2019-11-16 16:20:07,544 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:08] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:08,542 - root - INFO - in post method
- 2019-11-16 16:20:08,542 - root - INFO - /api/
- 2019-11-16 16:20:08,542 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:09] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:09,580 - root - INFO - in post method
- 2019-11-16 16:20:09,580 - root - INFO - /api/
- 2019-11-16 16:20:09,580 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 2019-11-16 16:20:09,891 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
- 172.17.0.1 - - [16/Nov/2019 16:20:10] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:10,565 - root - INFO - in post method
- 2019-11-16 16:20:10,565 - root - INFO - /api/
- 2019-11-16 16:20:10,565 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 2019-11-16 16:20:10,626 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
- {"ok"}
- 172.17.0.1 - - [16/Nov/2019 16:20:11] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:11,577 - root - INFO - in post method
- 2019-11-16 16:20:11,577 - root - INFO - /api/
- 2019-11-16 16:20:11,577 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 2019-11-16 16:20:12,594 - root - INFO - in post method
- 2019-11-16 16:20:12,595 - root - INFO - /api/
- 2019-11-16 16:20:12,595 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:12] "POST /api/ HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:13] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:13,603 - root - INFO - in post method
- 2019-11-16 16:20:13,603 - root - INFO - /api/
- 2019-11-16 16:20:13,603 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:14] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:14,594 - root - INFO - in post method
- 2019-11-16 16:20:14,595 - root - INFO - /api/
- 2019-11-16 16:20:14,595 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:15] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:15,601 - root - INFO - in post method
- 2019-11-16 16:20:15,601 - root - INFO - /api/
- 2019-11-16 16:20:15,601 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:16] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:16,600 - root - INFO - in post method
- 2019-11-16 16:20:16,600 - root - INFO - /api/
- 2019-11-16 16:20:16,600 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:17] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:17,603 - root - INFO - in post method
- 2019-11-16 16:20:17,603 - root - INFO - /api/
- 2019-11-16 16:20:17,603 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:18] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:18,607 - root - INFO - in post method
- 2019-11-16 16:20:18,608 - root - INFO - /api/
- 2019-11-16 16:20:18,608 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:19] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:19,621 - root - INFO - in post method
- 2019-11-16 16:20:19,621 - root - INFO - /api/
- 2019-11-16 16:20:19,622 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:20] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:20,601 - root - INFO - in post method
- 2019-11-16 16:20:20,601 - root - INFO - /api/
- 2019-11-16 16:20:20,601 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:21] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:21,619 - root - INFO - in post method
- 2019-11-16 16:20:21,619 - root - INFO - /api/
- 2019-11-16 16:20:21,620 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:22] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:22,610 - root - INFO - in post method
- 2019-11-16 16:20:22,610 - root - INFO - /api/
- 2019-11-16 16:20:22,610 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:23] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:23,590 - root - INFO - in post method
- 2019-11-16 16:20:23,590 - root - INFO - /api/
- 2019-11-16 16:20:23,590 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:24] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:24,640 - root - INFO - in post method
- 2019-11-16 16:20:24,640 - root - INFO - /api/
- 2019-11-16 16:20:24,640 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:25] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:25,624 - root - INFO - in post method
- 2019-11-16 16:20:25,624 - root - INFO - /api/
- 2019-11-16 16:20:25,624 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:26] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:26,632 - root - INFO - in post method
- 2019-11-16 16:20:26,632 - root - INFO - /api/
- 2019-11-16 16:20:26,632 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:27] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:27,632 - root - INFO - in post method
- 2019-11-16 16:20:27,632 - root - INFO - /api/
- 2019-11-16 16:20:27,632 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:28] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:28,631 - root - INFO - in post method
- 2019-11-16 16:20:28,631 - root - INFO - /api/
- 2019-11-16 16:20:28,631 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:29] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:29,639 - root - INFO - in post method
- 2019-11-16 16:20:29,640 - root - INFO - /api/
- 2019-11-16 16:20:29,640 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:30] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:30,642 - root - INFO - in post method
- 2019-11-16 16:20:30,642 - root - INFO - /api/
- 2019-11-16 16:20:30,643 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:31] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:31,632 - root - INFO - in post method
- 2019-11-16 16:20:31,632 - root - INFO - /api/
- 2019-11-16 16:20:31,632 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:32] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:32,626 - root - INFO - in post method
- 2019-11-16 16:20:32,626 - root - INFO - /api/
- 2019-11-16 16:20:32,627 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:32] "GET /hue/linkbutton?username=Hue&password=Hue&action=Activate HTTP/1.1" 401 -
- 172.17.0.1 - - [16/Nov/2019 16:20:33] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:33,640 - root - INFO - in post method
- 2019-11-16 16:20:33,640 - root - INFO - /api/
- 2019-11-16 16:20:33,640 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 172.17.0.1 - - [16/Nov/2019 16:20:34] "GET /hue/linkbutton?username=Hue&password=Hue&action=Activate HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:34] code 404, message not found
- 172.17.0.1 - - [16/Nov/2019 16:20:34] "GET /favicon.ico HTTP/1.1" 404 -
- 172.17.0.1 - - [16/Nov/2019 16:20:34] "POST /api/ HTTP/1.1" 200 -
- 2019-11-16 16:20:34,642 - root - INFO - in post method
- 2019-11-16 16:20:34,642 - root - INFO - /api/
- 2019-11-16 16:20:34,642 - root - INFO - b'{"devicetype":"Hue 3#OnePlus ONEPLUS A60","generateclientkey":true}'
- 2019-11-16 16:20:34,643 - root - INFO - [
- {
- "success": {
- "clientkey": "321c0c2ebfa7361e55491095b2f5f9db",
- "username": "047554d8088d11ea8fa10242ac110002"
- }
- }
- ]
- 172.17.0.1 - - [16/Nov/2019 16:20:34] "GET /api/047554d8088d11ea8fa10242ac110002 HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:34] "PUT /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
- 2019-11-16 16:20:34,988 - root - INFO - in PUT method
- 2019-11-16 16:20:34,988 - root - INFO - /api/047554d8088d11ea8fa10242ac110002/config
- 2019-11-16 16:20:34,988 - root - INFO - b'{"swupdate2":{"autoinstall":{"on":true}}}'
- 2019-11-16 16:20:34,989 - root - INFO - [
- {
- "success": {
- "/config/swupdate2": {
- "autoinstall": {
- "on": true
- }
- }
- }
- }
- ]
- 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002 HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:35] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 2019-11-16 16:20:35,823 - root - INFO - sync with lights
- 172.17.0.1 - - [16/Nov/2019 16:20:36] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:36] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:37] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:38] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:38] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 2019-11-16 16:20:40,658 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
- 2019-11-16 16:20:41,066 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
- 172.17.0.1 - - [16/Nov/2019 16:20:45] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
- 2019-11-16 16:20:46,832 - root - INFO - sync with lights
- 172.17.0.1 - - [16/Nov/2019 16:20:46] "POST /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 2019-11-16 16:20:46,923 - root - INFO - in post method
- 2019-11-16 16:20:46,923 - root - INFO - /api/047554d8088d11ea8fa10242ac110002/lights
- 2019-11-16 16:20:46,923 - root - INFO - b'{}'
- 2019-11-16 16:20:46,924 - root - DEBUG - tasmota: <discover> invoked!
- 2019-11-16 16:20:46,924 - root - DEBUG - ESPHome: <discover> invoked!
- 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:47] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:48] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:48] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:49] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 2019-11-16 16:20:49,925 - root - DEBUG - Yeelight search end
- 172.17.0.1 - - [16/Nov/2019 16:20:50] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:50] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:51] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 2019-11-16 16:20:52,051 - root - INFO - [
- "192.168.1.1:80"
- ]
- --- Logging error ---
- Traceback (most recent call last):
- File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
- msg = self.format(record)
- File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
- return fmt.format(record)
- File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
- record.message = record.getMessage()
- File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
- msg = msg % self.args
- TypeError: not all arguments converted during string formatting
- Call stack:
- File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
- self._bootstrap_inner()
- File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
- self.run()
- File "/usr/lib/python3.7/threading.py", line 865, in run
- self._target(*self._args, **self._kwargs)
- File "/opt/hue-emulator/HueEmulator3.py", line 716, in scan_for_lights
- logging.debug('devs', device_ips)
- Message: 'devs'
- Arguments: (['192.168.1.1:80'],)
- 2019-11-16 16:20:52,053 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.1:80
- 2019-11-16 16:20:52,060 - urllib3.connectionpool - DEBUG - http://192.168.1.1:80 "GET /detect HTTP/1.1" 404 None
- 2019-11-16 16:20:52,061 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8080
- 2019-11-16 16:20:52,062 - root - INFO - registration fail, is the link button pressed?
- 2019-11-16 16:20:52,329 - root - DEBUG - tasmota: probing ip 172.17.0.1
- 2019-11-16 16:20:52,330 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
- 172.17.0.1 - - [16/Nov/2019 16:20:52] code 404, message not found
- 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /cm?cmnd=Status%200 HTTP/1.1" 404 -
- 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
- 2019-11-16 16:20:52,369 - root - DEBUG - ESPHome: probing ip 172.17.0.1
- 2019-11-16 16:20:52,369 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
- 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /text_sensor/light_id HTTP/1.1" 200 -
- 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
- 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
- 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:52] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:53] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:53] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:55] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:57] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:57] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 2019-11-16 16:20:58,845 - root - INFO - sync with lights
- 172.17.0.1 - - [16/Nov/2019 16:20:59] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:20:59] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:02] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:02] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:03] "POST /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 2019-11-16 16:21:03,962 - root - INFO - in post method
- 2019-11-16 16:21:03,963 - root - INFO - /api/047554d8088d11ea8fa10242ac110002/lights
- 2019-11-16 16:21:03,963 - root - INFO - b'{}'
- 2019-11-16 16:21:03,963 - root - DEBUG - tasmota: <discover> invoked!
- 2019-11-16 16:21:03,965 - root - DEBUG - ESPHome: <discover> invoked!
- 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:04] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:05] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:05] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:05] "GET /api/047554d8088d11ea8fa10242ac110002/config HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:06] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 2019-11-16 16:21:06,965 - root - DEBUG - Yeelight search end
- 172.17.0.1 - - [16/Nov/2019 16:21:07] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:07] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:08] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- --- Logging error ---
- 2019-11-16 16:21:09,077 - root - INFO - [
- "192.168.1.1:80",
- "192.168.1.28:80"
- ]
- Traceback (most recent call last):
- File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
- msg = self.format(record)
- File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
- return fmt.format(record)
- File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
- record.message = record.getMessage()
- File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
- msg = msg % self.args
- TypeError: not all arguments converted during string formatting
- Call stack:
- File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
- self._bootstrap_inner()
- File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
- self.run()
- File "/usr/lib/python3.7/threading.py", line 865, in run
- self._target(*self._args, **self._kwargs)
- File "/opt/hue-emulator/HueEmulator3.py", line 716, in scan_for_lights
- logging.debug('devs', device_ips)
- Message: 'devs'
- Arguments: (['192.168.1.1:80', '192.168.1.28:80'],)
- 2019-11-16 16:21:09,079 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.1:80
- 2019-11-16 16:21:09,086 - urllib3.connectionpool - DEBUG - http://192.168.1.1:80 "GET /detect HTTP/1.1" 404 None
- 2019-11-16 16:21:09,087 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 192.168.1.28:80
- 2019-11-16 16:21:09,168 - urllib3.connectionpool - DEBUG - http://192.168.1.28:80 "GET /detect HTTP/1.1" 200 141
- 2019-11-16 16:21:09,213 - root - INFO - {
- "lights": 1,
- "mac": "CC:50:E3:3B:FD:77",
- "modelid": "LST002",
- "name": "My WSb Strip",
- "protocol": "native_multi",
- "type": "ws2812_strip",
- "version": 3.1
- }
- 2019-11-16 16:21:09,213 - root - INFO - 192.168.1.28:80 is My WSb Strip
- 2019-11-16 16:21:09,213 - root - INFO - Add new light: My WSb Strip
- 2019-11-16 16:21:09,213 - root - INFO - ip 192.168.1.28:80 is unknown device: list index out of range
- 2019-11-16 16:21:09,213 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:8080
- 2019-11-16 16:21:09,214 - root - INFO - registration fail, is the link button pressed?
- 2019-11-16 16:21:09,399 - root - DEBUG - tasmota: probing ip 172.17.0.1
- 2019-11-16 16:21:09,400 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
- 172.17.0.1 - - [16/Nov/2019 16:21:09] code 404, message not found
- 172.17.0.1 - - [16/Nov/2019 16:21:09] "GET /cm?cmnd=Status%200 HTTP/1.1" 404 -
- 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
- 2019-11-16 16:21:09,459 - root - DEBUG - ESPHome: probing ip 172.17.0.1
- 2019-11-16 16:21:09,460 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 172.17.0.1:80
- 172.17.0.1 - - [16/Nov/2019 16:21:09] "GET /text_sensor/light_id HTTP/1.1" 200 -
- 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
- 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
- 2019-11-16 16:21:09,856 - root - INFO - sync with lights
- 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:10] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 2019-11-16 16:21:11,099 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
- 2019-11-16 16:21:11,812 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 None
- {"ok"}
- 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/lights/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/sensors/new HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:12] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:14] "GET /api/047554d8088d11ea8fa10242ac110002/lights HTTP/1.1" 200 -
- 172.17.0.1 - - [16/Nov/2019 16:21:14] "GET /api/047554d8088d11ea8fa10242ac110002/groups HTTP/1.1" 200 -
- 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