homebridge-openwrt-control 0.0.7 → 0.0.9

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/CHANGELOG.md CHANGED
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Warning
9
9
 
10
+ ## [0.0.9] - (20.01.2026)
11
+
12
+ ## Changes
13
+
14
+ - readme update
15
+ - config schema update
16
+ - cleanup
17
+
18
+ ## [0.0.8] - (20.01.2026)
19
+
20
+ ## Changes
21
+
22
+ - readme update
23
+ - config schema update
24
+ - cleanup
25
+
10
26
  ## [0.0.7] - (20.01.2026)
11
27
 
12
28
  ## Changes
package/README.md CHANGED
@@ -56,7 +56,7 @@
56
56
  | --- | --- |
57
57
  | `name` | Here set Your own device name. |
58
58
  | `host` | Here set the device `Hsostname or Address IP`.|
59
- | `displayType` | Here enable or disable the device: `0 - Disable`, `1 - Enable`. |
59
+ | `displayType` | Here enable or disable this device: `0 - Disable`, `1 - Enable`. |
60
60
  | `auth{}` | Authorization object. |
61
61
  | `auth.enable` | Here enable authorizatin credentials. |
62
62
  | `auth.user` | Here set the authorization `Username`. |
@@ -65,25 +65,25 @@
65
65
  | `apDevice.enable` | Here enable access point support. |
66
66
  | `apDevice.name` | Here set access point name or leave empty, this name will by displayed in Homebridge/Home app. |
67
67
  | `apDevice.control{}` | Access point `SSIDs` control object. |
68
- | `apDevice.control.displayType` | `SSIDs` accessory type for Home app: `0` - Disabled, `1` - Switch, `2` - Outlet, `3` - Lightbulb. |
68
+ | `apDevice.control.displayType` | Aaccessory type for `SSIDs` control in Home app: `0` - Disabled, `1` - Switch, `2` - Outlet, `3` - Lightbulb. |
69
69
  | `apDevice.control.namePrefix` | Here enable access point name as a prefix for `SSIDs` control name. |
70
70
  | `apDevice.sensor{}` | Access point `SSIDs` sensor object. |
71
- | `apDevice.sensor.displayType` | Accessory type to be displayed in Home app: `0` - Disabled, `1` - Motion Sensor, `2` - Occupancy Sensor, `3` - Contact Sensor. |
71
+ | `apDevice.sensor.displayType` | Accessory type for `SSIDs` sensor in Home app: `0` - Disabled, `1` - Motion Sensor, `2` - Occupancy Sensor, `3` - Contact Sensor. |
72
72
  | `apDevice.sensor.namePrefix` | Here enable access point name as a prefix for `SSIDs` sensor name. |
73
73
  | `swDevice{}` | Switch object. |
74
74
  | `swDevice.enable` | Here enable switch support. |
75
75
  | `swDevice.name` | Here set switch name or leave empty, this name will by displayed in Homebridge/Home app. |
76
76
  | `swDevice.control{}` | Switch control. |
77
- | `swDevice.control.displayType` | `Ports` ccessory type for Home app: `0` - Disabled, `1` - Switch, `2` - Outlet, `3` - Lightbulb. |
77
+ | `swDevice.control.displayType` | Accessory type for `Ports` control in Home app: `0` - Disabled, `1` - Switch, `2` - Outlet, `3` - Lightbulb. |
78
78
  | `swDevice.control.namePrefix` | Here enable switch name as a prefix for `Ports` control name. |
79
79
  | `swDevice.sensor{}` | Switch sensor object. |
80
- | `swDevice.sensor.displayType` | `Ports` ccessory type to be displayed in Home app: `0` - Disabled, `1` - Motion Sensor, `2` - Occupancy Sensor, `3` - Contact Sensor. |
80
+ | `swDevice.sensor.displayType` | Acessory type for `Ports` sensor in Home app: `0` - Disabled, `1` - Motion Sensor, `2` - Occupancy Sensor, `3` - Contact Sensor. |
81
81
  | `swDevice.sensor.namePrefix` | Here enable switch name as a prefix for `Ports` sensor name. |
82
82
  | `buttons[]` | Buttons array. |
83
- | `buttons[].displayType` | Here choose display type in HomeKit app, possible `0` - Disabled, `1` - Outlet, `2` - Switch.|
84
- | `buttons[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`.|
83
+ | `buttons[].displayType` | Accessory type for `Buttons` in HomeKit app, possible `0` - Disabled, `1` - Outlet, `2` - Switch. |
84
+ | `buttons[].name` | Here set button `Name` which You want expose to the `Homebridge/HomeKit`.|
85
85
  | `buttons[].command` | Here choose command which will be assigned to the button. |
86
- | `buttons[].namePrefix` | Here enable device name as a prefix for button name. |
86
+ | `buttons[].namePrefix` | Here enable device name as a prefix for the button name. |
87
87
  | `refreshInterval` | Here set the data refresh time in seconds. |
88
88
  | `log.deviceInfo` | If enabled, log device info will be displayed by every connections device to the network. |
89
89
  | `log.success` | If enabled, success log will be displayed in console. |
@@ -80,12 +80,11 @@
80
80
  ]
81
81
  },
82
82
  "displayType": {
83
- "title": "Accessory",
83
+ "title": "Device control",
84
84
  "type": "integer",
85
85
  "minimum": 0,
86
86
  "maximum": 1,
87
87
  "default": 0,
88
- "description": "Accessory type for Home app",
89
88
  "anyOf": [
90
89
  {
91
90
  "title": "Disabled",
@@ -108,13 +107,13 @@
108
107
  "enable": {
109
108
  "title": "Enable",
110
109
  "type": "boolean",
111
- "description": "Here Enable/Disable this access point control."
110
+ "description": "Here enable this access point."
112
111
  },
113
112
  "name": {
114
113
  "title": "Name",
115
114
  "type": "string",
116
115
  "placeholder": "Access Point Name",
117
- "description": "Here set the Name to be displayed in Homebridge/HomeKit for this access point.",
116
+ "description": "Here set the name to be displayed in Homebridge/HomeKit for this access point.",
118
117
  "condition": {
119
118
  "functionBody": "return model.devices[arrayIndices].apDevice.enable === true;"
120
119
  }
@@ -126,7 +125,7 @@
126
125
  "displayType": {
127
126
  "title": "Accessory type",
128
127
  "type": "integer",
129
- "description": "Accessory type for Home app",
128
+ "description": "Accessory type for SSIDs control in Home app",
130
129
  "minimum": 0,
131
130
  "maximum": 3,
132
131
  "anyOf": [
@@ -162,7 +161,7 @@
162
161
  "namePrefix": {
163
162
  "title": "Prefix",
164
163
  "type": "boolean",
165
- "description": "Use the accessory name as a prefix for SSIDs control name",
164
+ "description": "Here enable the access point name as a prefix for SSIDs control name",
166
165
  "condition": {
167
166
  "functionBody": "return model.devices[arrayIndices].apDevice.enable === true && model.devices[arrayIndices].apDevice.control.displayType > 0;"
168
167
  }
@@ -178,7 +177,7 @@
178
177
  "type": "integer",
179
178
  "minimum": 0,
180
179
  "maximum": 3,
181
- "description": "Accessory type for Home app",
180
+ "description": "Accessory type for SSIDs sensor Home app",
182
181
  "anyOf": [
183
182
  {
184
183
  "title": "Disabled",
@@ -212,7 +211,7 @@
212
211
  "namePrefix": {
213
212
  "title": "Prefix",
214
213
  "type": "boolean",
215
- "description": "Use the accessory name as a prefix for SSIDs sensor name",
214
+ "description": "Here enable the access point name as a prefix for SSIDs sensor name",
216
215
  "condition": {
217
216
  "functionBody": "return model.devices[arrayIndices].apDevice.enable === true && model.devices[arrayIndices].apDevice.sensor.displayType > 0;"
218
217
  }
@@ -228,13 +227,13 @@
228
227
  "enable": {
229
228
  "title": "Enable",
230
229
  "type": "boolean",
231
- "description": "Here Enable/Disable this switch control."
230
+ "description": "Here enable this switch."
232
231
  },
233
232
  "name": {
234
233
  "title": "Switch Name",
235
234
  "type": "string",
236
235
  "placeholder": "Switch Name",
237
- "description": "Here set the Name to be displayed in Homebridge/HomeKit for this switch.",
236
+ "description": "Here set the name to be displayed in Homebridge/HomeKit for this switch.",
238
237
  "condition": {
239
238
  "functionBody": "return model.devices[arrayIndices].swDevice.enable === true;"
240
239
  }
@@ -248,7 +247,7 @@
248
247
  "type": "integer",
249
248
  "minimum": 0,
250
249
  "maximum": 3,
251
- "description": "Accessory type for Home app",
250
+ "description": "Accessory type for Ports control in Home app",
252
251
  "anyOf": [
253
252
  {
254
253
  "title": "Disabled",
@@ -282,7 +281,7 @@
282
281
  "namePrefix": {
283
282
  "title": "Prefix",
284
283
  "type": "boolean",
285
- "description": "Use the accessory name as a prefix for Ports control name",
284
+ "description": "Here enable the accessory name as a prefix for Ports control name",
286
285
  "condition": {
287
286
  "functionBody": "return model.devices[arrayIndices].swDevice.enable === true && model.devices[arrayIndices].swDevice.control.displayType > 0;"
288
287
  }
@@ -298,7 +297,7 @@
298
297
  "type": "integer",
299
298
  "minimum": 0,
300
299
  "maximum": 3,
301
- "description": "Accessory type for Home app",
300
+ "description": "Accessory type for Ports sensor in Home app",
302
301
  "anyOf": [
303
302
  {
304
303
  "title": "Disabled",
@@ -332,7 +331,7 @@
332
331
  "namePrefix": {
333
332
  "title": "Prefix",
334
333
  "type": "boolean",
335
- "description": "Use the accessory name as a prefix for Ports sensor name",
334
+ "description": "Here enable the accessory name as a prefix for Ports sensor name",
336
335
  "condition": {
337
336
  "functionBody": "return model.devices[arrayIndices].swDevice.enable === true && model.devices[arrayIndices].swDevice.sensor.displayType > 0;"
338
337
  }
@@ -372,7 +371,7 @@
372
371
  ]
373
372
  }
374
373
  ],
375
- "description": "Here select display type in HomeKit app"
374
+ "description": "Accessory type for Buttons in HomeKit app"
376
375
  },
377
376
  "name": {
378
377
  "title": "Name",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "OpenWrt Control",
3
3
  "name": "homebridge-openwrt-control",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "description": "Homebridge plugin to control OpenWrt flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",