Synology Camera / Surveillance Station ERROR

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)
Source: components/synology/ 
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/", line 56, in async_setup_platform
  File "/usr/local/lib/python3.7/concurrent/futures/", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/synology/", line 12, in __init__
    self._api = Api(url, username, password, timeout, verify_ssl)
  File "/usr/local/lib/python3.7/site-packages/synology/", line 59, in __init__
  File "/usr/local/lib/python3.7/site-packages/synology/", line 70, in _initialize_api_info
  File "/usr/local/lib/python3.7/site-packages/synology/", line 192, in _get_json_with_retry
    return self._get_json(url, payload)
  File "/usr/local/lib/python3.7/site-packages/synology/", line 198, in _get_json
    response = self._get(url, payload)
  File "/usr/local/lib/python3.7/site-packages/synology/", line 185, in _get
  File "/usr/local/lib/python3.7/site-packages/requests/", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/", line 637, in send
    adapter = self.get_adapter(url=request.url)
  File "/usr/local/lib/python3.7/site-packages/requests/", 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 ''

DSM version is 6.2.2-24922 Update 4
Surveillance Station version is 8.2.7-6222
Home Assistance version is 0.110.1


Did you manage to fix this @andrepia ?
One of the problems I see could be wrong URL -

In name you specify that it’s IP with port and actually it has to be full URL (https://xx.xx.xx.xx:5001 for ex). Just to be sure you didn’t configure integration wrong.

Great guess, @BeardedConti!!!
I was missing the “https://”!!!
Now I have one entity for my Synology camera, but can’t watch it’s streaming… On lovelace, I get a still frame each 10 seconds… :sob: :joy:

Captura de Tela 2020-06-06 às 09.06.07

Captura de Tela 2020-06-06 às 09.05.38

Would you be able to point me in the right direction once again??

(BTW, I’m a YouTube follower and your videos are great!! Congrats!!)

1 Like

Thank you @andrepia very much!!
OK, if you are talking about static image at lovelace, that’s what I got too.
You can change it to live if you change setting for it here:

Just make sure you have enabled stream in your configuration.