Version 0.5.0 of the plugin is now available which adds lock devices and a "continuous IR mode". Download is here https://github.com/kwijibo007/DoorBird.
Lock devices
This device creates a lock in the UI which triggers either of the relays. There are two modes, auto lock and sensor. Both modes trigger the relay when clicking "unlock" in Indigo.
Auto lock mode lets you configure the amount of time that the relay remains open when triggered from Indigo. When the amount of time expires the Indigo lock device auto locks. This should be set to match the amount of time configured on your Doorbird (default is 5 seconds). This mode only updates when unlocked from Indigo. It cannot detect the relay being triggered from the Doorbird app, RFID or pin code.
Sensor mode allows you to set an Indigo sensor device which you have wired to the relays(s) in order to detect changes. I am using a Fibaro Universal Sensor Z-Wave device for this purpose. The plugin lock device simply mimics the sensor device you have connected. This allows you to detect the Doorbird's relay state no matter which way it was triggered. This it a temporary work around/feature until the API is updated to report the relays being triggered.
Please note: Using either method it is not currently possible to "lock" the device. Doorbird has no method of doing this. You must wait for the time you have configured in the Doorbird app to expire.
Continuous IR mode
When triggering the IR light the Doorbird device turns on the light for only 3 minutes. I use Security Spy for continuous monitoring. At night the camera is practically useless as it's pitch black.
This mode sends the IR command every 90 seconds (editable in advanced options) which keeps the IR light on continuously. When you disable this mode the IR light will remain on for up to 3 minutes while Doorbird 3 minute timer completes.
WARNING: I contacted Doorbird support to ask if leaving the IR light on continuously could damage the Doorbird. The short answer was that it could reduce the life of the IR light. Use this feature at your own risk.
Pete