018-07-13 01:18:08 WARNING (MainThread) [custom_components.image_processing] Updating baidu_face_indentify image_processing took longer than the scheduled update interval 0:00:01
2018-07-13 01:19:01 WARNING (MainThread) [custom_components.image_processing] Updating baidu_face_indentify image_processing took longer than the scheduled update interval 0:00:01
2018-07-13 01:19:03 WARNING (MainThread) [custom_components.image_processing] Updating baidu_face_indentify image_processing took longer than the scheduled update interval 0:00:01
2018-07-13 01:19:05 ERROR (Thread-6) [custom_components.image_processing.baidu_face_indentify] 百度人脸识别连接错误
2018-07-13 01:19:05 ERROR (MainThread) [homeassistant.helpers.entity] Update for image_processing.facerec fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 196, in async_update_ha_state
yield from self.async_device_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 317, in async_device_update
yield from self.async_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/image_processing/__init__.py", line 145, in async_update
yield from self.async_process_image(image.content)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/image_processing/baidu_face_indentify.py", line 455, in process_image
result = json.loads(r.text)