onvif
    Preparing search index...

    Class DoorControl

    DoorControl service

     const doorsList = await cam.doorControl.getDoorList();
    const token = doorsList.door![0].token;
    console.log((await cam.doorControl.getDoorState({ token })).doorMode);
    await cam.doorControl.unlockDoor({ token });
    console.log((await cam.doorControl.getDoorState({ token })).doorMode);

    Hierarchy (View Summary)

    Index
    onvif: Onvif
    service: keyof OnvifServices
    xmlns: string
    • Creates or replaces a door (requires ClientSuppliedTokenSupported).

      Parameters

      Returns Promise<void>