|
6 | 6 | "name": { |
7 | 7 | "description": "Plugin name", |
8 | 8 | "type": "string", |
9 | | - "readOnly": true |
| 9 | + "readOnly": true, |
| 10 | + "ui:widget": "hidden" |
10 | 11 | }, |
11 | 12 | "type": { |
12 | 13 | "description": "Plugin type", |
13 | 14 | "type": "string", |
14 | | - "readOnly": true |
| 15 | + "readOnly": true, |
| 16 | + "ui:widget": "hidden" |
15 | 17 | }, |
16 | 18 | "username": { |
17 | | - "description": "Username for password protected shelly devices (used only for gen 1 devices)", |
| 19 | + "description": "Username for password protected shelly devices (used only for gen 1 devices).", |
18 | 20 | "type": "string" |
19 | 21 | }, |
20 | 22 | "password": { |
21 | | - "description": "Password for password protected shelly devices (must be unique for all the devices)", |
22 | | - "type": "string" |
| 23 | + "description": "Password for password protected shelly devices (must be unique for all the devices).", |
| 24 | + "type": "string", |
| 25 | + "ui:widget": "password" |
23 | 26 | }, |
24 | 27 | "switchList": { |
25 | 28 | "description": "The devices in the list will be exposed as switches (don't use it for Alexa).", |
|
66 | 69 | "uniqueItems": true, |
67 | 70 | "selectFrom": "serial" |
68 | 71 | }, |
69 | | - "blackList": { |
70 | | - "description": "The devices in the list will not be exposed. Use the device id (e.g. shellyplus2pm-5443B23D81F8) or BLU addr (i.e. 7c:c6:b6:65:2d:87)", |
| 72 | + "nocacheList": { |
| 73 | + "description": "The devices in the list will not be loaded from the cache. Use the device id (e.g. shellyplus2pm-5443B23D81F8). If the list is empty, all the devices will be loaded from the cache.", |
71 | 74 | "type": "array", |
72 | 75 | "items": { |
73 | 76 | "type": "string" |
|
76 | 79 | "selectFrom": "serial" |
77 | 80 | }, |
78 | 81 | "whiteList": { |
79 | | - "description": "Only the devices in the list will be exposed. Use the device id (e.g. shellyplus2pm-5443B23D81F8) or BLU addr (i.e. 7c:c6:b6:65:2d:87).", |
| 82 | + "description": "Only the devices in the list will be exposed. Use the device id (e.g. shellyplus2pm-5443B23D81F8) or BLU addr (i.e. 7c:c6:b6:65:2d:87). If the list is empty, all the devices will be exposed.", |
| 83 | + "type": "array", |
| 84 | + "items": { |
| 85 | + "type": "string" |
| 86 | + }, |
| 87 | + "uniqueItems": true, |
| 88 | + "selectFrom": "serial" |
| 89 | + }, |
| 90 | + "blackList": { |
| 91 | + "description": "The devices in the list will not be exposed. Use the device id (e.g. shellyplus2pm-5443B23D81F8) or BLU addr (i.e. 7c:c6:b6:65:2d:87). If the list is empty, no devices will be excluded.", |
80 | 92 | "type": "array", |
81 | 93 | "items": { |
82 | 94 | "type": "string" |
|
85 | 97 | "selectFrom": "serial" |
86 | 98 | }, |
87 | 99 | "entityBlackList": { |
88 | | - "description": "The components in the list will not be exposed for all devices. Use the component name (i.e. Temperature)", |
| 100 | + "description": "The components in the list will not be exposed for all devices. Use the component name (i.e. Temperature).", |
89 | 101 | "type": "array", |
90 | 102 | "items": { |
91 | 103 | "type": "string" |
|
108 | 120 | "selectDeviceEntityFrom": "name" |
109 | 121 | } |
110 | 122 | }, |
111 | | - "nocacheList": { |
112 | | - "description": "The devices in the list will not be loaded from the cache. Use the device id (e.g. shellyplus2pm-5443B23D81F8)", |
113 | | - "type": "array", |
114 | | - "items": { |
115 | | - "type": "string" |
116 | | - }, |
117 | | - "uniqueItems": true, |
118 | | - "selectFrom": "serial" |
119 | | - }, |
120 | | - "deviceIp": { |
121 | | - "description": "Set the IP address for each device that is not discovered automatically. Enter in the first field the shelly ID of the device and in the second field the IP address. (e.g. shelly1minig3-543204547478: 192.168.1.221). Enable enableConfigDiscover to load the devices from this setting.", |
122 | | - "type": "object", |
123 | | - "uniqueItems": true, |
124 | | - "selectFrom": "serial", |
125 | | - "additionalProperties": { |
126 | | - "type": "string" |
127 | | - } |
128 | | - }, |
129 | 123 | "enableMdnsDiscover": { |
130 | | - "description": "Enable the mdns discovery for shelly devices. Once all the devices are loaded and stored, it is possible to disable this setting to reduce the network traffic.", |
| 124 | + "description": "Enable the mdns discovery for shelly devices. Once all the devices are discovered and stored, it is possible to disable this setting to reduce the network traffic.", |
131 | 125 | "type": "boolean", |
132 | 126 | "default": true |
133 | 127 | }, |
134 | 128 | "enableStorageDiscover": { |
135 | | - "description": "Enable storage discovery for shelly devices (it will load from the storage the devices already discovered)", |
| 129 | + "description": "Enable storage discovery for shelly devices (it will load from the storage the devices already discovered).", |
136 | 130 | "type": "boolean", |
137 | 131 | "default": true |
138 | 132 | }, |
139 | 133 | "resetStorageDiscover": { |
140 | | - "description": "Reset the storage on the next restart (it will clear the storage and the cache files)", |
141 | | - "type": "boolean", |
142 | | - "default": false |
143 | | - }, |
144 | | - "enableConfigDiscover": { |
145 | | - "description": "Enable config discovery for shelly devices (it will load the devices from deviceIp config setting). It is only needed if a device is not discovered on your network. Once they are loaded and stored, disable this setting.", |
| 134 | + "description": "Reset the storage on the next restart (it will clear the storage and the cache files).", |
146 | 135 | "type": "boolean", |
147 | 136 | "default": false |
148 | 137 | }, |
149 | 138 | "enableBleDiscover": { |
150 | | - "description": "Enable ble discovery for shelly BLU devices (it will register the BLU devices paired in each ble gateway, see the readme for more info)", |
| 139 | + "description": "Enable ble discovery for shelly BLU devices (it will register the BLU devices paired in each ble gateway, see the readme for more info).", |
151 | 140 | "type": "boolean", |
152 | 141 | "default": true |
153 | 142 | }, |
|
166 | 155 | "type": "boolean", |
167 | 156 | "default": false |
168 | 157 | }, |
| 158 | + "addDevice": { |
| 159 | + "description": "Manually add a device that has not been discovered with mdns:", |
| 160 | + "type": "boolean", |
| 161 | + "buttonField": "ADD", |
| 162 | + "buttonClose": false, |
| 163 | + "buttonSave": false, |
| 164 | + "textPlaceholder": "Enter the device IP address", |
| 165 | + "default": false |
| 166 | + }, |
| 167 | + "removeDevice": { |
| 168 | + "description": "Remove a device and its cache file from the storage:", |
| 169 | + "type": "boolean", |
| 170 | + "buttonField": "REMOVE", |
| 171 | + "buttonClose": false, |
| 172 | + "buttonSave": false, |
| 173 | + "textPlaceholder": "Enter the device id", |
| 174 | + "default": false |
| 175 | + }, |
| 176 | + "scanNetwork": { |
| 177 | + "description": "Scan the network with mdns for new devices:", |
| 178 | + "type": "boolean", |
| 179 | + "buttonText": "SCAN", |
| 180 | + "buttonClose": false, |
| 181 | + "buttonSave": false, |
| 182 | + "default": false |
| 183 | + }, |
169 | 184 | "debug": { |
170 | 185 | "description": "Enable the debug for the plugin (development only)", |
171 | 186 | "type": "boolean", |
|
182 | 197 | "default": false |
183 | 198 | }, |
184 | 199 | "debugWs": { |
185 | | - "description": "Enable the debug for the shelly WsClient or WsServer (development only)", |
| 200 | + "description": "Enable the debug for the shelly WsClient and WsServer (development only)", |
186 | 201 | "type": "boolean", |
187 | 202 | "default": false |
188 | 203 | }, |
189 | 204 | "unregisterOnShutdown": { |
190 | 205 | "description": "Unregister all devices on shutdown (development only)", |
191 | 206 | "type": "boolean", |
192 | | - "default": false |
| 207 | + "default": false, |
| 208 | + "ui:widget": "hidden" |
193 | 209 | } |
194 | 210 | } |
195 | 211 | } |
0 commit comments