@homebridge-plugins/homebridge-eufy-security 4.6.0-beta.18 → 4.6.0-beta.19
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.
|
@@ -12,7 +12,7 @@ Depends on `eufy-security-client` (upstream: bropat/eufy-security-client) for cl
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
npm run build # rimraf dist -> tsc -> copy media/ to dist/
|
|
15
|
-
npm run build-plugin # tsc
|
|
15
|
+
npm run build-plugin # rimraf dist -> tsc (no media copy)
|
|
16
16
|
npm run lint # eslint 'src/**/*.ts' --max-warnings=0
|
|
17
17
|
npm run lint-fix # eslint with --fix
|
|
18
18
|
```
|
|
@@ -30,6 +30,7 @@ Entry point `src/index.ts` registers `EufySecurityPlatform` with Homebridge. The
|
|
|
30
30
|
- `CameraAccessory` -- cameras, doorbells, floodlights (handles streaming delegates)
|
|
31
31
|
- `StationAccessory` -- base stations (security system service for arm/disarm)
|
|
32
32
|
- `LockAccessory`, `EntrySensorAccessory`, `MotionSensorAccessory`, `SmartDropAccessory`
|
|
33
|
+
- `AutoSyncStationAccessory` -- virtual accessory that syncs station guard mode with HomeKit
|
|
33
34
|
- `Device.ts` -- base class shared by all accessories
|
|
34
35
|
|
|
35
36
|
**Streaming pipeline** in `src/controller/`:
|
|
@@ -52,11 +53,12 @@ Entry point `src/index.ts` registers `EufySecurityPlatform` with Homebridge. The
|
|
|
52
53
|
## Key Technical Details
|
|
53
54
|
|
|
54
55
|
- ESM project (`"type": "module"`) -- imports use `.js` extensions
|
|
55
|
-
- TypeScript strict mode, ES2022 target
|
|
56
|
+
- TypeScript strict mode, ES2022 target (`noImplicitAny: false` relaxes implicit-any checks)
|
|
56
57
|
- Node.js 20, 22, or 24 required
|
|
57
58
|
- Homebridge >=1.9.0 or ^2.0.0-beta
|
|
58
59
|
- Uses `ffmpeg-for-homebridge` for video transcoding
|
|
59
|
-
- `src/version.ts` is auto-generated at prebuild time -- do not edit manually
|
|
60
|
+
- `src/version.ts` is auto-generated at prebuild time -- do not edit manually.
|
|
61
|
+
- For local development, `eufy-security-client` can be pointed to a local path (e.g. `"../eufy-security-client"`)
|
|
60
62
|
|
|
61
63
|
## Git Workflow
|
|
62
64
|
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const LIB_VERSION = "4.6.0-beta.
|
|
1
|
+
export const LIB_VERSION = "4.6.0-beta.19";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "Homebridge Eufy Security",
|
|
3
3
|
"name": "@homebridge-plugins/homebridge-eufy-security",
|
|
4
|
-
"version": "4.6.0-beta.
|
|
4
|
+
"version": "4.6.0-beta.19",
|
|
5
5
|
"description": "Control Eufy Security from homebridge.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "Apache-2.0",
|