I’ll add my own thoughts to this thread. I have quite a few cameras, and motion triggers from them would be very useful information. I do not see any reason for openhab to act as an NVR, there are too many other great alternatives out there, with so many features openhab could not hope to compete.
However, if OnVif alarms were supported, that would be a huge bonus. These is not much information or help available for OnVif that I could find. But, it looks like there is already a java OnVif library available and being maintained:
For those of you looking for motion detection with your cameras, I implemented something that works pretty well for me.
I installed the Milestone XProtect NVR software (free for 8 cameras), and set it to email on motion detected. Then I wrote an email server binding for openhab so all the traffic stays local to my network. So far it is working great. All my cameras are not centralized and controlled in a great NVR system, which also centralizes all my motion detection configuration to ship it off to openhab.
If you are interested in the binding, comment here:
I also use milestone systems NVR Enterprise 2016 and be also a reseller of it. It is a really great software NVR with a lot of functionalities. You’re right about the location of de motion detection. When you have more camera’s it is a verry heavy job to do for a simple device. So it is beter to the motion detection in a piece of software on a better performance device. And there are several ways to talk to Milestone. They also have a API.
Im verry intrested in your binding and follow you tread!
@Thetmar while Milestone does have an API, it is only available in the top tier versions of their software. Generally speaking that is not something home users or this community will have access to.
I would also like to know how to manually install this binding into OH2. I’ve searched a good bit and cant seem to find a simple tutorial on how to compile and apply a manual binding that doesn’t use a JAR file.
_Thomas, thanks for the effort. I have downloaded the binding to Addons folder and the OH2 reconized the binding. My doubt now is how to configure the .items, .things and .sitemap files to display it on the UI. Thank you once again.
Hi Eduardo, I am no expert in the UI in general, for testing it is recommended to use the PaperUI, there you can add things from bindings, these should appear in the dashboard then. For more integration please check the standard documentation.
I’ll try already several things and looked at many forums to use the url. When i visit the url local in a browser i see a picture. Can you help me in the right direction?
URL authorization scheme might not work. I will take this on my list for check. In the meanwhile I can only recommend to remove authorization for viewing.
Thanks for your reply. I already removed the autorisation. But i still dont have a connection.
I will try it with another camera. Can you tell me what camera you used? And what the image or streaming url is of your test setup.
There is a new version for download which supports authentication. My test cam is an Axis camera. Currently only static image URL is supported, which can be fetched in a configurable interval.