Binding Architecture


I am creating a binding for the Verisure alarm system. Basically it logs itself in to a web page and pulls down status of the alarm system, temperature sensor, remote control switches, etc, I have gotten so far as creating a binding that logs itself in using parameters set in the paper UI and pulls down the alarm status, parsing the JSON and thats it. Just wondering what the right architecture for this type of addon is. Does the web-page represent a “Bridge” where all global settings such as username and password lie? I imaging I can manually add this thing/bridge to the Paper UI, and then it would perform a discovery - adding the items that are relevant to my alarm system. Is this a reasonable approach?

May I ask you to discuss binding architectures at as this concerns the ESH APIs and is nothing specific for openHAB? Thanks!