node-switchbot 4.0.0-beta.8 → 4.0.0
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/BLE.md +215 -838
- package/CHANGELOG.md +96 -1371
- package/OpenAPI.md +169 -135
- package/README.md +1 -1
- package/dist/api.d.ts +3 -3
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +9 -6
- package/dist/api.js.map +1 -1
- package/dist/ble.d.ts +33 -1
- package/dist/ble.d.ts.map +1 -1
- package/dist/ble.js +415 -37
- package/dist/ble.js.map +1 -1
- package/dist/devices/base.d.ts +100 -1
- package/dist/devices/base.d.ts.map +1 -1
- package/dist/devices/base.js +248 -11
- package/dist/devices/base.js.map +1 -1
- package/dist/devices/device-override-state-during-connection.d.ts +27 -0
- package/dist/devices/device-override-state-during-connection.d.ts.map +1 -0
- package/dist/devices/device-override-state-during-connection.js +45 -0
- package/dist/devices/device-override-state-during-connection.js.map +1 -0
- package/dist/devices/index.d.ts +36 -0
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +36 -0
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/sequence-device.d.ts +52 -0
- package/dist/devices/sequence-device.d.ts.map +1 -0
- package/dist/devices/sequence-device.js +91 -0
- package/dist/devices/sequence-device.js.map +1 -0
- package/dist/devices/wo-ai-hub.d.ts +9 -0
- package/dist/devices/wo-ai-hub.d.ts.map +1 -0
- package/dist/devices/wo-ai-hub.js +25 -0
- package/dist/devices/wo-ai-hub.js.map +1 -0
- package/dist/devices/wo-air-purifier-pm25.d.ts +29 -0
- package/dist/devices/wo-air-purifier-pm25.d.ts.map +1 -0
- package/dist/devices/wo-air-purifier-pm25.js +144 -0
- package/dist/devices/wo-air-purifier-pm25.js.map +1 -0
- package/dist/devices/wo-air-purifier.d.ts +21 -4
- package/dist/devices/wo-air-purifier.d.ts.map +1 -1
- package/dist/devices/wo-air-purifier.js +111 -61
- package/dist/devices/wo-air-purifier.js.map +1 -1
- package/dist/devices/wo-art-frame.d.ts +8 -0
- package/dist/devices/wo-art-frame.d.ts.map +1 -0
- package/dist/devices/wo-art-frame.js +12 -0
- package/dist/devices/wo-art-frame.js.map +1 -0
- package/dist/devices/wo-blind-tilt.d.ts +2 -16
- package/dist/devices/wo-blind-tilt.d.ts.map +1 -1
- package/dist/devices/wo-blind-tilt.js +135 -62
- package/dist/devices/wo-blind-tilt.js.map +1 -1
- package/dist/devices/wo-bulb.d.ts +37 -1
- package/dist/devices/wo-bulb.d.ts.map +1 -1
- package/dist/devices/wo-bulb.js +196 -51
- package/dist/devices/wo-bulb.js.map +1 -1
- package/dist/devices/wo-candle-warmer-lamp.d.ts +25 -0
- package/dist/devices/wo-candle-warmer-lamp.d.ts.map +1 -0
- package/dist/devices/wo-candle-warmer-lamp.js +81 -0
- package/dist/devices/wo-candle-warmer-lamp.js.map +1 -0
- package/dist/devices/wo-circulator-fan.d.ts +8 -0
- package/dist/devices/wo-circulator-fan.d.ts.map +1 -0
- package/dist/devices/wo-circulator-fan.js +12 -0
- package/dist/devices/wo-circulator-fan.js.map +1 -0
- package/dist/devices/wo-climate-panel.d.ts +8 -0
- package/dist/devices/wo-climate-panel.d.ts.map +1 -0
- package/dist/devices/wo-climate-panel.js +12 -0
- package/dist/devices/wo-climate-panel.js.map +1 -0
- package/dist/devices/wo-contact.d.ts +1 -1
- package/dist/devices/wo-contact.d.ts.map +1 -1
- package/dist/devices/wo-contact.js +19 -35
- package/dist/devices/wo-contact.js.map +1 -1
- package/dist/devices/wo-curtain.d.ts +20 -4
- package/dist/devices/wo-curtain.d.ts.map +1 -1
- package/dist/devices/wo-curtain.js +130 -35
- package/dist/devices/wo-curtain.js.map +1 -1
- package/dist/devices/wo-floor-lamp.d.ts +8 -0
- package/dist/devices/wo-floor-lamp.d.ts.map +1 -0
- package/dist/devices/wo-floor-lamp.js +12 -0
- package/dist/devices/wo-floor-lamp.js.map +1 -0
- package/dist/devices/wo-garage-door-opener.d.ts +8 -0
- package/dist/devices/wo-garage-door-opener.d.ts.map +1 -0
- package/dist/devices/wo-garage-door-opener.js +12 -0
- package/dist/devices/wo-garage-door-opener.js.map +1 -0
- package/dist/devices/wo-hand.d.ts +22 -6
- package/dist/devices/wo-hand.d.ts.map +1 -1
- package/dist/devices/wo-hand.js +55 -39
- package/dist/devices/wo-hand.js.map +1 -1
- package/dist/devices/wo-hub2.d.ts +1 -1
- package/dist/devices/wo-hub2.d.ts.map +1 -1
- package/dist/devices/wo-hub2.js +17 -33
- package/dist/devices/wo-hub2.js.map +1 -1
- package/dist/devices/wo-hubmini-matter.d.ts +8 -0
- package/dist/devices/wo-hubmini-matter.d.ts.map +1 -0
- package/dist/devices/wo-hubmini-matter.js +12 -0
- package/dist/devices/wo-hubmini-matter.js.map +1 -0
- package/dist/devices/wo-humi.d.ts +18 -2
- package/dist/devices/wo-humi.d.ts.map +1 -1
- package/dist/devices/wo-humi.js +60 -36
- package/dist/devices/wo-humi.js.map +1 -1
- package/dist/devices/wo-humi2.d.ts.map +1 -1
- package/dist/devices/wo-humi2.js.map +1 -1
- package/dist/devices/wo-keypad-vision-pro.d.ts +18 -0
- package/dist/devices/wo-keypad-vision-pro.d.ts.map +1 -0
- package/dist/devices/wo-keypad-vision-pro.js +15 -0
- package/dist/devices/wo-keypad-vision-pro.js.map +1 -0
- package/dist/devices/wo-keypad-vision.d.ts +8 -0
- package/dist/devices/wo-keypad-vision.d.ts.map +1 -0
- package/dist/devices/wo-keypad-vision.js +12 -0
- package/dist/devices/wo-keypad-vision.js.map +1 -0
- package/dist/devices/wo-keypad.d.ts +1 -1
- package/dist/devices/wo-keypad.d.ts.map +1 -1
- package/dist/devices/wo-keypad.js +14 -30
- package/dist/devices/wo-keypad.js.map +1 -1
- package/dist/devices/wo-leak.d.ts +1 -1
- package/dist/devices/wo-leak.d.ts.map +1 -1
- package/dist/devices/wo-leak.js +15 -31
- package/dist/devices/wo-leak.js.map +1 -1
- package/dist/devices/wo-lock-lite.d.ts +7 -0
- package/dist/devices/wo-lock-lite.d.ts.map +1 -0
- package/dist/devices/wo-lock-lite.js +11 -0
- package/dist/devices/wo-lock-lite.js.map +1 -0
- package/dist/devices/wo-lock-pro-wifi.d.ts +7 -0
- package/dist/devices/wo-lock-pro-wifi.d.ts.map +1 -0
- package/dist/devices/wo-lock-pro-wifi.js +11 -0
- package/dist/devices/wo-lock-pro-wifi.js.map +1 -0
- package/dist/devices/wo-lock-pro.d.ts +12 -3
- package/dist/devices/wo-lock-pro.d.ts.map +1 -1
- package/dist/devices/wo-lock-pro.js +83 -37
- package/dist/devices/wo-lock-pro.js.map +1 -1
- package/dist/devices/wo-lock-vision-pro.d.ts +7 -0
- package/dist/devices/wo-lock-vision-pro.d.ts.map +1 -0
- package/dist/devices/wo-lock-vision-pro.js +11 -0
- package/dist/devices/wo-lock-vision-pro.js.map +1 -0
- package/dist/devices/wo-lock-vision.d.ts +7 -0
- package/dist/devices/wo-lock-vision.d.ts.map +1 -0
- package/dist/devices/wo-lock-vision.js +11 -0
- package/dist/devices/wo-lock-vision.js.map +1 -0
- package/dist/devices/wo-lock.d.ts +8 -3
- package/dist/devices/wo-lock.d.ts.map +1 -1
- package/dist/devices/wo-lock.js +75 -36
- package/dist/devices/wo-lock.js.map +1 -1
- package/dist/devices/wo-pan-tilt-cam-plus-3k.d.ts +21 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.d.ts.map +1 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.js +87 -0
- package/dist/devices/wo-pan-tilt-cam-plus-3k.js.map +1 -0
- package/dist/devices/wo-plug-mini-us.d.ts +3 -3
- package/dist/devices/wo-plug-mini-us.d.ts.map +1 -1
- package/dist/devices/wo-plug-mini-us.js +25 -35
- package/dist/devices/wo-plug-mini-us.js.map +1 -1
- package/dist/devices/wo-presence.d.ts +1 -1
- package/dist/devices/wo-presence.d.ts.map +1 -1
- package/dist/devices/wo-presence.js +17 -33
- package/dist/devices/wo-presence.js.map +1 -1
- package/dist/devices/wo-relay-switch-1.d.ts +19 -3
- package/dist/devices/wo-relay-switch-1.d.ts.map +1 -1
- package/dist/devices/wo-relay-switch-1.js +90 -42
- package/dist/devices/wo-relay-switch-1.js.map +1 -1
- package/dist/devices/wo-relay-switch-2pm.d.ts +21 -0
- package/dist/devices/wo-relay-switch-2pm.d.ts.map +1 -0
- package/dist/devices/wo-relay-switch-2pm.js +37 -0
- package/dist/devices/wo-relay-switch-2pm.js.map +1 -0
- package/dist/devices/wo-remote-with-screen.d.ts +9 -0
- package/dist/devices/wo-remote-with-screen.d.ts.map +1 -0
- package/dist/devices/wo-remote-with-screen.js +22 -0
- package/dist/devices/wo-remote-with-screen.js.map +1 -0
- package/dist/devices/wo-remote.d.ts +1 -1
- package/dist/devices/wo-remote.d.ts.map +1 -1
- package/dist/devices/wo-remote.js +13 -29
- package/dist/devices/wo-remote.js.map +1 -1
- package/dist/devices/wo-rgbic-bulb.d.ts +29 -0
- package/dist/devices/wo-rgbic-bulb.d.ts.map +1 -0
- package/dist/devices/wo-rgbic-bulb.js +84 -0
- package/dist/devices/wo-rgbic-bulb.js.map +1 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.d.ts +29 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.d.ts.map +1 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.js +113 -0
- package/dist/devices/wo-rgbic-neon-wire-rope-light.js.map +1 -0
- package/dist/devices/wo-rgbicww-floor-lamp.d.ts +8 -0
- package/dist/devices/wo-rgbicww-floor-lamp.d.ts.map +1 -0
- package/dist/devices/wo-rgbicww-floor-lamp.js +12 -0
- package/dist/devices/wo-rgbicww-floor-lamp.js.map +1 -0
- package/dist/devices/wo-rgbicww-strip-light.d.ts +8 -0
- package/dist/devices/wo-rgbicww-strip-light.d.ts.map +1 -0
- package/dist/devices/wo-rgbicww-strip-light.js +12 -0
- package/dist/devices/wo-rgbicww-strip-light.js.map +1 -0
- package/dist/devices/wo-roller-shade.d.ts +8 -0
- package/dist/devices/wo-roller-shade.d.ts.map +1 -0
- package/dist/devices/wo-roller-shade.js +12 -0
- package/dist/devices/wo-roller-shade.js.map +1 -0
- package/dist/devices/wo-sensor-th.d.ts +1 -1
- package/dist/devices/wo-sensor-th.d.ts.map +1 -1
- package/dist/devices/wo-sensor-th.js +18 -34
- package/dist/devices/wo-sensor-th.js.map +1 -1
- package/dist/devices/wo-smart-thermostat-radiator.d.ts +8 -0
- package/dist/devices/wo-smart-thermostat-radiator.d.ts.map +1 -0
- package/dist/devices/wo-smart-thermostat-radiator.js +12 -0
- package/dist/devices/wo-smart-thermostat-radiator.js.map +1 -0
- package/dist/devices/wo-strip-light-3.d.ts +8 -0
- package/dist/devices/wo-strip-light-3.d.ts.map +1 -0
- package/dist/devices/wo-strip-light-3.js +12 -0
- package/dist/devices/wo-strip-light-3.js.map +1 -0
- package/dist/devices/wo-vacuum-k10-plus.d.ts +7 -0
- package/dist/devices/wo-vacuum-k10-plus.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k10-plus.js +11 -0
- package/dist/devices/wo-vacuum-k10-plus.js.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.d.ts +7 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.js +11 -0
- package/dist/devices/wo-vacuum-k10-pro-combo.js.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro.d.ts +7 -0
- package/dist/devices/wo-vacuum-k10-pro.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k10-pro.js +11 -0
- package/dist/devices/wo-vacuum-k10-pro.js.map +1 -0
- package/dist/devices/wo-vacuum-k11-plus.d.ts +7 -0
- package/dist/devices/wo-vacuum-k11-plus.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k11-plus.js +11 -0
- package/dist/devices/wo-vacuum-k11-plus.js.map +1 -0
- package/dist/devices/wo-vacuum-k20.d.ts +7 -0
- package/dist/devices/wo-vacuum-k20.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-k20.js +11 -0
- package/dist/devices/wo-vacuum-k20.js.map +1 -0
- package/dist/devices/wo-vacuum-s10.d.ts +7 -0
- package/dist/devices/wo-vacuum-s10.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-s10.js +11 -0
- package/dist/devices/wo-vacuum-s10.js.map +1 -0
- package/dist/devices/wo-vacuum-s20.d.ts +7 -0
- package/dist/devices/wo-vacuum-s20.d.ts.map +1 -0
- package/dist/devices/wo-vacuum-s20.js +11 -0
- package/dist/devices/wo-vacuum-s20.js.map +1 -0
- package/dist/devices/wo-vacuum.d.ts +44 -0
- package/dist/devices/wo-vacuum.d.ts.map +1 -0
- package/dist/devices/wo-vacuum.js +143 -0
- package/dist/devices/wo-vacuum.js.map +1 -0
- package/dist/devices/wo-water-detector.d.ts +9 -0
- package/dist/devices/wo-water-detector.d.ts.map +1 -0
- package/dist/devices/wo-water-detector.js +20 -0
- package/dist/devices/wo-water-detector.js.map +1 -0
- package/dist/errors.d.ts +20 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +31 -1
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/settings.d.ts +25 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +85 -6
- package/dist/settings.js.map +1 -1
- package/dist/switchbot.d.ts +1 -0
- package/dist/switchbot.d.ts.map +1 -1
- package/dist/switchbot.js +154 -34
- package/dist/switchbot.js.map +1 -1
- package/dist/types/ble.d.ts +24 -0
- package/dist/types/ble.d.ts.map +1 -1
- package/dist/types/ble.js.map +1 -1
- package/dist/types/device.d.ts +84 -5
- package/dist/types/device.d.ts.map +1 -1
- package/dist/types/index.d.ts +26 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utils/fallback-handler.js +0 -1
- package/dist/utils/fallback-handler.js.map +1 -1
- package/dist/utils/index.d.ts +21 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +49 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/relay-encryption.d.ts +10 -0
- package/dist/utils/relay-encryption.d.ts.map +1 -0
- package/dist/utils/relay-encryption.js +23 -0
- package/dist/utils/relay-encryption.js.map +1 -0
- package/dist/utils/retry.d.ts.map +1 -1
- package/dist/utils/retry.js +49 -6
- package/dist/utils/retry.js.map +1 -1
- package/package.json +30 -14
- package/.gitattributes +0 -2
- package/.github/copilot-instructions.md +0 -179
- package/.github/dependabot.yml +0 -17
- package/.github/labeler.yml +0 -38
- package/.github/npm-version-script-esm.js +0 -97
- package/.github/workflows/beta-release.yml +0 -52
- package/.github/workflows/release.yml +0 -71
- package/.github/workflows/stale.yml +0 -12
- package/PRODUCTION_READY.md +0 -135
- package/branding/Node_x_SwitchBot.svg +0 -8
- package/branding/icon.png +0 -0
- package/branding/switchbot.png +0 -0
- package/docs/.nojekyll +0 -1
- package/docs/assets/hierarchy.js +0 -1
- package/docs/assets/highlight.css +0 -85
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1633
- package/docs/classes/APIError.html +0 -6
- package/docs/classes/APINotAvailableError.html +0 -4
- package/docs/classes/BLEConnection.html +0 -17
- package/docs/classes/BLENotAvailableError.html +0 -4
- package/docs/classes/BLEScanner.html +0 -17
- package/docs/classes/CommandFailedError.html +0 -6
- package/docs/classes/ConnectionTimeoutError.html +0 -5
- package/docs/classes/DeviceManager.html +0 -25
- package/docs/classes/DeviceNotFoundError.html +0 -4
- package/docs/classes/DiscoveryError.html +0 -5
- package/docs/classes/OpenAPIClient.html +0 -66
- package/docs/classes/SwitchBot.html +0 -22
- package/docs/classes/SwitchBotDevice.html +0 -56
- package/docs/classes/SwitchBotError.html +0 -4
- package/docs/classes/ValidationError.html +0 -5
- package/docs/classes/WoAirPurifier.html +0 -63
- package/docs/classes/WoAirPurifierTable.html +0 -64
- package/docs/classes/WoBlindTilt.html +0 -67
- package/docs/classes/WoBulb.html +0 -65
- package/docs/classes/WoCeilingLight.html +0 -66
- package/docs/classes/WoContact.html +0 -55
- package/docs/classes/WoCurtain.html +0 -63
- package/docs/classes/WoHand.html +0 -69
- package/docs/classes/WoHub2.html +0 -55
- package/docs/classes/WoHub3.html +0 -56
- package/docs/classes/WoHumi.html +0 -63
- package/docs/classes/WoHumi2.html +0 -64
- package/docs/classes/WoIOSensorTH.html +0 -56
- package/docs/classes/WoKeypad.html +0 -56
- package/docs/classes/WoLeak.html +0 -55
- package/docs/classes/WoPlugMiniJP.html +0 -62
- package/docs/classes/WoPlugMiniUS.html +0 -61
- package/docs/classes/WoPresence.html +0 -55
- package/docs/classes/WoRelaySwitch1.html +0 -61
- package/docs/classes/WoRelaySwitch1PM.html +0 -62
- package/docs/classes/WoRemote.html +0 -56
- package/docs/classes/WoSensorTH.html +0 -55
- package/docs/classes/WoSensorTHPlus.html +0 -56
- package/docs/classes/WoSensorTHPro.html +0 -56
- package/docs/classes/WoSensorTHProCO2.html +0 -56
- package/docs/classes/WoSmartLock.html +0 -59
- package/docs/classes/WoSmartLockPro.html +0 -61
- package/docs/classes/WoStrip.html +0 -66
- package/docs/enums/LogLevel.html +0 -7
- package/docs/enums/SwitchBotBLEModel.html +0 -40
- package/docs/enums/SwitchBotBLEModelName.html +0 -40
- package/docs/functions/updateBaseURL.html +0 -3
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -55
- package/docs/interfaces/APICommandRequest.html +0 -5
- package/docs/interfaces/APICommandResponse.html +0 -5
- package/docs/interfaces/APIDevice.html +0 -18
- package/docs/interfaces/APIDeviceStatus.html +0 -36
- package/docs/interfaces/APIErrorResponse.html +0 -5
- package/docs/interfaces/APIResponse.html +0 -5
- package/docs/interfaces/AirPurifierCommands.html +0 -5
- package/docs/interfaces/AirPurifierServiceData.html +0 -14
- package/docs/interfaces/AirPurifierStatus.html +0 -17
- package/docs/interfaces/BLEAdvertisement.html +0 -7
- package/docs/interfaces/BLEScanOptions.html +0 -10
- package/docs/interfaces/BLEServiceData.html +0 -10
- package/docs/interfaces/BlindTiltCommands.html +0 -7
- package/docs/interfaces/BlindTiltServiceData.html +0 -14
- package/docs/interfaces/BlindTiltStatus.html +0 -15
- package/docs/interfaces/BotCommands.html +0 -4
- package/docs/interfaces/BotServiceData.html +0 -12
- package/docs/interfaces/BotStatus.html +0 -14
- package/docs/interfaces/BulbCommands.html +0 -6
- package/docs/interfaces/BulbServiceData.html +0 -19
- package/docs/interfaces/BulbStatus.html +0 -16
- package/docs/interfaces/CeilingLightCommands.html +0 -6
- package/docs/interfaces/CeilingLightServiceData.html +0 -19
- package/docs/interfaces/CeilingLightStatus.html +0 -16
- package/docs/interfaces/CommandResult.html +0 -12
- package/docs/interfaces/ContactServiceData.html +0 -13
- package/docs/interfaces/ContactStatus.html +0 -15
- package/docs/interfaces/CurtainCommands.html +0 -5
- package/docs/interfaces/CurtainServiceData.html +0 -14
- package/docs/interfaces/CurtainStatus.html +0 -17
- package/docs/interfaces/DeviceInfo.html +0 -28
- package/docs/interfaces/DeviceListResponse.html +0 -4
- package/docs/interfaces/DeviceStatus.html +0 -12
- package/docs/interfaces/DiscoveryOptions.html +0 -14
- package/docs/interfaces/HubServiceData.html +0 -14
- package/docs/interfaces/HubStatus.html +0 -15
- package/docs/interfaces/HumidifierCommands.html +0 -5
- package/docs/interfaces/HumidifierServiceData.html +0 -14
- package/docs/interfaces/HumidifierStatus.html +0 -18
- package/docs/interfaces/KeypadStatus.html +0 -13
- package/docs/interfaces/LeakServiceData.html +0 -11
- package/docs/interfaces/LeakStatus.html +0 -13
- package/docs/interfaces/LockCommands.html +0 -3
- package/docs/interfaces/LockServiceData.html +0 -15
- package/docs/interfaces/LockStatus.html +0 -15
- package/docs/interfaces/MeterServiceData.html +0 -13
- package/docs/interfaces/MeterStatus.html +0 -15
- package/docs/interfaces/MotionServiceData.html +0 -13
- package/docs/interfaces/MotionStatus.html +0 -14
- package/docs/interfaces/PlugCommands.html +0 -4
- package/docs/interfaces/PlugServiceData.html +0 -17
- package/docs/interfaces/PlugStatus.html +0 -16
- package/docs/interfaces/PresenceServiceData.html +0 -12
- package/docs/interfaces/PresenceStatus.html +0 -14
- package/docs/interfaces/RelaySwitchCommands.html +0 -4
- package/docs/interfaces/RelaySwitchServiceData.html +0 -14
- package/docs/interfaces/RelaySwitchStatus.html +0 -16
- package/docs/interfaces/RemoteStatus.html +0 -12
- package/docs/interfaces/SceneListResponse.html +0 -3
- package/docs/interfaces/StripCommands.html +0 -6
- package/docs/interfaces/StripServiceData.html +0 -19
- package/docs/interfaces/StripStatus.html +0 -16
- package/docs/interfaces/SwitchBotConfig.html +0 -30
- package/docs/interfaces/WebhookConfig.html +0 -4
- package/docs/interfaces/WebhookDetails.html +0 -7
- package/docs/interfaces/WebhookQueryResponse.html +0 -5
- package/docs/interfaces/WebhookSetupResponse.html +0 -5
- package/docs/media/BLE.md +0 -1259
- package/docs/media/OpenAPI.md +0 -186
- package/docs/modules.html +0 -1
- package/docs/types/ConnectionType.html +0 -2
- package/docs/types/PhysicalDeviceType.html +0 -2
- package/docs/types/VirtualDeviceType.html +0 -2
- package/docs/variables/urls.html +0 -1
- package/tmp-switchbot-scan.mjs +0 -79
- package/tsconfig.build.json +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -2,1416 +2,138 @@
|
|
|
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
|
-
## [
|
|
5
|
+
## [4.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.8...v4.0.0) (2026-04-10)
|
|
6
6
|
|
|
7
|
-
###
|
|
8
|
-
|
|
9
|
-
* **macOS BLE Support**: Enabled BLE functionality on macOS in addition to Linux
|
|
10
|
-
* Platform detection now includes macOS (darwin) using @stoprocent/noble
|
|
11
|
-
* BLE now works on Linux and macOS systems
|
|
12
|
-
* Windows remains unsupported for BLE operations
|
|
13
|
-
|
|
14
|
-
* **Bot Password Protection**: Added BLE password support for Bot (WoHand) devices
|
|
15
|
-
* Password encryption using CRC32 checksums
|
|
16
|
-
* Password validation (4 alphanumeric characters, case-sensitive)
|
|
17
|
-
* Methods: `setPassword()`, `clearPassword()`, `hasPassword()`
|
|
18
|
-
* Automatic encrypted command execution when password is set
|
|
19
|
-
* Example: `examples/bot-password.js`
|
|
20
|
-
* Based on [homebridge-switchbot PR #1337](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/1337)
|
|
21
|
-
|
|
22
|
-
* **Advanced Resilience Features**: Enterprise-grade reliability enhancements
|
|
23
|
-
* Retry logic with exponential backoff and jitter (RetryExecutor)
|
|
24
|
-
* Circuit breaker pattern to prevent cascading failures (CLOSED/OPEN/HALF_OPEN states)
|
|
25
|
-
* Connection intelligence tracking per-device success/failure rates
|
|
26
|
-
* Custom fallback handler system with built-in logging, metrics, and alerting handlers
|
|
27
|
-
* Intelligent connection selection based on historical performance
|
|
28
|
-
|
|
29
|
-
### Documentation
|
|
30
|
-
|
|
31
|
-
* Added password protection section to [BLE.md](BLE.md)
|
|
32
|
-
* Updated [README.md](README.md) with password examples
|
|
33
|
-
* Created comprehensive password protection example
|
|
34
|
-
* Updated examples index with bot-password.js
|
|
35
|
-
* Updated platform support documentation to reflect macOS BLE support
|
|
36
|
-
* Updated all "Linux-only" references to "Linux/macOS"
|
|
37
|
-
* **Added comprehensive prerequisites section** for BLE setup on macOS and Linux
|
|
38
|
-
* macOS: Xcode and Bluetooth permissions requirements
|
|
39
|
-
* Linux: System packages, non-root setup, and Raspberry Pi specific notes
|
|
40
|
-
* Based on [@stoprocent/noble prerequisites](https://github.com/stoprocent/noble?tab=readme-ov-file#prerequisites)
|
|
41
|
-
|
|
42
|
-
### Tests
|
|
43
|
-
|
|
44
|
-
* Added 14 comprehensive password protection tests
|
|
45
|
-
* All 54 tests passing (up from 40 in v4.0.0)
|
|
46
|
-
* Validation of CRC32 encryption, command building, and response parsing
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## [4.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.6...v4.0.0) (2026-03-03)
|
|
51
|
-
|
|
52
|
-
### ⚠ BREAKING CHANGES
|
|
53
|
-
|
|
54
|
-
* Complete rewrite with unified hybrid BLE/API architecture
|
|
55
|
-
* No backward compatibility with v3.x - migration required
|
|
56
|
-
* Single `SwitchBot` class replaces `SwitchBotBLE` and `SwitchBotOpenAPI`
|
|
57
|
-
* Device access via `switchbot.devices` manager pattern
|
|
58
|
-
* Full TypeScript rewrite with comprehensive type definitions
|
|
59
|
-
|
|
60
|
-
### Features
|
|
61
|
-
|
|
62
|
-
* **Hybrid Architecture**: Unified BLE-first approach with automatic OpenAPI fallback
|
|
63
|
-
* **Automatic Discovery**: Combined BLE + OpenAPI device discovery in single call
|
|
64
|
-
* **Smart Fallback**: Commands automatically retry via API when BLE fails
|
|
65
|
-
* **Device Manager**: Centralized device management with `get()`, `list()`, and `clear()` methods
|
|
66
|
-
* **30 Device Types**: Full support for all SwitchBot devices (Bot, Curtain, Lock, Meter, Plug, Bulb, etc.)
|
|
67
|
-
* **Event-Driven**: EventEmitter-based architecture for discovery and command events
|
|
68
|
-
* **TypeScript Native**: Written in TypeScript with full type safety and exports
|
|
69
|
-
* **Custom Errors**: Specific error classes for better error handling
|
|
70
|
-
* **BLE-Only Mode**: Works without OpenAPI credentials on Linux systems
|
|
71
|
-
* **API-Only Mode**: Works without BLE on Windows/macOS
|
|
72
|
-
* **Comprehensive Examples**: 6 example files covering all major use cases
|
|
73
|
-
|
|
74
|
-
### Technical Improvements
|
|
75
|
-
|
|
76
|
-
* Complete ES2022 module implementation
|
|
77
|
-
* Improved error handling with custom error classes
|
|
78
|
-
* Better connection management and timeout handling
|
|
79
|
-
* Enhanced logging with configurable log levels
|
|
80
|
-
* Full JSDoc documentation coverage
|
|
81
|
-
* Comprehensive TypeScript type definitions for all devices
|
|
82
|
-
* Production-ready test suite with Vitest
|
|
83
|
-
* Auto-formatting and linting with @antfu/eslint-config
|
|
84
|
-
|
|
85
|
-
### Documentation
|
|
86
|
-
|
|
87
|
-
* Updated README with v4 quick start and migration guide
|
|
88
|
-
* 6 usage examples in `examples/` directory
|
|
89
|
-
* Migration guide from v3.x to v4.0.0
|
|
90
|
-
* Full API documentation via TypeDoc
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## [3.6.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.5...v3.6.6) (2026-02-25)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
### Bug Fixes
|
|
98
|
-
|
|
99
|
-
* sync package-lock.json with @stoprocent/noble@^2.3.14 ([#324](https://github.com/OpenWonderLabs/node-switchbot/issues/324)) ([0670987](https://github.com/OpenWonderLabs/node-switchbot/commit/06709876ab1bb4adc244507863f1b25b786b87f2))
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
### Features
|
|
103
|
-
|
|
104
|
-
* Add Plug Mini (EU) support ([#325](https://github.com/OpenWonderLabs/node-switchbot/issues/325)) ([1eb8d2e](https://github.com/OpenWonderLabs/node-switchbot/commit/1eb8d2e572e211482105c2563a736bdfabeb50be))
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
## [3.6.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.4...v3.6.5) (2026-02-19)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
## [3.6.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.3...v3.6.4) (2026-02-18)
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
## [3.6.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.1...v3.6.3) (2026-02-05)
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.0...v3.5.1) (2025-07-25)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
# [3.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.9...v3.5.0) (2025-03-05)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
## [3.4.9](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.8...v3.4.9) (2025-01-24)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
## [3.4.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.7...v3.4.8) (2025-01-24)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
## [3.4.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.6...v3.4.7) (2025-01-24)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
## [3.4.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.5...v3.4.6) (2025-01-24)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
## [3.4.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.4...v3.4.5) (2025-01-24)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
## [3.4.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.3...v3.4.4) (2025-01-24)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
## [3.4.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.2...v3.4.3) (2024-12-22)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
## [3.4.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.1...v3.4.2) (2024-12-22)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
## [3.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.0...v3.4.1) (2024-11-28)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
# [3.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.3.0...v3.4.0) (2024-11-18)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
# [3.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.1...v3.3.0) (2024-11-02)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1) (2024-10-22)
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
# [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0) (2024-10-22)
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
## [3.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1) (2024-10-12)
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
# [3.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.1...v3.1.0) (2024-10-12)
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
## [3.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.0...v3.0.1) (2024-10-05)
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
# [3.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.3.0...v3.0.0) (2024-10-05)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
# [2.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.2.0...v2.3.0) (2024-07-21)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
# [2.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.1...v2.2.0) (2024-06-26)
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1) (2024-05-26)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
# [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0) (2024-05-14)
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
## [2.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.2...v2.0.3) (2024-02-12)
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
## [2.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.0...v2.0.2) (2024-02-10)
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
# [2.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.1...v2.0.0) (2024-02-05)
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
## [1.9.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.0...v1.9.1) (2023-11-21)
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
# [1.9.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.2...v1.9.0) (2023-09-16)
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
## [1.8.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.1...v1.8.2) (2023-07-26)
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
## [1.8.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.0...v1.8.1) (2023-04-08)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
# [1.8.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.3...v1.8.0) (2023-01-29)
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
## [1.7.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.2...v1.7.3) (2023-01-05)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
## [1.7.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.1...v1.7.2) (2022-12-26)
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
## [1.7.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.0...v1.7.1) (2022-12-20)
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
# [1.7.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.1...v1.7.0) (2022-12-08)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
## [1.6.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.0...v1.6.1) (2022-10-19)
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
# [1.6.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.5.0...v1.6.0) (2022-10-18)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
# [1.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.1...v1.5.0) (2022-10-07)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
## [1.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.0...v1.4.1) (2022-08-27)
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
# [1.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.3.0...v1.4.0) (2022-08-20)
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
# [1.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.2.0...v1.3.0) (2022-06-25)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
# [1.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.2...v1.2.0) (2022-03-04)
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
## [1.1.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.1...v1.1.2) (2021-11-13)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
## [1.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.0...v1.1.1) (2021-11-02)
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
# [1.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.8...v1.1.0) (2021-10-27)
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
## [1.0.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.7...v1.0.8) (2021-09-30)
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
## [1.0.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.6...v1.0.7) (2021-09-25)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
## [1.0.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.5...v1.0.6) (2021-08-29)
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
## [1.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.4...v1.0.5) (2021-08-04)
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
## [1.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.3...v1.0.4) (2021-08-04)
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
## [1.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.2...v1.0.3) (2021-07-30)
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
## [1.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.1...v1.0.2) (2021-07-29)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
## [1.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.0...v1.0.1) (2021-07-29)
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
# [1.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.2.0...v1.0.0) (2021-01-21)
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
# [0.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.1.0...v0.2.0) (2020-11-05)
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
# [0.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.5...v0.1.0) (2020-10-28)
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
### Bug Fixes
|
|
344
|
-
|
|
345
|
-
* typo ([338044f](https://github.com/OpenWonderLabs/node-switchbot/commit/338044f3469788f76c189ba75be80518b1765107))
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
### Features
|
|
349
|
-
|
|
350
|
-
* Added support for running on the Raspberry Pi Zero W. ([017b244](https://github.com/OpenWonderLabs/node-switchbot/commit/017b244cfba178827b4a2504853cc013b7a6bc70))
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
## [0.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.4...v0.0.5) (2020-02-18)
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
## [0.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.3...v0.0.4) (2020-02-10)
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
## [0.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.2...v0.0.3) (2020-02-10)
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
## [0.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.1...v0.0.2) (2019-11-20)
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
## 0.0.1 (2019-11-20)
|
|
371
|
-
|
|
372
|
-
## [3.6.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.4...v3.6.5) (2026-02-19)
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
## [3.6.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.3...v3.6.4) (2026-02-18)
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
## [3.6.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.1...v3.6.3) (2026-02-05)
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.0...v3.5.1) (2025-07-25)
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
# [3.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.9...v3.5.0) (2025-03-05)
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
## [3.4.9](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.8...v3.4.9) (2025-01-24)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
## [3.4.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.7...v3.4.8) (2025-01-24)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
## [3.4.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.6...v3.4.7) (2025-01-24)
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
## [3.4.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.5...v3.4.6) (2025-01-24)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
## [3.4.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.4...v3.4.5) (2025-01-24)
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
## [3.4.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.3...v3.4.4) (2025-01-24)
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
## [3.4.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.2...v3.4.3) (2024-12-22)
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
## [3.4.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.1...v3.4.2) (2024-12-22)
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
## [3.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.0...v3.4.1) (2024-11-28)
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
# [3.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.3.0...v3.4.0) (2024-11-18)
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
# [3.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.1...v3.3.0) (2024-11-02)
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1) (2024-10-22)
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
# [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0) (2024-10-22)
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
## [3.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1) (2024-10-12)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
# [3.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.1...v3.1.0) (2024-10-12)
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
## [3.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.0...v3.0.1) (2024-10-05)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
# [3.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.3.0...v3.0.0) (2024-10-05)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
# [2.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.2.0...v2.3.0) (2024-07-21)
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
# [2.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.1...v2.2.0) (2024-06-26)
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1) (2024-05-26)
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
# [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0) (2024-05-14)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
## [2.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.2...v2.0.3) (2024-02-12)
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
## [2.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.0...v2.0.2) (2024-02-10)
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
# [2.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.1...v2.0.0) (2024-02-05)
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
## [1.9.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.0...v1.9.1) (2023-11-21)
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
# [1.9.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.2...v1.9.0) (2023-09-16)
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
## [1.8.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.1...v1.8.2) (2023-07-26)
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
## [1.8.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.0...v1.8.1) (2023-04-08)
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
# [1.8.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.3...v1.8.0) (2023-01-29)
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
## [1.7.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.2...v1.7.3) (2023-01-05)
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
## [1.7.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.1...v1.7.2) (2022-12-26)
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
## [1.7.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.0...v1.7.1) (2022-12-20)
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
# [1.7.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.1...v1.7.0) (2022-12-08)
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
## [1.6.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.0...v1.6.1) (2022-10-19)
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
# [1.6.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.5.0...v1.6.0) (2022-10-18)
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
# [1.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.1...v1.5.0) (2022-10-07)
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
## [1.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.0...v1.4.1) (2022-08-27)
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
# [1.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.3.0...v1.4.0) (2022-08-20)
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
# [1.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.2.0...v1.3.0) (2022-06-25)
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
# [1.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.2...v1.2.0) (2022-03-04)
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
## [1.1.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.1...v1.1.2) (2021-11-13)
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
## [1.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.0...v1.1.1) (2021-11-02)
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
# [1.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.8...v1.1.0) (2021-10-27)
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
## [1.0.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.7...v1.0.8) (2021-09-30)
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
## [1.0.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.6...v1.0.7) (2021-09-25)
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
## [1.0.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.5...v1.0.6) (2021-08-29)
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
## [1.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.4...v1.0.5) (2021-08-04)
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
## [1.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.3...v1.0.4) (2021-08-04)
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
## [1.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.2...v1.0.3) (2021-07-30)
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
## [1.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.1...v1.0.2) (2021-07-29)
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
## [1.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.0...v1.0.1) (2021-07-29)
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
# [1.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.2.0...v1.0.0) (2021-01-21)
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
# [0.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.1.0...v0.2.0) (2020-11-05)
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
# [0.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.5...v0.1.0) (2020-10-28)
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
### Bug Fixes
|
|
608
|
-
|
|
609
|
-
* typo ([338044f](https://github.com/OpenWonderLabs/node-switchbot/commit/338044f3469788f76c189ba75be80518b1765107))
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
### Features
|
|
613
|
-
|
|
614
|
-
* Added support for running on the Raspberry Pi Zero W. ([017b244](https://github.com/OpenWonderLabs/node-switchbot/commit/017b244cfba178827b4a2504853cc013b7a6bc70))
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
## [0.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.4...v0.0.5) (2020-02-18)
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
## [0.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.3...v0.0.4) (2020-02-10)
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
## [0.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.2...v0.0.3) (2020-02-10)
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
## [0.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.1...v0.0.2) (2019-11-20)
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
## 0.0.1 (2019-11-20)
|
|
635
|
-
|
|
636
|
-
## [3.6.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.4...v3.6.5) (2026-02-19)
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
## [3.6.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.3...v3.6.4) (2026-02-18)
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
## [3.6.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.1...v3.6.3) (2026-02-05)
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.0...v3.5.1) (2025-07-25)
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
# [3.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.9...v3.5.0) (2025-03-05)
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
## [3.4.9](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.8...v3.4.9) (2025-01-24)
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
## [3.4.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.7...v3.4.8) (2025-01-24)
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
## [3.4.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.6...v3.4.7) (2025-01-24)
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
## [3.4.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.5...v3.4.6) (2025-01-24)
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
## [3.4.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.4...v3.4.5) (2025-01-24)
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
## [3.4.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.3...v3.4.4) (2025-01-24)
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
## [3.4.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.2...v3.4.3) (2024-12-22)
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
## [3.4.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.1...v3.4.2) (2024-12-22)
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
## [3.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.0...v3.4.1) (2024-11-28)
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
# [3.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.3.0...v3.4.0) (2024-11-18)
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
# [3.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.1...v3.3.0) (2024-11-02)
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1) (2024-10-22)
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
# [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0) (2024-10-22)
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
## [3.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1) (2024-10-12)
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
# [3.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.1...v3.1.0) (2024-10-12)
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
## [3.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.0...v3.0.1) (2024-10-05)
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
# [3.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.3.0...v3.0.0) (2024-10-05)
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
# [2.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.2.0...v2.3.0) (2024-07-21)
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
# [2.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.1...v2.2.0) (2024-06-26)
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1) (2024-05-26)
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
# [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0) (2024-05-14)
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
## [2.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.2...v2.0.3) (2024-02-12)
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
## [2.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.0...v2.0.2) (2024-02-10)
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
# [2.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.1...v2.0.0) (2024-02-05)
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
## [1.9.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.0...v1.9.1) (2023-11-21)
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
# [1.9.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.2...v1.9.0) (2023-09-16)
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
## [1.8.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.1...v1.8.2) (2023-07-26)
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
## [1.8.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.0...v1.8.1) (2023-04-08)
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
# [1.8.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.3...v1.8.0) (2023-01-29)
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
## [1.7.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.2...v1.7.3) (2023-01-05)
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
## [1.7.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.1...v1.7.2) (2022-12-26)
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
## [1.7.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.0...v1.7.1) (2022-12-20)
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
# [1.7.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.1...v1.7.0) (2022-12-08)
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
## [1.6.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.0...v1.6.1) (2022-10-19)
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
# [1.6.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.5.0...v1.6.0) (2022-10-18)
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
# [1.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.1...v1.5.0) (2022-10-07)
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
## [1.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.0...v1.4.1) (2022-08-27)
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
# [1.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.3.0...v1.4.0) (2022-08-20)
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
# [1.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.2.0...v1.3.0) (2022-06-25)
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
# [1.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.2...v1.2.0) (2022-03-04)
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
## [1.1.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.1...v1.1.2) (2021-11-13)
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
## [1.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.0...v1.1.1) (2021-11-02)
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
# [1.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.8...v1.1.0) (2021-10-27)
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
## [1.0.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.7...v1.0.8) (2021-09-30)
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
## [1.0.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.6...v1.0.7) (2021-09-25)
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
## [1.0.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.5...v1.0.6) (2021-08-29)
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
## [1.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.4...v1.0.5) (2021-08-04)
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
## [1.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.3...v1.0.4) (2021-08-04)
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
## [1.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.2...v1.0.3) (2021-07-30)
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
## [1.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.1...v1.0.2) (2021-07-29)
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
## [1.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.0...v1.0.1) (2021-07-29)
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
# [1.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.2.0...v1.0.0) (2021-01-21)
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
# [0.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.1.0...v0.2.0) (2020-11-05)
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
# [0.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.5...v0.1.0) (2020-10-28)
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
### Bug Fixes
|
|
872
|
-
|
|
873
|
-
* typo ([338044f](https://github.com/OpenWonderLabs/node-switchbot/commit/338044f3469788f76c189ba75be80518b1765107))
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
### Features
|
|
877
|
-
|
|
878
|
-
* Added support for running on the Raspberry Pi Zero W. ([017b244](https://github.com/OpenWonderLabs/node-switchbot/commit/017b244cfba178827b4a2504853cc013b7a6bc70))
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
## [0.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.4...v0.0.5) (2020-02-18)
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
## [0.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.3...v0.0.4) (2020-02-10)
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
## [0.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.2...v0.0.3) (2020-02-10)
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
## [0.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.1...v0.0.2) (2019-11-20)
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
## 0.0.1 (2019-11-20)
|
|
899
|
-
|
|
900
|
-
## [3.6.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.3...v3.6.4) (2026-02-18)
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
## [3.6.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.1...v3.6.3) (2026-02-05)
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
## [3.5.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.5.0...v3.5.1) (2025-07-25)
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
# [3.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.9...v3.5.0) (2025-03-05)
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
## [3.4.9](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.8...v3.4.9) (2025-01-24)
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
## [3.4.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.7...v3.4.8) (2025-01-24)
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
## [3.4.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.6...v3.4.7) (2025-01-24)
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
## [3.4.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.5...v3.4.6) (2025-01-24)
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
## [3.4.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.4...v3.4.5) (2025-01-24)
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
## [3.4.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.3...v3.4.4) (2025-01-24)
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
## [3.4.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.2...v3.4.3) (2024-12-22)
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
## [3.4.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.1...v3.4.2) (2024-12-22)
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
## [3.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.0...v3.4.1) (2024-11-28)
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
# [3.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.3.0...v3.4.0) (2024-11-18)
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
# [3.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.1...v3.3.0) (2024-11-02)
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1) (2024-10-22)
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
# [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0) (2024-10-22)
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
## [3.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1) (2024-10-12)
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
# [3.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.1...v3.1.0) (2024-10-12)
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
## [3.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.0...v3.0.1) (2024-10-05)
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
# [3.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.3.0...v3.0.0) (2024-10-05)
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
# [2.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.2.0...v2.3.0) (2024-07-21)
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
# [2.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.1...v2.2.0) (2024-06-26)
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1) (2024-05-26)
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
# [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0) (2024-05-14)
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
## [2.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.2...v2.0.3) (2024-02-12)
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
## [2.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.0...v2.0.2) (2024-02-10)
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
# [2.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.1...v2.0.0) (2024-02-05)
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
## [1.9.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.0...v1.9.1) (2023-11-21)
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
# [1.9.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.2...v1.9.0) (2023-09-16)
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
## [1.8.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.1...v1.8.2) (2023-07-26)
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
## [1.8.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.0...v1.8.1) (2023-04-08)
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
# [1.8.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.3...v1.8.0) (2023-01-29)
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
## [1.7.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.2...v1.7.3) (2023-01-05)
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
## [1.7.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.1...v1.7.2) (2022-12-26)
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
## [1.7.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.0...v1.7.1) (2022-12-20)
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
# [1.7.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.1...v1.7.0) (2022-12-08)
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
## [1.6.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.0...v1.6.1) (2022-10-19)
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
# [1.6.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.5.0...v1.6.0) (2022-10-18)
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
# [1.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.1...v1.5.0) (2022-10-07)
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
## [1.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.0...v1.4.1) (2022-08-27)
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
# [1.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.3.0...v1.4.0) (2022-08-20)
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
# [1.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.2.0...v1.3.0) (2022-06-25)
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
# [1.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.2...v1.2.0) (2022-03-04)
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
## [1.1.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.1...v1.1.2) (2021-11-13)
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
## [1.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.0...v1.1.1) (2021-11-02)
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
# [1.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.8...v1.1.0) (2021-10-27)
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
## [1.0.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.7...v1.0.8) (2021-09-30)
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
## [1.0.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.6...v1.0.7) (2021-09-25)
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
## [1.0.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.5...v1.0.6) (2021-08-29)
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
## [1.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.4...v1.0.5) (2021-08-04)
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
## [1.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.3...v1.0.4) (2021-08-04)
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
## [1.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.2...v1.0.3) (2021-07-30)
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
## [1.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.1...v1.0.2) (2021-07-29)
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
## [1.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.0...v1.0.1) (2021-07-29)
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
# [1.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.2.0...v1.0.0) (2021-01-21)
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
# [0.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.1.0...v0.2.0) (2020-11-05)
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
# [0.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.5...v0.1.0) (2020-10-28)
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
### Bug Fixes
|
|
1132
|
-
|
|
1133
|
-
* typo ([338044f](https://github.com/OpenWonderLabs/node-switchbot/commit/338044f3469788f76c189ba75be80518b1765107))
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
1134
8
|
|
|
9
|
+
* Complete rewrite with unified hybrid BLE/API architecture
|
|
10
|
+
* No backward compatibility with v3.x - migration required
|
|
11
|
+
* Single `SwitchBot` class replaces `SwitchBotBLE` and `SwitchBotOpenAPI`
|
|
12
|
+
* Device access via `switchbot.devices` manager pattern
|
|
13
|
+
* Full TypeScript rewrite with comprehensive type definitions
|
|
1135
14
|
|
|
1136
15
|
### Features
|
|
1137
16
|
|
|
1138
|
-
*
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
# [3.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.9...v3.5.0) (2025-03-05)
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
## [3.4.9](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.8...v3.4.9) (2025-01-24)
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
## [3.4.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.7...v3.4.8) (2025-01-24)
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
## [3.4.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.6...v3.4.7) (2025-01-24)
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
## [3.4.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.5...v3.4.6) (2025-01-24)
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
## [3.4.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.4...v3.4.5) (2025-01-24)
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
## [3.4.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.3...v3.4.4) (2025-01-24)
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
## [3.4.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.2...v3.4.3) (2024-12-22)
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
## [3.4.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.1...v3.4.2) (2024-12-22)
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
## [3.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.0...v3.4.1) (2024-11-28)
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
# [3.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.3.0...v3.4.0) (2024-11-18)
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
# [3.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.1...v3.3.0) (2024-11-02)
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
## [3.2.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1) (2024-10-22)
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
# [3.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0) (2024-10-22)
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
## [3.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1) (2024-10-12)
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
# [3.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.1...v3.1.0) (2024-10-12)
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
## [3.0.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.0...v3.0.1) (2024-10-05)
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
# [3.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.3.0...v3.0.0) (2024-10-05)
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
# [2.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.2.0...v2.3.0) (2024-07-21)
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
# [2.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.1...v2.2.0) (2024-06-26)
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1) (2024-05-26)
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
# [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0) (2024-05-14)
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
## [2.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.2...v2.0.3) (2024-02-12)
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
## [2.0.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.0...v2.0.2) (2024-02-10)
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
# [2.0.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.1...v2.0.0) (2024-02-05)
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
## [1.9.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.0...v1.9.1) (2023-11-21)
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
# [1.9.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.2...v1.9.0) (2023-09-16)
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
## [1.8.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.1...v1.8.2) (2023-07-26)
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
## [1.8.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.0...v1.8.1) (2023-04-08)
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
# [1.8.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.3...v1.8.0) (2023-01-29)
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
## [1.7.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.2...v1.7.3) (2023-01-05)
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
## [1.7.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.1...v1.7.2) (2022-12-26)
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
## [1.7.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.0...v1.7.1) (2022-12-20)
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
# [1.7.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.1...v1.7.0) (2022-12-08)
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
## [1.6.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.0...v1.6.1) (2022-10-19)
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
# [1.6.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.5.0...v1.6.0) (2022-10-18)
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
# [1.5.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.1...v1.5.0) (2022-10-07)
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
## [1.4.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.0...v1.4.1) (2022-08-27)
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
# [1.4.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.3.0...v1.4.0) (2022-08-20)
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
# [1.3.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.2.0...v1.3.0) (2022-06-25)
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
# [1.2.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.2...v1.2.0) (2022-03-04)
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
## [1.1.2](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.1...v1.1.2) (2021-11-13)
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
## [1.1.1](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.0...v1.1.1) (2021-11-02)
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
# [1.1.0](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.8...v1.1.0) (2021-10-27)
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
## [1.0.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.7...v1.0.8) (2021-09-30)
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
## [1.0.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.6...v1.0.7) (2021-09-25)
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
## [1.0.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.5...v1.0.6) (2021-08-29)
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
## [1.0.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.4...v1.0.5) (2021-08-04)
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
## [1.0.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.3...v1.0.4) (2021-08-04)
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
## [1.0.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.2...v1.0.3) (2021-07-30)
|
|
17
|
+
* **Hybrid Architecture**: Unified BLE-first approach with automatic OpenAPI fallback
|
|
18
|
+
* **Automatic Discovery**: Combined BLE + OpenAPI device discovery in single call
|
|
19
|
+
* **Smart Fallback**: Commands automatically retry via API when BLE fails
|
|
20
|
+
* **Device Manager**: Centralized device management with `get()`, `list()`, and `clear()` methods
|
|
21
|
+
* **Expanded Device Coverage**: Added support and parsing updates across newly modeled devices and accessories in the v4 architecture.
|
|
22
|
+
* **macOS BLE Support**: Enabled BLE functionality on macOS in addition to Linux
|
|
23
|
+
* Platform detection now includes macOS (`darwin`) using `@stoprocent/noble`
|
|
24
|
+
* BLE now works on Linux and macOS systems
|
|
25
|
+
* Windows remains unsupported for BLE operations
|
|
26
|
+
* **Bot Password Protection**: Added BLE password support for Bot (`WoHand`) devices
|
|
27
|
+
* Password encryption using CRC32 checksums
|
|
28
|
+
* Password validation for 4 alphanumeric characters, case-sensitive
|
|
29
|
+
* Methods: `setPassword()`, `clearPassword()`, `hasPassword()`
|
|
30
|
+
* Automatic encrypted command execution when password is set
|
|
31
|
+
* Example: `examples/bot-password.js`
|
|
32
|
+
* Based on [homebridge-switchbot PR #1337](https://github.com/OpenWonderLabs/homebridge-switchbot/pull/1337)
|
|
33
|
+
* **Advanced Resilience Features**: Enterprise-grade reliability enhancements
|
|
34
|
+
* Retry logic with exponential backoff and jitter
|
|
35
|
+
* Circuit breaker pattern to prevent cascading failures
|
|
36
|
+
* Connection intelligence tracking per-device success and failure rates
|
|
37
|
+
* Custom fallback handler system for logging, metrics, and alerting
|
|
38
|
+
* Intelligent connection selection based on historical performance
|
|
39
|
+
* **Event-Driven**: EventEmitter-based architecture for discovery and command events
|
|
40
|
+
* **TypeScript Native**: Written in TypeScript with full type safety and exports
|
|
41
|
+
* **Custom Errors**: Specific error classes for better error handling
|
|
42
|
+
* **BLE-Only Mode**: Works without OpenAPI credentials on Linux/macOS systems
|
|
43
|
+
* **API-Only Mode**: Works without BLE on Windows systems
|
|
44
|
+
* **Exports and API Surface Updates**: Updated `src/index.ts` exports for final v4 public API packaging.
|
|
45
|
+
* **Comprehensive Examples**: Updated and aligned example files for v4 usage patterns.
|
|
1365
46
|
|
|
47
|
+
### Technical Improvements
|
|
1366
48
|
|
|
49
|
+
* Complete ES2022 module implementation
|
|
50
|
+
* Improved error handling with custom error classes
|
|
51
|
+
* Better connection management and timeout handling
|
|
52
|
+
* Enhanced logging with configurable log levels
|
|
53
|
+
* Hardened dependency graph with security overrides for vulnerable transitive packages
|
|
54
|
+
* Full JSDoc documentation coverage
|
|
55
|
+
* Comprehensive TypeScript type definitions for all devices
|
|
56
|
+
* Reworked test suite structure and coverage for APIs, devices, and utilities
|
|
57
|
+
* Auto-formatting and linting with @antfu/eslint-config
|
|
1367
58
|
|
|
1368
|
-
|
|
59
|
+
### Documentation
|
|
1369
60
|
|
|
61
|
+
* Updated README with v4 quick start and migration guide
|
|
62
|
+
* 6 usage examples in `examples/` directory
|
|
63
|
+
* Migration guide from v3.x to v4.0.0
|
|
64
|
+
* Added password protection section to [BLE.md](BLE.md)
|
|
65
|
+
* Updated [README.md](README.md) with password examples
|
|
66
|
+
* Created comprehensive password protection example
|
|
67
|
+
* Updated examples index with `bot-password.js`
|
|
68
|
+
* Updated platform support documentation to reflect macOS BLE support
|
|
69
|
+
* Updated Linux-only references to Linux/macOS where applicable
|
|
70
|
+
* Added comprehensive prerequisites guidance for BLE setup on macOS and Linux
|
|
71
|
+
* macOS: Xcode and Bluetooth permissions requirements
|
|
72
|
+
* Linux: system packages, non-root setup, and Raspberry Pi notes
|
|
73
|
+
* Based on [@stoprocent/noble prerequisites](https://github.com/stoprocent/noble?tab=readme-ov-file#prerequisites)
|
|
74
|
+
* Full API documentation via TypeDoc
|
|
1370
75
|
|
|
76
|
+
### Tests
|
|
1371
77
|
|
|
1372
|
-
|
|
78
|
+
* Added 14 comprehensive password protection tests
|
|
79
|
+
* Validation for CRC32 encryption, command building, and response parsing
|
|
80
|
+
* Extended fallback and retry behavior coverage across BLE/API paths
|
|
81
|
+
* 58 test files and 243 passing tests at release validation
|
|
1373
82
|
|
|
83
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.8...v4.0.0
|
|
1374
84
|
|
|
85
|
+
## [3.6.8](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.7...v3.6.8) (2026-03-05)
|
|
1375
86
|
|
|
1376
|
-
|
|
87
|
+
### Changes
|
|
1377
88
|
|
|
89
|
+
* Fix BLE parsing and device registration flow for `WoAirPurifier` and `WoAirPurifierTable`.
|
|
90
|
+
* Improve service data fallback handling and mode mapping for Air Purifier family devices.
|
|
1378
91
|
|
|
92
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.7...v3.6.8
|
|
1379
93
|
|
|
1380
|
-
|
|
94
|
+
## [3.6.7](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.6...v3.6.7) (2026-03-05)
|
|
1381
95
|
|
|
96
|
+
### Changes
|
|
1382
97
|
|
|
98
|
+
* Fix `WoPlugMiniUS` `TypeError` in device handling and command flow.
|
|
1383
99
|
|
|
1384
|
-
|
|
100
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.6...v3.6.7
|
|
1385
101
|
|
|
102
|
+
## [3.6.6](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.5...v3.6.6) (2026-02-25)
|
|
1386
103
|
|
|
1387
104
|
### Bug Fixes
|
|
1388
105
|
|
|
1389
|
-
*
|
|
1390
|
-
|
|
106
|
+
* sync package-lock.json with @stoprocent/noble@^2.3.14 ([#324](https://github.com/OpenWonderLabs/node-switchbot/issues/324)) ([0670987](https://github.com/OpenWonderLabs/node-switchbot/commit/06709876ab1bb4adc244507863f1b25b786b87f2))
|
|
1391
107
|
|
|
1392
108
|
### Features
|
|
1393
109
|
|
|
1394
|
-
*
|
|
1395
|
-
|
|
1396
|
-
|
|
110
|
+
* Add Plug Mini (EU) support ([#325](https://github.com/OpenWonderLabs/node-switchbot/issues/325)) ([1eb8d2e](https://github.com/OpenWonderLabs/node-switchbot/commit/1eb8d2e572e211482105c2563a736bdfabeb50be))
|
|
1397
111
|
|
|
1398
|
-
|
|
112
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.5...v3.6.6
|
|
1399
113
|
|
|
114
|
+
## [3.6.5](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.4...v3.6.5) (2026-02-19)
|
|
1400
115
|
|
|
116
|
+
### Changes
|
|
1401
117
|
|
|
1402
|
-
|
|
118
|
+
* Bump `@stoprocent/noble` to `2.3.14` for BLE stability and compatibility updates.
|
|
1403
119
|
|
|
120
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.4...v3.6.5
|
|
1404
121
|
|
|
122
|
+
## [3.6.4](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.3...v3.6.4) (2026-02-18)
|
|
1405
123
|
|
|
1406
|
-
|
|
124
|
+
### Changes
|
|
1407
125
|
|
|
126
|
+
* Fix BLE parsing for Air Purifier PM2.5 service data.
|
|
1408
127
|
|
|
128
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.3...v3.6.4
|
|
1409
129
|
|
|
1410
|
-
## [
|
|
130
|
+
## [3.6.3](https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.2...v3.6.3) (2026-02-05)
|
|
1411
131
|
|
|
132
|
+
### Changes
|
|
1412
133
|
|
|
134
|
+
* Add Lock Ultra device support.
|
|
1413
135
|
|
|
1414
|
-
|
|
136
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.6.2...v3.6.3
|
|
1415
137
|
|
|
1416
138
|
## [3.6.2](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v3.6.2) (2025-12-18)
|
|
1417
139
|
|
|
@@ -1653,7 +375,6 @@ All notable changes to this project will be documented in this file. This projec
|
|
|
1653
375
|
- Add SwitchBot Lock Support [#232](https://github.com/OpenWonderLabs/node-switchbot/pull/232), Thanks [@brozef](https://github.com/brozef)
|
|
1654
376
|
- Fix TypeScript issues & warnings [#239](https://github.com/OpenWonderLabs/node-switchbot/pull/239) [#240](https://github.com/OpenWonderLabs/node-switchbot/pull/240) [#241](https://github.com/OpenWonderLabs/node-switchbot/pull/241), Thanks [@dnicolson](https://github.com/dnicolson)
|
|
1655
377
|
- Update Noble [#242](https://github.com/OpenWonderLabs/node-switchbot/pull/242), Thanks [@dnicolson](https://github.com/dnicolson)
|
|
1656
|
-
dnicolson
|
|
1657
378
|
- Housekeeping and update dependencies
|
|
1658
379
|
|
|
1659
380
|
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0
|
|
@@ -1993,8 +714,12 @@ dnicolson
|
|
|
1993
714
|
|
|
1994
715
|
- First public release
|
|
1995
716
|
|
|
717
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.1...v0.0.2
|
|
718
|
+
|
|
1996
719
|
## [0.0.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.0.1) (2019-11-20)
|
|
1997
720
|
|
|
1998
721
|
### What's Changed
|
|
1999
722
|
|
|
2000
723
|
- Initial commit
|
|
724
|
+
|
|
725
|
+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.0.1
|