@mega-yfue/eufy-sdk 0.5.0-beta.16 → 0.5.0-beta.18

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.
@@ -8,6 +8,8 @@ import { type Command, type MediaProvider } from "../../core/contracts.js";
8
8
  * `transport/p2p/commands.ts`). Each entry notes its app `CommandType` name.
9
9
  */
10
10
  export declare const CAMERA_CMD: {
11
+ /** Camera-reported Wi-Fi signal (app `CMD_GET_WIFI_RSSI`). */
12
+ readonly WIFI_RSSI: 1142;
11
13
  /** Camera on/off. Read and write polarity depend on the family and topology. */
12
14
  readonly CAMERA_ENABLE: 1035;
13
15
  /** Wrapped T8410 power switch on HomeBase 3. */
@@ -271,6 +273,14 @@ export type CameraActions = Surface<typeof CAMERA_MEMBERS> & {
271
273
  * @internal
272
274
  */
273
275
  export declare const CAMERA_MEMBERS: {
276
+ /** Reads the latest cached report and exposes no setter. */
277
+ readonly wifiRssi: {
278
+ readonly param: 1142;
279
+ readonly type: "number";
280
+ readonly kind: "scalar";
281
+ readonly provenance: "apk";
282
+ readonly description: "Camera-reported Wi-Fi signal; physical units and a quality scale are unspecified.";
283
+ };
274
284
  /**
275
285
  * The default READ is the *disable*-bit convention (1035 "0" ⇒ ON, 2001 direct); the WRITE polarity is
276
286
  * family-dependent — see `powerValue` / `isEnableBitPolarity`. Battery/solo cams report the state under
@@ -160,6 +160,9 @@ export declare const LIGHT_MEMBERS: {
160
160
  * This is the switch a user changes and expects to STAY changed. {@link isOn} is a different fact:
161
161
  * the lamp being lit right now, driven by whichever
162
162
  * client is streaming — the vendor app lights it for a live view and drops it on quitting.
163
+ *
164
+ * The T8423 write takes the session-chosen level; level-1 int+string was verified live on a standalone
165
+ * unit.
163
166
  */
164
167
  readonly spotlightEnabled: {
165
168
  readonly param: 1403;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.5.0-beta.16",
3
+ "version": "0.5.0-beta.18",
4
4
  "description": "One typed TypeScript client for the Anker eufy v6 cloud — capability-driven devices, realtime events over P2P/MQTT/push, and live media",
5
5
  "license": "Apache-2.0",
6
6
  "author": "mega-yfue",