I get error with my setup trying to link my synology camera
This is my config file:
camera:
- platform: synology
url: http://192.168.0.115:80
username: admin
password: passwordxxx
verify_ssl: false
here is the log file
16-12-31 19:34:22 aiohttp.client: Attempt to decode JSON with unexpected mimetype: text/html
16-12-31 19:34:22 homeassistant.components.camera: Error while setting up platform synology
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_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/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/synology.py”, line 84, in async_setup_platform
query_resp = yield from query_req.json()
File “/home/homeassistant/.homeassistant/deps/aiohttp/client_reqrep.py”, line 772, in json
return loads(stripped.decode(encoding))
File “/usr/lib/python3.4/json/init.py”, line 318, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.4/json/decoder.py”, line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.4/json/decoder.py”, line 361, in raw_decode
raise ValueError(errmsg(“Expecting value”, s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
Anyone got this working ?
Running on Pi3
All in One install
Home Assistant: 0.35.3
config path: /home/homeassistant/.homeassistant