@mega-yfue/eufy-sdk 0.5.0-beta.28 → 0.5.0-beta.29
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/index.js
CHANGED
|
@@ -4252,6 +4252,10 @@ var MOTION_MEMBERS = {
|
|
|
4252
4252
|
* The raw sensitivity an indoor camera reports, on the one id whose write takes a `1700` control
|
|
4253
4253
|
* payload carrying an index rather than the `1350` envelope its siblings use — a frame-shape
|
|
4254
4254
|
* difference `sensitivityCommand` resolves from the scale. `unexposed` like its three siblings.
|
|
4255
|
+
*
|
|
4256
|
+
* Some devices report 6041 as a base64 JSON list of per-sensor entries
|
|
4257
|
+
* (`{"list":[{"sensor_id":…,"sensitivity":…}]}`) rather than a scalar. That value is stored verbatim
|
|
4258
|
+
* and this getter answers `undefined` for it: only the scalar form is confirmed to be this step.
|
|
4255
4259
|
*/
|
|
4256
4260
|
indoorSensitivity: {
|
|
4257
4261
|
param: MOTION_CMD.INDOOR_SENSITIVITY_INDEX,
|
|
@@ -4259,7 +4263,8 @@ var MOTION_MEMBERS = {
|
|
|
4259
4263
|
kind: "scalar",
|
|
4260
4264
|
provenance: "verified",
|
|
4261
4265
|
unexposed: true,
|
|
4262
|
-
description: "Raw sensitivity an indoor camera reports (verified: param 6041)."
|
|
4266
|
+
description: "Raw sensitivity an indoor camera reports (verified: param 6041).",
|
|
4267
|
+
decode: (raw) => typeof raw === "number" ? raw : void 0
|
|
4263
4268
|
},
|
|
4264
4269
|
/**
|
|
4265
4270
|
* The raw sensitivity on the INVERTED seven-step camera scale — a HIGHER number is LESS sensitive, so
|