@switchbot/homebridge-switchbot 1.12.2-beta.5 → 1.12.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/CHANGELOG.md +153 -111
- package/package.json +76 -76
package/CHANGELOG.md
CHANGED
|
@@ -2,302 +2,344 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
|
|
4
4
|
|
|
5
|
+
## [Version 1.12.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.2) (2022-02-02)
|
|
6
|
+
|
|
7
|
+
## What's Changed
|
|
8
|
+
|
|
9
|
+
- Fix: Issue where `PositionState` was not being sent back to Home App. Fixes [#123](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/123) Thanks [@dnicolson](https://github.com/dnicolson)!
|
|
10
|
+
|
|
11
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.1...v1.12.2
|
|
12
|
+
|
|
5
13
|
## [Version 1.12.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.1) (2022-02-01)
|
|
6
14
|
|
|
7
15
|
## What's Changed
|
|
8
|
-
|
|
16
|
+
|
|
17
|
+
- Housekeeping and updated dependencies.
|
|
9
18
|
|
|
10
19
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.0...v1.12.1
|
|
11
20
|
|
|
12
21
|
## [Version 1.12.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.12.0) (2022-01-29)
|
|
13
22
|
|
|
14
23
|
## What's Changed
|
|
15
|
-
|
|
24
|
+
|
|
25
|
+
- Add option `maxRetry` for bots so you can set the number of retries for sending on or off for Bot.
|
|
16
26
|
|
|
17
27
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.11.2...v1.12.0
|
|
18
28
|
|
|
19
29
|
## [Version 1.11.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.2) (2022-01-29)
|
|
20
30
|
|
|
21
31
|
## What's Changed
|
|
22
|
-
|
|
32
|
+
|
|
33
|
+
- Fix: Use `updateRate` instead of `refreshRate` when overriding `scanDuration`.
|
|
23
34
|
|
|
24
35
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.11.1...v1.11.2
|
|
25
36
|
|
|
26
37
|
## [Version 1.11.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.1) (2022-01-29)
|
|
27
38
|
|
|
28
39
|
## What's Changed
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
|
|
41
|
+
- Fix: `This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined)`.
|
|
42
|
+
- Fix: `This plugin generated a warning from the characteristic 'Color Temperature': characteristic value expected valid finite number and received "undefined" (undefined)`.
|
|
43
|
+
- Fix: `This plugin generated a warning from the characteristic 'Hue': characteristic value expected valid finite number and received "undefined" (undefined)`.
|
|
44
|
+
- Fix: `This plugin generated a warning from the characteristic 'Saturation': characteristic value expected valid finite number and received "undefined" (undefined)`.
|
|
33
45
|
|
|
34
46
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.11.0...v1.11.1
|
|
35
47
|
|
|
36
48
|
## [Version 1.11.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.11.0) (2022-01-29)
|
|
37
49
|
|
|
38
50
|
## What's Changed
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
51
|
+
|
|
52
|
+
- Add Support for SwitchBot Smart Lock
|
|
53
|
+
- Add Support for SwitchBot Strip Light
|
|
54
|
+
- Add Support for SwitchBot Meter Plus (US)
|
|
55
|
+
- Add Support for SwitchBot Meter Plus (JP)
|
|
56
|
+
- Add Support for SwitchBot Plug Mini (US)
|
|
57
|
+
- Add Support for SwitchBot Plug Mini (US)
|
|
58
|
+
- Fixed: Curtain `set_min` and `set_max` options not work correctly with minimum and maximum curtain state. [#123](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/123)
|
|
59
|
+
- Housekeeping and updated dependencies.
|
|
47
60
|
|
|
48
61
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.10.1...v1.11.0
|
|
49
62
|
|
|
50
63
|
## [Version 1.10.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.1) (2022-01-26)
|
|
51
64
|
|
|
52
65
|
## What's Changed
|
|
53
|
-
|
|
54
|
-
|
|
66
|
+
|
|
67
|
+
- Fixed: Option `pushOn` was not push `On` commands.
|
|
68
|
+
- Housekeeping and updated dependencies.
|
|
55
69
|
|
|
56
70
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.10.0...v1.10.1
|
|
57
71
|
|
|
58
72
|
## [Version 1.10.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.10.0) (2022-01-21)
|
|
59
73
|
|
|
60
74
|
## What's Changed
|
|
61
|
-
|
|
62
|
-
|
|
75
|
+
|
|
76
|
+
- Add option `pushOn`, this will allow the `On` commands to be sent along side `Status` change commands.
|
|
77
|
+
- Housekeeping and updated dependencies.
|
|
63
78
|
|
|
64
79
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.9.0...v1.10.0
|
|
65
80
|
|
|
66
81
|
## [Version 1.9.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.9.0) (2022-01-20)
|
|
67
82
|
|
|
68
83
|
## What's Changed
|
|
69
|
-
|
|
70
|
-
|
|
84
|
+
|
|
85
|
+
- Add option `allowPush`, this will allow commands to be sent even if device state is already in state that is being pushed.
|
|
86
|
+
- Housekeeping and updated dependencies.
|
|
71
87
|
|
|
72
88
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.2...v1.9.0
|
|
73
89
|
|
|
74
90
|
## [Version 1.8.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.2) (2022-01-15)
|
|
75
91
|
|
|
76
92
|
## What's Changed
|
|
77
|
-
|
|
93
|
+
|
|
94
|
+
- Fixed Bug: Only log config if it is set.
|
|
78
95
|
|
|
79
96
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.1...v1.8.2
|
|
80
97
|
|
|
81
98
|
## [Version 1.8.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.1) (2022-01-15)
|
|
82
99
|
|
|
83
100
|
## What's Changed
|
|
84
|
-
|
|
101
|
+
|
|
102
|
+
- Fixed Bug: Cannot set properties of undefined (setting 'logging')
|
|
85
103
|
|
|
86
104
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.0...v1.8.1
|
|
87
105
|
|
|
88
106
|
## [Version 1.8.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.8.0) (2022-01-14)
|
|
89
107
|
|
|
90
108
|
## What's Changed
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
109
|
+
|
|
110
|
+
- Added option to display Bot a Stateful Programmable Switch.
|
|
111
|
+
- This will only Works in 3rd Party Home App, Like [Eve](https://apps.apple.com/us/app/eve-for-homekit/id917695792) or [Home+ 5](https://apps.apple.com/us/app/home-5/id995994352)
|
|
112
|
+
- Add option to Hide Motion Sensor's Light Sensor.
|
|
113
|
+
- Add option to Set Motion Sensor's Light Sensor `set_minLux` and `set_maxLux`.
|
|
114
|
+
- Fixed Bug: Where BLE config would show for devices that don't support BLE.
|
|
115
|
+
- Fixed Bug: Contact Sensors's Motion Sensor and Light Sensor showing undefined values.
|
|
116
|
+
- Fixed Bug: Motion Sensors's Light Sensor showing undefined values.
|
|
117
|
+
- Fixed Bug: Battery Service wouldn't be removed from Curtain, Contact Sensor, or Motion Sensor when switching from BLE to OpenAPI.
|
|
118
|
+
- Enhancments: Made some improvemnt on the switch from BLE to OpenAPI when BLE connection fails.
|
|
119
|
+
- Enhancments: Made Optional Switchbot Device Settings and Optional IR Device Settings more managable by using Tabs.
|
|
120
|
+
- Change: Changed Curtain `refreshRate` to `updateRate`.
|
|
121
|
+
- You will have to update your config for it to pickup the new `updateRate`.
|
|
122
|
+
- Housekeeping and updated dependencies.
|
|
104
123
|
|
|
105
124
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.7.0...v1.8.0
|
|
106
125
|
|
|
107
126
|
## [Version 1.7.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.7.0) (2022-01-05)
|
|
108
127
|
|
|
109
128
|
## What's Changed
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
129
|
+
|
|
130
|
+
- Added option to display Bot a Fan.
|
|
131
|
+
- Added option to display Bot a Door. [#179](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/179)
|
|
132
|
+
- Added option to display Bot a Lock. [#179](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/179)
|
|
133
|
+
- Added option to display Bot a Faucet.
|
|
134
|
+
- Added option to display Bot a Window.
|
|
135
|
+
- Added option to display Bot a WindowCovering.
|
|
136
|
+
- Added option to display Bot a Garage Door Opener. [#179](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/179)
|
|
117
137
|
|
|
118
138
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.3...v1.7.0
|
|
119
139
|
|
|
120
140
|
## [Version 1.6.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.3) (2022-01-03)
|
|
121
141
|
|
|
122
142
|
## What's Changed
|
|
123
|
-
|
|
143
|
+
|
|
144
|
+
- Quick Fix for for issue not tested in `v1.6.2`.
|
|
124
145
|
|
|
125
146
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.2...v1.6.3
|
|
126
147
|
|
|
127
148
|
## [Version 1.6.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.2) (2022-01-03)
|
|
128
149
|
|
|
129
150
|
## What's Changed
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
151
|
+
|
|
152
|
+
- Fixed Bug: npm ERR! code 1. [#151](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/151)
|
|
153
|
+
- Made `node-switchbot` an optionalDependencies
|
|
154
|
+
- So If `node-switchbot` doesn't get installed successfully then BLE will not work.
|
|
155
|
+
- Housekeeping and updated dependencies.
|
|
134
156
|
|
|
135
157
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.1...v1.6.2
|
|
136
158
|
|
|
137
159
|
## [Version 1.6.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.1) (2022-01-02)
|
|
138
160
|
|
|
139
161
|
## What's Changed
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
162
|
+
|
|
163
|
+
- Fixed an issue where when `Adaptive Lighting Shift` was set to -1, Adaptive Lighting would not be removed.
|
|
164
|
+
- Fixed an issue with motion sensor refreshStatus that would cause plugin to cause Homebridge restart.
|
|
165
|
+
- Fixed Bug: npm ERR! code 1. [#151](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/151)
|
|
166
|
+
- Made `node-switchbot` an optionalDependencies
|
|
167
|
+
- So If `node-switchbot` doesn't get installed successfully then BLE will not work.
|
|
168
|
+
- Housekeeping and updated dependencies.
|
|
146
169
|
|
|
147
170
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.0...v1.6.1
|
|
148
171
|
|
|
149
172
|
## [Version 1.6.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.6.0) (2021-12-31)
|
|
150
173
|
|
|
151
174
|
## What's Changed
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
175
|
+
|
|
176
|
+
- Added `scanDuration` config option to set how long BLE scans, Scanning Duration is defaulted to 1 second.
|
|
177
|
+
- Now Setting `switch` as the default bot mode for Bots, to change to press, config must be set under `SwitchBot Device Settings` in the Plugin Settings.
|
|
178
|
+
- Fixed Bug: Contact Sensor talks about Curtain Light + Motion Sensor. [#164](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/164)
|
|
179
|
+
- Fixed Bug: Reboot causes No Device Type Set Error. [#172](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/172)
|
|
180
|
+
- Fixed Bug: Bot Status not working Correction with Switch and Press. [#105](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/105), [#130](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/130), [#132](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/132), [#165](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/165), [#174](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/174)
|
|
181
|
+
- Fixed some issues with the New Logging Options release with v1.5.0, now logging when configured.
|
|
158
182
|
|
|
159
183
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.5.0...v1.6.0
|
|
160
184
|
|
|
161
185
|
## [Version 1.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.5.0) (2021-12-27)
|
|
162
186
|
|
|
163
187
|
## What's Changed
|
|
188
|
+
|
|
164
189
|
### Major Change To `Logging`:
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
190
|
+
|
|
191
|
+
- Added the following Logging Options:
|
|
192
|
+
- `Standard`
|
|
193
|
+
- `None`
|
|
194
|
+
- `Debug`
|
|
195
|
+
- Removed Device Logging Option, which was pushed into new logging under debug.
|
|
196
|
+
- Added Device Logging Override for each Device, by using the Device Config.
|
|
171
197
|
|
|
172
198
|
### Major Changes to `refreshRate`:
|
|
173
|
-
|
|
199
|
+
|
|
200
|
+
- Added an option to override `refreshRate` for each Device, by using the Device Config.
|
|
174
201
|
|
|
175
202
|
### Other Changes
|
|
176
|
-
|
|
177
|
-
|
|
203
|
+
|
|
204
|
+
- Fixed Bug: Air conditioner temperature not able to change. [#43](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/43)
|
|
205
|
+
- Housekeeping and updated dependencies.
|
|
178
206
|
|
|
179
207
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.4.0...v1.5.0
|
|
180
208
|
|
|
181
209
|
## [Version 1.4.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.4.0) (2021-12-15)
|
|
182
210
|
|
|
183
211
|
## What's Changed
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
212
|
+
|
|
213
|
+
- Added Status Messages to logs for discoverDevices request.
|
|
214
|
+
- Added Cached Status to IR device, Status will be saved to accessory context and restored on restart.
|
|
215
|
+
- Added Option `Offline as Off` to be able set the device as off, if API reports offline.
|
|
216
|
+
- Removed Meter Unit Config Option as it was confusing and probably never used.
|
|
217
|
+
- Housekeeping and updated dependencies.
|
|
189
218
|
|
|
190
219
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.3.0...v1.4.0
|
|
191
220
|
|
|
192
221
|
## [Version 1.3.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.3.0) (2021-12-02)
|
|
193
222
|
|
|
194
223
|
## What's Changed
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
224
|
+
|
|
225
|
+
- Added Adpative Lighting to Color Bulb
|
|
226
|
+
- Added Option `Adaptive Lighting Shift` to be able us this value to increase the mired for the Adaptive Lighting update, making the light appear warmer.
|
|
227
|
+
- Fixed Bug: Color Bulb can't change color and is not dimmable. [#97](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/97)
|
|
198
228
|
|
|
199
229
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.5...v1.3.0
|
|
200
230
|
|
|
201
231
|
## [Version 1.2.5](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.5) (2021-11-25)
|
|
202
232
|
|
|
203
233
|
## What's Changed
|
|
204
|
-
|
|
234
|
+
|
|
235
|
+
- Fixed Bug: Where `set_minLux` & `set_maxLux` config settings not effecting OpenAPI Lux.
|
|
205
236
|
|
|
206
237
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.4...v1.2.5
|
|
207
238
|
|
|
208
239
|
## [Version 1.2.4](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.4) (2021-11-24)
|
|
209
240
|
|
|
210
241
|
## What's Changed
|
|
211
|
-
|
|
242
|
+
|
|
243
|
+
- Fixed Bug: Cannot read properties of undefined (reading 'updateCharacteristic').
|
|
212
244
|
|
|
213
245
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.3...v1.2.4
|
|
214
246
|
|
|
215
247
|
## [Version 1.2.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.3) (2021-11-24)
|
|
216
248
|
|
|
217
249
|
## What's Changed
|
|
218
|
-
|
|
250
|
+
|
|
251
|
+
- When BLE Connection isn't established, allow for OpenAPI to kick in if `openToken` is supplied.
|
|
219
252
|
|
|
220
253
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.2...v1.2.3
|
|
221
254
|
|
|
222
255
|
## [Version 1.2.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.2) (2021-11-24)
|
|
223
256
|
|
|
224
257
|
## What's Changed
|
|
225
|
-
|
|
226
|
-
|
|
258
|
+
|
|
259
|
+
- Allow the `configDeviceName` to override `deviceName`.
|
|
260
|
+
- Added Logging when BLE Connection wasn't established.
|
|
227
261
|
|
|
228
262
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.1...v1.2.2
|
|
229
263
|
|
|
230
264
|
## [Version 1.2.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.1) (2021-11-24)
|
|
231
265
|
|
|
232
266
|
## What's Changed
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
267
|
+
|
|
268
|
+
- Fixed Bug: Curtains alternate between open/close state. [#85](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/85)
|
|
269
|
+
- Fixed Bug: Meter not working with BLE. [#110](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/110)
|
|
270
|
+
- Housekeeping and updated dependencies.
|
|
236
271
|
|
|
237
272
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.0...v1.2.1
|
|
238
273
|
|
|
239
274
|
## [Version 1.2.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.2.0) (2021-11-19)
|
|
240
275
|
|
|
241
276
|
## What's Changed
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
277
|
+
|
|
278
|
+
- Added option to be able to do Bluetooth Low Energy (BLE) Only Connection.
|
|
279
|
+
- Must supply `Device ID` & `Device Name` to the Device Config
|
|
280
|
+
- Must Check `Enable Bluetooth Low Energy (BLE) Connection`
|
|
281
|
+
- Fixed Bug: Air conditioner temperature not able to change. [#43](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/43)
|
|
282
|
+
- Add option to set Min Lux and Max Lux for Curtain's Light Sensor.
|
|
283
|
+
- Add `updateHomeKitCharacteristics` to IR Devices to contain all `updateCharacteristics` in one spot.
|
|
284
|
+
- Add `Saturation` and `Hue` to Colorbulb.
|
|
285
|
+
- Housekeeping and updated dependencies.
|
|
250
286
|
|
|
251
287
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.1.0...v1.2.0
|
|
252
288
|
|
|
253
289
|
## [Version 1.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.1.0) (2021-11-16)
|
|
254
290
|
|
|
255
291
|
## What's Changed
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
292
|
+
|
|
293
|
+
- Fixed Bug: Curtains alternate between open/close state. [#85](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/85)
|
|
294
|
+
- Fixed Bug: IR Fan won't be hidden in Home app. [#90](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/90)
|
|
295
|
+
- Fixed Bug: `hide_temperature` config option causing `Cannot read property 'updateCharacteristic' of undefined` for Humidifiers. [#89](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/89)
|
|
296
|
+
- Add option to Hide Curtain's Light Sensor. [#91](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/91)
|
|
297
|
+
- Add option to Hide Contact Sensor's Motion Sensor or Light Sensor.
|
|
261
298
|
|
|
262
299
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.2...v1.1.0
|
|
263
300
|
|
|
264
301
|
## [Version 1.0.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.2) (2021-11-15)
|
|
265
302
|
|
|
266
303
|
## What's Changed
|
|
267
|
-
|
|
268
|
-
|
|
304
|
+
|
|
305
|
+
- Fixed Bug: `failed to discover devices. cannot read property 'touppercase' of undefined`. [#84](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/84)
|
|
306
|
+
- Housekeeping and updated dependencies.
|
|
269
307
|
|
|
270
308
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.1...v1.0.2
|
|
271
309
|
|
|
272
310
|
## [Version 1.0.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.1) (2021-11-14)
|
|
273
311
|
|
|
274
312
|
## What's Changed
|
|
275
|
-
|
|
276
|
-
|
|
313
|
+
|
|
314
|
+
- Fixed `Cannot read properties of undefined (reading 'updateCharacteristic')` on Bots. [#77](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/77)
|
|
315
|
+
- Fixed Temperature not being retrieved for Switchbot Meter. [#78](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/78)
|
|
277
316
|
|
|
278
317
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.0...v1.0.1
|
|
279
318
|
|
|
280
319
|
## [Version 1.0.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.0) (2021-11-13)
|
|
281
320
|
|
|
282
321
|
## What's Changed
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
322
|
+
|
|
323
|
+
- Offical release of homebridge-Switchbot, which combines both BLE and OpenAPI into 1 plugin.
|
|
324
|
+
- Adds Light Sensors to Curtains
|
|
325
|
+
- with iOS 15.1 you can set automations on light sensors.
|
|
326
|
+
- Adds Motion Sensor to Contact Sensors
|
|
327
|
+
- Adds Support Color Bulbs
|
|
288
328
|
|
|
289
329
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v0.1.1...v1.0.0
|
|
290
330
|
|
|
291
331
|
## [Version 0.1.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.1.1) (2021-09-11)
|
|
292
332
|
|
|
293
333
|
## What's Changed
|
|
294
|
-
|
|
334
|
+
|
|
335
|
+
- Fix Contact Sensor adding as Motion Sensor instead of Contact Sensor
|
|
295
336
|
|
|
296
337
|
**Full Changelog**: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v0.1.0...v0.1.1
|
|
297
338
|
|
|
298
339
|
## [Version 0.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.1.0) (2021-09-10)
|
|
299
340
|
|
|
300
341
|
## What's Changed
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
342
|
+
|
|
343
|
+
- Initial release of homebridge-switchbot.
|
|
344
|
+
- Adds Support for Motion & Contact Sensors
|
|
345
|
+
- Adds Water Level to Humidifier
|
package/package.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"displayName": "Homebridge SwitchBot",
|
|
3
|
+
"name": "@switchbot/homebridge-switchbot",
|
|
4
|
+
"version": "1.12.2",
|
|
5
|
+
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.",
|
|
6
|
+
"author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git://github.com/OpenWonderLabs/homebridge-switchbot.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/OpenWonderLabs/homebridge-switchbot/issues"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"homebridge": "^1.4.0",
|
|
17
|
+
"node": "^14.18.3 || ^16.13.2"
|
|
18
|
+
},
|
|
19
|
+
"main": "dist/index.js",
|
|
20
|
+
"scripts": {
|
|
21
|
+
"check": "npm install && npm outdated",
|
|
22
|
+
"update": "ncu -u && npm update && npm install",
|
|
23
|
+
"lint": "eslint src/**.ts",
|
|
24
|
+
"watch": "npm run build && npm link && nodemon",
|
|
25
|
+
"build": "rimraf ./dist && tsc",
|
|
26
|
+
"prepublishOnly": "npm run lint && npm run build",
|
|
27
|
+
"postpublish": "npm run clean",
|
|
28
|
+
"clean": "rimraf ./dist",
|
|
29
|
+
"test": "eslint src/**.ts"
|
|
30
|
+
},
|
|
31
|
+
"funding": [
|
|
32
|
+
{
|
|
33
|
+
"type": "Paypal",
|
|
34
|
+
"url": "https://paypal.me/donavanbecker"
|
|
11
35
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"engines": {
|
|
16
|
-
"homebridge": "^1.4.0",
|
|
17
|
-
"node": "^14.18.3 || ^16.13.2"
|
|
18
|
-
},
|
|
19
|
-
"main": "dist/index.js",
|
|
20
|
-
"scripts": {
|
|
21
|
-
"check": "npm install && npm outdated",
|
|
22
|
-
"update": "ncu -u && npm update && npm install",
|
|
23
|
-
"lint": "eslint src/**.ts",
|
|
24
|
-
"watch": "npm run build && npm link && nodemon",
|
|
25
|
-
"build": "rimraf ./dist && tsc",
|
|
26
|
-
"prepublishOnly": "npm run lint && npm run build",
|
|
27
|
-
"postpublish": "npm run clean",
|
|
28
|
-
"clean": "rimraf ./dist",
|
|
29
|
-
"test": "eslint src/**.ts"
|
|
30
|
-
},
|
|
31
|
-
"funding": [
|
|
32
|
-
{
|
|
33
|
-
"type": "Paypal",
|
|
34
|
-
"url": "https://paypal.me/donavanbecker"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "GitHub",
|
|
38
|
-
"url": "https://github.com/sponsors/donavanbecker"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"publishConfig": {
|
|
42
|
-
"access": "public"
|
|
43
|
-
},
|
|
44
|
-
"keywords": [
|
|
45
|
-
"homebridge-plugin",
|
|
46
|
-
"switchbot",
|
|
47
|
-
"humidifier",
|
|
48
|
-
"humidity",
|
|
49
|
-
"temperature",
|
|
50
|
-
"bot",
|
|
51
|
-
"curtains",
|
|
52
|
-
"windows",
|
|
53
|
-
"ble",
|
|
54
|
-
"ir"
|
|
55
|
-
],
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
58
|
-
"axios": "^0.25.0",
|
|
59
|
-
"rxjs": "^7.5.2"
|
|
60
|
-
},
|
|
61
|
-
"devDependencies": {
|
|
62
|
-
"@types/node": "^17.0.14",
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
64
|
-
"@typescript-eslint/parser": "^5.10.2",
|
|
65
|
-
"eslint": "^8.8.0",
|
|
66
|
-
"eslint-config-prettier": "8.3.0",
|
|
67
|
-
"eslint-plugin-prettier": "4.0.0",
|
|
68
|
-
"homebridge": "^1.4.0",
|
|
69
|
-
"nodemon": "^2.0.15",
|
|
70
|
-
"npm-check-updates": "^12.2.1",
|
|
71
|
-
"prettier": "2.5.1",
|
|
72
|
-
"rimraf": "^3.0.2",
|
|
73
|
-
"ts-node": "^10.4.0",
|
|
74
|
-
"typescript": "^4.5.5",
|
|
75
|
-
"typescript-axios-wb": "^1.0.3"
|
|
76
|
-
},
|
|
77
|
-
"optionalDependencies": {
|
|
78
|
-
"node-switchbot": "^1.1.2"
|
|
36
|
+
{
|
|
37
|
+
"type": "GitHub",
|
|
38
|
+
"url": "https://github.com/sponsors/donavanbecker"
|
|
79
39
|
}
|
|
40
|
+
],
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"homebridge-plugin",
|
|
46
|
+
"switchbot",
|
|
47
|
+
"humidifier",
|
|
48
|
+
"humidity",
|
|
49
|
+
"temperature",
|
|
50
|
+
"bot",
|
|
51
|
+
"curtains",
|
|
52
|
+
"windows",
|
|
53
|
+
"ble",
|
|
54
|
+
"ir"
|
|
55
|
+
],
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
58
|
+
"axios": "^0.25.0",
|
|
59
|
+
"rxjs": "^7.5.2"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/node": "^17.0.14",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
64
|
+
"@typescript-eslint/parser": "^5.10.2",
|
|
65
|
+
"eslint": "^8.8.0",
|
|
66
|
+
"eslint-config-prettier": "8.3.0",
|
|
67
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
68
|
+
"homebridge": "^1.4.0",
|
|
69
|
+
"nodemon": "^2.0.15",
|
|
70
|
+
"npm-check-updates": "^12.2.1",
|
|
71
|
+
"prettier": "2.5.1",
|
|
72
|
+
"rimraf": "^3.0.2",
|
|
73
|
+
"ts-node": "^10.4.0",
|
|
74
|
+
"typescript": "^4.5.5",
|
|
75
|
+
"typescript-axios-wb": "^1.0.3"
|
|
76
|
+
},
|
|
77
|
+
"optionalDependencies": {
|
|
78
|
+
"node-switchbot": "^1.1.2"
|
|
79
|
+
}
|
|
80
80
|
}
|