Why not combining forces?:
https://github.com/thhart/openhab2-addons/tree/master/addons/binding/org.openhab.binding.camera