-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Onvif Service #1296
Onvif Service #1296
Conversation
Currently used by Onvif
Integrated with Onvif service
Amazing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this file be renamed to something more meaningful like camera_position_presets.conf
I was thinking this at the moment I committed. But I will update the file name. Was thinking ptz_presets.conf? Not going to lie, the whole process has been a head scratcher considering the lack of documentations and examples involving onvif code. In the end I learnt a lot and as I was browsing the issues, I had noticed the request for ptz support and figured this service would help those out who wish to use ptz via onvif. With that said, the code is still a bit premature and maybe a little tailored for my own environment but I had a sudden urge to offer this function based on high demand... I just forked https://github.com/Dafang-Hacks/Main and will commit the source code after I clean somethings up then will initiate a pull request. |
This is extraordinary. Thanks Sian! It would be great, if this could be integrated in the official tree! |
This has been merged in the Main repo Dafang-Hacks/Main#41 |
Defaults credentials seem to be root/password on port 8080 |
Sian Thak you very much!! |
Thank you ! :) |
This is great, super excited about this one! |
This is great. Any plan for motion detection through onvif ? I believe the camera can notify the NVR when motion is detected, so that the NVR can do recording only during motion detection. |
This is sooo great! Thank you guys!!!! |
Hey guys, just in case it could be helpful: I toggled Autorun on for onvif-srvd.sh, but even though camera stream via ONVIF works on my Synology NAS, PTZ controls, if I reboot the camera, do not. If, after the camera boots up, I manually stop onvif-srvd.sh and then start it again -- PTZ works. Xiaomi Dafang with latest soft from Elias |
Great job! Amazing result on my nvr, Any plan for motion detection through onvif ? I believe the camera can notify the NVR when motion is detected, so that the NVR can do recording only during motion detection |
Hi, which settings are needed to get it working? https://i.imgur.com/m5k6aFi.png |
Created an Onvif service that allows PTZ Control (including presets), Resolution Changes, FPS changes Stream URI and Snapshot URI.
Currently auto discovery hasn't been implemented as of yet but can be added easily by using the port (default: 8080) and ip of the camera.
A startup script has been added which can start and stop the service via the web interface. This has been tested on Synology Surveillance Station and works quite well. Listening port can be changed by using the --port flag.