@camstack/addon-provider-dreo 0.2.56 → 0.2.58
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 +45 -4
- package/dist/addon.mjs +45 -4
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19236,7 +19236,20 @@ var RecentTracksQueryInput = object({
|
|
|
19236
19236
|
projection: TrackProjectionSchema.optional(),
|
|
19237
19237
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19238
19238
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19239
|
-
includeStationary: boolean().optional()
|
|
19239
|
+
includeStationary: boolean().optional(),
|
|
19240
|
+
/**
|
|
19241
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19242
|
+
*
|
|
19243
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19244
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19245
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19246
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19247
|
+
*
|
|
19248
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19249
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19250
|
+
* exact one.
|
|
19251
|
+
*/
|
|
19252
|
+
classes: array(string()).optional()
|
|
19240
19253
|
});
|
|
19241
19254
|
var RecentTracksPageSchema = object({
|
|
19242
19255
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -19623,7 +19636,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19623
19636
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19624
19637
|
* stationary registry). Default false: the timeline lists passages,
|
|
19625
19638
|
* not parking records (operator decision, 2026-08-15). */
|
|
19626
|
-
includeStationary: boolean().optional()
|
|
19639
|
+
includeStationary: boolean().optional(),
|
|
19640
|
+
/**
|
|
19641
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19642
|
+
*
|
|
19643
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19644
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19645
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19646
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19647
|
+
* selection was still a wide read followed by a wide discard.
|
|
19648
|
+
*
|
|
19649
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19650
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19651
|
+
* timeline would read as a camera that saw nothing.
|
|
19652
|
+
*/
|
|
19653
|
+
classes: array(string()).optional()
|
|
19627
19654
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19628
19655
|
kind: "mutation",
|
|
19629
19656
|
auth: "admin"
|
|
@@ -23392,8 +23419,22 @@ var automationControlCapability = {
|
|
|
23392
23419
|
* threshold.
|
|
23393
23420
|
*/
|
|
23394
23421
|
var BatteryStatusSchema = object({
|
|
23395
|
-
/**
|
|
23396
|
-
|
|
23422
|
+
/**
|
|
23423
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23424
|
+
* provider has registered the capability but no reading has landed.
|
|
23425
|
+
*
|
|
23426
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23427
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23428
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23429
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23430
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23431
|
+
* reading the difference is an alarm.
|
|
23432
|
+
*
|
|
23433
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23434
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23435
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23436
|
+
*/
|
|
23437
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23397
23438
|
/**
|
|
23398
23439
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23399
23440
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
package/dist/addon.mjs
CHANGED
|
@@ -19237,7 +19237,20 @@ var RecentTracksQueryInput = object({
|
|
|
19237
19237
|
projection: TrackProjectionSchema.optional(),
|
|
19238
19238
|
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
19239
19239
|
* feed lists passages; parking records live on the stationary registry. */
|
|
19240
|
-
includeStationary: boolean().optional()
|
|
19240
|
+
includeStationary: boolean().optional(),
|
|
19241
|
+
/**
|
|
19242
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19243
|
+
*
|
|
19244
|
+
* The same filter `listTracks` takes, because the timeline's class chips must
|
|
19245
|
+
* mean the same thing whether the scope is one camera or twelve. Until this
|
|
19246
|
+
* existed the scoped feed downloaded a page and narrowed it on the phone
|
|
19247
|
+
* while the single-camera path narrowed the read — one filter, two costs.
|
|
19248
|
+
*
|
|
19249
|
+
* A SUPERSET prefilter on `classes[]`, like its single-camera twin: rows
|
|
19250
|
+
* whose class list is unreadable are kept, and the client's rule stays the
|
|
19251
|
+
* exact one.
|
|
19252
|
+
*/
|
|
19253
|
+
classes: array(string()).optional()
|
|
19241
19254
|
});
|
|
19242
19255
|
var RecentTracksPageSchema = object({
|
|
19243
19256
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -19624,7 +19637,21 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19624
19637
|
/** Include stationary-promoted rows (parked objects handed to the
|
|
19625
19638
|
* stationary registry). Default false: the timeline lists passages,
|
|
19626
19639
|
* not parking records (operator decision, 2026-08-15). */
|
|
19627
|
-
includeStationary: boolean().optional()
|
|
19640
|
+
includeStationary: boolean().optional(),
|
|
19641
|
+
/**
|
|
19642
|
+
* Restrict to these track classes. ABSENT or EMPTY means no filter.
|
|
19643
|
+
*
|
|
19644
|
+
* Added 2026-09-03: the timeline's class chips filtered in the CLIENT,
|
|
19645
|
+
* on a day of rows already downloaded. The zone filter had been moved
|
|
19646
|
+
* here for exactly that reason — and it is also what lets the rows come
|
|
19647
|
+
* back `slim` — but the class filter was left behind, so a narrow
|
|
19648
|
+
* selection was still a wide read followed by a wide discard.
|
|
19649
|
+
*
|
|
19650
|
+
* Empty is "show all", not "nothing matches": a chip row with nothing
|
|
19651
|
+
* selected is an operator who has not narrowed anything, and an empty
|
|
19652
|
+
* timeline would read as a camera that saw nothing.
|
|
19653
|
+
*/
|
|
19654
|
+
classes: array(string()).optional()
|
|
19628
19655
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19629
19656
|
kind: "mutation",
|
|
19630
19657
|
auth: "admin"
|
|
@@ -23393,8 +23420,22 @@ var automationControlCapability = {
|
|
|
23393
23420
|
* threshold.
|
|
23394
23421
|
*/
|
|
23395
23422
|
var BatteryStatusSchema = object({
|
|
23396
|
-
/**
|
|
23397
|
-
|
|
23423
|
+
/**
|
|
23424
|
+
* 0..100 inclusive, firmware-reported. **`null` means NOT YET KNOWN** — the
|
|
23425
|
+
* provider has registered the capability but no reading has landed.
|
|
23426
|
+
*
|
|
23427
|
+
* It is nullable because it was not, and the only value a provider could
|
|
23428
|
+
* seed with was `0`. A battery camera behind an NVR therefore announced
|
|
23429
|
+
* itself at 0% on every start and corrected itself a moment later, which is
|
|
23430
|
+
* indistinguishable from a real flat battery: it fires the low-battery alert
|
|
23431
|
+
* every time the hub restarts. Unknown is not empty (D315), and on a battery
|
|
23432
|
+
* reading the difference is an alarm.
|
|
23433
|
+
*
|
|
23434
|
+
* `vacuum-control` and `lawn-mower-control` already model it this way.
|
|
23435
|
+
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
23436
|
+
* declines to band a non-finite reading, which is the correct shape.
|
|
23437
|
+
*/
|
|
23438
|
+
percentage: number().min(0).max(100).nullable(),
|
|
23398
23439
|
/**
|
|
23399
23440
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23400
23441
|
* 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-dreo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.58",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|