I have setup the image_processing component with two platforms, once I got scipy installed… (this was a mission with many dependencies) but it is now done!
118 image_processing:
119 # https://home-assistant.io/components/image_processing.openalpr_cloud/
120 # https://cloud.openalpr.com/
121 - platform: openalpr_cloud
122 api_key: 'sk_df...8b1723'
123 region: au
124 source:
125 - entity_id: camera.camera_2
126 # https://home-assistant.io/components/image_processing.dlib_face_detect/
127 - platform: dlib_face_detect
128 source:
129 - entity_id: camera.camera_2
Neither component works with a variety of errors,
2017-12-26 10:21:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of image_processing.openalpr_camera_2 is taking over 10 seconds
2017-12-26 10:21:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of image_processing.dlib_face_camera_2 is taking over 10 seconds
2017-12-26 10:21:06 ERROR (MainThread) [homeassistant.components.image_processing] Error on receive image from entity: Can't connect to https://nig.example.org/api/camera_proxy/camera.camera_2?token=3e0e98....d31f9f5ae98e546ad
2017-12-26 10:21:06 WARNING (MainThread) [homeassistant.components.image_processing] Updating openalpr_cloud image_processing took longer than the scheduled update interval 0:00:10
2017-12-26 10:21:06 WARNING (MainThread) [homeassistant.components.image_processing] Updating dlib_face_detect image_processing took longer than the scheduled update interval 0:00:10
2017-12-26 10:21:18 ERROR (MainThread) [homeassistant.components.image_processing] Error on receive image from entity: Error 500 on https://nig.example.org/api/camera_proxy/camera.camera_2?token=3e0e9...2cd31f9f5ae98e546ad
2017-12-26 10:21:22 ERROR (MainThread) [homeassistant.components.image_processing.openalpr_cloud] Timeout for OpenALPR API
2017-12-26 10:21:29 ERROR (MainThread) [homeassistant.components.image_processing] Error on receive image from entity: Error 500 on https://nigeln.example.org/api/camera_proxy/camera.camera_2?token=3e0e98ab....1f9f5ae98e546ad
2017-12-26 10:21:32 ERROR (MainThread) [homeassistant.components.image_processing.openalpr_cloud] Timeout for OpenALPR API
It looks to me that these 500’s correspond with the overview page and the camera component failing every now and then as well:
- - - [26/Dec/2017:10:53:34 +1100] "GET /api/camera_proxy/camera.camera_1?token=4cefc62e70a079eaa58c...803ed0dfd0c77c0a&time=1514246028894 HTTP/1.1" 500 0 "https://nig.example.org/states" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36"
- - - [26/Dec/2017:10:53:34 +1100] "GET /api/camera_proxy/camera.camera_2?token=298c25b4871090d....4316423622ab69912313e562&time=1514246028894 HTTP/1.1" 500 0 "https://nige.example.org/states"
I have hikvision cameras using camera.mjpeg. I do get the urllib3 error as described here: https://home-assistant.io/components/camera.mjpeg/ but this apparently is not a problem?
Firstly the 500 error I do not understand since performing it locally/manually works fine. Has anyone had any success with these components?