python-synology
python-synology copied to clipboard
Required permissions for Surveillance Station
Calling SynologyDSM().surveillance_station.update()
with a regular user results in:
SynologyDSMLoginInvalidException: {'api': 'SYNO.API.Auth', 'code': 400, 'reason': 'Invalid credentials', 'details': 'Invalid password or not admin account: user'}
I received the same error for SynologyDSM().information.update()
.
Does this package only work with admin users?
Stolen from the Home Assistant doc, which uses this package:
"Due to the nature of the Synology DSM API, it is required to grant the user admin rights. This is related to the fact that utilization information is stored in the core module.
When creating the user, it is possible to deny access to all locations and applications. By doing this, the user will not be able to login to the web interface or view any of the files on the Synology NAS. It is still able to read the utilization and storage information using the API."