@camstack/system 1.2.286 → 1.2.288
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/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-config-contribution.d.ts +1 -0
- package/dist/builtins/device-manager/device-manager.addon.js +472 -3
- package/dist/builtins/device-manager/device-manager.addon.mjs +472 -3
- package/dist/builtins/device-manager/recording-onboard-config-schema.d.ts +41 -0
- package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
- package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +1 -1
- package/dist/builtins/system-config/system-config.addon.mjs +1 -1
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{dist-C2rpGptn.js → dist-BYnHJU96.js} +2027 -3
- package/dist/{dist-B6uD33b6.mjs → dist-DKFb2936.mjs} +2010 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{retired-settings-keys-CZvs6OHE.js → retired-settings-keys-C6rFqHR7.js} +1 -1
- package/dist/{retired-settings-keys-BB798vLn.mjs → retired-settings-keys-tuNxNNpR.mjs} +1 -1
- package/package.json +1 -1
|
@@ -691,7 +691,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
691
691
|
return EventCategory;
|
|
692
692
|
}({});
|
|
693
693
|
//#endregion
|
|
694
|
-
//#region ../types/dist/sleep-
|
|
694
|
+
//#region ../types/dist/sleep-i3eUVc-d.mjs
|
|
695
695
|
/**
|
|
696
696
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
697
697
|
* window to float samples (D455).
|
|
@@ -4329,10 +4329,20 @@ var CameraSwitchAuthoritySchema = zod.z.discriminatedUnion("kind", [
|
|
|
4329
4329
|
var CameraSwitchUnavailableReasonSchema = zod.z.enum([
|
|
4330
4330
|
"no-provider",
|
|
4331
4331
|
"source-unreachable",
|
|
4332
|
-
"not-configured",
|
|
4333
4332
|
"device-disabled"
|
|
4334
4333
|
]);
|
|
4335
4334
|
/**
|
|
4335
|
+
* Something true about a switch that is nonetheless OFFERED.
|
|
4336
|
+
*
|
|
4337
|
+
* The distinction from {@link CameraSwitchUnavailableReasonSchema} is the
|
|
4338
|
+
* whole point: a reason replaces the control, a warning travels WITH it. The
|
|
4339
|
+
* privacy mask taught us the difference — greying the one button that starts
|
|
4340
|
+
* the feature teaches the operator the feature is broken, while a live toggle
|
|
4341
|
+
* that flips nothing teaches them the switch is broken. Neither is true; the
|
|
4342
|
+
* honest surface is a working toggle that says what is missing.
|
|
4343
|
+
*/
|
|
4344
|
+
var CameraSwitchWarningSchema = zod.z.enum(["no-privacy-zones"]);
|
|
4345
|
+
/**
|
|
4336
4346
|
* One switch, resolved for one camera.
|
|
4337
4347
|
*
|
|
4338
4348
|
* `label` and `costWhenOff` travel ON THE WIRE rather than being looked up
|
|
@@ -4351,6 +4361,11 @@ var CameraSwitchSchema = zod.z.object({
|
|
|
4351
4361
|
/** False = do not render a control. `unavailableReason` says why. */
|
|
4352
4362
|
available: zod.z.boolean(),
|
|
4353
4363
|
unavailableReason: CameraSwitchUnavailableReasonSchema.optional(),
|
|
4364
|
+
/**
|
|
4365
|
+
* Present on an AVAILABLE switch only. Rendered beside the live control;
|
|
4366
|
+
* never a substitute for one.
|
|
4367
|
+
*/
|
|
4368
|
+
warning: CameraSwitchWarningSchema.optional(),
|
|
4354
4369
|
/** Current state. Meaningless when `available` is false — read it as `true`. */
|
|
4355
4370
|
enabled: zod.z.boolean(),
|
|
4356
4371
|
authority: CameraSwitchAuthoritySchema
|
|
@@ -11958,6 +11973,118 @@ var deviceAdoptionCapability = {
|
|
|
11958
11973
|
}
|
|
11959
11974
|
};
|
|
11960
11975
|
/**
|
|
11976
|
+
* device-admin-link — "this device has a management page of its own, and here
|
|
11977
|
+
* is its address".
|
|
11978
|
+
*
|
|
11979
|
+
* ## Why this is not a `deviceConfig` cap
|
|
11980
|
+
*
|
|
11981
|
+
* There is nothing to edit. A `deviceConfig` cap (D14) exists so the framework
|
|
11982
|
+
* can DERIVE a settings form from `getOptions` + `getStatus` and route a flat
|
|
11983
|
+
* patch back through a setter; it costs a `builderId` reducer in
|
|
11984
|
+
* `device-config-contribution.ts` and a `*-config-schema.ts` beside it, and it
|
|
11985
|
+
* renders a form section. This cap answers ONE question with ONE read and
|
|
11986
|
+
* renders a button. Nothing about it is a form, so it carries no `deviceConfig`
|
|
11987
|
+
* block, no `settings`, no `runtimeState` and no reducer — exactly like
|
|
11988
|
+
* `reboot`, the other pure-RPC device-native cap.
|
|
11989
|
+
*
|
|
11990
|
+
* ## Absent, and the difference between "no page" and "we cannot say"
|
|
11991
|
+
*
|
|
11992
|
+
* The two are answered at DIFFERENT layers, on purpose:
|
|
11993
|
+
*
|
|
11994
|
+
* - **"We cannot say"** → the provider never registers the cap for that
|
|
11995
|
+
* device. A VeSync humidifier, a Petkit feeder, a Dreame vacuum and a Dreo
|
|
11996
|
+
* fan are reached only through a vendor cloud; there is no address to hand
|
|
11997
|
+
* out and no page to open. A Tuya plug, a Wyze camera and a Gree air
|
|
11998
|
+
* conditioner DO have a LAN IP, and still have no HTTP management page
|
|
11999
|
+
* behind it. None of them register, so `deviceManager.getBindings` never
|
|
12000
|
+
* lists the cap and no surface asks.
|
|
12001
|
+
* - **"This device has no page, and I know that"** → the provider registers
|
|
12002
|
+
* and `getAdminLink` returns `null`. This is the answer for a device whose
|
|
12003
|
+
* sibling DOES have a page: a Reolink battery camera reached over UDP by
|
|
12004
|
+
* `uid` with a blank `host`, an Ecowitt gateway configured in `listener`
|
|
12005
|
+
* transport, a Home Assistant broker authenticated by supervisor token
|
|
12006
|
+
* (which carries no `baseUrl` at all).
|
|
12007
|
+
*
|
|
12008
|
+
* Both draw NOTHING. A button that opens a browser error is worse than no
|
|
12009
|
+
* button, and D62 is the same rule from the other side: an off switch is
|
|
12010
|
+
* reported off, never made to look broken. There is no third state where the
|
|
12011
|
+
* UI renders a disabled button "because the device might have a page".
|
|
12012
|
+
*
|
|
12013
|
+
* ## The URL never carries credentials
|
|
12014
|
+
*
|
|
12015
|
+
* Not in userinfo, not in a query string. Every provider builds through
|
|
12016
|
+
* `buildDeviceAdminUrl` (`device-admin-link-url.ts`), which takes host, port,
|
|
12017
|
+
* scheme and path as separate arguments — there is no parameter a secret could
|
|
12018
|
+
* arrive in — and re-checks its own output for the `scheme://user:pass@` shape
|
|
12019
|
+
* that `scripts/check-no-credential-urls-in-fixtures.ts` bans from recorded
|
|
12020
|
+
* output. `scripts/check-admin-link-builder-is-the-only-url-source.ts` is what
|
|
12021
|
+
* keeps providers from hand-rolling one anyway.
|
|
12022
|
+
*
|
|
12023
|
+
* This matters here more than anywhere else in the repo, because every provider
|
|
12024
|
+
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
12025
|
+
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
12026
|
+
* and `http://admin:hunter2@192.168.50.139/` is a URL a browser accepts. The
|
|
12027
|
+
* camera's own page will ask for its own login. That is correct, and pre-
|
|
12028
|
+
* filling it is the operator's business, not ours.
|
|
12029
|
+
*
|
|
12030
|
+
* ## It is a LAN fact
|
|
12031
|
+
*
|
|
12032
|
+
* The URL addresses the device where the NODE can see it. It is not proxied,
|
|
12033
|
+
* not made reachable from outside, and not sent anywhere. A surface renders it
|
|
12034
|
+
* as a link the operator's own browser follows, on the operator's own network,
|
|
12035
|
+
* or renders nothing.
|
|
12036
|
+
*/
|
|
12037
|
+
/**
|
|
12038
|
+
* Whose page is it. The distinction is for the OPERATOR, who needs to know
|
|
12039
|
+
* before clicking whether he is about to land on a camera's own web server or
|
|
12040
|
+
* inside Home Assistant.
|
|
12041
|
+
*/
|
|
12042
|
+
var AdminLinkTargetEnum = zod.z.enum(["device", "integration"]);
|
|
12043
|
+
var DeviceAdminLinkSchema = zod.z.object({
|
|
12044
|
+
/**
|
|
12045
|
+
* Absolute `http(s)://` URL. Built by `buildDeviceAdminUrl` and therefore
|
|
12046
|
+
* free of userinfo and of any credential-shaped query key.
|
|
12047
|
+
*/
|
|
12048
|
+
url: zod.z.string(),
|
|
12049
|
+
/**
|
|
12050
|
+
* What the surface calls it — "Web UI", "Home Assistant", "UniFi controller".
|
|
12051
|
+
* The PROVIDER names it, because only the provider knows what the page is;
|
|
12052
|
+
* a UI that invented the label from the addon id would call the Home
|
|
12053
|
+
* Assistant device page "Provider Homeassistant".
|
|
12054
|
+
*/
|
|
12055
|
+
label: zod.z.string(),
|
|
12056
|
+
target: AdminLinkTargetEnum,
|
|
12057
|
+
/**
|
|
12058
|
+
* Host the URL points at, without scheme, port or path — for the tooltip, so
|
|
12059
|
+
* an operator can see WHERE the button goes before he follows it. Redundant
|
|
12060
|
+
* with `url` by construction; carried separately so no surface has to parse
|
|
12061
|
+
* a URL to show it.
|
|
12062
|
+
*/
|
|
12063
|
+
host: zod.z.string()
|
|
12064
|
+
});
|
|
12065
|
+
var deviceAdminLinkCapability = {
|
|
12066
|
+
name: "device-admin-link",
|
|
12067
|
+
scope: "device",
|
|
12068
|
+
deviceNative: true,
|
|
12069
|
+
mode: "singleton",
|
|
12070
|
+
methods: {
|
|
12071
|
+
/**
|
|
12072
|
+
* The device's management page, or `null` when this device has none.
|
|
12073
|
+
*
|
|
12074
|
+
* `auth: 'admin'` deliberately. This is administration, not actuation —
|
|
12075
|
+
* the same bucket as `reboot` and `camera-credentials`, and explicitly NOT
|
|
12076
|
+
* the actuation set `scripts/check-actuation-not-admin.ts` protects (D403).
|
|
12077
|
+
* The URL is also a statement about the LAN, which a household member with
|
|
12078
|
+
* a `view` grant on a light has no reason to be handed.
|
|
12079
|
+
*
|
|
12080
|
+
* The surfaces gate on the QUERY, never on a role they guessed: a caller
|
|
12081
|
+
* without the right loses the query and draws nothing, which is the same
|
|
12082
|
+
* thing a device with no page draws. There is no path on which a button
|
|
12083
|
+
* appears and then fails — the D403 failure mode, from the other end.
|
|
12084
|
+
*/
|
|
12085
|
+
getAdminLink: method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" }) }
|
|
12086
|
+
};
|
|
12087
|
+
/**
|
|
11961
12088
|
* `device-export` — collection cap for addons that export camstack
|
|
11962
12089
|
* devices to external ecosystems (HomeAssistant via MQTT discovery,
|
|
11963
12090
|
* HomeKit/HAP, Alexa Smart Home, …).
|
|
@@ -26279,6 +26406,82 @@ var ClipBytesSchema = zod.z.object({
|
|
|
26279
26406
|
*/
|
|
26280
26407
|
durationMs: zod.z.number().positive().optional()
|
|
26281
26408
|
});
|
|
26409
|
+
/**
|
|
26410
|
+
* Where a clip's STREAM can be dialled (D597) — the answer to
|
|
26411
|
+
* {@link videoclipsCapability.methods.dialClipStream}.
|
|
26412
|
+
*
|
|
26413
|
+
* `url` is plain `http://` on the provider's own token-gated listener, one
|
|
26414
|
+
* shot, short-lived. It is NOT the hub-proxied `/addon/<id>/clip-stream/…`
|
|
26415
|
+
* path: that plane takes only a user credential, which an addon does not
|
|
26416
|
+
* hold, and the framework offers no addon→addon byte transport — the one
|
|
26417
|
+
* precedent is the broker's own restream URLs (`getStreamWithCodec`), which
|
|
26418
|
+
* a consumer dials directly, and this is that precedent one addon over.
|
|
26419
|
+
*/
|
|
26420
|
+
/**
|
|
26421
|
+
* The audio a clip stream can be asked for, and the audio it carries.
|
|
26422
|
+
*
|
|
26423
|
+
* The camera stores AAC and no WebRTC session speaks it, so a stream that
|
|
26424
|
+
* carries sound carries it TRANSCODED, muxed as a second track beside the
|
|
26425
|
+
* video by the one ffmpeg the provider already runs (D600). `opus` is
|
|
26426
|
+
* 48 kHz mono, `pcmu` is 8 kHz µ-law — the two codecs a broker session
|
|
26427
|
+
* negotiates — and `none` is a stream asked for, or served, without sound.
|
|
26428
|
+
*/
|
|
26429
|
+
var ClipStreamAudioSchema = zod.z.enum([
|
|
26430
|
+
"opus",
|
|
26431
|
+
"pcmu",
|
|
26432
|
+
"none"
|
|
26433
|
+
]);
|
|
26434
|
+
/**
|
|
26435
|
+
* Why a stream that was ASKED for sound is not carrying it (D600).
|
|
26436
|
+
*
|
|
26437
|
+
* Only ever set beside `servedAudio: 'none'` after a non-`none` ask. Absent
|
|
26438
|
+
* means the ask was honoured, or there was no ask.
|
|
26439
|
+
*
|
|
26440
|
+
* - `not-requested` — the caller asked for `none`.
|
|
26441
|
+
* - `unsupported-ask` — the provider cannot produce that codec.
|
|
26442
|
+
*
|
|
26443
|
+
* Whether the RECORDING has sound at all is not knowable here: the camera
|
|
26444
|
+
* declares no audio track before its first frame arrives. That answer is in
|
|
26445
|
+
* the stream itself — an fMP4 with no audio track — and the broker reads it
|
|
26446
|
+
* there. A dial that says `opus` promises the codec, never the content.
|
|
26447
|
+
*/
|
|
26448
|
+
var ClipStreamAudioReasonSchema = zod.z.enum(["not-requested", "unsupported-ask"]);
|
|
26449
|
+
var ClipStreamDialSchema = zod.z.object({
|
|
26450
|
+
url: zod.z.string().min(1),
|
|
26451
|
+
/** After this the token is gone and the URL answers 404 `dial-expired`. */
|
|
26452
|
+
expiresAtMs: zod.z.number(),
|
|
26453
|
+
/** What the stream IS — a consumer that cannot honour it must not dial. */
|
|
26454
|
+
transport: zod.z.literal("forward-only"),
|
|
26455
|
+
/**
|
|
26456
|
+
* Which twin the stream ACTUALLY carries — not what was asked for.
|
|
26457
|
+
*
|
|
26458
|
+
* The stream serves every profile (D599), and a recording whose main twin
|
|
26459
|
+
* does not exist is streamed as its sub copy, which this field reports as
|
|
26460
|
+
* `low`. That is the whole reason the dial no longer refuses `high`:
|
|
26461
|
+
* stating what was served is what makes accepting honest, where a silent
|
|
26462
|
+
* substitution would be the 33x lie D576 forbids. Stated rather than
|
|
26463
|
+
* assumed, the way {@link ClipPlaybackSchema.served} is (D549 15).
|
|
26464
|
+
*/
|
|
26465
|
+
served: CamProfileSchema,
|
|
26466
|
+
/**
|
|
26467
|
+
* Which audio the stream will ACTUALLY carry — `served`'s companion for
|
|
26468
|
+
* sound, and the same reasoning (D599, D600).
|
|
26469
|
+
*
|
|
26470
|
+
* The broker asks for the codec its WebRTC session negotiated, and the
|
|
26471
|
+
* provider either muxes that codec or carries none. Stating it is what
|
|
26472
|
+
* lets the broker wire the matching sink before the first byte, and what
|
|
26473
|
+
* keeps a session from being handed a codec it cannot send — the audio
|
|
26474
|
+
* shape of the substitution `served` exists to prevent.
|
|
26475
|
+
*
|
|
26476
|
+
* It is a promise about the CODEC, not about the content: a recording with
|
|
26477
|
+
* no microphone track answers `opus` here and then arrives with no audio
|
|
26478
|
+
* track at all. That second answer is in the stream, and the broker reads
|
|
26479
|
+
* it from the `moov`.
|
|
26480
|
+
*/
|
|
26481
|
+
servedAudio: ClipStreamAudioSchema,
|
|
26482
|
+
/** Why `servedAudio` is `none` although sound was asked for. */
|
|
26483
|
+
audioReason: ClipStreamAudioReasonSchema.optional()
|
|
26484
|
+
});
|
|
26282
26485
|
var ClipSourceAvailabilitySchema = zod.z.object({
|
|
26283
26486
|
state: zod.z.enum([
|
|
26284
26487
|
"ok",
|
|
@@ -26529,6 +26732,44 @@ var videoclipsCapability = {
|
|
|
26529
26732
|
}), ClipBytesSchema, {
|
|
26530
26733
|
kind: "query",
|
|
26531
26734
|
auth: "protected"
|
|
26735
|
+
}),
|
|
26736
|
+
/**
|
|
26737
|
+
* Where this clip's STREAM can be dialled (D597) — the forward-only
|
|
26738
|
+
* fMP4 the provider writes from the first muxed byte, for the broker to
|
|
26739
|
+
* play through the same WebRTC session as recorded footage, with the
|
|
26740
|
+
* first frame at the first fragment instead of after the last byte.
|
|
26741
|
+
*
|
|
26742
|
+
* Nothing is fetched here: the answer is a one-shot URL on the
|
|
26743
|
+
* provider's own listener, and the camera is touched when it is dialled.
|
|
26744
|
+
* The gates the file path runs (`readClipBytes`) run on the dial too —
|
|
26745
|
+
* the id, the row, a clip still being written — and refuse in the same
|
|
26746
|
+
* vocabulary, THROWN with `clipExportFailure(<token>, <prose>)`. Every
|
|
26747
|
+
* profile is served (D599) and the answer states which twin it carries;
|
|
26748
|
+
* `high` is not refused. Optional on the provider for the same reason
|
|
26749
|
+
* `readClipBytes` is: a source with no camera socket behind it (the
|
|
26750
|
+
* recorder's analytics window, a HomeKit tee) has no stream.
|
|
26751
|
+
*/
|
|
26752
|
+
dialClipStream: optionalMethod(zod.z.object({
|
|
26753
|
+
deviceId: zod.z.number(),
|
|
26754
|
+
clipId: zod.z.string().min(1),
|
|
26755
|
+
/** WHICH provider holds the camera — see `readClipBytes.provider`. */
|
|
26756
|
+
provider: zod.z.string().min(1),
|
|
26757
|
+
/** Which twin — `high` → the main file, everything else the sub (D599). */
|
|
26758
|
+
profile: CamProfileSchema.optional(),
|
|
26759
|
+
/**
|
|
26760
|
+
* Which audio codec the caller's session negotiated, so the provider
|
|
26761
|
+
* can mux it (D600). The ask travels on the DIAL because the mux is
|
|
26762
|
+
* spawned once, before the first byte, and cannot gain a track later.
|
|
26763
|
+
*
|
|
26764
|
+
* ABSENT IS `none`, never a guess: a caller that does not state an
|
|
26765
|
+
* ask is served the video-only stream that shipped first, so a broker
|
|
26766
|
+
* older than this field keeps working unchanged (D382 — an unstated
|
|
26767
|
+
* ask is zero).
|
|
26768
|
+
*/
|
|
26769
|
+
audio: ClipStreamAudioSchema.optional()
|
|
26770
|
+
}), ClipStreamDialSchema, {
|
|
26771
|
+
kind: "query",
|
|
26772
|
+
auth: "protected"
|
|
26532
26773
|
})
|
|
26533
26774
|
}
|
|
26534
26775
|
};
|
|
@@ -29130,6 +29371,390 @@ var dayNightCapability = {
|
|
|
29130
29371
|
volatileStateFields: ["lastFetchedAt"]
|
|
29131
29372
|
};
|
|
29132
29373
|
/**
|
|
29374
|
+
* Vendor-neutral **onboard** recording + storage cap — what the CAMERA
|
|
29375
|
+
* writes to the CAMERA's own card, on the camera's own schedule.
|
|
29376
|
+
*
|
|
29377
|
+
* This is NOT `recording.cap.ts`. That one is CamStack's recorder: our
|
|
29378
|
+
* footage ledger, our storage locations, our retention. This one has a
|
|
29379
|
+
* different authority — the camera's firmware — and per D62 it stores
|
|
29380
|
+
* nothing of its own. Every value here is read from the camera and every
|
|
29381
|
+
* write goes back to the camera; there is no CamStack-side mirror that
|
|
29382
|
+
* could disagree with the device.
|
|
29383
|
+
*
|
|
29384
|
+
* ## One shape, two firmwares
|
|
29385
|
+
*
|
|
29386
|
+
* Measured 2026-09-22 against the live fleet:
|
|
29387
|
+
*
|
|
29388
|
+
* | fact | Hikvision (ISAPI) | Reolink (Baichuan) |
|
|
29389
|
+
* | --- | --- | --- |
|
|
29390
|
+
* | storage | `ContentMgmt/Storage` `<hdd>` rows: status, capacity, freeSpace (MB) | `getHddInfoList` (cmd 102): `mount`, `format`, `capacity` GB + `capacityM` MB remainder |
|
|
29391
|
+
* | tracks | several (101 **and** 103 on both 1436 and 3833), each with its own schedule | one per channel |
|
|
29392
|
+
* | schedule | per track, 7 `ScheduleAction` blocks: DayOfWeek + TimeOfDay range + ONE `ActionRecordingMode` | per trigger type, a 168-char weekly HOUR mask |
|
|
29393
|
+
* | triggers | `CMR`, `MOTION` | `Normal`, `MD`, `people`, `vehicle`, `dog_cat`, `crossline`, `intrude`, `loitering` |
|
|
29394
|
+
* | pre-record | `PreRecordTimeSeconds` | `preRecordTime` |
|
|
29395
|
+
* | post-record | `PostRecordTimeSeconds` | `recordDelayTime` |
|
|
29396
|
+
* | overwrite | per track `LoopEnable` | `cycle`, with `cycleList` enumerating the accepted values |
|
|
29397
|
+
* | segment length | not exposed on V5.7.1 | `packageTime` (minutes) |
|
|
29398
|
+
*
|
|
29399
|
+
* The two schedule models look different and are the same thing in
|
|
29400
|
+
* different coordinates: both answer "for this trigger, during which
|
|
29401
|
+
* weekly windows does the camera record". {@link RecordWindow} is that
|
|
29402
|
+
* question in one shape — Hikvision's ranges map straight onto it,
|
|
29403
|
+
* Reolink's mask expands into hour-aligned windows.
|
|
29404
|
+
*
|
|
29405
|
+
* ## Union, not intersection
|
|
29406
|
+
*
|
|
29407
|
+
* **The same fields exist on every camera.** What differs per device is
|
|
29408
|
+
* which VALUES that device accepts, and that is what {@link
|
|
29409
|
+
* RecordingOnboardOptions} reports — a `{ readable, writable, reason }`
|
|
29410
|
+
* per field plus the schedule's own limits. A control a camera cannot
|
|
29411
|
+
* honour is rendered DISABLED WITH ITS REASON, never missing and never
|
|
29412
|
+
* dead: disabled must not look like broken.
|
|
29413
|
+
*
|
|
29414
|
+
* ## Refusal by name
|
|
29415
|
+
*
|
|
29416
|
+
* A write a camera cannot honour is refused with a sentence the operator
|
|
29417
|
+
* can read — never accepted and dropped. Both providers refuse through
|
|
29418
|
+
* {@link describeOnboardRefusal}, so the vocabulary is one function and
|
|
29419
|
+
* one test, not two hand-written vendor opinions.
|
|
29420
|
+
*
|
|
29421
|
+
* Follows the D14 `deviceConfig` archetype (see `stream-params.cap.ts`):
|
|
29422
|
+
* `getOptions` advertises per-camera availability, `getStatus` (auto-
|
|
29423
|
+
* injected from `status`) reports the live values, and a single
|
|
29424
|
+
* `setSettings` mutation applies a partial change. No hand-written
|
|
29425
|
+
* settings-contribution methods.
|
|
29426
|
+
*/
|
|
29427
|
+
/**
|
|
29428
|
+
* What makes the camera start recording during a window.
|
|
29429
|
+
*
|
|
29430
|
+
* The union of both vendors' vocabularies. `continuous` is Hikvision's
|
|
29431
|
+
* `CMR` and Reolink's `Normal`; `motion` is `MOTION` / `MD`. The
|
|
29432
|
+
* object-class triggers are Reolink-only today and the smart-event ones
|
|
29433
|
+
* (`lineCrossing`, `intrusion`, `loitering`) are Reolink-only on the
|
|
29434
|
+
* firmwares measured — a camera that cannot record on a trigger simply
|
|
29435
|
+
* does not list it in `options.schedule.triggers`, and a window naming
|
|
29436
|
+
* it is REFUSED, not dropped.
|
|
29437
|
+
*/
|
|
29438
|
+
var RecordTriggerSchema = zod.z.enum([
|
|
29439
|
+
"continuous",
|
|
29440
|
+
"motion",
|
|
29441
|
+
"person",
|
|
29442
|
+
"vehicle",
|
|
29443
|
+
"animal",
|
|
29444
|
+
"lineCrossing",
|
|
29445
|
+
"intrusion",
|
|
29446
|
+
"loitering",
|
|
29447
|
+
"alarmInput"
|
|
29448
|
+
]);
|
|
29449
|
+
/**
|
|
29450
|
+
* One weekly recording window: "on `day`, from `startMinute` to
|
|
29451
|
+
* `endMinute`, record on `trigger`".
|
|
29452
|
+
*
|
|
29453
|
+
* `day` is 0 = Monday … 6 = Sunday (ISO order, which is also the order
|
|
29454
|
+
* both firmwares enumerate). Minutes are local camera time since
|
|
29455
|
+
* midnight; `endMinute` may be 1440, meaning end of day — that is
|
|
29456
|
+
* Hikvision's literal `24:00` and Reolink's 24th mask slot, and
|
|
29457
|
+
* collapsing it to 0 would turn a whole-day window into an empty one.
|
|
29458
|
+
*/
|
|
29459
|
+
var RecordWindowSchema = zod.z.object({
|
|
29460
|
+
trigger: RecordTriggerSchema,
|
|
29461
|
+
day: zod.z.number().int().min(0).max(6),
|
|
29462
|
+
startMinute: zod.z.number().int().min(0).max(1439),
|
|
29463
|
+
endMinute: zod.z.number().int().min(1).max(1440)
|
|
29464
|
+
});
|
|
29465
|
+
/** Status of one physical volume, as the camera itself describes it. */
|
|
29466
|
+
var OnboardStorageVolumeSchema = zod.z.object({
|
|
29467
|
+
/** The camera's own id for the volume (`hdd/id`, Reolink `HddInfo/number`). */
|
|
29468
|
+
id: zod.z.string(),
|
|
29469
|
+
/** The camera's own name for it, when it gives one (`hddName`). */
|
|
29470
|
+
label: zod.z.string().optional(),
|
|
29471
|
+
status: zod.z.enum([
|
|
29472
|
+
"ok",
|
|
29473
|
+
"unformatted",
|
|
29474
|
+
"error",
|
|
29475
|
+
"offline",
|
|
29476
|
+
"unknown"
|
|
29477
|
+
]),
|
|
29478
|
+
/**
|
|
29479
|
+
* Total size in MB, or **null when the camera did not say**.
|
|
29480
|
+
*
|
|
29481
|
+
* Never 0 for an unreadable value: a measurement that failed is not a
|
|
29482
|
+
* measurement (D393), and a card whose size is unknown must not be
|
|
29483
|
+
* rendered as a card of size zero.
|
|
29484
|
+
*/
|
|
29485
|
+
capacityMb: zod.z.number().nullable(),
|
|
29486
|
+
/**
|
|
29487
|
+
* Free space in MB, or null when unknown.
|
|
29488
|
+
*
|
|
29489
|
+
* **Not a proxy for "has footage".** Measured 2026-09-22: 1436 and
|
|
29490
|
+
* 1439 both report exactly 11776 MB free — the fixed reserve a looping
|
|
29491
|
+
* card converges on once it has wrapped. At loop steady state the
|
|
29492
|
+
* number is identical whether the camera recorded yesterday or stopped
|
|
29493
|
+
* a month ago.
|
|
29494
|
+
*/
|
|
29495
|
+
freeMb: zod.z.number().nullable(),
|
|
29496
|
+
/** True when the camera reports the volume writable (`property` RW). */
|
|
29497
|
+
writable: zod.z.boolean().optional()
|
|
29498
|
+
});
|
|
29499
|
+
/**
|
|
29500
|
+
* Whether the camera has usable onboard storage.
|
|
29501
|
+
*
|
|
29502
|
+
* Three states, never two: an unreadable answer is `unknown`, never
|
|
29503
|
+
* folded into `absent`. Folding a failed read into "no card" is how a
|
|
29504
|
+
* healthy camera gets reported as broken, and the inverse is how a
|
|
29505
|
+
* camera with no card reports `ok` and then an empty list (D393).
|
|
29506
|
+
*/
|
|
29507
|
+
var OnboardStorageSchema = zod.z.discriminatedUnion("kind", [
|
|
29508
|
+
zod.z.object({
|
|
29509
|
+
kind: zod.z.literal("present"),
|
|
29510
|
+
volumes: zod.z.array(OnboardStorageVolumeSchema)
|
|
29511
|
+
}),
|
|
29512
|
+
zod.z.object({
|
|
29513
|
+
kind: zod.z.literal("absent"),
|
|
29514
|
+
reason: zod.z.string()
|
|
29515
|
+
}),
|
|
29516
|
+
zod.z.object({
|
|
29517
|
+
kind: zod.z.literal("unknown"),
|
|
29518
|
+
reason: zod.z.string()
|
|
29519
|
+
})
|
|
29520
|
+
]);
|
|
29521
|
+
/**
|
|
29522
|
+
* One recording track the camera exposes. Read-only.
|
|
29523
|
+
*
|
|
29524
|
+
* Hikvision lists several — 1436 and 3833 each list 101 AND 103, with
|
|
29525
|
+
* DIFFERENT schedules (101 MOTION all day, 103 CMR 00:05–23:57) — so a
|
|
29526
|
+
* cap that reported one number for "the schedule" would be lying on
|
|
29527
|
+
* every Hikvision in the fleet. Reolink has exactly one per channel.
|
|
29528
|
+
*
|
|
29529
|
+
* There is deliberately **no `framerate`**. Hikvision declares it in the
|
|
29530
|
+
* track `Description` and it is WRONG: 1436 says `2.260000 fps` while
|
|
29531
|
+
* the media measures 12.55 fps. `codec` and `resolution` from the same
|
|
29532
|
+
* string ARE right — those are the only two worth surfacing.
|
|
29533
|
+
*/
|
|
29534
|
+
var OnboardRecordTrackSchema = zod.z.object({
|
|
29535
|
+
id: zod.z.string(),
|
|
29536
|
+
enabled: zod.z.boolean(),
|
|
29537
|
+
isVideo: zod.z.boolean(),
|
|
29538
|
+
/** From the camera's own track description. Null when it does not say. */
|
|
29539
|
+
codec: zod.z.string().nullable(),
|
|
29540
|
+
resolution: zod.z.string().nullable(),
|
|
29541
|
+
/** Per-track overwrite flag, where the firmware keeps it per track. */
|
|
29542
|
+
overwriteWhenFull: zod.z.boolean().nullable()
|
|
29543
|
+
});
|
|
29544
|
+
/**
|
|
29545
|
+
* What the camera is doing with its own storage, right now.
|
|
29546
|
+
*
|
|
29547
|
+
* Every scalar is nullable and **null means the camera did not answer**,
|
|
29548
|
+
* never a default. A form that seeds `0` from an unanswered read invites
|
|
29549
|
+
* the operator to save that 0 back onto the camera.
|
|
29550
|
+
*/
|
|
29551
|
+
var RecordingOnboardStatusSchema = zod.z.object({
|
|
29552
|
+
storage: OnboardStorageSchema,
|
|
29553
|
+
tracks: zod.z.array(OnboardRecordTrackSchema),
|
|
29554
|
+
/**
|
|
29555
|
+
* The track the write path targets — the enabled VIDEO one. Null when
|
|
29556
|
+
* no track could be identified, which is itself a refusal reason.
|
|
29557
|
+
*/
|
|
29558
|
+
primaryTrackId: zod.z.string().nullable(),
|
|
29559
|
+
/** Master "record to the card at all" switch. */
|
|
29560
|
+
enabled: zod.z.boolean().nullable(),
|
|
29561
|
+
overwriteWhenFull: zod.z.boolean().nullable(),
|
|
29562
|
+
preRecordSec: zod.z.number().nullable(),
|
|
29563
|
+
postRecordSec: zod.z.number().nullable(),
|
|
29564
|
+
/** Length of one recorded file, in minutes. */
|
|
29565
|
+
segmentMinutes: zod.z.number().nullable(),
|
|
29566
|
+
/** The primary track's weekly windows, flattened. */
|
|
29567
|
+
windows: zod.z.array(RecordWindowSchema),
|
|
29568
|
+
/**
|
|
29569
|
+
* How many windows the camera described that CamStack could NOT read —
|
|
29570
|
+
* an unrecognised trigger, an unparseable clock, a weekday it does not
|
|
29571
|
+
* name.
|
|
29572
|
+
*
|
|
29573
|
+
* A dropped window is work the reader threw away, and a schedule that
|
|
29574
|
+
* silently shows fewer rows than the camera holds is how an operator
|
|
29575
|
+
* saves back a schedule shorter than the one they were looking at
|
|
29576
|
+
* (D391). Non-zero means the window list is INCOMPLETE and a write
|
|
29577
|
+
* that replaces it would delete what was not shown — which is why a
|
|
29578
|
+
* provider reporting a non-zero count also reports the schedule as not
|
|
29579
|
+
* writable.
|
|
29580
|
+
*/
|
|
29581
|
+
unreadableWindows: zod.z.number(),
|
|
29582
|
+
/**
|
|
29583
|
+
* The camera is scheduled to record and has NO usable storage.
|
|
29584
|
+
*
|
|
29585
|
+
* A first-class fact because it is the fleet's most common silent
|
|
29586
|
+
* defect: measured 2026-09-22, 1441 and 3831 are both motion-recording
|
|
29587
|
+
* to a card that is not there. Neither the schedule nor the storage
|
|
29588
|
+
* read says anything wrong on its own; only the pair does.
|
|
29589
|
+
*/
|
|
29590
|
+
recordingToNowhere: zod.z.boolean(),
|
|
29591
|
+
lastFetchedAt: zod.z.number()
|
|
29592
|
+
});
|
|
29593
|
+
/** Numeric range descriptor — `{ min, max, step }` per the getOptions convention. */
|
|
29594
|
+
var RangeSchema = zod.z.object({
|
|
29595
|
+
min: zod.z.number(),
|
|
29596
|
+
max: zod.z.number(),
|
|
29597
|
+
step: zod.z.number()
|
|
29598
|
+
});
|
|
29599
|
+
/**
|
|
29600
|
+
* The values a camera actually takes for a numeric field, when they are a SET
|
|
29601
|
+
* rather than a range.
|
|
29602
|
+
*
|
|
29603
|
+
* `{min,max,step}` cannot say what these two firmwares do. Measured on 1436
|
|
29604
|
+
* (I91DN) on 2026-09-22 by writing each value and reading it back:
|
|
29605
|
+
*
|
|
29606
|
+
* - pre-record: `0, 5, 10, 15, 20, 25, 30` and `2147483647` (INT32_MAX, the
|
|
29607
|
+
* camera's "no limit" — `-1` and `4294967295` both land on it);
|
|
29608
|
+
* - post-record: `5, 10, 30, 60, 120, 300, 600`.
|
|
29609
|
+
*
|
|
29610
|
+
* Neither is expressible as a step: the first has a sentinel two billion away
|
|
29611
|
+
* from its neighbours, the second doubles and then jumps. A range that tried
|
|
29612
|
+
* would forbid values the camera takes AND permit values it silently replaces
|
|
29613
|
+
* with 5 — wrong in both directions at once.
|
|
29614
|
+
*
|
|
29615
|
+
* `sentinel` names the member that is not a duration, so a surface can render
|
|
29616
|
+
* "no limit" instead of `2147483647` seconds.
|
|
29617
|
+
*/
|
|
29618
|
+
var AllowedValuesSchema = zod.z.object({
|
|
29619
|
+
values: zod.z.array(zod.z.number()).min(1),
|
|
29620
|
+
sentinel: zod.z.object({
|
|
29621
|
+
value: zod.z.number(),
|
|
29622
|
+
meaning: zod.z.enum(["no-limit", "disabled"])
|
|
29623
|
+
}).optional()
|
|
29624
|
+
});
|
|
29625
|
+
/**
|
|
29626
|
+
* Per-field availability on ONE camera.
|
|
29627
|
+
*
|
|
29628
|
+
* The field exists on every camera — this says whether this one can be
|
|
29629
|
+
* read and whether it can be written, and `reason` says why not when
|
|
29630
|
+
* either is false. The UI renders the control DISABLED with the reason
|
|
29631
|
+
* rather than hiding it, so a limitation is legible instead of looking
|
|
29632
|
+
* like a missing feature.
|
|
29633
|
+
*/
|
|
29634
|
+
var OnboardFieldSupportSchema = zod.z.object({
|
|
29635
|
+
readable: zod.z.boolean(),
|
|
29636
|
+
writable: zod.z.boolean(),
|
|
29637
|
+
/** Required whenever `readable` or `writable` is false. */
|
|
29638
|
+
reason: zod.z.string().optional()
|
|
29639
|
+
});
|
|
29640
|
+
/** What this camera's schedule model can express. */
|
|
29641
|
+
var OnboardScheduleSupportSchema = zod.z.object({
|
|
29642
|
+
support: OnboardFieldSupportSchema,
|
|
29643
|
+
/**
|
|
29644
|
+
* The smallest time step the camera can express, in minutes.
|
|
29645
|
+
*
|
|
29646
|
+
* Hikvision takes arbitrary minutes (`00:05:00`–`23:57:00` observed on
|
|
29647
|
+
* 1436's track 103). Reolink's schedule is a 7×24 HOUR mask, so 60. A
|
|
29648
|
+
* window whose edges are not a multiple of this is REFUSED rather than
|
|
29649
|
+
* quietly rounded — rounding is how an operator's 06:30 becomes 06:00
|
|
29650
|
+
* and nothing says so.
|
|
29651
|
+
*/
|
|
29652
|
+
granularityMinutes: zod.z.number(),
|
|
29653
|
+
/** Triggers this camera can record on. A window naming another is refused. */
|
|
29654
|
+
triggers: zod.z.array(RecordTriggerSchema),
|
|
29655
|
+
/**
|
|
29656
|
+
* False when the camera stores ONE trigger per time range, so two
|
|
29657
|
+
* windows overlapping on the same day cannot carry different triggers.
|
|
29658
|
+
* True on Reolink, whose mask is per-trigger and independent.
|
|
29659
|
+
*/
|
|
29660
|
+
supportsOverlappingTriggers: zod.z.boolean()
|
|
29661
|
+
});
|
|
29662
|
+
var RecordingOnboardOptionsSchema = zod.z.object({
|
|
29663
|
+
enabled: OnboardFieldSupportSchema,
|
|
29664
|
+
overwriteWhenFull: OnboardFieldSupportSchema,
|
|
29665
|
+
preRecordSec: OnboardFieldSupportSchema,
|
|
29666
|
+
preRecordSecRange: RangeSchema.optional(),
|
|
29667
|
+
/** Preferred over the range when the camera takes a SET, not a span. */
|
|
29668
|
+
preRecordSecAllowed: AllowedValuesSchema.optional(),
|
|
29669
|
+
postRecordSec: OnboardFieldSupportSchema,
|
|
29670
|
+
postRecordSecRange: RangeSchema.optional(),
|
|
29671
|
+
/** Preferred over the range when the camera takes a SET, not a span. */
|
|
29672
|
+
postRecordSecAllowed: AllowedValuesSchema.optional(),
|
|
29673
|
+
segmentMinutes: OnboardFieldSupportSchema,
|
|
29674
|
+
segmentMinutesRange: RangeSchema.optional(),
|
|
29675
|
+
/** Preferred over the range when the camera takes a SET, not a span. */
|
|
29676
|
+
segmentMinutesAllowed: AllowedValuesSchema.optional(),
|
|
29677
|
+
schedule: OnboardScheduleSupportSchema
|
|
29678
|
+
});
|
|
29679
|
+
/**
|
|
29680
|
+
* A partial change. Every field optional.
|
|
29681
|
+
*
|
|
29682
|
+
* Unlike the other `deviceConfig` caps, a provider here does **NOT**
|
|
29683
|
+
* silently ignore a field it cannot support — it refuses, by name,
|
|
29684
|
+
* through {@link describeOnboardRefusal}. Silence on a recording setting
|
|
29685
|
+
* is the failure D62 exists to prevent: the operator believes the camera
|
|
29686
|
+
* is recording the way the form says, and it is not.
|
|
29687
|
+
*/
|
|
29688
|
+
var RecordingOnboardPatchSchema = zod.z.object({
|
|
29689
|
+
enabled: zod.z.boolean().optional(),
|
|
29690
|
+
overwriteWhenFull: zod.z.boolean().optional(),
|
|
29691
|
+
preRecordSec: zod.z.number().optional(),
|
|
29692
|
+
postRecordSec: zod.z.number().optional(),
|
|
29693
|
+
segmentMinutes: zod.z.number().optional(),
|
|
29694
|
+
/** The complete new window set for the primary track — not a delta. */
|
|
29695
|
+
windows: zod.z.array(RecordWindowSchema).optional()
|
|
29696
|
+
});
|
|
29697
|
+
var recordingOnboardCapability = {
|
|
29698
|
+
name: "recording-onboard",
|
|
29699
|
+
scope: "device",
|
|
29700
|
+
deviceNative: true,
|
|
29701
|
+
mode: "singleton",
|
|
29702
|
+
deviceTypes: [DeviceType.Camera],
|
|
29703
|
+
deviceConfig: { ui: {
|
|
29704
|
+
kind: "derived-form",
|
|
29705
|
+
builderId: "recording-onboard",
|
|
29706
|
+
tab: "recording"
|
|
29707
|
+
} },
|
|
29708
|
+
methods: {
|
|
29709
|
+
getOptions: method(zod.z.object({ deviceId: zod.z.number() }), RecordingOnboardOptionsSchema),
|
|
29710
|
+
setSettings: method(zod.z.object({
|
|
29711
|
+
deviceId: zod.z.number(),
|
|
29712
|
+
settings: RecordingOnboardPatchSchema
|
|
29713
|
+
}), zod.z.void(), {
|
|
29714
|
+
kind: "mutation",
|
|
29715
|
+
auth: "admin"
|
|
29716
|
+
})
|
|
29717
|
+
},
|
|
29718
|
+
status: {
|
|
29719
|
+
schema: RecordingOnboardStatusSchema,
|
|
29720
|
+
kind: "poll"
|
|
29721
|
+
},
|
|
29722
|
+
runtimeState: RecordingOnboardStatusSchema,
|
|
29723
|
+
/**
|
|
29724
|
+
* Runtime-state durability: **restored** — operator-set camera-side
|
|
29725
|
+
* recording config; mutation-driven, and the storage half is the last
|
|
29726
|
+
* thing the camera said about its own card.
|
|
29727
|
+
*
|
|
29728
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
29729
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
29730
|
+
*/
|
|
29731
|
+
durability: "restored",
|
|
29732
|
+
/** Clock fields: written, but excluded from the compare that decides
|
|
29733
|
+
* whether persisting is worth a SQLite commit. */
|
|
29734
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
29735
|
+
};
|
|
29736
|
+
/** Minutes in a day. `endMinute === 1440` means "to end of day". */
|
|
29737
|
+
var MINUTES_PER_DAY = 1440;
|
|
29738
|
+
/**
|
|
29739
|
+
* Day-of-week names in the cap's index order (0 = Monday), for messages
|
|
29740
|
+
* an operator reads and for Hikvision's `<DayOfWeek>` element.
|
|
29741
|
+
*/
|
|
29742
|
+
var DAY_NAMES = [
|
|
29743
|
+
"Monday",
|
|
29744
|
+
"Tuesday",
|
|
29745
|
+
"Wednesday",
|
|
29746
|
+
"Thursday",
|
|
29747
|
+
"Friday",
|
|
29748
|
+
"Saturday",
|
|
29749
|
+
"Sunday"
|
|
29750
|
+
];
|
|
29751
|
+
/** `510` → `08:30`. For messages, not for the wire. */
|
|
29752
|
+
function formatMinutes(minute) {
|
|
29753
|
+
const hour = Math.floor(minute / 60);
|
|
29754
|
+
const rest = minute % 60;
|
|
29755
|
+
return `${String(hour).padStart(2, "0")}:${String(rest).padStart(2, "0")}`;
|
|
29756
|
+
}
|
|
29757
|
+
/**
|
|
29133
29758
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
29134
29759
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
29135
29760
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -39338,6 +39963,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
39338
39963
|
pressureSensor: pressureSensorCapability,
|
|
39339
39964
|
privacyMask: privacyMaskCapability,
|
|
39340
39965
|
ptzAutotrack: ptzAutotrackCapability,
|
|
39966
|
+
recordingOnboard: recordingOnboardCapability,
|
|
39341
39967
|
recordingSignal: recordingSignalCapability,
|
|
39342
39968
|
sceneMonitor: sceneMonitorCapability,
|
|
39343
39969
|
scriptRunner: scriptRunnerCapability,
|
|
@@ -40252,6 +40878,1329 @@ var DeclaredDevices = class {
|
|
|
40252
40878
|
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
40253
40879
|
new Set(Object.values(DeviceType));
|
|
40254
40880
|
DeviceFeature.BatteryOperated;
|
|
40881
|
+
/**
|
|
40882
|
+
* The vocabulary, in the order a picker offers it.
|
|
40883
|
+
*
|
|
40884
|
+
* Adding a key here is not enough to make it pickable: both glyph tables must
|
|
40885
|
+
* gain it too, and their tests fail until they do. That is the intended
|
|
40886
|
+
* friction — it is the only thing that keeps the two surfaces honest.
|
|
40887
|
+
*/
|
|
40888
|
+
var DISPLAY_ICON_VOCABULARY = [
|
|
40889
|
+
{
|
|
40890
|
+
key: "camera",
|
|
40891
|
+
group: "device",
|
|
40892
|
+
synonyms: [
|
|
40893
|
+
"telecamera",
|
|
40894
|
+
"videocamera",
|
|
40895
|
+
"camera",
|
|
40896
|
+
"cam"
|
|
40897
|
+
]
|
|
40898
|
+
},
|
|
40899
|
+
{
|
|
40900
|
+
key: "network",
|
|
40901
|
+
group: "device",
|
|
40902
|
+
synonyms: [
|
|
40903
|
+
"rete",
|
|
40904
|
+
"network",
|
|
40905
|
+
"lan"
|
|
40906
|
+
]
|
|
40907
|
+
},
|
|
40908
|
+
{
|
|
40909
|
+
key: "toggle-left",
|
|
40910
|
+
group: "device",
|
|
40911
|
+
synonyms: [
|
|
40912
|
+
"interruttore",
|
|
40913
|
+
"switch",
|
|
40914
|
+
"toggle"
|
|
40915
|
+
]
|
|
40916
|
+
},
|
|
40917
|
+
{
|
|
40918
|
+
key: "toggle-right",
|
|
40919
|
+
group: "device",
|
|
40920
|
+
synonyms: [
|
|
40921
|
+
"interruttore",
|
|
40922
|
+
"switch",
|
|
40923
|
+
"toggle",
|
|
40924
|
+
"acceso"
|
|
40925
|
+
]
|
|
40926
|
+
},
|
|
40927
|
+
{
|
|
40928
|
+
key: "circle-dot",
|
|
40929
|
+
group: "device",
|
|
40930
|
+
synonyms: [
|
|
40931
|
+
"pulsante",
|
|
40932
|
+
"bottone",
|
|
40933
|
+
"button",
|
|
40934
|
+
"dot"
|
|
40935
|
+
]
|
|
40936
|
+
},
|
|
40937
|
+
{
|
|
40938
|
+
key: "refresh-cw",
|
|
40939
|
+
group: "device",
|
|
40940
|
+
synonyms: [
|
|
40941
|
+
"aggiorna",
|
|
40942
|
+
"ricarica",
|
|
40943
|
+
"refresh",
|
|
40944
|
+
"reload",
|
|
40945
|
+
"ciclo"
|
|
40946
|
+
]
|
|
40947
|
+
},
|
|
40948
|
+
{
|
|
40949
|
+
key: "box",
|
|
40950
|
+
group: "device",
|
|
40951
|
+
synonyms: [
|
|
40952
|
+
"scatola",
|
|
40953
|
+
"box",
|
|
40954
|
+
"contenitore"
|
|
40955
|
+
]
|
|
40956
|
+
},
|
|
40957
|
+
{
|
|
40958
|
+
key: "scroll-text",
|
|
40959
|
+
group: "device",
|
|
40960
|
+
synonyms: [
|
|
40961
|
+
"registro",
|
|
40962
|
+
"log",
|
|
40963
|
+
"testo"
|
|
40964
|
+
]
|
|
40965
|
+
},
|
|
40966
|
+
{
|
|
40967
|
+
key: "workflow",
|
|
40968
|
+
group: "device",
|
|
40969
|
+
synonyms: [
|
|
40970
|
+
"automazione",
|
|
40971
|
+
"flusso",
|
|
40972
|
+
"workflow",
|
|
40973
|
+
"scenario"
|
|
40974
|
+
]
|
|
40975
|
+
},
|
|
40976
|
+
{
|
|
40977
|
+
key: "lock",
|
|
40978
|
+
group: "device",
|
|
40979
|
+
synonyms: [
|
|
40980
|
+
"serratura",
|
|
40981
|
+
"chiave",
|
|
40982
|
+
"lucchetto",
|
|
40983
|
+
"chiuso",
|
|
40984
|
+
"locked"
|
|
40985
|
+
]
|
|
40986
|
+
},
|
|
40987
|
+
{
|
|
40988
|
+
key: "lock-open",
|
|
40989
|
+
group: "device",
|
|
40990
|
+
synonyms: [
|
|
40991
|
+
"serratura",
|
|
40992
|
+
"aperta",
|
|
40993
|
+
"sbloccato",
|
|
40994
|
+
"unlocked"
|
|
40995
|
+
]
|
|
40996
|
+
},
|
|
40997
|
+
{
|
|
40998
|
+
key: "blinds",
|
|
40999
|
+
group: "device",
|
|
41000
|
+
synonyms: [
|
|
41001
|
+
"tapparella",
|
|
41002
|
+
"persiana",
|
|
41003
|
+
"serranda",
|
|
41004
|
+
"avvolgibile",
|
|
41005
|
+
"shutter",
|
|
41006
|
+
"blind",
|
|
41007
|
+
"veneziana"
|
|
41008
|
+
]
|
|
41009
|
+
},
|
|
41010
|
+
{
|
|
41011
|
+
key: "air-vent",
|
|
41012
|
+
group: "device",
|
|
41013
|
+
synonyms: [
|
|
41014
|
+
"bocchetta",
|
|
41015
|
+
"aria",
|
|
41016
|
+
"ventilazione",
|
|
41017
|
+
"condizionatore",
|
|
41018
|
+
"vent"
|
|
41019
|
+
]
|
|
41020
|
+
},
|
|
41021
|
+
{
|
|
41022
|
+
key: "monitor-play",
|
|
41023
|
+
group: "device",
|
|
41024
|
+
synonyms: [
|
|
41025
|
+
"schermo",
|
|
41026
|
+
"riproduzione",
|
|
41027
|
+
"player",
|
|
41028
|
+
"display"
|
|
41029
|
+
]
|
|
41030
|
+
},
|
|
41031
|
+
{
|
|
41032
|
+
key: "sliders-horizontal",
|
|
41033
|
+
group: "device",
|
|
41034
|
+
synonyms: [
|
|
41035
|
+
"regolazione",
|
|
41036
|
+
"cursori",
|
|
41037
|
+
"impostazioni",
|
|
41038
|
+
"slider"
|
|
41039
|
+
]
|
|
41040
|
+
},
|
|
41041
|
+
{
|
|
41042
|
+
key: "map-pin",
|
|
41043
|
+
group: "device",
|
|
41044
|
+
synonyms: [
|
|
41045
|
+
"posizione",
|
|
41046
|
+
"luogo",
|
|
41047
|
+
"mappa",
|
|
41048
|
+
"pin"
|
|
41049
|
+
]
|
|
41050
|
+
},
|
|
41051
|
+
{
|
|
41052
|
+
key: "bot",
|
|
41053
|
+
group: "device",
|
|
41054
|
+
synonyms: [
|
|
41055
|
+
"robot",
|
|
41056
|
+
"aspirapolvere",
|
|
41057
|
+
"bot"
|
|
41058
|
+
]
|
|
41059
|
+
},
|
|
41060
|
+
{
|
|
41061
|
+
key: "tractor",
|
|
41062
|
+
group: "device",
|
|
41063
|
+
synonyms: [
|
|
41064
|
+
"trattore",
|
|
41065
|
+
"tosaerba",
|
|
41066
|
+
"giardino"
|
|
41067
|
+
]
|
|
41068
|
+
},
|
|
41069
|
+
{
|
|
41070
|
+
key: "image",
|
|
41071
|
+
group: "device",
|
|
41072
|
+
synonyms: [
|
|
41073
|
+
"immagine",
|
|
41074
|
+
"foto",
|
|
41075
|
+
"snapshot"
|
|
41076
|
+
]
|
|
41077
|
+
},
|
|
41078
|
+
{
|
|
41079
|
+
key: "bone",
|
|
41080
|
+
group: "device",
|
|
41081
|
+
synonyms: ["osso", "cane"]
|
|
41082
|
+
},
|
|
41083
|
+
{
|
|
41084
|
+
key: "door-closed",
|
|
41085
|
+
group: "device",
|
|
41086
|
+
synonyms: [
|
|
41087
|
+
"porta",
|
|
41088
|
+
"chiusa",
|
|
41089
|
+
"contatto"
|
|
41090
|
+
]
|
|
41091
|
+
},
|
|
41092
|
+
{
|
|
41093
|
+
key: "door-open",
|
|
41094
|
+
group: "device",
|
|
41095
|
+
synonyms: [
|
|
41096
|
+
"porta",
|
|
41097
|
+
"aperta",
|
|
41098
|
+
"contatto",
|
|
41099
|
+
"ingresso",
|
|
41100
|
+
"uscita"
|
|
41101
|
+
]
|
|
41102
|
+
},
|
|
41103
|
+
{
|
|
41104
|
+
key: "crosshair",
|
|
41105
|
+
group: "device",
|
|
41106
|
+
synonyms: [
|
|
41107
|
+
"mirino",
|
|
41108
|
+
"puntamento",
|
|
41109
|
+
"centro"
|
|
41110
|
+
]
|
|
41111
|
+
},
|
|
41112
|
+
{
|
|
41113
|
+
key: "eye",
|
|
41114
|
+
group: "device",
|
|
41115
|
+
synonyms: [
|
|
41116
|
+
"occhio",
|
|
41117
|
+
"visibile",
|
|
41118
|
+
"visto"
|
|
41119
|
+
]
|
|
41120
|
+
},
|
|
41121
|
+
{
|
|
41122
|
+
key: "eye-off",
|
|
41123
|
+
group: "device",
|
|
41124
|
+
synonyms: [
|
|
41125
|
+
"privacy",
|
|
41126
|
+
"nascosto",
|
|
41127
|
+
"oscurato",
|
|
41128
|
+
"mascherato",
|
|
41129
|
+
"invisibile"
|
|
41130
|
+
]
|
|
41131
|
+
},
|
|
41132
|
+
{
|
|
41133
|
+
key: "smartphone",
|
|
41134
|
+
group: "device",
|
|
41135
|
+
synonyms: [
|
|
41136
|
+
"telefono",
|
|
41137
|
+
"cellulare",
|
|
41138
|
+
"smartphone"
|
|
41139
|
+
]
|
|
41140
|
+
},
|
|
41141
|
+
{
|
|
41142
|
+
key: "phone",
|
|
41143
|
+
group: "device",
|
|
41144
|
+
synonyms: ["telefono", "chiamata"]
|
|
41145
|
+
},
|
|
41146
|
+
{
|
|
41147
|
+
key: "tablet",
|
|
41148
|
+
group: "device",
|
|
41149
|
+
synonyms: ["tablet", "ipad"]
|
|
41150
|
+
},
|
|
41151
|
+
{
|
|
41152
|
+
key: "laptop",
|
|
41153
|
+
group: "device",
|
|
41154
|
+
synonyms: [
|
|
41155
|
+
"portatile",
|
|
41156
|
+
"laptop",
|
|
41157
|
+
"notebook"
|
|
41158
|
+
]
|
|
41159
|
+
},
|
|
41160
|
+
{
|
|
41161
|
+
key: "monitor",
|
|
41162
|
+
group: "device",
|
|
41163
|
+
synonyms: ["monitor", "schermo"]
|
|
41164
|
+
},
|
|
41165
|
+
{
|
|
41166
|
+
key: "tv",
|
|
41167
|
+
group: "device",
|
|
41168
|
+
synonyms: ["televisore", "tv"]
|
|
41169
|
+
},
|
|
41170
|
+
{
|
|
41171
|
+
key: "speaker",
|
|
41172
|
+
group: "device",
|
|
41173
|
+
synonyms: [
|
|
41174
|
+
"altoparlante",
|
|
41175
|
+
"cassa",
|
|
41176
|
+
"speaker"
|
|
41177
|
+
]
|
|
41178
|
+
},
|
|
41179
|
+
{
|
|
41180
|
+
key: "printer",
|
|
41181
|
+
group: "device",
|
|
41182
|
+
synonyms: ["stampante"]
|
|
41183
|
+
},
|
|
41184
|
+
{
|
|
41185
|
+
key: "projector",
|
|
41186
|
+
group: "device",
|
|
41187
|
+
synonyms: ["proiettore"]
|
|
41188
|
+
},
|
|
41189
|
+
{
|
|
41190
|
+
key: "gamepad-2",
|
|
41191
|
+
group: "device",
|
|
41192
|
+
synonyms: [
|
|
41193
|
+
"console",
|
|
41194
|
+
"gioco",
|
|
41195
|
+
"joystick"
|
|
41196
|
+
]
|
|
41197
|
+
},
|
|
41198
|
+
{
|
|
41199
|
+
key: "radio",
|
|
41200
|
+
group: "device",
|
|
41201
|
+
synonyms: ["radio"]
|
|
41202
|
+
},
|
|
41203
|
+
{
|
|
41204
|
+
key: "router",
|
|
41205
|
+
group: "device",
|
|
41206
|
+
synonyms: ["router", "modem"]
|
|
41207
|
+
},
|
|
41208
|
+
{
|
|
41209
|
+
key: "bluetooth",
|
|
41210
|
+
group: "device",
|
|
41211
|
+
synonyms: ["bluetooth"]
|
|
41212
|
+
},
|
|
41213
|
+
{
|
|
41214
|
+
key: "cpu",
|
|
41215
|
+
group: "device",
|
|
41216
|
+
synonyms: [
|
|
41217
|
+
"processore",
|
|
41218
|
+
"cpu",
|
|
41219
|
+
"chip",
|
|
41220
|
+
"dispositivo"
|
|
41221
|
+
]
|
|
41222
|
+
},
|
|
41223
|
+
{
|
|
41224
|
+
key: "hard-drive",
|
|
41225
|
+
group: "device",
|
|
41226
|
+
synonyms: [
|
|
41227
|
+
"disco",
|
|
41228
|
+
"hdd",
|
|
41229
|
+
"archiviazione",
|
|
41230
|
+
"storage"
|
|
41231
|
+
]
|
|
41232
|
+
},
|
|
41233
|
+
{
|
|
41234
|
+
key: "server",
|
|
41235
|
+
group: "device",
|
|
41236
|
+
synonyms: ["server", "nas"]
|
|
41237
|
+
},
|
|
41238
|
+
{
|
|
41239
|
+
key: "mic",
|
|
41240
|
+
group: "device",
|
|
41241
|
+
synonyms: ["microfono", "audio"]
|
|
41242
|
+
},
|
|
41243
|
+
{
|
|
41244
|
+
key: "mic-off",
|
|
41245
|
+
group: "device",
|
|
41246
|
+
synonyms: [
|
|
41247
|
+
"microfono",
|
|
41248
|
+
"spento",
|
|
41249
|
+
"muto"
|
|
41250
|
+
]
|
|
41251
|
+
},
|
|
41252
|
+
{
|
|
41253
|
+
key: "video",
|
|
41254
|
+
group: "device",
|
|
41255
|
+
synonyms: ["video"]
|
|
41256
|
+
},
|
|
41257
|
+
{
|
|
41258
|
+
key: "video-off",
|
|
41259
|
+
group: "device",
|
|
41260
|
+
synonyms: ["video", "spento"]
|
|
41261
|
+
},
|
|
41262
|
+
{
|
|
41263
|
+
key: "music",
|
|
41264
|
+
group: "device",
|
|
41265
|
+
synonyms: ["musica"]
|
|
41266
|
+
},
|
|
41267
|
+
{
|
|
41268
|
+
key: "plug",
|
|
41269
|
+
group: "device",
|
|
41270
|
+
synonyms: [
|
|
41271
|
+
"presa",
|
|
41272
|
+
"spina",
|
|
41273
|
+
"plug"
|
|
41274
|
+
]
|
|
41275
|
+
},
|
|
41276
|
+
{
|
|
41277
|
+
key: "plug-zap",
|
|
41278
|
+
group: "device",
|
|
41279
|
+
synonyms: ["presa", "alimentata"]
|
|
41280
|
+
},
|
|
41281
|
+
{
|
|
41282
|
+
key: "power",
|
|
41283
|
+
group: "device",
|
|
41284
|
+
synonyms: [
|
|
41285
|
+
"accensione",
|
|
41286
|
+
"alimentazione",
|
|
41287
|
+
"power"
|
|
41288
|
+
]
|
|
41289
|
+
},
|
|
41290
|
+
{
|
|
41291
|
+
key: "power-off",
|
|
41292
|
+
group: "device",
|
|
41293
|
+
synonyms: ["spegnimento", "spento"]
|
|
41294
|
+
},
|
|
41295
|
+
{
|
|
41296
|
+
key: "cable",
|
|
41297
|
+
group: "device",
|
|
41298
|
+
synonyms: ["cavo"]
|
|
41299
|
+
},
|
|
41300
|
+
{
|
|
41301
|
+
key: "battery",
|
|
41302
|
+
group: "device",
|
|
41303
|
+
synonyms: ["batteria"]
|
|
41304
|
+
},
|
|
41305
|
+
{
|
|
41306
|
+
key: "battery-charging",
|
|
41307
|
+
group: "device",
|
|
41308
|
+
synonyms: [
|
|
41309
|
+
"batteria",
|
|
41310
|
+
"carica",
|
|
41311
|
+
"ricarica"
|
|
41312
|
+
]
|
|
41313
|
+
},
|
|
41314
|
+
{
|
|
41315
|
+
key: "battery-full",
|
|
41316
|
+
group: "device",
|
|
41317
|
+
synonyms: [
|
|
41318
|
+
"batteria",
|
|
41319
|
+
"carica",
|
|
41320
|
+
"piena"
|
|
41321
|
+
]
|
|
41322
|
+
},
|
|
41323
|
+
{
|
|
41324
|
+
key: "battery-low",
|
|
41325
|
+
group: "device",
|
|
41326
|
+
synonyms: ["batteria", "scarica"]
|
|
41327
|
+
},
|
|
41328
|
+
{
|
|
41329
|
+
key: "key",
|
|
41330
|
+
group: "device",
|
|
41331
|
+
synonyms: ["chiave"]
|
|
41332
|
+
},
|
|
41333
|
+
{
|
|
41334
|
+
key: "key-round",
|
|
41335
|
+
group: "device",
|
|
41336
|
+
synonyms: ["chiave", "tonda"]
|
|
41337
|
+
},
|
|
41338
|
+
{
|
|
41339
|
+
key: "mailbox",
|
|
41340
|
+
group: "device",
|
|
41341
|
+
synonyms: [
|
|
41342
|
+
"cassetta",
|
|
41343
|
+
"postale",
|
|
41344
|
+
"posta"
|
|
41345
|
+
]
|
|
41346
|
+
},
|
|
41347
|
+
{
|
|
41348
|
+
key: "package",
|
|
41349
|
+
group: "device",
|
|
41350
|
+
synonyms: ["pacco", "consegna"]
|
|
41351
|
+
},
|
|
41352
|
+
{
|
|
41353
|
+
key: "shield",
|
|
41354
|
+
group: "device",
|
|
41355
|
+
synonyms: [
|
|
41356
|
+
"scudo",
|
|
41357
|
+
"protezione",
|
|
41358
|
+
"sicurezza",
|
|
41359
|
+
"allarme"
|
|
41360
|
+
]
|
|
41361
|
+
},
|
|
41362
|
+
{
|
|
41363
|
+
key: "shield-check",
|
|
41364
|
+
group: "device",
|
|
41365
|
+
synonyms: [
|
|
41366
|
+
"protetto",
|
|
41367
|
+
"sicuro",
|
|
41368
|
+
"armato"
|
|
41369
|
+
]
|
|
41370
|
+
},
|
|
41371
|
+
{
|
|
41372
|
+
key: "shield-off",
|
|
41373
|
+
group: "device",
|
|
41374
|
+
synonyms: [
|
|
41375
|
+
"protezione",
|
|
41376
|
+
"disattivata",
|
|
41377
|
+
"disarmato"
|
|
41378
|
+
]
|
|
41379
|
+
},
|
|
41380
|
+
{
|
|
41381
|
+
key: "briefcase",
|
|
41382
|
+
group: "device",
|
|
41383
|
+
synonyms: [
|
|
41384
|
+
"ufficio",
|
|
41385
|
+
"lavoro",
|
|
41386
|
+
"valigetta",
|
|
41387
|
+
"studio"
|
|
41388
|
+
]
|
|
41389
|
+
},
|
|
41390
|
+
{
|
|
41391
|
+
key: "lightbulb",
|
|
41392
|
+
group: "lighting",
|
|
41393
|
+
synonyms: [
|
|
41394
|
+
"luce",
|
|
41395
|
+
"lampadina",
|
|
41396
|
+
"lampada",
|
|
41397
|
+
"light"
|
|
41398
|
+
]
|
|
41399
|
+
},
|
|
41400
|
+
{
|
|
41401
|
+
key: "lamp",
|
|
41402
|
+
group: "lighting",
|
|
41403
|
+
synonyms: ["lampada", "abatjour"]
|
|
41404
|
+
},
|
|
41405
|
+
{
|
|
41406
|
+
key: "lamp-ceiling",
|
|
41407
|
+
group: "lighting",
|
|
41408
|
+
synonyms: [
|
|
41409
|
+
"plafoniera",
|
|
41410
|
+
"lampadario",
|
|
41411
|
+
"luce",
|
|
41412
|
+
"soffitto"
|
|
41413
|
+
]
|
|
41414
|
+
},
|
|
41415
|
+
{
|
|
41416
|
+
key: "lamp-desk",
|
|
41417
|
+
group: "lighting",
|
|
41418
|
+
synonyms: [
|
|
41419
|
+
"lampada",
|
|
41420
|
+
"scrivania",
|
|
41421
|
+
"abatjour"
|
|
41422
|
+
]
|
|
41423
|
+
},
|
|
41424
|
+
{
|
|
41425
|
+
key: "lamp-floor",
|
|
41426
|
+
group: "lighting",
|
|
41427
|
+
synonyms: [
|
|
41428
|
+
"piantana",
|
|
41429
|
+
"lampada",
|
|
41430
|
+
"terra"
|
|
41431
|
+
]
|
|
41432
|
+
},
|
|
41433
|
+
{
|
|
41434
|
+
key: "flashlight",
|
|
41435
|
+
group: "lighting",
|
|
41436
|
+
synonyms: [
|
|
41437
|
+
"faretto",
|
|
41438
|
+
"torcia",
|
|
41439
|
+
"spot",
|
|
41440
|
+
"faro"
|
|
41441
|
+
]
|
|
41442
|
+
},
|
|
41443
|
+
{
|
|
41444
|
+
key: "heater",
|
|
41445
|
+
group: "lighting",
|
|
41446
|
+
synonyms: [
|
|
41447
|
+
"riscaldamento",
|
|
41448
|
+
"termosifone",
|
|
41449
|
+
"stufa",
|
|
41450
|
+
"calore"
|
|
41451
|
+
]
|
|
41452
|
+
},
|
|
41453
|
+
{
|
|
41454
|
+
key: "snowflake",
|
|
41455
|
+
group: "lighting",
|
|
41456
|
+
synonyms: [
|
|
41457
|
+
"freddo",
|
|
41458
|
+
"raffrescamento",
|
|
41459
|
+
"aria",
|
|
41460
|
+
"condizionata",
|
|
41461
|
+
"neve"
|
|
41462
|
+
]
|
|
41463
|
+
},
|
|
41464
|
+
{
|
|
41465
|
+
key: "thermometer-sun",
|
|
41466
|
+
group: "lighting",
|
|
41467
|
+
synonyms: [
|
|
41468
|
+
"caldo",
|
|
41469
|
+
"temperatura",
|
|
41470
|
+
"alta"
|
|
41471
|
+
]
|
|
41472
|
+
},
|
|
41473
|
+
{
|
|
41474
|
+
key: "thermometer-snowflake",
|
|
41475
|
+
group: "lighting",
|
|
41476
|
+
synonyms: [
|
|
41477
|
+
"freddo",
|
|
41478
|
+
"temperatura",
|
|
41479
|
+
"bassa"
|
|
41480
|
+
]
|
|
41481
|
+
},
|
|
41482
|
+
{
|
|
41483
|
+
key: "refrigerator",
|
|
41484
|
+
group: "lighting",
|
|
41485
|
+
synonyms: ["frigorifero", "frigo"]
|
|
41486
|
+
},
|
|
41487
|
+
{
|
|
41488
|
+
key: "microwave",
|
|
41489
|
+
group: "lighting",
|
|
41490
|
+
synonyms: ["microonde", "forno"]
|
|
41491
|
+
},
|
|
41492
|
+
{
|
|
41493
|
+
key: "washing-machine",
|
|
41494
|
+
group: "lighting",
|
|
41495
|
+
synonyms: [
|
|
41496
|
+
"lavatrice",
|
|
41497
|
+
"lavastoviglie",
|
|
41498
|
+
"asciugatrice"
|
|
41499
|
+
]
|
|
41500
|
+
},
|
|
41501
|
+
{
|
|
41502
|
+
key: "cooking-pot",
|
|
41503
|
+
group: "lighting",
|
|
41504
|
+
synonyms: [
|
|
41505
|
+
"pentola",
|
|
41506
|
+
"cucina",
|
|
41507
|
+
"fornello"
|
|
41508
|
+
]
|
|
41509
|
+
},
|
|
41510
|
+
{
|
|
41511
|
+
key: "utensils",
|
|
41512
|
+
group: "lighting",
|
|
41513
|
+
synonyms: [
|
|
41514
|
+
"cucina",
|
|
41515
|
+
"posate",
|
|
41516
|
+
"sala",
|
|
41517
|
+
"pranzo"
|
|
41518
|
+
]
|
|
41519
|
+
},
|
|
41520
|
+
{
|
|
41521
|
+
key: "thermometer",
|
|
41522
|
+
group: "sensing",
|
|
41523
|
+
synonyms: [
|
|
41524
|
+
"temperatura",
|
|
41525
|
+
"termometro",
|
|
41526
|
+
"termostato"
|
|
41527
|
+
]
|
|
41528
|
+
},
|
|
41529
|
+
{
|
|
41530
|
+
key: "droplets",
|
|
41531
|
+
group: "sensing",
|
|
41532
|
+
synonyms: [
|
|
41533
|
+
"umidita",
|
|
41534
|
+
"acqua",
|
|
41535
|
+
"allagamento",
|
|
41536
|
+
"perdita"
|
|
41537
|
+
]
|
|
41538
|
+
},
|
|
41539
|
+
{
|
|
41540
|
+
key: "droplet",
|
|
41541
|
+
group: "sensing",
|
|
41542
|
+
synonyms: [
|
|
41543
|
+
"goccia",
|
|
41544
|
+
"acqua",
|
|
41545
|
+
"perdita",
|
|
41546
|
+
"allagamento"
|
|
41547
|
+
]
|
|
41548
|
+
},
|
|
41549
|
+
{
|
|
41550
|
+
key: "gauge",
|
|
41551
|
+
group: "sensing",
|
|
41552
|
+
synonyms: [
|
|
41553
|
+
"misura",
|
|
41554
|
+
"livello",
|
|
41555
|
+
"pressione",
|
|
41556
|
+
"indicatore"
|
|
41557
|
+
]
|
|
41558
|
+
},
|
|
41559
|
+
{
|
|
41560
|
+
key: "gauge2",
|
|
41561
|
+
group: "sensing",
|
|
41562
|
+
synonyms: [
|
|
41563
|
+
"misura",
|
|
41564
|
+
"livello",
|
|
41565
|
+
"pressione",
|
|
41566
|
+
"indicatore"
|
|
41567
|
+
],
|
|
41568
|
+
aliasOf: "gauge"
|
|
41569
|
+
},
|
|
41570
|
+
{
|
|
41571
|
+
key: "sun",
|
|
41572
|
+
group: "sensing",
|
|
41573
|
+
synonyms: [
|
|
41574
|
+
"sole",
|
|
41575
|
+
"luminosita",
|
|
41576
|
+
"giorno",
|
|
41577
|
+
"esterno"
|
|
41578
|
+
]
|
|
41579
|
+
},
|
|
41580
|
+
{
|
|
41581
|
+
key: "sun-medium",
|
|
41582
|
+
group: "sensing",
|
|
41583
|
+
synonyms: ["sole", "luminosita"]
|
|
41584
|
+
},
|
|
41585
|
+
{
|
|
41586
|
+
key: "sunrise",
|
|
41587
|
+
group: "sensing",
|
|
41588
|
+
synonyms: ["alba"]
|
|
41589
|
+
},
|
|
41590
|
+
{
|
|
41591
|
+
key: "moon",
|
|
41592
|
+
group: "sensing",
|
|
41593
|
+
synonyms: [
|
|
41594
|
+
"notte",
|
|
41595
|
+
"luna",
|
|
41596
|
+
"notturna",
|
|
41597
|
+
"nightvision"
|
|
41598
|
+
]
|
|
41599
|
+
},
|
|
41600
|
+
{
|
|
41601
|
+
key: "wind",
|
|
41602
|
+
group: "sensing",
|
|
41603
|
+
synonyms: [
|
|
41604
|
+
"vento",
|
|
41605
|
+
"aria",
|
|
41606
|
+
"gas",
|
|
41607
|
+
"monossido",
|
|
41608
|
+
"co"
|
|
41609
|
+
]
|
|
41610
|
+
},
|
|
41611
|
+
{
|
|
41612
|
+
key: "cloud",
|
|
41613
|
+
group: "sensing",
|
|
41614
|
+
synonyms: ["nuvola", "nuvoloso"]
|
|
41615
|
+
},
|
|
41616
|
+
{
|
|
41617
|
+
key: "cloud-rain",
|
|
41618
|
+
group: "sensing",
|
|
41619
|
+
synonyms: ["pioggia"]
|
|
41620
|
+
},
|
|
41621
|
+
{
|
|
41622
|
+
key: "cloud-sun",
|
|
41623
|
+
group: "sensing",
|
|
41624
|
+
synonyms: [
|
|
41625
|
+
"variabile",
|
|
41626
|
+
"sole",
|
|
41627
|
+
"nuvole"
|
|
41628
|
+
]
|
|
41629
|
+
},
|
|
41630
|
+
{
|
|
41631
|
+
key: "waves",
|
|
41632
|
+
group: "sensing",
|
|
41633
|
+
synonyms: [
|
|
41634
|
+
"onde",
|
|
41635
|
+
"acqua",
|
|
41636
|
+
"vibrazione"
|
|
41637
|
+
]
|
|
41638
|
+
},
|
|
41639
|
+
{
|
|
41640
|
+
key: "sprout",
|
|
41641
|
+
group: "sensing",
|
|
41642
|
+
synonyms: [
|
|
41643
|
+
"irrigazione",
|
|
41644
|
+
"pianta",
|
|
41645
|
+
"germoglio",
|
|
41646
|
+
"orto"
|
|
41647
|
+
]
|
|
41648
|
+
},
|
|
41649
|
+
{
|
|
41650
|
+
key: "leaf",
|
|
41651
|
+
group: "sensing",
|
|
41652
|
+
synonyms: [
|
|
41653
|
+
"foglia",
|
|
41654
|
+
"pianta",
|
|
41655
|
+
"verde"
|
|
41656
|
+
]
|
|
41657
|
+
},
|
|
41658
|
+
{
|
|
41659
|
+
key: "flower",
|
|
41660
|
+
group: "sensing",
|
|
41661
|
+
synonyms: ["fiore", "pianta"]
|
|
41662
|
+
},
|
|
41663
|
+
{
|
|
41664
|
+
key: "zap",
|
|
41665
|
+
group: "sensing",
|
|
41666
|
+
synonyms: [
|
|
41667
|
+
"energia",
|
|
41668
|
+
"corrente",
|
|
41669
|
+
"consumo",
|
|
41670
|
+
"watt",
|
|
41671
|
+
"elettricita"
|
|
41672
|
+
]
|
|
41673
|
+
},
|
|
41674
|
+
{
|
|
41675
|
+
key: "flame",
|
|
41676
|
+
group: "sensing",
|
|
41677
|
+
synonyms: [
|
|
41678
|
+
"fiamma",
|
|
41679
|
+
"gas",
|
|
41680
|
+
"fuoco",
|
|
41681
|
+
"incendio"
|
|
41682
|
+
]
|
|
41683
|
+
},
|
|
41684
|
+
{
|
|
41685
|
+
key: "bell",
|
|
41686
|
+
group: "sensing",
|
|
41687
|
+
synonyms: [
|
|
41688
|
+
"campanello",
|
|
41689
|
+
"suoneria",
|
|
41690
|
+
"notifica",
|
|
41691
|
+
"bell",
|
|
41692
|
+
"chime"
|
|
41693
|
+
]
|
|
41694
|
+
},
|
|
41695
|
+
{
|
|
41696
|
+
key: "bell-ring",
|
|
41697
|
+
group: "sensing",
|
|
41698
|
+
synonyms: [
|
|
41699
|
+
"campanello",
|
|
41700
|
+
"suona",
|
|
41701
|
+
"doorbell",
|
|
41702
|
+
"notifica"
|
|
41703
|
+
]
|
|
41704
|
+
},
|
|
41705
|
+
{
|
|
41706
|
+
key: "bell-off",
|
|
41707
|
+
group: "sensing",
|
|
41708
|
+
synonyms: [
|
|
41709
|
+
"silenzioso",
|
|
41710
|
+
"notifiche",
|
|
41711
|
+
"disattivate",
|
|
41712
|
+
"muto"
|
|
41713
|
+
]
|
|
41714
|
+
},
|
|
41715
|
+
{
|
|
41716
|
+
key: "siren",
|
|
41717
|
+
group: "sensing",
|
|
41718
|
+
synonyms: ["sirena", "allarme"]
|
|
41719
|
+
},
|
|
41720
|
+
{
|
|
41721
|
+
key: "radar",
|
|
41722
|
+
group: "sensing",
|
|
41723
|
+
synonyms: [
|
|
41724
|
+
"movimento",
|
|
41725
|
+
"presenza",
|
|
41726
|
+
"pir",
|
|
41727
|
+
"rilevamento",
|
|
41728
|
+
"radar"
|
|
41729
|
+
]
|
|
41730
|
+
},
|
|
41731
|
+
{
|
|
41732
|
+
key: "activity",
|
|
41733
|
+
group: "sensing",
|
|
41734
|
+
synonyms: [
|
|
41735
|
+
"attivita",
|
|
41736
|
+
"sensore",
|
|
41737
|
+
"generico"
|
|
41738
|
+
]
|
|
41739
|
+
},
|
|
41740
|
+
{
|
|
41741
|
+
key: "hash",
|
|
41742
|
+
group: "sensing",
|
|
41743
|
+
synonyms: [
|
|
41744
|
+
"numero",
|
|
41745
|
+
"contatore",
|
|
41746
|
+
"valore"
|
|
41747
|
+
]
|
|
41748
|
+
},
|
|
41749
|
+
{
|
|
41750
|
+
key: "clock",
|
|
41751
|
+
group: "sensing",
|
|
41752
|
+
synonyms: [
|
|
41753
|
+
"orologio",
|
|
41754
|
+
"ora",
|
|
41755
|
+
"tempo"
|
|
41756
|
+
]
|
|
41757
|
+
},
|
|
41758
|
+
{
|
|
41759
|
+
key: "timer",
|
|
41760
|
+
group: "sensing",
|
|
41761
|
+
synonyms: [
|
|
41762
|
+
"timer",
|
|
41763
|
+
"conto",
|
|
41764
|
+
"rovescia"
|
|
41765
|
+
]
|
|
41766
|
+
},
|
|
41767
|
+
{
|
|
41768
|
+
key: "calendar",
|
|
41769
|
+
group: "sensing",
|
|
41770
|
+
synonyms: [
|
|
41771
|
+
"calendario",
|
|
41772
|
+
"data",
|
|
41773
|
+
"pianificazione"
|
|
41774
|
+
]
|
|
41775
|
+
},
|
|
41776
|
+
{
|
|
41777
|
+
key: "pipette",
|
|
41778
|
+
group: "sensing",
|
|
41779
|
+
synonyms: [
|
|
41780
|
+
"qualita",
|
|
41781
|
+
"aria",
|
|
41782
|
+
"misura",
|
|
41783
|
+
"campione"
|
|
41784
|
+
]
|
|
41785
|
+
},
|
|
41786
|
+
{
|
|
41787
|
+
key: "fan",
|
|
41788
|
+
group: "sensing",
|
|
41789
|
+
synonyms: [
|
|
41790
|
+
"ventilatore",
|
|
41791
|
+
"ventola",
|
|
41792
|
+
"aria"
|
|
41793
|
+
]
|
|
41794
|
+
},
|
|
41795
|
+
{
|
|
41796
|
+
key: "bath",
|
|
41797
|
+
group: "sensing",
|
|
41798
|
+
synonyms: [
|
|
41799
|
+
"bagno",
|
|
41800
|
+
"vasca",
|
|
41801
|
+
"doccia"
|
|
41802
|
+
]
|
|
41803
|
+
},
|
|
41804
|
+
{
|
|
41805
|
+
key: "footprints",
|
|
41806
|
+
group: "sensing",
|
|
41807
|
+
synonyms: [
|
|
41808
|
+
"movimento",
|
|
41809
|
+
"passi",
|
|
41810
|
+
"presenza",
|
|
41811
|
+
"motion"
|
|
41812
|
+
]
|
|
41813
|
+
},
|
|
41814
|
+
{
|
|
41815
|
+
key: "alarm-smoke",
|
|
41816
|
+
group: "sensing",
|
|
41817
|
+
synonyms: [
|
|
41818
|
+
"fumo",
|
|
41819
|
+
"antincendio",
|
|
41820
|
+
"rilevatore"
|
|
41821
|
+
]
|
|
41822
|
+
},
|
|
41823
|
+
{
|
|
41824
|
+
key: "shield-alert",
|
|
41825
|
+
group: "sensing",
|
|
41826
|
+
synonyms: [
|
|
41827
|
+
"manomissione",
|
|
41828
|
+
"allarme",
|
|
41829
|
+
"tamper",
|
|
41830
|
+
"avviso"
|
|
41831
|
+
]
|
|
41832
|
+
},
|
|
41833
|
+
{
|
|
41834
|
+
key: "vibrate",
|
|
41835
|
+
group: "sensing",
|
|
41836
|
+
synonyms: [
|
|
41837
|
+
"vibrazione",
|
|
41838
|
+
"urto",
|
|
41839
|
+
"tamper"
|
|
41840
|
+
]
|
|
41841
|
+
},
|
|
41842
|
+
{
|
|
41843
|
+
key: "wifi",
|
|
41844
|
+
group: "sensing",
|
|
41845
|
+
synonyms: [
|
|
41846
|
+
"wifi",
|
|
41847
|
+
"rete",
|
|
41848
|
+
"segnale"
|
|
41849
|
+
]
|
|
41850
|
+
},
|
|
41851
|
+
{
|
|
41852
|
+
key: "wifi-off",
|
|
41853
|
+
group: "sensing",
|
|
41854
|
+
synonyms: [
|
|
41855
|
+
"wifi",
|
|
41856
|
+
"assente",
|
|
41857
|
+
"offline",
|
|
41858
|
+
"disconnesso"
|
|
41859
|
+
]
|
|
41860
|
+
},
|
|
41861
|
+
{
|
|
41862
|
+
key: "volume-2",
|
|
41863
|
+
group: "sensing",
|
|
41864
|
+
synonyms: [
|
|
41865
|
+
"volume",
|
|
41866
|
+
"audio",
|
|
41867
|
+
"altoparlante",
|
|
41868
|
+
"suono"
|
|
41869
|
+
]
|
|
41870
|
+
},
|
|
41871
|
+
{
|
|
41872
|
+
key: "volume-x",
|
|
41873
|
+
group: "sensing",
|
|
41874
|
+
synonyms: [
|
|
41875
|
+
"muto",
|
|
41876
|
+
"silenziato",
|
|
41877
|
+
"volume",
|
|
41878
|
+
"spento"
|
|
41879
|
+
]
|
|
41880
|
+
},
|
|
41881
|
+
{
|
|
41882
|
+
key: "heart",
|
|
41883
|
+
group: "sensing",
|
|
41884
|
+
synonyms: [
|
|
41885
|
+
"cuore",
|
|
41886
|
+
"preferito",
|
|
41887
|
+
"salute"
|
|
41888
|
+
]
|
|
41889
|
+
},
|
|
41890
|
+
{
|
|
41891
|
+
key: "heart-pulse",
|
|
41892
|
+
group: "sensing",
|
|
41893
|
+
synonyms: [
|
|
41894
|
+
"battito",
|
|
41895
|
+
"salute",
|
|
41896
|
+
"monitoraggio"
|
|
41897
|
+
]
|
|
41898
|
+
},
|
|
41899
|
+
{
|
|
41900
|
+
key: "star",
|
|
41901
|
+
group: "sensing",
|
|
41902
|
+
synonyms: [
|
|
41903
|
+
"preferito",
|
|
41904
|
+
"stella",
|
|
41905
|
+
"importante"
|
|
41906
|
+
]
|
|
41907
|
+
},
|
|
41908
|
+
{
|
|
41909
|
+
key: "sparkles",
|
|
41910
|
+
group: "sensing",
|
|
41911
|
+
synonyms: [
|
|
41912
|
+
"automatico",
|
|
41913
|
+
"intelligente",
|
|
41914
|
+
"ai",
|
|
41915
|
+
"scena"
|
|
41916
|
+
]
|
|
41917
|
+
},
|
|
41918
|
+
{
|
|
41919
|
+
key: "house",
|
|
41920
|
+
group: "place",
|
|
41921
|
+
synonyms: [
|
|
41922
|
+
"casa",
|
|
41923
|
+
"abitazione",
|
|
41924
|
+
"home"
|
|
41925
|
+
]
|
|
41926
|
+
},
|
|
41927
|
+
{
|
|
41928
|
+
key: "sofa",
|
|
41929
|
+
group: "place",
|
|
41930
|
+
synonyms: [
|
|
41931
|
+
"salone",
|
|
41932
|
+
"soggiorno",
|
|
41933
|
+
"divano",
|
|
41934
|
+
"living"
|
|
41935
|
+
]
|
|
41936
|
+
},
|
|
41937
|
+
{
|
|
41938
|
+
key: "bed-double",
|
|
41939
|
+
group: "place",
|
|
41940
|
+
synonyms: [
|
|
41941
|
+
"camera",
|
|
41942
|
+
"letto",
|
|
41943
|
+
"matrimoniale"
|
|
41944
|
+
]
|
|
41945
|
+
},
|
|
41946
|
+
{
|
|
41947
|
+
key: "bed",
|
|
41948
|
+
group: "place",
|
|
41949
|
+
synonyms: [
|
|
41950
|
+
"cameretta",
|
|
41951
|
+
"letto",
|
|
41952
|
+
"singolo"
|
|
41953
|
+
]
|
|
41954
|
+
},
|
|
41955
|
+
{
|
|
41956
|
+
key: "warehouse",
|
|
41957
|
+
group: "place",
|
|
41958
|
+
synonyms: [
|
|
41959
|
+
"magazzino",
|
|
41960
|
+
"capanno",
|
|
41961
|
+
"deposito",
|
|
41962
|
+
"cantina"
|
|
41963
|
+
]
|
|
41964
|
+
},
|
|
41965
|
+
{
|
|
41966
|
+
key: "trees",
|
|
41967
|
+
group: "place",
|
|
41968
|
+
synonyms: [
|
|
41969
|
+
"giardino",
|
|
41970
|
+
"alberi",
|
|
41971
|
+
"esterno",
|
|
41972
|
+
"parco"
|
|
41973
|
+
]
|
|
41974
|
+
},
|
|
41975
|
+
{
|
|
41976
|
+
key: "tree-pine",
|
|
41977
|
+
group: "place",
|
|
41978
|
+
synonyms: [
|
|
41979
|
+
"albero",
|
|
41980
|
+
"pino",
|
|
41981
|
+
"giardino"
|
|
41982
|
+
]
|
|
41983
|
+
},
|
|
41984
|
+
{
|
|
41985
|
+
key: "fence",
|
|
41986
|
+
group: "place",
|
|
41987
|
+
synonyms: [
|
|
41988
|
+
"recinto",
|
|
41989
|
+
"cancello",
|
|
41990
|
+
"staccionata",
|
|
41991
|
+
"perimetro"
|
|
41992
|
+
]
|
|
41993
|
+
},
|
|
41994
|
+
{
|
|
41995
|
+
key: "store",
|
|
41996
|
+
group: "place",
|
|
41997
|
+
synonyms: [
|
|
41998
|
+
"negozio",
|
|
41999
|
+
"ingresso",
|
|
42000
|
+
"vetrina"
|
|
42001
|
+
]
|
|
42002
|
+
},
|
|
42003
|
+
{
|
|
42004
|
+
key: "building",
|
|
42005
|
+
group: "place",
|
|
42006
|
+
synonyms: ["edificio", "palazzo"]
|
|
42007
|
+
},
|
|
42008
|
+
{
|
|
42009
|
+
key: "building-2",
|
|
42010
|
+
group: "place",
|
|
42011
|
+
synonyms: [
|
|
42012
|
+
"edificio",
|
|
42013
|
+
"uffici",
|
|
42014
|
+
"condominio"
|
|
42015
|
+
]
|
|
42016
|
+
},
|
|
42017
|
+
{
|
|
42018
|
+
key: "mountain",
|
|
42019
|
+
group: "place",
|
|
42020
|
+
synonyms: [
|
|
42021
|
+
"montagna",
|
|
42022
|
+
"esterno",
|
|
42023
|
+
"panorama"
|
|
42024
|
+
]
|
|
42025
|
+
},
|
|
42026
|
+
{
|
|
42027
|
+
key: "umbrella",
|
|
42028
|
+
group: "place",
|
|
42029
|
+
synonyms: [
|
|
42030
|
+
"tenda",
|
|
42031
|
+
"markise",
|
|
42032
|
+
"ombrellone",
|
|
42033
|
+
"pergola",
|
|
42034
|
+
"veranda"
|
|
42035
|
+
]
|
|
42036
|
+
},
|
|
42037
|
+
{
|
|
42038
|
+
key: "dumbbell",
|
|
42039
|
+
group: "place",
|
|
42040
|
+
synonyms: ["palestra", "attrezzi"]
|
|
42041
|
+
},
|
|
42042
|
+
{
|
|
42043
|
+
key: "wrench",
|
|
42044
|
+
group: "place",
|
|
42045
|
+
synonyms: [
|
|
42046
|
+
"officina",
|
|
42047
|
+
"manutenzione",
|
|
42048
|
+
"attrezzi",
|
|
42049
|
+
"utenze"
|
|
42050
|
+
]
|
|
42051
|
+
},
|
|
42052
|
+
{
|
|
42053
|
+
key: "hammer",
|
|
42054
|
+
group: "place",
|
|
42055
|
+
synonyms: [
|
|
42056
|
+
"officina",
|
|
42057
|
+
"martello",
|
|
42058
|
+
"lavori"
|
|
42059
|
+
]
|
|
42060
|
+
},
|
|
42061
|
+
{
|
|
42062
|
+
key: "drill",
|
|
42063
|
+
group: "place",
|
|
42064
|
+
synonyms: [
|
|
42065
|
+
"officina",
|
|
42066
|
+
"trapano",
|
|
42067
|
+
"lavori"
|
|
42068
|
+
]
|
|
42069
|
+
},
|
|
42070
|
+
{
|
|
42071
|
+
key: "waves-ladder",
|
|
42072
|
+
group: "place",
|
|
42073
|
+
synonyms: ["piscina", "vasca"]
|
|
42074
|
+
},
|
|
42075
|
+
{
|
|
42076
|
+
key: "circle-parking",
|
|
42077
|
+
group: "place",
|
|
42078
|
+
synonyms: [
|
|
42079
|
+
"parcheggio",
|
|
42080
|
+
"posto",
|
|
42081
|
+
"auto",
|
|
42082
|
+
"garage"
|
|
42083
|
+
]
|
|
42084
|
+
},
|
|
42085
|
+
{
|
|
42086
|
+
key: "route",
|
|
42087
|
+
group: "place",
|
|
42088
|
+
synonyms: [
|
|
42089
|
+
"percorso",
|
|
42090
|
+
"strada",
|
|
42091
|
+
"vialetto",
|
|
42092
|
+
"tragitto"
|
|
42093
|
+
]
|
|
42094
|
+
},
|
|
42095
|
+
{
|
|
42096
|
+
key: "car",
|
|
42097
|
+
group: "life",
|
|
42098
|
+
synonyms: [
|
|
42099
|
+
"auto",
|
|
42100
|
+
"macchina",
|
|
42101
|
+
"veicolo",
|
|
42102
|
+
"parcheggio"
|
|
42103
|
+
]
|
|
42104
|
+
},
|
|
42105
|
+
{
|
|
42106
|
+
key: "bike",
|
|
42107
|
+
group: "life",
|
|
42108
|
+
synonyms: [
|
|
42109
|
+
"bicicletta",
|
|
42110
|
+
"bici",
|
|
42111
|
+
"moto"
|
|
42112
|
+
]
|
|
42113
|
+
},
|
|
42114
|
+
{
|
|
42115
|
+
key: "bus",
|
|
42116
|
+
group: "life",
|
|
42117
|
+
synonyms: ["autobus", "pullman"]
|
|
42118
|
+
},
|
|
42119
|
+
{
|
|
42120
|
+
key: "truck",
|
|
42121
|
+
group: "life",
|
|
42122
|
+
synonyms: [
|
|
42123
|
+
"camion",
|
|
42124
|
+
"furgone",
|
|
42125
|
+
"consegna"
|
|
42126
|
+
]
|
|
42127
|
+
},
|
|
42128
|
+
{
|
|
42129
|
+
key: "plane",
|
|
42130
|
+
group: "life",
|
|
42131
|
+
synonyms: ["aereo"]
|
|
42132
|
+
},
|
|
42133
|
+
{
|
|
42134
|
+
key: "train-front",
|
|
42135
|
+
group: "life",
|
|
42136
|
+
synonyms: ["treno"]
|
|
42137
|
+
},
|
|
42138
|
+
{
|
|
42139
|
+
key: "sailboat",
|
|
42140
|
+
group: "life",
|
|
42141
|
+
synonyms: ["barca", "imbarcazione"]
|
|
42142
|
+
},
|
|
42143
|
+
{
|
|
42144
|
+
key: "dog",
|
|
42145
|
+
group: "life",
|
|
42146
|
+
synonyms: ["cane", "animale"]
|
|
42147
|
+
},
|
|
42148
|
+
{
|
|
42149
|
+
key: "cat",
|
|
42150
|
+
group: "life",
|
|
42151
|
+
synonyms: ["gatto", "animale"]
|
|
42152
|
+
},
|
|
42153
|
+
{
|
|
42154
|
+
key: "bird",
|
|
42155
|
+
group: "life",
|
|
42156
|
+
synonyms: ["uccello", "animale"]
|
|
42157
|
+
},
|
|
42158
|
+
{
|
|
42159
|
+
key: "paw-print",
|
|
42160
|
+
group: "life",
|
|
42161
|
+
synonyms: [
|
|
42162
|
+
"animale",
|
|
42163
|
+
"zampa",
|
|
42164
|
+
"pet"
|
|
42165
|
+
]
|
|
42166
|
+
},
|
|
42167
|
+
{
|
|
42168
|
+
key: "baby",
|
|
42169
|
+
group: "life",
|
|
42170
|
+
synonyms: [
|
|
42171
|
+
"neonato",
|
|
42172
|
+
"bimbo",
|
|
42173
|
+
"cameretta",
|
|
42174
|
+
"babymonitor"
|
|
42175
|
+
]
|
|
42176
|
+
},
|
|
42177
|
+
{
|
|
42178
|
+
key: "user",
|
|
42179
|
+
group: "life",
|
|
42180
|
+
synonyms: ["persona", "utente"]
|
|
42181
|
+
},
|
|
42182
|
+
{
|
|
42183
|
+
key: "users",
|
|
42184
|
+
group: "life",
|
|
42185
|
+
synonyms: [
|
|
42186
|
+
"persone",
|
|
42187
|
+
"gruppo",
|
|
42188
|
+
"famiglia"
|
|
42189
|
+
]
|
|
42190
|
+
},
|
|
42191
|
+
{
|
|
42192
|
+
key: "person-standing",
|
|
42193
|
+
group: "life",
|
|
42194
|
+
synonyms: [
|
|
42195
|
+
"persona",
|
|
42196
|
+
"piedi",
|
|
42197
|
+
"presenza"
|
|
42198
|
+
]
|
|
42199
|
+
}
|
|
42200
|
+
];
|
|
42201
|
+
DISPLAY_ICON_VOCABULARY.map((e) => e.key);
|
|
42202
|
+
DISPLAY_ICON_VOCABULARY.filter((e) => e.aliasOf === void 0).map((e) => e.key);
|
|
42203
|
+
new Map(DISPLAY_ICON_VOCABULARY.map((e) => [e.key, e]));
|
|
40255
42204
|
/** Unwrap ZodNullable / ZodOptional / ZodDefault wrappers to reach the inner type.
|
|
40256
42205
|
* Zod v4 exposes `.unwrap()` on all three wrapper classes. */
|
|
40257
42206
|
function unwrap(schema) {
|
|
@@ -40368,6 +42317,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
40368
42317
|
"ptz",
|
|
40369
42318
|
"ptz-autotrack",
|
|
40370
42319
|
"recording",
|
|
42320
|
+
"recording-onboard",
|
|
40371
42321
|
"recording-signal",
|
|
40372
42322
|
"scene-monitor",
|
|
40373
42323
|
"script-runner",
|
|
@@ -40438,6 +42388,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
40438
42388
|
dayNightCapability,
|
|
40439
42389
|
decoderCapability,
|
|
40440
42390
|
detectionPipelineCapability,
|
|
42391
|
+
deviceAdminLinkCapability,
|
|
40441
42392
|
deviceAdoptionCapability,
|
|
40442
42393
|
deviceDiscoveryCapability,
|
|
40443
42394
|
deviceExportCapability,
|
|
@@ -40512,6 +42463,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
40512
42463
|
rebootCapability,
|
|
40513
42464
|
recordingCapability,
|
|
40514
42465
|
recordingExportCapability,
|
|
42466
|
+
recordingOnboardCapability,
|
|
40515
42467
|
recordingSignalCapability,
|
|
40516
42468
|
sceneMonitorCapability,
|
|
40517
42469
|
scriptRunnerCapability,
|
|
@@ -41856,6 +43808,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
41856
43808
|
addonId: null,
|
|
41857
43809
|
access: "view"
|
|
41858
43810
|
},
|
|
43811
|
+
"deviceAdminLink.getAdminLink": {
|
|
43812
|
+
capName: "device-admin-link",
|
|
43813
|
+
capScope: "device",
|
|
43814
|
+
addonId: null,
|
|
43815
|
+
access: "view"
|
|
43816
|
+
},
|
|
41859
43817
|
"deviceAdoption.adopt": {
|
|
41860
43818
|
capName: "device-adoption",
|
|
41861
43819
|
capScope: "system",
|
|
@@ -45894,6 +47852,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
45894
47852
|
addonId: null,
|
|
45895
47853
|
access: "view"
|
|
45896
47854
|
},
|
|
47855
|
+
"recordingOnboard.getOptions": {
|
|
47856
|
+
capName: "recording-onboard",
|
|
47857
|
+
capScope: "device",
|
|
47858
|
+
addonId: null,
|
|
47859
|
+
access: "view"
|
|
47860
|
+
},
|
|
47861
|
+
"recordingOnboard.getStatus": {
|
|
47862
|
+
capName: "recording-onboard",
|
|
47863
|
+
capScope: "device",
|
|
47864
|
+
addonId: null,
|
|
47865
|
+
access: "view"
|
|
47866
|
+
},
|
|
47867
|
+
"recordingOnboard.setSettings": {
|
|
47868
|
+
capName: "recording-onboard",
|
|
47869
|
+
capScope: "device",
|
|
47870
|
+
addonId: null,
|
|
47871
|
+
access: "create"
|
|
47872
|
+
},
|
|
45897
47873
|
"recordingSignal.getStatus": {
|
|
45898
47874
|
capName: "recording-signal",
|
|
45899
47875
|
capScope: "device",
|
|
@@ -47346,6 +49322,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
47346
49322
|
addonId: null,
|
|
47347
49323
|
access: "view"
|
|
47348
49324
|
},
|
|
49325
|
+
"videoclips.dialClipStream": {
|
|
49326
|
+
capName: "videoclips",
|
|
49327
|
+
capScope: "device",
|
|
49328
|
+
addonId: null,
|
|
49329
|
+
access: "view"
|
|
49330
|
+
},
|
|
47349
49331
|
"videoclips.getClipPlayback": {
|
|
47350
49332
|
capName: "videoclips",
|
|
47351
49333
|
capScope: "device",
|
|
@@ -47774,6 +49756,11 @@ Object.freeze({
|
|
|
47774
49756
|
form: "single",
|
|
47775
49757
|
optional: true
|
|
47776
49758
|
}],
|
|
49759
|
+
"deviceAdminLink.getAdminLink": [{
|
|
49760
|
+
name: "deviceId",
|
|
49761
|
+
form: "single",
|
|
49762
|
+
optional: false
|
|
49763
|
+
}],
|
|
47777
49764
|
"deviceAdoption.release": [{
|
|
47778
49765
|
name: "camDeviceId",
|
|
47779
49766
|
form: "single",
|
|
@@ -49159,6 +51146,16 @@ Object.freeze({
|
|
|
49159
51146
|
form: "single",
|
|
49160
51147
|
optional: true
|
|
49161
51148
|
}],
|
|
51149
|
+
"recordingOnboard.getOptions": [{
|
|
51150
|
+
name: "deviceId",
|
|
51151
|
+
form: "single",
|
|
51152
|
+
optional: false
|
|
51153
|
+
}],
|
|
51154
|
+
"recordingOnboard.setSettings": [{
|
|
51155
|
+
name: "deviceId",
|
|
51156
|
+
form: "single",
|
|
51157
|
+
optional: false
|
|
51158
|
+
}],
|
|
49162
51159
|
"recordingSignal.getStatus": [{
|
|
49163
51160
|
name: "deviceId",
|
|
49164
51161
|
form: "single",
|
|
@@ -49385,6 +51382,11 @@ Object.freeze({
|
|
|
49385
51382
|
form: "single",
|
|
49386
51383
|
optional: false
|
|
49387
51384
|
}],
|
|
51385
|
+
"videoclips.dialClipStream": [{
|
|
51386
|
+
name: "deviceId",
|
|
51387
|
+
form: "single",
|
|
51388
|
+
optional: false
|
|
51389
|
+
}],
|
|
49388
51390
|
"videoclips.getClipPlayback": [{
|
|
49389
51391
|
name: "deviceId",
|
|
49390
51392
|
form: "single",
|
|
@@ -49537,7 +51539,7 @@ Object.freeze({
|
|
|
49537
51539
|
});
|
|
49538
51540
|
/**
|
|
49539
51541
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
49540
|
-
* `runtimeState`.
|
|
51542
|
+
* `runtimeState`. 69 caps: 36 `restored`, 33 `session`.
|
|
49541
51543
|
*
|
|
49542
51544
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
49543
51545
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -49739,6 +51741,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
49739
51741
|
durability: "session",
|
|
49740
51742
|
volatileFields: []
|
|
49741
51743
|
},
|
|
51744
|
+
"recording-onboard": {
|
|
51745
|
+
durability: "restored",
|
|
51746
|
+
volatileFields: ["lastFetchedAt"]
|
|
51747
|
+
},
|
|
49742
51748
|
"recording-signal": {
|
|
49743
51749
|
durability: "session",
|
|
49744
51750
|
volatileFields: []
|
|
@@ -50599,6 +52605,12 @@ Object.defineProperty(exports, "DATAPLANE_SECRET_HEADER", {
|
|
|
50599
52605
|
return DATAPLANE_SECRET_HEADER;
|
|
50600
52606
|
}
|
|
50601
52607
|
});
|
|
52608
|
+
Object.defineProperty(exports, "DAY_NAMES", {
|
|
52609
|
+
enumerable: true,
|
|
52610
|
+
get: function() {
|
|
52611
|
+
return DAY_NAMES;
|
|
52612
|
+
}
|
|
52613
|
+
});
|
|
50602
52614
|
Object.defineProperty(exports, "DEFAULT_FIRST_SIGHTING_FRESHNESS_MS", {
|
|
50603
52615
|
enumerable: true,
|
|
50604
52616
|
get: function() {
|
|
@@ -50689,6 +52701,12 @@ Object.defineProperty(exports, "METHOD_ACCESS_MAP", {
|
|
|
50689
52701
|
return METHOD_ACCESS_MAP;
|
|
50690
52702
|
}
|
|
50691
52703
|
});
|
|
52704
|
+
Object.defineProperty(exports, "MINUTES_PER_DAY", {
|
|
52705
|
+
enumerable: true,
|
|
52706
|
+
get: function() {
|
|
52707
|
+
return MINUTES_PER_DAY;
|
|
52708
|
+
}
|
|
52709
|
+
});
|
|
50692
52710
|
Object.defineProperty(exports, "MOTION_CLOSE_AFTER_MS", {
|
|
50693
52711
|
enumerable: true,
|
|
50694
52712
|
get: function() {
|
|
@@ -51025,6 +53043,12 @@ Object.defineProperty(exports, "foldSnapshotByFunction", {
|
|
|
51025
53043
|
return foldSnapshotByFunction;
|
|
51026
53044
|
}
|
|
51027
53045
|
});
|
|
53046
|
+
Object.defineProperty(exports, "formatMinutes", {
|
|
53047
|
+
enumerable: true,
|
|
53048
|
+
get: function() {
|
|
53049
|
+
return formatMinutes;
|
|
53050
|
+
}
|
|
53051
|
+
});
|
|
51028
53052
|
Object.defineProperty(exports, "gbToBytes", {
|
|
51029
53053
|
enumerable: true,
|
|
51030
53054
|
get: function() {
|