smart-home-engine 1.21.1 → 1.34.3
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/README.md +6 -3
- package/dist/web/assets/index-BtBtSJng.js +271 -0
- package/dist/web/assets/index-CXLA5efM.css +1 -0
- package/dist/web/assets/{jsonMode-tUihOf0o.js → jsonMode-BRIqcXAV.js} +1 -1
- package/dist/web/assets/{monaco-langs-Dt8a9eeo.js → monaco-langs-DKJI_o9J.js} +1 -1
- package/dist/web/assets/{tsMode-MW8HdoyG.js → tsMode-CFhaNPy5.js} +1 -1
- package/dist/web/index.html +3 -3
- package/package.json +1 -1
- package/service/install.sh +10 -1
- package/service/she-servicectl +638 -0
- package/service/smart-home-engine.service +1 -1
- package/src/index.js +46 -12
- package/src/lib/npm-registry.js +80 -0
- package/src/lib/secrets.js +320 -0
- package/src/lib/services-catalog.js +144 -0
- package/src/lib/services-host.js +275 -0
- package/src/lib/services-inventory.js +180 -0
- package/src/lib/ssh-deploy.js +13 -8
- package/src/web/scripts-api.js +1 -1
- package/src/web/secrets-api.js +61 -0
- package/src/web/server.js +12 -1
- package/src/web/services-api.js +1555 -0
- package/dist/web/assets/index-D48WYWyE.css +0 -1
- package/dist/web/assets/index-qIL0opKT.js +0 -235
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
# she - smart home engine
|
|
2
2
|
|
|
3
3
|
Your home, your rules - written in plain JavaScript.
|
|
4
4
|
|
|
@@ -12,8 +12,10 @@ Your home, your rules - written in plain JavaScript.
|
|
|
12
12
|
- **Script HTTP routes** — scripts can register their own REST endpoints under `/api/<scriptName>/`
|
|
13
13
|
- **`require()`** — load npm packages from `~/.she/node_modules/` or relative files inside scripts
|
|
14
14
|
- Supports **InfluxDB**, **Elasticsearch** and **Redis** — convenience methods for time series, full text indexing, shared states across multiple she instances
|
|
15
|
+
- **Secrets** — encrypted store for the passwords and tokens scripts need (`she.secrets.get('smtp/password')`), write-only from the UI, redacted in logs
|
|
16
|
+
- **Services** — optional management of the `xyz2mqtt` adapter instances of your home (mqtt-interfaces-core convention): inventory, restart and log level over MQTT, systemd control, journal logs, config forms generated from the adapter's `--config-schema`, install/uninstall/update on the she host
|
|
15
17
|
- **Broker management** — optional Mosquitto management: dynamic user/ACL management via the dynsec plugin (`she.broker.*` script API), listener and TLS configuration, TLS certificate management (server cert self-signed / CSR / import, trusted CA store), SSH-based remote file deployment
|
|
16
|
-
- **Web UI** — script editor, package manager, MQTT browser, Matter device manager, sheDB frontend, log viewer, broker manager
|
|
18
|
+
- **Web UI** — script editor, package manager, MQTT browser, Matter device manager, sheDB frontend, log viewer, broker manager, services manager
|
|
17
19
|
|
|
18
20
|
## Documentation
|
|
19
21
|
|
|
@@ -35,7 +37,8 @@ Your home, your rules - written in plain JavaScript.
|
|
|
35
37
|
|
|
36
38
|
### Operations & integration
|
|
37
39
|
- [Security](doc/security.md) — trust model, auth modes, reverse proxy, Mosquitto ACLs, network segmentation
|
|
38
|
-
- [Broker management](doc/broker-management.md) — Mosquitto, dynsec, TLS, certificates, SSH deploy
|
|
40
|
+
- [Broker management](doc/broker-management.md) — Mosquitto, dynsec, TLS, certificates, SSH deploy
|
|
41
|
+
- [Services](doc/services.md) — managing xyz2mqtt adapter instances: MQTT inventory, systemd, config forms, the `she-servicectl` helper
|
|
39
42
|
- [HTTP API](doc/http-api.md) — REST API reference
|
|
40
43
|
- [CLI](doc/cli.md) — all command-line flags
|
|
41
44
|
|