Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology Surveillance Station integration #144

Closed
insanity67 opened this issue Jan 20, 2024 · 11 comments
Closed

Synology Surveillance Station integration #144

insanity67 opened this issue Jan 20, 2024 · 11 comments
Labels
request implementation request

Comments

@insanity67
Copy link
Contributor

Hey there,

do you have any plans to integrate Synology Surveillance Station App api?

Best regards

@N4S4 N4S4 added the request implementation request label Jan 22, 2024
@N4S4
Copy link
Owner

N4S4 commented Jan 22, 2024

Hi,
I did not need it as i dont use, I'll see what i can get from docs and i will let you know.

If you have any information about u can pass it to me!

thank you

@insanity67
Copy link
Contributor Author

Hey there,

thx for you reply. I found this documentation: https://global.download.synology.com/download/Document/Software/DeveloperGuide/Package/SurveillanceStation/All/enu/Surveillance_Station_Web_API.pdf

I had to quickly implenent a monitoring tool for surveillance cameras last weekend, and used this repo: https://github.com/ProtoThis/python-synology

I hope to have some time this weekend, maybe I can figure out, how to impletent some parts.

@insanity67
Copy link
Contributor Author

If you could implement the basic skeleton for the api, I could try to implement and test the different api functions.

@N4S4
Copy link
Owner

N4S4 commented Jan 22, 2024

Ok I will work on it

@N4S4
Copy link
Owner

N4S4 commented Jan 25, 2024

ok so was quite a trip, the skeleton has been implemented commit, many functions are marked # TODO not working or # TODO to check. I have tested installing survelliancestation app but i do not have a camera to check. If you are a frequent user, could u test and see what's wrong in few?

I found few errors in the pdf and maybe old? anyway should give a good start for a better implementation

I will close the PR but keep alive the conversation

@N4S4 N4S4 closed this as completed Jan 25, 2024
@insanity67
Copy link
Contributor Author

Wow, great news, thank you!
I will have some time on the weekend to test it out!

@insanity67
Copy link
Contributor Author

If you want to test with your surveillance station in the meantime, I have set up an rtsp test stream for you:
rtsp://78.47.135.213:8554/stream

This can be added to surveillance station as a camera:
https://kb.synology.com/en-uk/Surveillance/tutorial/How_to_make_an_attempt_to_install_an_unsupported_IP_camera_in_Surveillance_Station

image

@N4S4
Copy link
Owner

N4S4 commented Jan 26, 2024

cool, i will see when I have a bit of time to test more

@insanity67
Copy link
Contributor Author

oh wow, it almost looks like I overestimated my Python knowledge a little :( my first attempts at the todos failed miserably.
I'll have another look at it at the weekend.

But the API documentation seems to be the latest, at least I can't find any other.

@N4S4
Copy link
Owner

N4S4 commented Jan 27, 2024

Ok because when i go to synology dev website i have to subscribe to see the api. Anyway do not underestimate ur skills, there are many cases, I think, that the api instructions are missing or wrong.

@insanity67
Copy link
Contributor Author

You could take a look here: https://github.com/hacf-fr/synologydsm-api
Some things not working here are implemented there, but I could not really convert them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request implementation request
Projects
None yet
Development

No branches or pull requests

2 participants