as I understand cameras are not well supported yet in OpenHab. I am very interested in contributing a binding to this. As a kickstart I have following ideas in descending priority. It would be very nice if someone can review and help for a kickoff:
Generate binding to support IP camera by URL
Create renderers for IP camera supported as thing to display image and video, sitemap
I would find such a binding useful…
The list of priorities seems in the right order to me.
→ Think about the whole and start off with one item.
Not sure about point 5… whether you would use other means for that… but 4. is definitely a good thing; e.g. door bell snap shot; motion snapshot… maybe even before 3.
But then, since you are writing it, it may well follow your priorities
Looks good (and very useful)!
Maybe you already has this in mind, but don’t forget to allow support for pre-recording at some stage.
(e.g. trigger and save recordording starting 5 minute before the alarm triggers)
Basically just make sure that this is possible in some distant future version, without rewriting everything.
This may be a bit advanced but motion events would be the biggest help for me. I really don’t care to review or view my cameras unless one sees motion when I’m not home. I’ve cobbled together something using ZoneMinder but having something native to OH would be easier to keep up.
Yeah i’d be keen on events (motion detection or alarms - lack of space etc) being captured by OH rather than everything else - as I’d expect an NVR top do most of the grunt work of storign recordings - and serving them up when called.
But tying in the events to OH would be useful for MD detected - turn on xyz lights type rules.
This is great! I started fiddling around with the webcam capture library (http://webcam-capture.sarxos.pl/) myself some days ago. The library looks really powerful and promising. I already had a basic motion detection with kind-of-a sensitivity mask going as proof of concept. It should not be hard to integrate this into openhab.
@robert2 Hi Roben, I have heard this project also already, I think they do a pretty good work, however the first release of this binding is focusing on IP based cameras, but I will check it to extend probably to other cameras types. Thanks for the pointer.
Very interesting binding! As far as I can see it is only possible to download the source code. Can you please also provide a compiled version? Thanks in advance!
I was just thinking that such a binding should exist. Second the support for whatever standard interface the industry is converging on. Sounds like it’s ONVIF.
Bonus points for maintaining a database that allows the user to not have to know much about the particular special snowflake interface that their camera uses.
I cloned the repo / compiled / copied the jar file in /usr/share/openhab2/addons
I saw it appearing in the “Configuration > Bindings” PaperUI screen.
I also have a running Starcam C7837wip Wifi camera on my local network. A snapshot url is available
Problem :
From “Inbox > Choose binding”, I select “Camera binding” but then the frame panel is just empty with only the title "Inbox > Camera Binding > Choose Thing " .
No special log in /var/log/openhab2/*
Did i miss a configuration somewhere ?
Thaks for your help.