Synology cam and unexpected mimetype

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.

I am having the same problem as well on the latest HA version. Any solution for this?
My log as follow:

17-01-01 22:49:58 homeassistant.components.camera: Setting up camera.synology
17-01-01 22:49:59 homeassistant.components.camera: Error while setting up platform synology
Traceback (most recent call last):
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 145, in _async_setup_platform
entity_platform.async_add_entities, discovery_info
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/camera/synology.py”, line 134, in async_setup_platform
cameras = camera_resp[‘data’][‘cameras’]
KeyError: ‘data’

no, have to wait for the next version to get cameras working again. This is very strange…

Hi, I have the same error, running 0.36.1. Any news on the updated component?
Thanks
Ben

No, still waiting for the solution.
If you don’t need those latest feature, you can downgrade to 0.33.4 to get the Synology camera working.

pip3 install homeassistant==0.33.4

Where to look for the auther of the faulty componenet ?
It would be better if it would work with the current version, instead of downgrading, also the syntax has changed with 0.37 so it might just raise other problems…

it’s tracking in Synology Surveillance Station IP Camera