node-switchbot 6.1.2 → 6.1.3

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.
Files changed (58) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/ble.d.ts.map +1 -1
  3. package/dist/ble.js +8 -1
  4. package/dist/ble.js.map +1 -1
  5. package/dist/devices/index.d.ts +8 -2
  6. package/dist/devices/index.d.ts.map +1 -1
  7. package/dist/devices/index.js +4 -2
  8. package/dist/devices/index.js.map +1 -1
  9. package/dist/devices/wo-art-frame2.d.ts +65 -0
  10. package/dist/devices/wo-art-frame2.d.ts.map +1 -0
  11. package/dist/devices/wo-art-frame2.js +195 -0
  12. package/dist/devices/wo-art-frame2.js.map +1 -0
  13. package/dist/devices/wo-e-ink-photo-magnet.d.ts +8 -0
  14. package/dist/devices/wo-e-ink-photo-magnet.d.ts.map +1 -0
  15. package/dist/devices/wo-e-ink-photo-magnet.js +12 -0
  16. package/dist/devices/wo-e-ink-photo-magnet.js.map +1 -0
  17. package/dist/devices/wo-lock-pro.d.ts +15 -0
  18. package/dist/devices/wo-lock-pro.d.ts.map +1 -1
  19. package/dist/devices/wo-lock-pro.js +34 -0
  20. package/dist/devices/wo-lock-pro.js.map +1 -1
  21. package/dist/devices/wo-roller-shade.d.ts +27 -1
  22. package/dist/devices/wo-roller-shade.d.ts.map +1 -1
  23. package/dist/devices/wo-roller-shade.js +49 -1
  24. package/dist/devices/wo-roller-shade.js.map +1 -1
  25. package/dist/devices/wo-sensor-th-pro-co2.d.ts +50 -2
  26. package/dist/devices/wo-sensor-th-pro-co2.d.ts.map +1 -1
  27. package/dist/devices/wo-sensor-th-pro-co2.js +106 -2
  28. package/dist/devices/wo-sensor-th-pro-co2.js.map +1 -1
  29. package/dist/devices/wo-sensor-th-pro.d.ts +255 -1
  30. package/dist/devices/wo-sensor-th-pro.d.ts.map +1 -1
  31. package/dist/devices/wo-sensor-th-pro.js +556 -1
  32. package/dist/devices/wo-sensor-th-pro.js.map +1 -1
  33. package/dist/index.d.ts +7 -3
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +2 -2
  36. package/dist/index.js.map +1 -1
  37. package/dist/settings.d.ts +7 -0
  38. package/dist/settings.d.ts.map +1 -1
  39. package/dist/settings.js +16 -1
  40. package/dist/settings.js.map +1 -1
  41. package/dist/switchbot.d.ts.map +1 -1
  42. package/dist/switchbot.js +4 -0
  43. package/dist/switchbot.js.map +1 -1
  44. package/dist/types/device.d.ts +13 -0
  45. package/dist/types/device.d.ts.map +1 -1
  46. package/dist/utils/image-frame-advertisement.d.ts +25 -0
  47. package/dist/utils/image-frame-advertisement.d.ts.map +1 -0
  48. package/dist/utils/image-frame-advertisement.js +31 -0
  49. package/dist/utils/image-frame-advertisement.js.map +1 -0
  50. package/dist/utils/index.d.ts +1 -0
  51. package/dist/utils/index.d.ts.map +1 -1
  52. package/dist/utils/index.js +1 -0
  53. package/dist/utils/index.js.map +1 -1
  54. package/dist/utils/lock-advertisement.d.ts +11 -2
  55. package/dist/utils/lock-advertisement.d.ts.map +1 -1
  56. package/dist/utils/lock-advertisement.js +20 -3
  57. package/dist/utils/lock-advertisement.js.map +1 -1
  58. package/package.json +1 -1
@@ -1,8 +1,262 @@
1
+ import { Buffer } from 'node:buffer';
2
+ import { SwitchbotOperationError } from '../errors.js';
1
3
  import { WoSensorTH } from './wo-sensor-th.js';
4
+ /** Weather icons on the Meter Pro and Meter Pro CO2 screen (pySwitchbot MeterProWeatherIcon) */
5
+ export declare enum MeterProWeatherIcon {
6
+ None = 0,
7
+ Sunny = 1,
8
+ Cloudy = 2,
9
+ Overcast = 3,
10
+ LightRain = 4,
11
+ HeavyRain = 5,
12
+ LightSnow = 6,
13
+ HeavySnow = 7
14
+ }
15
+ /** Configurable areas of the Meter Pro screen (pySwitchbot MeterProDisplayZone) */
16
+ export declare enum MeterProDisplayZone {
17
+ Middle = 1,
18
+ Bottom = 2
19
+ }
20
+ /** Icon shown next to a display zone (pySwitchbot MeterProZoneIcon) */
21
+ export declare enum MeterProZoneIcon {
22
+ Indoor = 1,
23
+ Outdoor = 2
24
+ }
25
+ /** Where a display zone takes its temperature and humidity from (pySwitchbot MeterProDisplaySource) */
26
+ export declare enum MeterProDisplaySource {
27
+ None = 0,
28
+ Meter = 1,
29
+ MeterPlus = 2,
30
+ IndoorOutdoorMeter = 3,
31
+ /** Hub 2 and Hub Mini Matter */
32
+ Hub = 4,
33
+ /** This device when the MAC is empty, else another Meter Pro */
34
+ MeterPro = 5,
35
+ /** Values written with setWeather */
36
+ Network = 6,
37
+ WeatherStation = 8,
38
+ Hub3 = 9
39
+ }
40
+ /** Date layout on the screen (pySwitchbot MeterProDateFormat) */
41
+ export declare enum MeterProDateFormat {
42
+ MonthDay = 0,
43
+ DayMonth = 1
44
+ }
45
+ /** Current temperature and humidity comfort status (pySwitchbot MeterProComfortStatus) */
46
+ export declare enum MeterProComfortStatus {
47
+ Comfortable = 0,
48
+ Dry = 1,
49
+ Wet = 2,
50
+ Unavailable = 3
51
+ }
52
+ /** How the meter signals a local threshold alarm (pySwitchbot MeterProAlarmMode) */
53
+ export declare enum MeterProAlarmMode {
54
+ Disabled = 0,
55
+ FlashOnly = 1,
56
+ SoundAndFlash = 2
57
+ }
58
+ /** Alarm buzzer volume (pySwitchbot MeterProAlarmVolume) */
59
+ export declare enum MeterProAlarmVolume {
60
+ Off = 1,
61
+ Low = 2,
62
+ Medium = 3,
63
+ High = 4
64
+ }
65
+ /** CO2 alarm conditions, combined as bit flags, and the protocol's custom-setting bit (pySwitchbot MeterProCO2AlarmMode) */
66
+ export declare enum MeterProCO2AlarmMode {
67
+ Disabled = 0,
68
+ Low = 1,
69
+ High = 2,
70
+ InRange = 4,
71
+ Custom = 8
72
+ }
73
+ /** Current CO2 alarm (pySwitchbot MeterProCO2AlarmStatus) */
74
+ export declare enum MeterProCO2AlarmStatus {
75
+ None = 0,
76
+ Low = 1,
77
+ High = 2,
78
+ InRange = 3
79
+ }
80
+ /** Local alarm conditions for the temperature and humidity limits, combined as bit flags (pySwitchbot MeterProTemperatureHumidityAlarmMode) */
81
+ export declare enum MeterProTemperatureHumidityAlarmMode {
82
+ Disabled = 0,
83
+ TemperatureLow = 1,
84
+ TemperatureHigh = 2,
85
+ TemperatureInRange = 4,
86
+ HumidityLow = 16,
87
+ HumidityHigh = 32,
88
+ HumidityInRange = 64
89
+ }
90
+ /** Current alarm state of the temperature or humidity measurement (pySwitchbot MeterProTemperatureHumidityAlarmStatus) */
91
+ export declare enum MeterProTemperatureHumidityAlarmStatus {
92
+ None = 0,
93
+ Low = 1,
94
+ High = 2,
95
+ InRange = 3
96
+ }
97
+ /** Comfort mode, limits and status (getComfortLevel) */
98
+ export interface MeterProComfortLevel {
99
+ /** Custom limits; false for the default comfort mode */
100
+ custom: boolean;
101
+ temperatureLowC: number;
102
+ temperatureHighC: number;
103
+ humidityLow: number;
104
+ humidityHigh: number;
105
+ status: MeterProComfortStatus;
106
+ }
107
+ /** Local temperature and humidity alarm (getTemperatureHumidityAlarm) */
108
+ export interface MeterProTemperatureHumidityAlarm {
109
+ /** MeterProTemperatureHumidityAlarmMode flags */
110
+ mode: number;
111
+ temperatureLowC: number;
112
+ temperatureHighC: number;
113
+ humidityLow: number;
114
+ humidityHigh: number;
115
+ temperatureStatus: MeterProTemperatureHumidityAlarmStatus;
116
+ humidityStatus: MeterProTemperatureHumidityAlarmStatus;
117
+ }
118
+ /** Local alarm signalling (getAlarmSettings); volume undefined for an unrecognised value */
119
+ export interface MeterProAlarmSettings {
120
+ mode: MeterProAlarmMode;
121
+ volume?: MeterProAlarmVolume;
122
+ }
123
+ /** Temperature (C) and humidity (%RH) corrections (getCalibration) */
124
+ export interface MeterProCalibration {
125
+ temperature: number;
126
+ humidity: number;
127
+ }
128
+ /** One display zone (getDisplaySettings) */
129
+ export interface MeterProZoneSettings {
130
+ /** undefined when unset or held; an unknown code is kept as its number */
131
+ icon?: MeterProZoneIcon | number;
132
+ /** An unknown code is kept as its number */
133
+ source: MeterProDisplaySource | number;
134
+ /** undefined when the zone shows this device or network data */
135
+ sourceMac?: string;
136
+ }
137
+ /** Screen settings (getDisplaySettings); missing or unknown values are undefined */
138
+ export interface MeterProDisplaySettings {
139
+ middle: MeterProZoneSettings;
140
+ bottom: MeterProZoneSettings;
141
+ dataUpdateInterval?: number;
142
+ dateFormat?: MeterProDateFormat;
143
+ batteryIconAlways?: boolean;
144
+ }
145
+ /** Button functions (getButtonFunctions); undefined for reserved or unknown values */
146
+ export interface MeterProButtonFunctions {
147
+ /** The button switches the temperature unit */
148
+ unitSwitch?: boolean;
149
+ /** The button switches the display source */
150
+ sourceSwitch?: boolean;
151
+ }
152
+ /** Network weather shown on the screen (getWeather) */
153
+ export interface MeterProWeather {
154
+ icon: MeterProWeatherIcon;
155
+ temperatureC: number;
156
+ /** undefined when unset */
157
+ humidity?: number;
158
+ fahrenheitDisplay: boolean;
159
+ }
160
+ /** Weather fields to write (setWeather); omitted fields keep their current value */
161
+ export interface MeterProWeatherUpdate {
162
+ icon?: MeterProWeatherIcon | number;
163
+ /** Celsius, -127.9..127.9, rounded half up to tenths */
164
+ temperatureC?: number;
165
+ /** %RH, 1..99, rounded half up */
166
+ humidity?: number;
167
+ }
168
+ /** An integer, not a boolean or a fractional number */
169
+ export declare function isInteger(value: unknown): value is number;
170
+ /**
171
+ * Encode a Celsius temperature as the meter's two bytes, [tenths, sign << 7 | degrees], with
172
+ * the sign bit set for a positive value (pySwitchbot `_encode_weather_temperature`).
173
+ */
174
+ export declare function encodeMeterProTemperature(temperatureC: number): [number, number];
175
+ /** Check that a value is one of a numeric enum's values */
176
+ export declare function coerceEnum<E extends Record<string, string | number>>(enumObject: E, value: unknown, name: string, enumName: string): E[keyof E];
2
177
  /**
3
178
  * Meter Pro (Advanced Temperature/Humidity Sensor)
4
- * Uses same logic as standard Meter
179
+ *
180
+ * Status comes from advertisements, as for the standard Meter. The settings commands are ported
181
+ * from pySwitchbot's SwitchbotMeterPro (3.12.0-3.15.1) and are BLE only; each throws a
182
+ * SwitchbotOperationError when the meter refuses the command or its reply is invalid. Input is
183
+ * checked before anything is sent.
5
184
  */
6
185
  export declare class WoSensorTHPro extends WoSensorTH {
186
+ private weatherQueue;
187
+ /** Throw a SwitchbotOperationError naming this device */
188
+ protected operationError(message: string): SwitchbotOperationError;
189
+ /** Run a check, turning its TypeError/RangeError into a SwitchbotOperationError */
190
+ protected checked<T>(check: () => T): T;
191
+ protected checkBoolean(value: unknown, name: string): void;
192
+ /**
193
+ * Send a meter command and check its reply (pySwitchbot `_validate_result`): status byte 0x01
194
+ * and at least `minLength` bytes. `retry: false` sends once.
195
+ */
196
+ protected meterCommand(command: string, operation: string, options?: {
197
+ minLength?: number;
198
+ retry?: boolean;
199
+ }): Promise<Buffer>;
200
+ /** Read the comfort mode, limits in C and %RH, and current status (pySwitchbot 3.15.0) */
201
+ getComfortLevel(): Promise<MeterProComfortLevel>;
202
+ /**
203
+ * Set comfort limits in C (rounded half up to tenths) and %RH, or with `custom: false` select
204
+ * the default comfort mode (pySwitchbot 3.15.0)
205
+ */
206
+ setComfortLevel(temperatureLowC: number, temperatureHighC: number, humidityLow: number, humidityHigh: number, options?: {
207
+ custom?: boolean;
208
+ }): Promise<void>;
209
+ /** Read the local alarm conditions, limits in C and %RH, and both alarm states (pySwitchbot 3.15.0) */
210
+ getTemperatureHumidityAlarm(): Promise<MeterProTemperatureHumidityAlarm>;
211
+ /**
212
+ * Set both sets of local alarm limits and the enabled conditions together (pySwitchbot
213
+ * 3.15.0). `mode` combines MeterProTemperatureHumidityAlarmMode flags.
214
+ */
215
+ setTemperatureHumidityAlarm(mode: number, temperatureLowC: number, temperatureHighC: number, humidityLow: number, humidityHigh: number): Promise<void>;
216
+ /** Read the local alarm mode and buzzer volume (pySwitchbot 3.15.0) */
217
+ getAlarmSettings(): Promise<MeterProAlarmSettings>;
218
+ /** Set the local alarm mode and, when given, the buzzer volume (pySwitchbot 3.15.0) */
219
+ setAlarmSettings(mode: MeterProAlarmMode, volume?: MeterProAlarmVolume): Promise<void>;
220
+ /** Read the temperature (C) and humidity (%RH) corrections (pySwitchbot 3.14.0) */
221
+ getCalibration(): Promise<MeterProCalibration>;
222
+ /** Set the temperature (C, rounded half up to tenths) and humidity (%RH) corrections (pySwitchbot 3.14.0) */
223
+ setCalibration(temperature: number, humidity: number): Promise<void>;
224
+ /**
225
+ * Read the display zones, data update interval, date format and battery icon (pySwitchbot
226
+ * 3.14.0). Older firmware stops after the MAC addresses; the later fields are then undefined.
227
+ */
228
+ getDisplaySettings(): Promise<MeterProDisplaySettings>;
229
+ /**
230
+ * Choose what a screen zone shows; an undefined icon keeps the current icon (pySwitchbot
231
+ * 3.14.0). The meter reads the source thermometer over BLE itself. `Network` shows the values
232
+ * written by setWeather; `MeterPro` without a MAC is this meter. The screen applies the change
233
+ * at its next data update.
234
+ */
235
+ setDisplayZone(zone: MeterProDisplayZone, source: MeterProDisplaySource, sourceMac?: string, icon?: MeterProZoneIcon): Promise<void>;
236
+ /** Set the indoor/outdoor icons of both zones; undefined keeps an icon (pySwitchbot 3.14.0) */
237
+ setZoneIcons(middle?: MeterProZoneIcon, bottom?: MeterProZoneIcon): Promise<void>;
238
+ /** Set the temperature and humidity update interval in seconds; the app offers 300, 600 and 1800 (pySwitchbot 3.14.0) */
239
+ setDataUpdateInterval(seconds: number): Promise<void>;
240
+ /** Set the date format; the app offers it from firmware 1.5 (pySwitchbot 3.14.0) */
241
+ setDateFormat(dateFormat: MeterProDateFormat): Promise<void>;
242
+ /** Show the battery icon always, or only when the battery is low (pySwitchbot 3.14.0) */
243
+ setBatteryIcon(always: boolean): Promise<void>;
244
+ /** Set the default temperature unit shown on the screen (pySwitchbot 3.14.0) */
245
+ setTemperatureUnit(fahrenheit: boolean): Promise<void>;
246
+ /** Read which button actions are allowed (pySwitchbot 3.14.0) */
247
+ getButtonFunctions(): Promise<MeterProButtonFunctions>;
248
+ /** Allow or forbid the button actions; undefined keeps one as is (pySwitchbot 3.14.0) */
249
+ setButtonFunctions(unitSwitch?: boolean, sourceSwitch?: boolean): Promise<void>;
250
+ /** [status][icon][tenths][sign << 7 | degrees][fahrenheit << 7 | humidity]; later bytes are ignored */
251
+ private parseWeather;
252
+ private readWeather;
253
+ /** Read the network weather shown on the screen (pySwitchbot 3.12.0) */
254
+ getWeather(): Promise<MeterProWeather>;
255
+ /**
256
+ * Write the given weather fields and verify them by reading back; omitted fields keep their
257
+ * value (pySwitchbot 3.12.0). This does not change display sources. The read, write and
258
+ * read-back of concurrent calls do not interleave; the write is sent once, never retried.
259
+ */
260
+ setWeather(update: MeterProWeatherUpdate): Promise<void>;
7
261
  }
8
262
  //# sourceMappingURL=wo-sensor-th-pro.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wo-sensor-th-pro.d.ts","sourceRoot":"","sources":["../../src/devices/wo-sensor-th-pro.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C;;;GAGG;AACH,qBAAa,aAAc,SAAQ,UAAU;CAAG"}
1
+ {"version":3,"file":"wo-sensor-th-pro.d.ts","sourceRoot":"","sources":["../../src/devices/wo-sensor-th-pro.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,gGAAgG;AAChG,oBAAY,mBAAmB;IAC7B,IAAI,IAAI;IACR,KAAK,IAAI;IACT,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,SAAS,IAAI;IACb,SAAS,IAAI;IACb,SAAS,IAAI;IACb,SAAS,IAAI;CACd;AAED,mFAAmF;AACnF,oBAAY,mBAAmB;IAC7B,MAAM,IAAI;IACV,MAAM,IAAI;CACX;AAED,uEAAuE;AACvE,oBAAY,gBAAgB;IAC1B,MAAM,IAAI;IACV,OAAO,IAAI;CACZ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