@apocaliss92/scrypted-reolink-native 0.5.2 → 0.5.4
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/camera.ts +3 -4
package/dist/plugin.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/camera.ts
CHANGED
|
@@ -608,7 +608,6 @@ export class ReolinkCamera
|
|
|
608
608
|
"Capture all API responses for this device and save as fixture files. " +
|
|
609
609
|
"Useful for regression testing and debugging capability detection.",
|
|
610
610
|
type: "button",
|
|
611
|
-
hide: true,
|
|
612
611
|
immediate: true,
|
|
613
612
|
onPut: async () => {
|
|
614
613
|
await this.dumpModelFixtures();
|
|
@@ -2360,7 +2359,7 @@ export class ReolinkCamera
|
|
|
2360
2359
|
async reportDevices(): Promise<void> {
|
|
2361
2360
|
const abilities = await this.getAbilities();
|
|
2362
2361
|
const logger = this.getBaichuanLogger();
|
|
2363
|
-
logger.
|
|
2362
|
+
logger.log(`Reporting devices: ${JSON.stringify(abilities)}`);
|
|
2364
2363
|
|
|
2365
2364
|
const {
|
|
2366
2365
|
hasSiren,
|
|
@@ -3272,7 +3271,7 @@ export class ReolinkCamera
|
|
|
3272
3271
|
await sdk.deviceManager.onDeviceDiscovered(device);
|
|
3273
3272
|
|
|
3274
3273
|
logger.log(`Device interfaces updated`);
|
|
3275
|
-
logger.
|
|
3274
|
+
logger.log(
|
|
3276
3275
|
JSON.stringify({
|
|
3277
3276
|
interfaces,
|
|
3278
3277
|
isLensDevice: !!this.multiFocalDevice,
|
|
@@ -3290,7 +3289,7 @@ export class ReolinkCamera
|
|
|
3290
3289
|
}
|
|
3291
3290
|
|
|
3292
3291
|
logger.log(`Refreshed device capabilities`);
|
|
3293
|
-
logger.
|
|
3292
|
+
logger.log(
|
|
3294
3293
|
`Refreshed device capabilities: ${JSON.stringify({ capabilities, abilities, support, presets, objects })}`,
|
|
3295
3294
|
);
|
|
3296
3295
|
} catch (e) {
|