snjoetw / py-synology Goto Github PK
View Code? Open in Web Editor NEWPython API for Synology Surveillance Station
License: MIT License
Python API for Synology Surveillance Station
License: MIT License
The session
parameter should be set to SurveillanceStation
otherwise it will not be possible to authenticate with users only having access to SS. From docs:
User can assign “SurveillanceStation” to this parameter to login SurveilllanceStation. If not specified, default session is DSM, and SurveillanceStation is also available."
Hi,
I have come from the home-assistant community where we're having an issue around SIDs expiring and causing any instanced SurveillanceStation instances to become stale, requiring a full restart of the app.
What are your thoughts about your library silently re-establishing connections in cases like that? Meaning when you get an exception from Synology:
home-assistant/core#12037
Just recreate the API?
After looking at the most up-to-date doc on the API https://global.download.synology.com/download/Document/DeveloperGuide/Surveillance_Station_Web_API_v2.8.pdf
I think the Video and Audio stream that was being used was removed? Maybe it was replaced with something else, but I am not familiar with their API.
This is was is called out in the linked doc
Remove following methods
• SYNO.SurveillanceStation.AudioStream
◦ Stream
◦ Query
◦ Open
◦ Close
• SYNO.SurveillanceStation.VideoStream
◦ Stream
◦ Query
• SYNO.SurveillanceStation.Device
◦ ListVS
◦ ListCMS
◦ GetServiceSetting
• SYNO.SurveillanceStation.Streaming
◦ LiveStream
◦ EventStream
`
With the upcoming stream
component (in 0.90) in Home Assistant that only supports RTSP streams without transcoding, I was wondering if we should consider providing an RTSP stream.
Surveillance Station supports RTSP stream and we should consider implementing that.
Looks like it might be possible to implement a switch for "home mode" in surveillance station. This would facilitate more complex operations to turn on/off the camera system based on home assistants automation. See:
https://community.home-assistant.io/t/synology-surveillance-station-ip-camera/3552/98
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.