Getting this error:
16-12-27 09:56:53 homeassistant.components.camera: Setting up camera.synology
16-12-27 09:56:54 aiohttp.client: Attempt to decode JSON with unexpected mimetype: text/plain; charset=“utf-8”
16-12-27 09:56:55 aiohttp.client: Attempt to decode JSON with unexpected mimetype: text/plain; charset=“utf-8”
16-12-27 09:56:55 homeassistant.components.camera: Error while setting up platform synology
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py”, line 145, in _async_setup_platform
entity_platform.async_add_entities, discovery_info
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/camera/synology.py”, line 134, in async_setup_platform
cameras = camera_resp[‘data’][‘cameras’]
KeyError: ‘data’
16-12-27 09:56:58 homeassistant.components.camera.synology: Error on http://192.168.66.138:5000/webapi/query.cgi
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/camera/synology.py”, line 81, in async_setup_platform
params=query_payload
File “/home/pi/.homeassistant/deps/async_timeout/init.py”, line 44, in exit
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
16-12-27 09:56:58 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=camera>
Each time I upgrade HA to latest, the synology cams starts working until next restart of HA, then I get the error again. This is without any change in any .yaml files. No specials chars is used in passwords etc.