@camstack/addon-provider-hikvision 1.2.65 → 1.2.66
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 +30 -3
- package/dist/addon.mjs +30 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19490,7 +19490,20 @@ var RecentTracksQueryInput = object({
|
|
|
19490
19490
|
projection: TrackProjectionSchema.optional(),
|
|
19491
19491
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19492
19492
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19493
|
-
includeStationary: boolean().optional()
|
|
19493
|
+
includeStationary: boolean().optional(),
|
|
19494
|
+
/**
|
|
19495
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19496
|
+
*
|
|
19497
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19498
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19499
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19500
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19501
|
+
*
|
|
19502
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19503
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19504
|
+
* exact one.
|
|
19505
|
+
*/
|
|
19506
|
+
classes: array(string()).optional()
|
|
19494
19507
|
});
|
|
19495
19508
|
var RecentTracksPageSchema = object({
|
|
19496
19509
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23764,8 +23777,22 @@ var automationControlCapability = {
|
|
|
23764
23777
|
* threshold.
|
|
23765
23778
|
*/
|
|
23766
23779
|
var BatteryStatusSchema = object({
|
|
23767
|
-
/**
|
|
23768
|
-
|
|
23780
|
+
/**
|
|
23781
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23782
|
+
* provider has registered the capability but no reading has landed.
|
|
23783
|
+
*
|
|
23784
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23785
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23786
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23787
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23788
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23789
|
+
* reading the difference is an alarm.
|
|
23790
|
+
*
|
|
23791
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23792
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23793
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23794
|
+
*/
|
|
23795
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23769
23796
|
/**
|
|
23770
23797
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23771
23798
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -19491,7 +19491,20 @@ var RecentTracksQueryInput = object({
|
|
|
19491
19491
|
projection: TrackProjectionSchema.optional(),
|
|
19492
19492
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19493
19493
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19494
|
-
includeStationary: boolean().optional()
|
|
19494
|
+
includeStationary: boolean().optional(),
|
|
19495
|
+
/**
|
|
19496
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19497
|
+
*
|
|
19498
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19499
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19500
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19501
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19502
|
+
*
|
|
19503
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19504
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19505
|
+
* exact one.
|
|
19506
|
+
*/
|
|
19507
|
+
classes: array(string()).optional()
|
|
19495
19508
|
});
|
|
19496
19509
|
var RecentTracksPageSchema = object({
|
|
19497
19510
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -23765,8 +23778,22 @@ var automationControlCapability = {
|
|
|
23765
23778
|
* threshold.
|
|
23766
23779
|
*/
|
|
23767
23780
|
var BatteryStatusSchema = object({
|
|
23768
|
-
/**
|
|
23769
|
-
|
|
23781
|
+
/**
|
|
23782
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23783
|
+
* provider has registered the capability but no reading has landed.
|
|
23784
|
+
*
|
|
23785
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23786
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23787
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23788
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23789
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23790
|
+
* reading the difference is an alarm.
|
|
23791
|
+
*
|
|
23792
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23793
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23794
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23795
|
+
*/
|
|
23796
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23770
23797
|
/**
|
|
23771
23798
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23772
23799
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-hikvision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.66",
|
|
4
4
|
"description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|