drronnie
(drronnie)
1
Hi, guys!
I use hassio 0.95.4. After some update (i don’t know version) i have a problem with Synology Surveilance Station integration.
2019-07-04 19:21:07 ERROR (MainThread) [homeassistant.components.synology.camera] Error when initializing SurveillanceStation
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/synology/camera.py", line 46, in async_setup_platform
timeout=timeout
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 60, in __init__
self._initialize_api_sid()
File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 88, in _initialize_api_sid
response = self._get_json_with_retry(api['url'], 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 207, in _get_json
raise ValueError('Invalid or failed response', content)
ValueError: ('Invalid or failed response', {'error': {'code': 400}, 'success': False})
This is log of booting my hassio I was try use admin\nonadmin domain\notdomain users, http\https but without success.
How I can fix it?
Than you.
rcruikshank
(Robert Cruikshank)
2
I’ve upgraded to .95 and lost access to surveillance station on Synology NAS and tracking MAC addresses on Synology Router.
rcruikshank
(Robert Cruikshank)
3
Looks like Synology sensor names are now prefixed with synology_dsm_
drronnie
(drronnie)
4
How to fix problem? Still wait update?
rcruikshank
(Robert Cruikshank)
5
I still have this problem or it has returned.
2020-03-05 13:50:38 ERROR (MainThread) [homeassistant.components.synology.camera] Error when initializing SurveillanceStation
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/synology/camera.py", line 53, in async_setup_platform
timeout=timeout,
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 60, in __init__
self._initialize_api_sid()
File "/usr/local/lib/python3.7/site-packages/synology/api.py", line 88, in _initialize_api_sid
response = self._get_json_with_retry(api['url'], 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 207, in _get_json
raise ValueError('Invalid or failed response', content)
ValueError: ('Invalid or failed response', {'error': {'code': 400}, 'success': False})
@drronnie any resolution for you?
Rob