@apocaliss92/scrypted-reolink-native 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.nodejs.js +1 -1
- package/dist/plugin.zip +0 -0
- package/package.json +1 -1
- package/src/accessories/autotracking.ts +150 -0
- package/src/accessories/floodlight.ts +92 -0
- package/src/accessories/index.ts +7 -0
- package/src/accessories/motion-floodlight.ts +171 -0
- package/src/accessories/motion-siren.ts +165 -0
- package/src/accessories/pir-sensor.ts +138 -0
- package/src/accessories/siren.ts +63 -0
- package/src/camera.ts +166 -450
- package/src/multiFocal.ts +1 -3
- package/src/utils.ts +1 -0
package/src/multiFocal.ts
CHANGED
|
@@ -101,9 +101,7 @@ export class ReolinkNativeMultiFocalDevice
|
|
|
101
101
|
this.storageSettings.values;
|
|
102
102
|
|
|
103
103
|
const { capabilities, objects, presets } =
|
|
104
|
-
await api.getDeviceCapabilities(rtspChannel
|
|
105
|
-
mergeDualLensOnSameChannel: true,
|
|
106
|
-
});
|
|
104
|
+
await api.getDeviceCapabilities(rtspChannel);
|
|
107
105
|
const multifocalInfo = await api.getDualLensChannelInfo(rtspChannel, {
|
|
108
106
|
onNvr: !!this.nvrDevice,
|
|
109
107
|
});
|
package/src/utils.ts
CHANGED
|
@@ -45,6 +45,7 @@ export const floodlightSuffix = `-floodlight`;
|
|
|
45
45
|
export const motionSirenSuffix = `-motion-siren`;
|
|
46
46
|
export const motionFloodlightSuffix = `-motion-floodlight`;
|
|
47
47
|
export const pirSuffix = `-pir`;
|
|
48
|
+
export const autotrackingSuffix = `-autotracking`;
|
|
48
49
|
|
|
49
50
|
export const getDeviceInterfaces = (props: {
|
|
50
51
|
capabilities: DeviceCapabilities;
|