All notable changes to this project will be documented in this file. This project uses Semantic Versioning
3.4.9 (2025-01-24)
- Add BLE comands for Relay Switch 1 && Relay Switch 1 PM, not yet functional
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.8...v3.4.9
3.4.8 (2025-01-24)
- Add exports for Relay Switch 1 && Relay Switch 1 PM
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.7...v3.4.8
3.4.7 (2025-01-24)
- Add Types for Relay Switch 1 && Relay Switch 1 PM
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.6...v3.4.7
3.4.6 (2025-01-24)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.5...v3.4.6
3.4.5 (2025-01-23)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.4...v3.4.5
3.4.4 (2025-01-23)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.3...v3.4.4
3.4.3 (2024-12-22)
- Fixed
getDeviceStatus
foropenAPI
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.2...v3.4.3
3.4.2 (2024-12-21)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.1...v3.4.2
3.4.1 (2024-11-27)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.4.0...v3.4.1
3.4.0 (2024-11-18)
- Add RelaySwitch1PM and RealySwitch1PLus Devices
- Handle no devices found #272, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.3.0...v3.4.0
3.3.0 (2024-11-02)
- Add Water Leak Decector Support
- Add initial support for the Keypad Touch
- Fix timeout error handling #268, Thanks @dnicolson
- Fix characteristic notification #267, Thanks @dnicolson
- Change scanning log level #266, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.1...v3.3.0
3.2.1 (2024-10-21)
- Add more Meter Pro types
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.2.0...v3.2.1
3.2.0 (2024-10-21)
- Add basic support for Meter Pro
- Fix Noble import issue
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.1...v3.2.0
3.1.1 (2024-10-11)
- Fix
K10Pro
Type,Property 'K10Pro' does not exist on type 'typeof SwitchBotModel'
.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.1.0...v3.1.1
3.1.0 (2024-10-11)
- Added support for emitting logs from this module from the
SwitchBotBLE
class. - Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.1...v3.1.0
3.0.1 (2024-10-05)
- Hot Fix for
baseURL
which is used for sendingOpenAPI
commands - Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v3.0.0...v3.0.1
3.0.0 (2024-10-05)
- Have added OpenAPI Functionality into
node-switchbot
, so now it is able to handle both APIs with just one module.- There are now two different Classes
SwitchBotBLE
andSwitchBotOpenAPI
that can be used interact with the two different APIsSwitchBotOpenApi
support emitting logs from this module.- You will need to update your current setup from
SwitchBot
toSwitchBotBLE
to be able to interact with the BLE API
- There are now two different Classes
- Updated the documents to explain both the
BLE
and theOpenAPI
Functionality withinnode-switchbot
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.4.0...v3.0.0
2.4.0 (2024-09-13)
- Added
celsius
andfahrenheit
as based values sent for Sensors - Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.3.0...v2.4.0
2.3.0 (2024-07-21)
- Added
humidity
value based ofpercentage
for Humidifiers - Updated SwitchBot Lock Pro
manufacturerData
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.2.0...v2.3.0
2.2.0 (2024-06-25)
- Add Model Friendly Name for each deviceType
- Add SwitchBot Hub 2 Support
- Add basic support for SwitchBot Lock Pro
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.1...v2.2.0
2.1.1 (2024-05-26)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1
2.1.0 (2024-05-14)
- Add SwitchBot Lock Support #232, Thanks @brozef
- Fix TypeScript issues & warnings #239 #240 #241, Thanks @dnicolson
- Update Noble #242, Thanks @dnicolson dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.3...v2.1.0
2.0.3 (2024-02-11)
- Add some TypeScript types #228, Thanks @dnicolson
- Remove Buffer import #229, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.2...v2.0.3
2.0.2 (2024-02-09)
- Fix various 2.0.0 issues #224, Thanks @dnicolson
- Code Cleanup #225 #226, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.1...v2.0.2
2.0.1 (2024-02-06)
- Fix async constructor #220, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.0.0...v2.0.1
2.0.0 (2024-02-05)
- Rewrite into Typescript and Convert CommonJS to ES Module
- Fix Linting #216, Thanks @dnicolson
- Code Cleaup #217, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.10.0...v2.0.0
1.10.0 (2024-01-05)
- Fix reversed bot state reporting #207, Thanks @grelca
- Add support for Curtain 3 #209, Thanks @tsia
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.1...v1.10.0
1.9.1 (2023-11-02)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.9.0...v1.9.1
1.9.0 (2023-09-16)
- Add support for the Indoor/Outdoor Thermo-Hygrometer (WoIOSensorTH) #200, Thanks @moritzmhmk
- Handle noble not being "poweredOn" on init #199, Thanks @moritzmhmk
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.2...v1.9.0
1.8.2 (2023-07-25)
- Added Lint Script #195, Thanks @dnicolson
- Fixed a Linting Issues #196, Thanks @dnicolson
- Fixed 'TypeError: Assignment to constant variable' #194, Thanks @banboobee
- Fix issue of re-assigning to constant for Temperature #191, Thanks @gravity-addiction
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.1...v1.8.2
1.8.1 (2023-04-08)
- Use const keyword for immutable variables #184, Thanks @dnicolson
- Use Error object for promise rejection #181, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.8.0...v1.8.1
1.8.0 (2023-01-28)
- Add Support for BlindTilt (Read Only)
- Use Error object for promise rejection #181, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.3...v1.8.0
1.7.3 (2023-01-05)
- Improve error handling #175, Thanks @dnicolson
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.2...v1.7.3
1.7.2 (2022-12-26)
- Fix for @abandonware/nobles breaking changes that cause:
TypeError: this.noble.once is not a function
.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.1...v1.7.2
1.7.1 (2022-12-20)
- Fix for @abandonware/nobles breaking changes that cause:
TypeError: this.noble.once is not a function
.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.7.0...v1.7.1
1.7.0 (2022-12-08)
- Add Read-only Support for Smart Lock.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.1...v1.7.0
1.6.1 (2022-10-18)
- Fixed Issue where node-switchbot wouldn't be found.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.6.0...v1.6.1
1.6.0 (2022-10-18)
- Added Support for Pushing Changes to Color Bulb & Strip Light
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.5.0...v1.6.0
1.5.0 (2022-10-07)
- Added Support for receiving status updates from Color Bulb & Strip Light
- Fixed issue that caused excessive logging.
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.1...v1.5.0
1.4.1 (2022-08-27)
- Fix Plug Mini (US) implementation
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.4.0...v1.4.1
1.4.0 (2022-08-19)
- Added support for Plug Mini (j) & (g)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.3.0...v1.4.0
1.3.0 (2022-06-25)
- Added more Device Types, not all supported though.
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.2.0...v1.3.0
1.2.0 (2022-03-04)
- Added support for SwitchBot "Contact" and "Motion"
- Fix for Curtains on Firmware v3.3 and above
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.2...v1.2.0
1.1.2 (2021-11-13)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.1...v1.1.2
1.1.1 (2021-11-02)
- Change back from @node/noble to @abandonware/noble
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.1.0...v1.1.1
1.1.0 (2021-10-26)
- Add Contact/Motion Sensor advertisement
- Add Humidifier advertisement
- Correct Model for advertisement
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.8...v1.1.0
1.0.8 (2021-09-30)
- fix extra trace of old noble from @abandonware/noble
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.7...v1.0.8
1.0.7 (2021-09-24)
- Change from @abandonware/noble to @homebridge/noble
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.6...v1.0.7
1.0.6 (2021-08-29)
- Fixes FATAL ERROR: ad_id is not defined
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.5...v1.0.6
1.0.5 (2021-08-04)
- Adding code for Contact and Motion Sensors
- Not Ready to be used yet though
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.4...v1.0.5
1.0.4 (2021-08-03)
- Support for the discover method with id on macOS
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.3...v1.0.4
1.0.3 (2021-07-30)
- Fixed misspelling.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.2...v1.0.3
1.0.2 (2021-07-29)
- Housekeeping and update dependencies
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.1...v1.0.2
1.0.1 (2021-07-29)
- Fixed issue where after switching Bluetooth off and on, would not work properly.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v1.0.0...v1.0.1
1.0.0 (2021-01-21)
-
- fix "No device was found" in MacOS
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.2.0...v1.0.0
0.2.0 (2020-11-05)
- Modify Curtain's action command to support group and running mode #7, Thanks @SwitchBot-Wonderlabs
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.1.0...v0.2.0
0.1.0 (2020-10-28)
- Added support for SwitchBot Curtain #6, Thanks @SwitchBot-Wonderlabs
- Added support for running on the Raspberry Pi Zero W #5, Thanks @Szizi4n5
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.5...v0.1.0
0.0.5 (2020-02-19)
- Improved the stability of discovering the BLE characteristics #3, Thanks @dnicolson
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.4...v0.0.5
0.0.4 (2020-02-11)
- Fixed the bug that temperature value lower than 0 degC could not be handled #2, Thanks @musimasami
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.3...v0.0.4
0.0.3 (2020-02-10)
- Now the characteristic UUID
0x2a00
(Device Name) is not mandatory. Some models of Bot don't seem to support the characteristic #3, Thanks @dnicolson - Fixed the bug that the
turnOn()
method returns an error if the "Press mode" is selected on the Bot.
Full Changelog: https://github.com/OpenWonderLabs/node-switchbot/compare/v0.0.2...v0.0.3
0.0.2 (2019-11-20)
- First public release
0.0.1 (2019-11-20)
- Initial commit