@andrepia wrote:
I’m trying to config my Synology Surveillance Station cameras to show in Home Assistant, but log shows “Error when initializing SurveillanceStation” and no camera entity is created.
Can someone help me out with this issue, please?Here’s my config:
- platform: synology url: !secret synology_ip_port username: !secret synology_user password: !secret synology_pass timeout: 15 verify_ssl: false
Here’s the log output:
Log Details (ERROR) Logger: homeassistant.components.synology.camera Source: components/synology/camera.py:56 Integration: synology (documentation, issues) First occurred: 2:35:27 PM (1 occurrences) Last logged: 2:35:27 PM Error when initializing SurveillanceStation Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/synology/camera.py", line 56, in async_setup_platform timeout=timeout, File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/synology/surveillance_station.py", line 12, in __init__ self._api = Api(url, username, password, timeout, verify_ssl) File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 59, in __init__ self._initialize_api_info() File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 70, in _initialize_api_info payload) File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 192, in _get_json_with_retry return self._get_json(url, payload) File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 198, in _get_json response = self._get(url, payload) File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 185, in _get verify=self._verify_ssl) File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 76, in get return request('get', url, params=params, **kwargs) File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 530, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 637, in send adapter = self.get_adapter(url=request.url) File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 728, in get_adapter raise InvalidSchema("No connection adapters were found for {!r}".format(url)) requests.exceptions.InvalidSchema: No connection adapters were found for '192.168.0.100:3011/webapi/query.cgi'
DSM version is 6.2.2-24922 Update 4
Surveillance Station version is 8.2.7-6222
Home Assistance version is 0.110.1Thanks!!!
Posts: 1
Participants: 1