@camstack/addon-provider-rademacher 0.2.139 → 0.2.141
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 +125 -2
- package/dist/addon.mjs +125 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -984,7 +984,7 @@ var Rademacher = class {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
//#endregion
|
|
987
|
-
//#region ../types/dist/event-category-
|
|
987
|
+
//#region ../types/dist/event-category-7pZEBmVg.mjs
|
|
988
988
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
989
989
|
EventCategory["SystemBoot"] = "system.boot";
|
|
990
990
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1672,6 +1672,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1672
1672
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
1673
1673
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
1674
1674
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
1675
|
+
/**
|
|
1676
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
1677
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
1678
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
1679
|
+
*/
|
|
1680
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
1681
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
1682
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
1675
1683
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
1676
1684
|
/**
|
|
1677
1685
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -6399,7 +6407,7 @@ var ZodIssueCode = {
|
|
|
6399
6407
|
var ZodFirstPartyTypeKind;
|
|
6400
6408
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6401
6409
|
//#endregion
|
|
6402
|
-
//#region ../types/dist/sleep-
|
|
6410
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
6403
6411
|
/**
|
|
6404
6412
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6405
6413
|
* window to float samples (D455).
|
|
@@ -43473,6 +43481,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
43473
43481
|
"alert-critical",
|
|
43474
43482
|
"alert-error",
|
|
43475
43483
|
"alert-critical-resolved",
|
|
43484
|
+
"rule-broken",
|
|
43485
|
+
"rule-repaired",
|
|
43476
43486
|
"camera-online",
|
|
43477
43487
|
"camera-offline",
|
|
43478
43488
|
"camera-disabled",
|
|
@@ -79749,6 +79759,8 @@ new Map(Object.entries({
|
|
|
79749
79759
|
"alert-critical": "system",
|
|
79750
79760
|
"alert-error": "system",
|
|
79751
79761
|
"alert-critical-resolved": "system",
|
|
79762
|
+
"rule-broken": "system",
|
|
79763
|
+
"rule-repaired": "system",
|
|
79752
79764
|
"storage-location-low": "system",
|
|
79753
79765
|
"storage-location-critical": "system",
|
|
79754
79766
|
"storage-location-ok": "system",
|
|
@@ -79883,6 +79895,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79883
79895
|
"alert-critical-resolved"
|
|
79884
79896
|
]
|
|
79885
79897
|
},
|
|
79898
|
+
{
|
|
79899
|
+
id: "rule-health",
|
|
79900
|
+
family: "system",
|
|
79901
|
+
label: "Notification rules",
|
|
79902
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
79903
|
+
},
|
|
79886
79904
|
{
|
|
79887
79905
|
id: "alarm",
|
|
79888
79906
|
family: "alarm",
|
|
@@ -80160,6 +80178,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
80160
80178
|
[...RULE_TEXT],
|
|
80161
80179
|
[...RULE_TEXT],
|
|
80162
80180
|
[...RULE_TEXT],
|
|
80181
|
+
[...RULE_TEXT],
|
|
80182
|
+
[...RULE_TEXT],
|
|
80183
|
+
[...RULE_TEXT],
|
|
80184
|
+
[...RULE_TEXT],
|
|
80163
80185
|
([...RULE_TEXT], [...UPDATES]),
|
|
80164
80186
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
80165
80187
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -80198,6 +80220,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
80198
80220
|
[...RULE_TEXT],
|
|
80199
80221
|
...STATE_SUMMARY_VARS
|
|
80200
80222
|
];
|
|
80223
|
+
new Map([
|
|
80224
|
+
{
|
|
80225
|
+
id: "device-connectivity",
|
|
80226
|
+
family: "device-events",
|
|
80227
|
+
label: "Device connectivity (offline / back online)",
|
|
80228
|
+
bad: ["device-offline"],
|
|
80229
|
+
recovery: ["device-online"],
|
|
80230
|
+
snapshotLabel: "Devices offline now",
|
|
80231
|
+
snapshotSection: "device-state"
|
|
80232
|
+
},
|
|
80233
|
+
{
|
|
80234
|
+
id: "device-switch",
|
|
80235
|
+
family: "device-events",
|
|
80236
|
+
label: "Device switched off / back on",
|
|
80237
|
+
bad: ["device-disabled"],
|
|
80238
|
+
recovery: ["device-enabled"],
|
|
80239
|
+
snapshotLabel: "Devices switched off now",
|
|
80240
|
+
snapshotSection: "device-state"
|
|
80241
|
+
},
|
|
80242
|
+
{
|
|
80243
|
+
id: "stream-connectivity",
|
|
80244
|
+
family: "device-events",
|
|
80245
|
+
label: "Stream connectivity (offline / back online)",
|
|
80246
|
+
bad: ["stream-offline"],
|
|
80247
|
+
recovery: ["stream-online"],
|
|
80248
|
+
snapshotLabel: "Streams offline now",
|
|
80249
|
+
snapshotSection: "streams"
|
|
80250
|
+
},
|
|
80251
|
+
{
|
|
80252
|
+
id: "battery",
|
|
80253
|
+
family: "device-events",
|
|
80254
|
+
label: "Battery (low / back to normal)",
|
|
80255
|
+
bad: ["device-battery-low"],
|
|
80256
|
+
recovery: ["device-battery-normal"],
|
|
80257
|
+
snapshotLabel: "Batteries low now",
|
|
80258
|
+
snapshotSection: "battery"
|
|
80259
|
+
},
|
|
80260
|
+
{
|
|
80261
|
+
id: "consumables",
|
|
80262
|
+
family: "device-events",
|
|
80263
|
+
label: "Consumables (low / replaced)",
|
|
80264
|
+
bad: ["device-consumable-low"],
|
|
80265
|
+
recovery: ["device-consumable-normal"],
|
|
80266
|
+
snapshotLabel: "Consumables low now",
|
|
80267
|
+
snapshotSection: "consumables"
|
|
80268
|
+
},
|
|
80269
|
+
{
|
|
80270
|
+
id: "tanks",
|
|
80271
|
+
family: "device-events",
|
|
80272
|
+
label: "Tanks (low or full / back to normal)",
|
|
80273
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
80274
|
+
recovery: ["device-tank-normal"],
|
|
80275
|
+
snapshotLabel: "Tanks low or full now",
|
|
80276
|
+
snapshotSection: "tanks"
|
|
80277
|
+
},
|
|
80278
|
+
{
|
|
80279
|
+
id: "recording-health",
|
|
80280
|
+
family: "device-events",
|
|
80281
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
80282
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
80283
|
+
recovery: ["recording-healthy"],
|
|
80284
|
+
snapshotLabel: "Recordings stalled now",
|
|
80285
|
+
snapshotSection: null
|
|
80286
|
+
},
|
|
80287
|
+
{
|
|
80288
|
+
id: "node-connectivity",
|
|
80289
|
+
family: "system",
|
|
80290
|
+
label: "Node connectivity (offline / back online)",
|
|
80291
|
+
bad: ["node-offline"],
|
|
80292
|
+
recovery: ["node-online"],
|
|
80293
|
+
snapshotLabel: "Nodes offline now",
|
|
80294
|
+
snapshotSection: "nodes"
|
|
80295
|
+
},
|
|
80296
|
+
{
|
|
80297
|
+
id: "storage-space",
|
|
80298
|
+
family: "system",
|
|
80299
|
+
label: "Storage space (low or critical / ok again)",
|
|
80300
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
80301
|
+
recovery: ["storage-location-ok"],
|
|
80302
|
+
snapshotLabel: "Storage locations low now",
|
|
80303
|
+
snapshotSection: null
|
|
80304
|
+
},
|
|
80305
|
+
{
|
|
80306
|
+
id: "critical-alerts",
|
|
80307
|
+
family: "system",
|
|
80308
|
+
label: "Critical alerts (raised / resolved)",
|
|
80309
|
+
bad: ["alert-critical"],
|
|
80310
|
+
recovery: ["alert-critical-resolved"],
|
|
80311
|
+
snapshotLabel: "Critical alerts open now",
|
|
80312
|
+
snapshotSection: null
|
|
80313
|
+
},
|
|
80314
|
+
{
|
|
80315
|
+
id: "rule-health",
|
|
80316
|
+
family: "system",
|
|
80317
|
+
label: "Rule health (broken / repaired)",
|
|
80318
|
+
bad: ["rule-broken"],
|
|
80319
|
+
recovery: ["rule-repaired"],
|
|
80320
|
+
snapshotLabel: "Notification rules broken now",
|
|
80321
|
+
snapshotSection: null
|
|
80322
|
+
}
|
|
80323
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
80201
80324
|
new Set([
|
|
80202
80325
|
"disarmed",
|
|
80203
80326
|
"armed_home",
|
package/dist/addon.mjs
CHANGED
|
@@ -983,7 +983,7 @@ var Rademacher = class {
|
|
|
983
983
|
}
|
|
984
984
|
};
|
|
985
985
|
//#endregion
|
|
986
|
-
//#region ../types/dist/event-category-
|
|
986
|
+
//#region ../types/dist/event-category-7pZEBmVg.mjs
|
|
987
987
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
988
988
|
EventCategory["SystemBoot"] = "system.boot";
|
|
989
989
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1671,6 +1671,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1671
1671
|
EventCategory["BackupRestored"] = "backup.restored";
|
|
1672
1672
|
EventCategory["NotificationDispatched"] = "notification.dispatched";
|
|
1673
1673
|
EventCategory["NotificationFailed"] = "notification.failed";
|
|
1674
|
+
/**
|
|
1675
|
+
* A notification rule that cannot work (D905): its stored row does not load,
|
|
1676
|
+
* or it still names a device / delivery target the prune CONFIRMED deleted.
|
|
1677
|
+
* One edge per rule per distinct set of reasons; never on an unanswered read.
|
|
1678
|
+
*/
|
|
1679
|
+
EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
|
|
1680
|
+
/** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
|
|
1681
|
+
EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
|
|
1674
1682
|
EventCategory["DeviceUpdated"] = "device.updated";
|
|
1675
1683
|
/**
|
|
1676
1684
|
* Transport-level connectivity. Emitted by the device driver when
|
|
@@ -6398,7 +6406,7 @@ var ZodIssueCode = {
|
|
|
6398
6406
|
var ZodFirstPartyTypeKind;
|
|
6399
6407
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6400
6408
|
//#endregion
|
|
6401
|
-
//#region ../types/dist/sleep-
|
|
6409
|
+
//#region ../types/dist/sleep-CueztlR1.mjs
|
|
6402
6410
|
/**
|
|
6403
6411
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6404
6412
|
* window to float samples (D455).
|
|
@@ -43472,6 +43480,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
43472
43480
|
"alert-critical",
|
|
43473
43481
|
"alert-error",
|
|
43474
43482
|
"alert-critical-resolved",
|
|
43483
|
+
"rule-broken",
|
|
43484
|
+
"rule-repaired",
|
|
43475
43485
|
"camera-online",
|
|
43476
43486
|
"camera-offline",
|
|
43477
43487
|
"camera-disabled",
|
|
@@ -79748,6 +79758,8 @@ new Map(Object.entries({
|
|
|
79748
79758
|
"alert-critical": "system",
|
|
79749
79759
|
"alert-error": "system",
|
|
79750
79760
|
"alert-critical-resolved": "system",
|
|
79761
|
+
"rule-broken": "system",
|
|
79762
|
+
"rule-repaired": "system",
|
|
79751
79763
|
"storage-location-low": "system",
|
|
79752
79764
|
"storage-location-critical": "system",
|
|
79753
79765
|
"storage-location-ok": "system",
|
|
@@ -79882,6 +79894,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79882
79894
|
"alert-critical-resolved"
|
|
79883
79895
|
]
|
|
79884
79896
|
},
|
|
79897
|
+
{
|
|
79898
|
+
id: "rule-health",
|
|
79899
|
+
family: "system",
|
|
79900
|
+
label: "Notification rules",
|
|
79901
|
+
kinds: ["rule-broken", "rule-repaired"]
|
|
79902
|
+
},
|
|
79885
79903
|
{
|
|
79886
79904
|
id: "alarm",
|
|
79887
79905
|
family: "alarm",
|
|
@@ -80159,6 +80177,10 @@ var STATE_SUMMARY_VARS = [
|
|
|
80159
80177
|
[...RULE_TEXT],
|
|
80160
80178
|
[...RULE_TEXT],
|
|
80161
80179
|
[...RULE_TEXT],
|
|
80180
|
+
[...RULE_TEXT],
|
|
80181
|
+
[...RULE_TEXT],
|
|
80182
|
+
[...RULE_TEXT],
|
|
80183
|
+
[...RULE_TEXT],
|
|
80162
80184
|
([...RULE_TEXT], [...UPDATES]),
|
|
80163
80185
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
80164
80186
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -80197,6 +80219,107 @@ var STATE_SUMMARY_VARS = [
|
|
|
80197
80219
|
[...RULE_TEXT],
|
|
80198
80220
|
...STATE_SUMMARY_VARS
|
|
80199
80221
|
];
|
|
80222
|
+
new Map([
|
|
80223
|
+
{
|
|
80224
|
+
id: "device-connectivity",
|
|
80225
|
+
family: "device-events",
|
|
80226
|
+
label: "Device connectivity (offline / back online)",
|
|
80227
|
+
bad: ["device-offline"],
|
|
80228
|
+
recovery: ["device-online"],
|
|
80229
|
+
snapshotLabel: "Devices offline now",
|
|
80230
|
+
snapshotSection: "device-state"
|
|
80231
|
+
},
|
|
80232
|
+
{
|
|
80233
|
+
id: "device-switch",
|
|
80234
|
+
family: "device-events",
|
|
80235
|
+
label: "Device switched off / back on",
|
|
80236
|
+
bad: ["device-disabled"],
|
|
80237
|
+
recovery: ["device-enabled"],
|
|
80238
|
+
snapshotLabel: "Devices switched off now",
|
|
80239
|
+
snapshotSection: "device-state"
|
|
80240
|
+
},
|
|
80241
|
+
{
|
|
80242
|
+
id: "stream-connectivity",
|
|
80243
|
+
family: "device-events",
|
|
80244
|
+
label: "Stream connectivity (offline / back online)",
|
|
80245
|
+
bad: ["stream-offline"],
|
|
80246
|
+
recovery: ["stream-online"],
|
|
80247
|
+
snapshotLabel: "Streams offline now",
|
|
80248
|
+
snapshotSection: "streams"
|
|
80249
|
+
},
|
|
80250
|
+
{
|
|
80251
|
+
id: "battery",
|
|
80252
|
+
family: "device-events",
|
|
80253
|
+
label: "Battery (low / back to normal)",
|
|
80254
|
+
bad: ["device-battery-low"],
|
|
80255
|
+
recovery: ["device-battery-normal"],
|
|
80256
|
+
snapshotLabel: "Batteries low now",
|
|
80257
|
+
snapshotSection: "battery"
|
|
80258
|
+
},
|
|
80259
|
+
{
|
|
80260
|
+
id: "consumables",
|
|
80261
|
+
family: "device-events",
|
|
80262
|
+
label: "Consumables (low / replaced)",
|
|
80263
|
+
bad: ["device-consumable-low"],
|
|
80264
|
+
recovery: ["device-consumable-normal"],
|
|
80265
|
+
snapshotLabel: "Consumables low now",
|
|
80266
|
+
snapshotSection: "consumables"
|
|
80267
|
+
},
|
|
80268
|
+
{
|
|
80269
|
+
id: "tanks",
|
|
80270
|
+
family: "device-events",
|
|
80271
|
+
label: "Tanks (low or full / back to normal)",
|
|
80272
|
+
bad: ["device-tank-low", "device-tank-full"],
|
|
80273
|
+
recovery: ["device-tank-normal"],
|
|
80274
|
+
snapshotLabel: "Tanks low or full now",
|
|
80275
|
+
snapshotSection: "tanks"
|
|
80276
|
+
},
|
|
80277
|
+
{
|
|
80278
|
+
id: "recording-health",
|
|
80279
|
+
family: "device-events",
|
|
80280
|
+
label: "Recording health (stalled or degraded / recording again)",
|
|
80281
|
+
bad: ["recording-stalled", "recording-degraded"],
|
|
80282
|
+
recovery: ["recording-healthy"],
|
|
80283
|
+
snapshotLabel: "Recordings stalled now",
|
|
80284
|
+
snapshotSection: null
|
|
80285
|
+
},
|
|
80286
|
+
{
|
|
80287
|
+
id: "node-connectivity",
|
|
80288
|
+
family: "system",
|
|
80289
|
+
label: "Node connectivity (offline / back online)",
|
|
80290
|
+
bad: ["node-offline"],
|
|
80291
|
+
recovery: ["node-online"],
|
|
80292
|
+
snapshotLabel: "Nodes offline now",
|
|
80293
|
+
snapshotSection: "nodes"
|
|
80294
|
+
},
|
|
80295
|
+
{
|
|
80296
|
+
id: "storage-space",
|
|
80297
|
+
family: "system",
|
|
80298
|
+
label: "Storage space (low or critical / ok again)",
|
|
80299
|
+
bad: ["storage-location-low", "storage-location-critical"],
|
|
80300
|
+
recovery: ["storage-location-ok"],
|
|
80301
|
+
snapshotLabel: "Storage locations low now",
|
|
80302
|
+
snapshotSection: null
|
|
80303
|
+
},
|
|
80304
|
+
{
|
|
80305
|
+
id: "critical-alerts",
|
|
80306
|
+
family: "system",
|
|
80307
|
+
label: "Critical alerts (raised / resolved)",
|
|
80308
|
+
bad: ["alert-critical"],
|
|
80309
|
+
recovery: ["alert-critical-resolved"],
|
|
80310
|
+
snapshotLabel: "Critical alerts open now",
|
|
80311
|
+
snapshotSection: null
|
|
80312
|
+
},
|
|
80313
|
+
{
|
|
80314
|
+
id: "rule-health",
|
|
80315
|
+
family: "system",
|
|
80316
|
+
label: "Rule health (broken / repaired)",
|
|
80317
|
+
bad: ["rule-broken"],
|
|
80318
|
+
recovery: ["rule-repaired"],
|
|
80319
|
+
snapshotLabel: "Notification rules broken now",
|
|
80320
|
+
snapshotSection: null
|
|
80321
|
+
}
|
|
80322
|
+
].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
|
|
80200
80323
|
new Set([
|
|
80201
80324
|
"disarmed",
|
|
80202
80325
|
"armed_home",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.141",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|