I am trying to get events from camera to the openhab2 server. What is the way i can get event data to openhab local server.
I started working on binding development. My camera has configuration like it will call a URL when door is opened. So i want that door opened event to be displayed as status of camera in openHAB(Paper UI) like Home SAFE / NOT SAFE.
PaperUI is intended to be an administration UI, not a user UI. You should be using BasicUI, ClassicUI, Habmin, or HabPanel for displaying and interacting with this sort of information.
To expose i am creating/exposing an API in
org.eclipse.smarthome.io.rest
I don’t know this is part of openhab architecture or not. Even i don’t know it is right way to expose API or not.
But i need a openhab REST API to expose and feed it in to controller.