@camstack/addon-provider-homematic 1.2.112 → 1.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
|
@@ -5369,7 +5369,7 @@ var ZodIssueCode = {
|
|
|
5369
5369
|
var ZodFirstPartyTypeKind;
|
|
5370
5370
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5371
5371
|
//#endregion
|
|
5372
|
-
//#region ../types/dist/sleep-
|
|
5372
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5373
5373
|
/**
|
|
5374
5374
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5375
5375
|
* window to float samples (D455).
|
|
@@ -31104,6 +31104,26 @@ var PtzHomePresetSchema = object({
|
|
|
31104
31104
|
"none"
|
|
31105
31105
|
])
|
|
31106
31106
|
});
|
|
31107
|
+
/**
|
|
31108
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31109
|
+
* after how long.
|
|
31110
|
+
*
|
|
31111
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31112
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31113
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31114
|
+
* can disagree.
|
|
31115
|
+
*
|
|
31116
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31117
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31118
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31119
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31120
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31121
|
+
* return at all.
|
|
31122
|
+
*/
|
|
31123
|
+
var PtzHomeReturnSchema = object({
|
|
31124
|
+
enabled: boolean(),
|
|
31125
|
+
seconds: number().int()
|
|
31126
|
+
});
|
|
31107
31127
|
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({
|
|
31108
31128
|
deviceId: number(),
|
|
31109
31129
|
presetId: string()
|
|
@@ -31126,6 +31146,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31126
31146
|
}), _void(), {
|
|
31127
31147
|
kind: "mutation",
|
|
31128
31148
|
auth: "admin"
|
|
31149
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31150
|
+
kind: "mutation",
|
|
31151
|
+
auth: "admin"
|
|
31152
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31153
|
+
deviceId: number(),
|
|
31154
|
+
enabled: boolean(),
|
|
31155
|
+
seconds: number().int().min(0).max(3600)
|
|
31156
|
+
}), _void(), {
|
|
31157
|
+
kind: "mutation",
|
|
31158
|
+
auth: "admin"
|
|
31129
31159
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31130
31160
|
deviceId: number(),
|
|
31131
31161
|
enabled: boolean()
|
|
@@ -40368,6 +40398,12 @@ Object.freeze({
|
|
|
40368
40398
|
addonId: null,
|
|
40369
40399
|
access: "create"
|
|
40370
40400
|
},
|
|
40401
|
+
"ptz.captureHomeHere": {
|
|
40402
|
+
capName: "ptz",
|
|
40403
|
+
capScope: "device",
|
|
40404
|
+
addonId: null,
|
|
40405
|
+
access: "create"
|
|
40406
|
+
},
|
|
40371
40407
|
"ptz.continuousMove": {
|
|
40372
40408
|
capName: "ptz",
|
|
40373
40409
|
capScope: "device",
|
|
@@ -40386,6 +40422,12 @@ Object.freeze({
|
|
|
40386
40422
|
addonId: null,
|
|
40387
40423
|
access: "view"
|
|
40388
40424
|
},
|
|
40425
|
+
"ptz.getHomeReturn": {
|
|
40426
|
+
capName: "ptz",
|
|
40427
|
+
capScope: "device",
|
|
40428
|
+
addonId: null,
|
|
40429
|
+
access: "view"
|
|
40430
|
+
},
|
|
40389
40431
|
"ptz.getOptions": {
|
|
40390
40432
|
capName: "ptz",
|
|
40391
40433
|
capScope: "device",
|
|
@@ -40440,6 +40482,12 @@ Object.freeze({
|
|
|
40440
40482
|
addonId: null,
|
|
40441
40483
|
access: "create"
|
|
40442
40484
|
},
|
|
40485
|
+
"ptz.setHomeReturn": {
|
|
40486
|
+
capName: "ptz",
|
|
40487
|
+
capScope: "device",
|
|
40488
|
+
addonId: null,
|
|
40489
|
+
access: "create"
|
|
40490
|
+
},
|
|
40443
40491
|
"ptz.stop": {
|
|
40444
40492
|
capName: "ptz",
|
|
40445
40493
|
capScope: "device",
|
|
@@ -43603,6 +43651,11 @@ Object.freeze({
|
|
|
43603
43651
|
form: "single",
|
|
43604
43652
|
optional: false
|
|
43605
43653
|
}],
|
|
43654
|
+
"ptz.captureHomeHere": [{
|
|
43655
|
+
name: "deviceId",
|
|
43656
|
+
form: "single",
|
|
43657
|
+
optional: false
|
|
43658
|
+
}],
|
|
43606
43659
|
"ptz.continuousMove": [{
|
|
43607
43660
|
name: "deviceId",
|
|
43608
43661
|
form: "single",
|
|
@@ -43618,6 +43671,11 @@ Object.freeze({
|
|
|
43618
43671
|
form: "single",
|
|
43619
43672
|
optional: false
|
|
43620
43673
|
}],
|
|
43674
|
+
"ptz.getHomeReturn": [{
|
|
43675
|
+
name: "deviceId",
|
|
43676
|
+
form: "single",
|
|
43677
|
+
optional: false
|
|
43678
|
+
}],
|
|
43621
43679
|
"ptz.getOptions": [{
|
|
43622
43680
|
name: "deviceId",
|
|
43623
43681
|
form: "single",
|
|
@@ -43663,6 +43721,11 @@ Object.freeze({
|
|
|
43663
43721
|
form: "single",
|
|
43664
43722
|
optional: false
|
|
43665
43723
|
}],
|
|
43724
|
+
"ptz.setHomeReturn": [{
|
|
43725
|
+
name: "deviceId",
|
|
43726
|
+
form: "single",
|
|
43727
|
+
optional: false
|
|
43728
|
+
}],
|
|
43666
43729
|
"ptz.stop": [{
|
|
43667
43730
|
name: "deviceId",
|
|
43668
43731
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5370,7 +5370,7 @@ var ZodIssueCode = {
|
|
|
5370
5370
|
var ZodFirstPartyTypeKind;
|
|
5371
5371
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5372
5372
|
//#endregion
|
|
5373
|
-
//#region ../types/dist/sleep-
|
|
5373
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5374
5374
|
/**
|
|
5375
5375
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5376
5376
|
* window to float samples (D455).
|
|
@@ -31105,6 +31105,26 @@ var PtzHomePresetSchema = object({
|
|
|
31105
31105
|
"none"
|
|
31106
31106
|
])
|
|
31107
31107
|
});
|
|
31108
|
+
/**
|
|
31109
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31110
|
+
* after how long.
|
|
31111
|
+
*
|
|
31112
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31113
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31114
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31115
|
+
* can disagree.
|
|
31116
|
+
*
|
|
31117
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31118
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31119
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31120
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31121
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31122
|
+
* return at all.
|
|
31123
|
+
*/
|
|
31124
|
+
var PtzHomeReturnSchema = object({
|
|
31125
|
+
enabled: boolean(),
|
|
31126
|
+
seconds: number().int()
|
|
31127
|
+
});
|
|
31108
31128
|
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({
|
|
31109
31129
|
deviceId: number(),
|
|
31110
31130
|
presetId: string()
|
|
@@ -31127,6 +31147,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31127
31147
|
}), _void(), {
|
|
31128
31148
|
kind: "mutation",
|
|
31129
31149
|
auth: "admin"
|
|
31150
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31151
|
+
kind: "mutation",
|
|
31152
|
+
auth: "admin"
|
|
31153
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31154
|
+
deviceId: number(),
|
|
31155
|
+
enabled: boolean(),
|
|
31156
|
+
seconds: number().int().min(0).max(3600)
|
|
31157
|
+
}), _void(), {
|
|
31158
|
+
kind: "mutation",
|
|
31159
|
+
auth: "admin"
|
|
31130
31160
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31131
31161
|
deviceId: number(),
|
|
31132
31162
|
enabled: boolean()
|
|
@@ -40369,6 +40399,12 @@ Object.freeze({
|
|
|
40369
40399
|
addonId: null,
|
|
40370
40400
|
access: "create"
|
|
40371
40401
|
},
|
|
40402
|
+
"ptz.captureHomeHere": {
|
|
40403
|
+
capName: "ptz",
|
|
40404
|
+
capScope: "device",
|
|
40405
|
+
addonId: null,
|
|
40406
|
+
access: "create"
|
|
40407
|
+
},
|
|
40372
40408
|
"ptz.continuousMove": {
|
|
40373
40409
|
capName: "ptz",
|
|
40374
40410
|
capScope: "device",
|
|
@@ -40387,6 +40423,12 @@ Object.freeze({
|
|
|
40387
40423
|
addonId: null,
|
|
40388
40424
|
access: "view"
|
|
40389
40425
|
},
|
|
40426
|
+
"ptz.getHomeReturn": {
|
|
40427
|
+
capName: "ptz",
|
|
40428
|
+
capScope: "device",
|
|
40429
|
+
addonId: null,
|
|
40430
|
+
access: "view"
|
|
40431
|
+
},
|
|
40390
40432
|
"ptz.getOptions": {
|
|
40391
40433
|
capName: "ptz",
|
|
40392
40434
|
capScope: "device",
|
|
@@ -40441,6 +40483,12 @@ Object.freeze({
|
|
|
40441
40483
|
addonId: null,
|
|
40442
40484
|
access: "create"
|
|
40443
40485
|
},
|
|
40486
|
+
"ptz.setHomeReturn": {
|
|
40487
|
+
capName: "ptz",
|
|
40488
|
+
capScope: "device",
|
|
40489
|
+
addonId: null,
|
|
40490
|
+
access: "create"
|
|
40491
|
+
},
|
|
40444
40492
|
"ptz.stop": {
|
|
40445
40493
|
capName: "ptz",
|
|
40446
40494
|
capScope: "device",
|
|
@@ -43604,6 +43652,11 @@ Object.freeze({
|
|
|
43604
43652
|
form: "single",
|
|
43605
43653
|
optional: false
|
|
43606
43654
|
}],
|
|
43655
|
+
"ptz.captureHomeHere": [{
|
|
43656
|
+
name: "deviceId",
|
|
43657
|
+
form: "single",
|
|
43658
|
+
optional: false
|
|
43659
|
+
}],
|
|
43607
43660
|
"ptz.continuousMove": [{
|
|
43608
43661
|
name: "deviceId",
|
|
43609
43662
|
form: "single",
|
|
@@ -43619,6 +43672,11 @@ Object.freeze({
|
|
|
43619
43672
|
form: "single",
|
|
43620
43673
|
optional: false
|
|
43621
43674
|
}],
|
|
43675
|
+
"ptz.getHomeReturn": [{
|
|
43676
|
+
name: "deviceId",
|
|
43677
|
+
form: "single",
|
|
43678
|
+
optional: false
|
|
43679
|
+
}],
|
|
43622
43680
|
"ptz.getOptions": [{
|
|
43623
43681
|
name: "deviceId",
|
|
43624
43682
|
form: "single",
|
|
@@ -43664,6 +43722,11 @@ Object.freeze({
|
|
|
43664
43722
|
form: "single",
|
|
43665
43723
|
optional: false
|
|
43666
43724
|
}],
|
|
43725
|
+
"ptz.setHomeReturn": [{
|
|
43726
|
+
name: "deviceId",
|
|
43727
|
+
form: "single",
|
|
43728
|
+
optional: false
|
|
43729
|
+
}],
|
|
43667
43730
|
"ptz.stop": [{
|
|
43668
43731
|
name: "deviceId",
|
|
43669
43732
|
form: "single",
|
package/package.json
CHANGED