homebridge-la-marzocco 0.1.0 → 0.1.2
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 +5 -4
- package/config.schema.json +0 -4
- package/package.json +5 -1
- package/src/platform.js +2 -5
- package/src/settings.js +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<img height="600" alt="IMG_2168" src="https://github.com/user-attachments/assets/b8f2e146-a8cb-42f2-9bc0-d658649d067d" />
|
|
8
8
|
|
|
9
9
|
## Configure
|
|
10
|
-
Add the platform in your Homebridge `config.json
|
|
10
|
+
Add the platform in your Homebridge `config.json` or use the Plugin Config UI:
|
|
11
11
|
|
|
12
12
|
```json
|
|
13
13
|
{
|
|
@@ -24,9 +24,10 @@ Add the platform in your Homebridge `config.json`:
|
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
<img width="600" alt="Screenshot 2025-12-27 at 11 07 04 PM" src="https://github.com/user-attachments/assets/04494290-c1d2-46b0-836d-a998b33f06bd" />
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Set `pollIntervalSeconds` to `0` to disable polling.
|
|
30
31
|
|
|
31
32
|
## Development
|
|
32
33
|
|
package/config.schema.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-la-marzocco",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Homebridge integration for La Marzocco espresso machines",
|
|
5
|
+
"homepage": "https://github.com/mweiden/homebridge-la-marzocco",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/mweiden/homebridge-la-marzocco/issues"
|
|
8
|
+
},
|
|
5
9
|
"displayName": "La Marzocco",
|
|
6
10
|
"main": "src/index.js",
|
|
7
11
|
"license": "MIT",
|
package/src/platform.js
CHANGED
|
@@ -39,11 +39,8 @@ class LaMarzoccoPlatform {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
const storageRoot = this.api.user.storagePath();
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
"lm-homebridge",
|
|
45
|
-
"installation_key.json"
|
|
46
|
-
);
|
|
42
|
+
const pluginDataDir = path.join(storageRoot, "homebridge-la-marzocco");
|
|
43
|
+
const defaultKeyPath = path.join(pluginDataDir, "installation_key.json");
|
|
47
44
|
this.installationKeyPath =
|
|
48
45
|
this.config.installationKeyPath || defaultKeyPath;
|
|
49
46
|
this.ensureKeyDir();
|