@camstack/addon-provider-dreame 0.2.112 → 0.2.114
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/addon.js +64 -1
- package/dist/addon.mjs +64 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -58137,7 +58137,7 @@ var ZodIssueCode = {
|
|
|
58137
58137
|
var ZodFirstPartyTypeKind;
|
|
58138
58138
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
58139
58139
|
//#endregion
|
|
58140
|
-
//#region ../types/dist/sleep-
|
|
58140
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
58141
58141
|
/**
|
|
58142
58142
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
58143
58143
|
* window to float samples (D455).
|
|
@@ -83996,6 +83996,26 @@ var PtzHomePresetSchema = object({
|
|
|
83996
83996
|
"none"
|
|
83997
83997
|
])
|
|
83998
83998
|
});
|
|
83999
|
+
/**
|
|
84000
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
84001
|
+
* after how long.
|
|
84002
|
+
*
|
|
84003
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
84004
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
84005
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
84006
|
+
* can disagree.
|
|
84007
|
+
*
|
|
84008
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
84009
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
84010
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
84011
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
84012
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
84013
|
+
* return at all.
|
|
84014
|
+
*/
|
|
84015
|
+
var PtzHomeReturnSchema = object({
|
|
84016
|
+
enabled: boolean(),
|
|
84017
|
+
seconds: number().int()
|
|
84018
|
+
});
|
|
83999
84019
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
84000
84020
|
deviceId: number(),
|
|
84001
84021
|
presetId: string()
|
|
@@ -84018,6 +84038,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
84018
84038
|
}), _void(), {
|
|
84019
84039
|
kind: "mutation",
|
|
84020
84040
|
auth: "admin"
|
|
84041
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
84042
|
+
kind: "mutation",
|
|
84043
|
+
auth: "admin"
|
|
84044
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
84045
|
+
deviceId: number(),
|
|
84046
|
+
enabled: boolean(),
|
|
84047
|
+
seconds: number().int().min(0).max(3600)
|
|
84048
|
+
}), _void(), {
|
|
84049
|
+
kind: "mutation",
|
|
84050
|
+
auth: "admin"
|
|
84021
84051
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
84022
84052
|
deviceId: number(),
|
|
84023
84053
|
enabled: boolean()
|
|
@@ -93260,6 +93290,12 @@ Object.freeze({
|
|
|
93260
93290
|
addonId: null,
|
|
93261
93291
|
access: "create"
|
|
93262
93292
|
},
|
|
93293
|
+
"ptz.captureHomeHere": {
|
|
93294
|
+
capName: "ptz",
|
|
93295
|
+
capScope: "device",
|
|
93296
|
+
addonId: null,
|
|
93297
|
+
access: "create"
|
|
93298
|
+
},
|
|
93263
93299
|
"ptz.continuousMove": {
|
|
93264
93300
|
capName: "ptz",
|
|
93265
93301
|
capScope: "device",
|
|
@@ -93278,6 +93314,12 @@ Object.freeze({
|
|
|
93278
93314
|
addonId: null,
|
|
93279
93315
|
access: "view"
|
|
93280
93316
|
},
|
|
93317
|
+
"ptz.getHomeReturn": {
|
|
93318
|
+
capName: "ptz",
|
|
93319
|
+
capScope: "device",
|
|
93320
|
+
addonId: null,
|
|
93321
|
+
access: "view"
|
|
93322
|
+
},
|
|
93281
93323
|
"ptz.getOptions": {
|
|
93282
93324
|
capName: "ptz",
|
|
93283
93325
|
capScope: "device",
|
|
@@ -93332,6 +93374,12 @@ Object.freeze({
|
|
|
93332
93374
|
addonId: null,
|
|
93333
93375
|
access: "create"
|
|
93334
93376
|
},
|
|
93377
|
+
"ptz.setHomeReturn": {
|
|
93378
|
+
capName: "ptz",
|
|
93379
|
+
capScope: "device",
|
|
93380
|
+
addonId: null,
|
|
93381
|
+
access: "create"
|
|
93382
|
+
},
|
|
93335
93383
|
"ptz.stop": {
|
|
93336
93384
|
capName: "ptz",
|
|
93337
93385
|
capScope: "device",
|
|
@@ -96495,6 +96543,11 @@ Object.freeze({
|
|
|
96495
96543
|
form: "single",
|
|
96496
96544
|
optional: false
|
|
96497
96545
|
}],
|
|
96546
|
+
"ptz.captureHomeHere": [{
|
|
96547
|
+
name: "deviceId",
|
|
96548
|
+
form: "single",
|
|
96549
|
+
optional: false
|
|
96550
|
+
}],
|
|
96498
96551
|
"ptz.continuousMove": [{
|
|
96499
96552
|
name: "deviceId",
|
|
96500
96553
|
form: "single",
|
|
@@ -96510,6 +96563,11 @@ Object.freeze({
|
|
|
96510
96563
|
form: "single",
|
|
96511
96564
|
optional: false
|
|
96512
96565
|
}],
|
|
96566
|
+
"ptz.getHomeReturn": [{
|
|
96567
|
+
name: "deviceId",
|
|
96568
|
+
form: "single",
|
|
96569
|
+
optional: false
|
|
96570
|
+
}],
|
|
96513
96571
|
"ptz.getOptions": [{
|
|
96514
96572
|
name: "deviceId",
|
|
96515
96573
|
form: "single",
|
|
@@ -96555,6 +96613,11 @@ Object.freeze({
|
|
|
96555
96613
|
form: "single",
|
|
96556
96614
|
optional: false
|
|
96557
96615
|
}],
|
|
96616
|
+
"ptz.setHomeReturn": [{
|
|
96617
|
+
name: "deviceId",
|
|
96618
|
+
form: "single",
|
|
96619
|
+
optional: false
|
|
96620
|
+
}],
|
|
96558
96621
|
"ptz.stop": [{
|
|
96559
96622
|
name: "deviceId",
|
|
96560
96623
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -58134,7 +58134,7 @@ var ZodIssueCode = {
|
|
|
58134
58134
|
var ZodFirstPartyTypeKind;
|
|
58135
58135
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
58136
58136
|
//#endregion
|
|
58137
|
-
//#region ../types/dist/sleep-
|
|
58137
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
58138
58138
|
/**
|
|
58139
58139
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
58140
58140
|
* window to float samples (D455).
|
|
@@ -83993,6 +83993,26 @@ var PtzHomePresetSchema = object({
|
|
|
83993
83993
|
"none"
|
|
83994
83994
|
])
|
|
83995
83995
|
});
|
|
83996
|
+
/**
|
|
83997
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
83998
|
+
* after how long.
|
|
83999
|
+
*
|
|
84000
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
84001
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
84002
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
84003
|
+
* can disagree.
|
|
84004
|
+
*
|
|
84005
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
84006
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
84007
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
84008
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
84009
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
84010
|
+
* return at all.
|
|
84011
|
+
*/
|
|
84012
|
+
var PtzHomeReturnSchema = object({
|
|
84013
|
+
enabled: boolean(),
|
|
84014
|
+
seconds: number().int()
|
|
84015
|
+
});
|
|
83996
84016
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
83997
84017
|
deviceId: number(),
|
|
83998
84018
|
presetId: string()
|
|
@@ -84015,6 +84035,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
84015
84035
|
}), _void(), {
|
|
84016
84036
|
kind: "mutation",
|
|
84017
84037
|
auth: "admin"
|
|
84038
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
84039
|
+
kind: "mutation",
|
|
84040
|
+
auth: "admin"
|
|
84041
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
84042
|
+
deviceId: number(),
|
|
84043
|
+
enabled: boolean(),
|
|
84044
|
+
seconds: number().int().min(0).max(3600)
|
|
84045
|
+
}), _void(), {
|
|
84046
|
+
kind: "mutation",
|
|
84047
|
+
auth: "admin"
|
|
84018
84048
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
84019
84049
|
deviceId: number(),
|
|
84020
84050
|
enabled: boolean()
|
|
@@ -93257,6 +93287,12 @@ Object.freeze({
|
|
|
93257
93287
|
addonId: null,
|
|
93258
93288
|
access: "create"
|
|
93259
93289
|
},
|
|
93290
|
+
"ptz.captureHomeHere": {
|
|
93291
|
+
capName: "ptz",
|
|
93292
|
+
capScope: "device",
|
|
93293
|
+
addonId: null,
|
|
93294
|
+
access: "create"
|
|
93295
|
+
},
|
|
93260
93296
|
"ptz.continuousMove": {
|
|
93261
93297
|
capName: "ptz",
|
|
93262
93298
|
capScope: "device",
|
|
@@ -93275,6 +93311,12 @@ Object.freeze({
|
|
|
93275
93311
|
addonId: null,
|
|
93276
93312
|
access: "view"
|
|
93277
93313
|
},
|
|
93314
|
+
"ptz.getHomeReturn": {
|
|
93315
|
+
capName: "ptz",
|
|
93316
|
+
capScope: "device",
|
|
93317
|
+
addonId: null,
|
|
93318
|
+
access: "view"
|
|
93319
|
+
},
|
|
93278
93320
|
"ptz.getOptions": {
|
|
93279
93321
|
capName: "ptz",
|
|
93280
93322
|
capScope: "device",
|
|
@@ -93329,6 +93371,12 @@ Object.freeze({
|
|
|
93329
93371
|
addonId: null,
|
|
93330
93372
|
access: "create"
|
|
93331
93373
|
},
|
|
93374
|
+
"ptz.setHomeReturn": {
|
|
93375
|
+
capName: "ptz",
|
|
93376
|
+
capScope: "device",
|
|
93377
|
+
addonId: null,
|
|
93378
|
+
access: "create"
|
|
93379
|
+
},
|
|
93332
93380
|
"ptz.stop": {
|
|
93333
93381
|
capName: "ptz",
|
|
93334
93382
|
capScope: "device",
|
|
@@ -96492,6 +96540,11 @@ Object.freeze({
|
|
|
96492
96540
|
form: "single",
|
|
96493
96541
|
optional: false
|
|
96494
96542
|
}],
|
|
96543
|
+
"ptz.captureHomeHere": [{
|
|
96544
|
+
name: "deviceId",
|
|
96545
|
+
form: "single",
|
|
96546
|
+
optional: false
|
|
96547
|
+
}],
|
|
96495
96548
|
"ptz.continuousMove": [{
|
|
96496
96549
|
name: "deviceId",
|
|
96497
96550
|
form: "single",
|
|
@@ -96507,6 +96560,11 @@ Object.freeze({
|
|
|
96507
96560
|
form: "single",
|
|
96508
96561
|
optional: false
|
|
96509
96562
|
}],
|
|
96563
|
+
"ptz.getHomeReturn": [{
|
|
96564
|
+
name: "deviceId",
|
|
96565
|
+
form: "single",
|
|
96566
|
+
optional: false
|
|
96567
|
+
}],
|
|
96510
96568
|
"ptz.getOptions": [{
|
|
96511
96569
|
name: "deviceId",
|
|
96512
96570
|
form: "single",
|
|
@@ -96552,6 +96610,11 @@ Object.freeze({
|
|
|
96552
96610
|
form: "single",
|
|
96553
96611
|
optional: false
|
|
96554
96612
|
}],
|
|
96613
|
+
"ptz.setHomeReturn": [{
|
|
96614
|
+
name: "deviceId",
|
|
96615
|
+
form: "single",
|
|
96616
|
+
optional: false
|
|
96617
|
+
}],
|
|
96555
96618
|
"ptz.stop": [{
|
|
96556
96619
|
name: "deviceId",
|
|
96557
96620
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.114",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|