@boozilla/homebridge-shome 1.0.9 → 1.0.11

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 CHANGED
@@ -36,7 +36,8 @@ Add a new platform to the `platforms` array in your Homebridge `config.json` fil
36
36
  "name": "sHome",
37
37
  "username": "YOUR_SHOME_USERNAME",
38
38
  "password": "YOUR_SHOME_PASSWORD",
39
- "deviceId": "YOUR_MOBILE_DEVICE_ID"
39
+ "deviceId": "YOUR_MOBILE_DEVICE_ID",
40
+ "pollingInterval": 3000
40
41
  }
41
42
  ]
42
43
  }
@@ -44,13 +45,14 @@ Add a new platform to the `platforms` array in your Homebridge `config.json` fil
44
45
 
45
46
  ### Configuration Fields
46
47
 
47
- | Key | Description | Required |
48
- |:-----------|:--------------------------------------------------------------------------------------------------------------|:---------|
49
- | `platform` | Must be set to **"sHome"**. | Yes |
50
- | `name` | The name of the platform that will appear in the Homebridge logs (e.g., "sHome"). | Yes |
51
- | `username` | Your Samsung sHome account username. | Yes |
52
- | `password` | Your Samsung sHome account password. | Yes |
53
- | `deviceId` | The unique ID of the mobile device where the sHome app is installed. This is required for API authentication. | Yes |
48
+ | Key | Description | Required |
49
+ |:------------------|:--------------------------------------------------------------------------------------------------------------|:---------|
50
+ | `platform` | Must be set to **"sHome"**. | Yes |
51
+ | `name` | The name of the platform that will appear in the Homebridge logs (e.g., "sHome"). | Yes |
52
+ | `username` | Your Samsung sHome account username. | Yes |
53
+ | `password` | Your Samsung sHome account password. | Yes |
54
+ | `deviceId` | The unique ID of the mobile device where the sHome app is installed. This is required for API authentication. | Yes |
55
+ | `pollingInterval` | The interval in milliseconds to poll for device status updates. Set to 0 to disable. | No |
54
56
 
55
57
  **Note:** The `deviceId` can often be found by inspecting the sHome app's internal storage or by using specific tools to
56
58
  retrieve it. A correct value is essential for the API login to succeed.
@@ -5,27 +5,23 @@
5
5
  "name": {
6
6
  "title": "Name",
7
7
  "type": "string",
8
- "default": "sHome",
9
- "required": true
8
+ "default": "sHome"
10
9
  },
11
10
  "username": {
12
11
  "title": "Username",
13
12
  "type": "string",
14
- "description": "Your Samsung sHome account username.",
15
- "required": true
13
+ "description": "Your Samsung sHome account username."
16
14
  },
17
15
  "password": {
18
16
  "title": "Password",
19
17
  "type": "string",
20
18
  "description": "Your Samsung sHome account password.",
21
- "format": "password",
22
- "required": true
19
+ "format": "password"
23
20
  },
24
21
  "deviceId": {
25
22
  "title": "Device ID",
26
23
  "type": "string",
27
- "description": "Your mobile device ID.",
28
- "required": true
24
+ "description": "Your mobile device ID."
29
25
  },
30
26
  "pollingInterval": {
31
27
  "title": "Polling Interval (ms)",
@@ -33,7 +29,8 @@
33
29
  "default": 3000,
34
30
  "description": "The interval in milliseconds to poll for device status updates. Set to 0 to disable."
35
31
  }
36
- }
32
+ },
33
+ "required": ["name", "username", "password", "deviceId"]
37
34
  },
38
35
  "pluginAlias": "sHome",
39
36
  "pluginType": "platform"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boozilla/homebridge-shome",
3
3
  "displayName": "sHome Plugin",
4
- "version": "1.0.9",
4
+ "version": "1.0.11",
5
5
  "private": false,
6
6
  "description": "A Homebridge plugin for Samsung Smart Home",
7
7
  "author": "boozilla",