Initializes a new DoorbellController
.
The CameraControllerOptions and optional DoorbellOptions.
Optional
motionOptional
occupancyOptional
recordingThe RecordingManagement which is responsible for handling HomeKit Secure Video. This property is only present if recording was configured.
Static
generate
The
DoorbellController
to efficiently manage doorbell implementations with HAP-NodeJS.NOTICE: We subclass from the CameraController here and deliberately do not introduce/set an own/custom ControllerType for Doorbells, as Cameras and Doorbells are pretty much the same thing and would collide otherwise. As the possibility exists, both the CameraController and DoorbellController are written to support migration from one to another. Meaning a serialized CameraController can be initialized as a DoorbellController (on startup in Controller.initWithServices) and vice versa.