All notable changes to this project will be documented in this file. This project uses Semantic Versioning
Version 2.5.1 (2023-01-28)
- Fix Blind Tilt Config.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.5.0....v2.5.1
Version 2.5.0 (2023-01-28)
- Add Intial Support for Blind Tilt (OpenAPI Only), Thanks @AndreasVerhoeven. #649 @dnicolson
- Remove incorrect warning message, Thanks @dnicolson. #661
- Replace switchbot wait with utility function, Thanks @dnicolson. #633
- Enhancements to BLE functionality
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.4.0....v2.5.0
Version 2.4.0 (2022-12-27)
- Added a new
Bot
Device TypeMulti-Press
, Thanks @alvst. #628 - Added
maxRetry
option forCurtain
,Celing Light
,Celing Light Pro
,Plug
,Plug Mini (US)
,Plug Mini (JP)
,Robot Vacuum Cleaner S1 Plus
,Robot Vacuum Cleaner S1
,Color Bulb
, andStrip Light
Device Types, Thanks @dnicolson. #631 - Fix max retry option for
Bot
,Curtain
,Celing Light
,Celing Light Pro
,Plug
,Plug Mini (US)
,Plug Mini (JP)
,Robot Vacuum Cleaner S1 Plus
,Robot Vacuum Cleaner S1
,Color Bulb
, andStrip Light
Device Types, Thanks @dnicolson. #630 - Moved
maxRetry
option fromBot
level to overallconfigDeviceType
level.- If you had this set for your
Bot
you will have to update this config.
- If you had this set for your
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.3.2....v2.4.0
Version 2.3.2 (2022-12-16)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.3.1....v2.3.2
Version 2.3.1 (2022-12-11)
- Fixed TypeError: Cannot read properties of undefined (reading 'setCharacteristic'). #610
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.3.0....v2.3.1
Version 2.3.0 (2022-12-08)
- Added Support for SwitchBot Robot Vacuum Cleaner S1 & SwitchBot Robot Vacuum Cleaner S1 Plus
- Add Read-only BLE Support for Smart Lock.
- Added
disablePushDetail
config to IR Air Conditioners. - Fixed issue where Meter did not parsing temperature. #571
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.2.2....v2.3.0
Version 2.2.2 (2022-10-22)
- Changed from
allowPushOn
andallowPushOff
configs todisablePushOn
anddisablePushOff
config, so default is to push changes.- Removed
disable_power
config in favor ofdisablePushOn
anddisablePushOff
config settings.
- Removed
- Fixed Issue where IR Devices commands wouldn't send commands. #551, #553, #545
- Issue where plugin would continue to crash homebridge. #547
- Fix for node-switchbot showing not installed.
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.2.1....v2.2.2
Version 2.2.1 (2022-10-18)
- Fix for node-switchbot showing not installed.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.2.0...v2.2.1
Version 2.2.0 (2022-10-18)
- Moved Air Conditioner config
PushOn
to be an overal IR Device config ofallowPushOn
andallowPushOff
. - Fixed Issue where Brightness characteristic received "NaN". #518
- Fixed Issue where IR TVs would not default to External Device. #520
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.1.2...v2.2.0
Version 2.1.2 (2022-10-14)
- Fix issue with IR Devices not having a default
ConnectionType
. #527 - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.1.1...v2.1.2
Version 2.1.1 (2022-10-14)
- Fixed issue were
CustomOff
would send incorrect commands. Also Resolves #409. - Fixed issue were IR Commands were not sent from IR Devices, Thanks @jonzhan. #520
- Fixed issue with Curtain not refreshing moving status. #517
- Fix issue with IR Devices not having a default
ConnectionType
. #527 - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.1.0...v2.1.1
Version 2.1.0 (2022-10-13)
- Added
pushRatePress
config to set how many seconds inbetween doublePresses.- Also if
doublePress
isn't set it will not wait to pushChanges.
- Also if
- Added
customize
config option which will allow for custom On and off commands for IR Devices.- Added
customOn
&customOff
to set custom commands for IR Devices.
- Added
- Removed
Other
:commandOn
&commandOff
you will have to change your commands to the newcustomOn
&customOff
config under thecustomize
config. - Fixed issue where devices are not exposed to Homekit. #507, #508, #513
- Fixed issue with Non-group Curtains being removed or not displaying in Homekit. #510
- Fixed issue were Plugin was waiting 15 seconds before sending command to SwitchBot API. #509
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v2.0.0...v2.1.0
Version 2.0.0 (2022-10-12)
- Moved from v1.0 to v1.1 of OpenAPI
- Added Config that allows device(s) to be published as an external accessory.
- Added
connectionType
config, this replaces theBLE
config.- You can now select Both Connections, Only OpenAPI, Only BLE, or Disable.
Both
will use BLE as the default connection and will use OpenAPI as a backup connection.OpenAPI
will only allow connections through the OpenAPI.BLE
will only allow connections through Bluetooth (BLE), .Disable
will disable all connections. This will also allow you to disable commands and refreshes for a specific device but leave it in HomeKit.
- You can now select Both Connections, Only OpenAPI, Only BLE, or Disable.
- Added Support for Ceiling Light & Ceiling Light Pro
- Fixes Smart Lock Issues fixed in v1.1 of OpenAPI. #462 = Fixes excesive logging from node-switchbot. #435, #444, #446
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.15.0...v2.0.0
Version 1.15.0 (2022-08-27)
- Added BLE support for PlugMini (US) & PlugMini (JP)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.14.2...v1.15.0
Version 1.14.2 (2022-08-20)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.14.1...v1.14.2
Version 1.14.1 (2022-06-28)
- Fixed some logging.
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.14.0...v1.14.1
Version 1.14.0 (2022-06-25)
- Added support for Smart Lock commands over OpenAPI. Thanks tom-todd #382 & #387
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.13.0...v1.14.0
Version 1.13.0 (2022-05-04)
- Added MQTT support for Meter and Curtain devices. Thanks banboobee#337
- Added Eve history features for meter devices. Thanks banboobee #338
- Added Config
setOpenMode
andsetCloseMode
so that you can set mode to be Performance or Silent. - Added Config to allow manually setting firmware version.
- Fixed Smart Lock Display state status.
- Still unable to control Locks because of API limitations.
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.8...v1.13.0
Version 1.12.8 (2022-03-19)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.7...v1.12.8
Version 1.12.7 (2022-03-07)
- Seperated Color Bulb and Strip Lights
- Strip Lights no longer support Adaptive Lighting.
- Adaptive Lighting requires Color Temperature, which Strip Lights do not support.
- Strip Lights no longer support Adaptive Lighting.
- Seperated Meter and Meter Plus for BLE purposes.
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.6...v1.12.7
Version 1.12.6 (2022-03-04)
- Fix for Curtain v3.3 and above, from v1.2.0 node-switchbot update.
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.5...v1.12.6
Version 1.12.5 (2022-02-15)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.4...v1.12.5
Version 1.12.4 (2022-02-12)
- Fix support for Meter Plus
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.3...v1.12.4
Version 1.12.3 (2022-02-05)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.2...v1.12.3
Version 1.12.2 (2022-02-02)
- Fix: Issue where
PositionState
was not being sent back to Home App. Fixes #123 Thanks @dnicolson!
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.1...v1.12.2
Version 1.12.1 (2022-02-01)
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.12.0...v1.12.1
Version 1.12.0 (2022-01-29)
- Add option
maxRetry
for bots so you can set the number of retries for sending on or off for Bot.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.11.2...v1.12.0
Version 1.11.2 (2022-01-29)
- Fix: Use
updateRate
instead ofrefreshRate
when overridingscanDuration
.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.11.1...v1.11.2
Version 1.11.1 (2022-01-29)
- Fix:
This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined)
. - Fix:
This plugin generated a warning from the characteristic 'Color Temperature': characteristic value expected valid finite number and received "undefined" (undefined)
. - Fix:
This plugin generated a warning from the characteristic 'Hue': characteristic value expected valid finite number and received "undefined" (undefined)
. - Fix:
This plugin generated a warning from the characteristic 'Saturation': characteristic value expected valid finite number and received "undefined" (undefined)
.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.11.0...v1.11.1
Version 1.11.0 (2022-01-29)
- Add Support for SwitchBot Smart Lock
- Add Support for SwitchBot Strip Light
- Add Support for SwitchBot Meter Plus (US)
- Add Support for SwitchBot Meter Plus (JP)
- Add Support for SwitchBot Plug Mini (US)
- Add Support for SwitchBot Plug Mini (US)
- Fixed: Curtain
set_min
andset_max
options not work correctly with minimum and maximum curtain state. #123 - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.10.1...v1.11.0
Version 1.10.1 (2022-01-26)
- Fixed: Option
pushOn
was not pushOn
commands. - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.10.0...v1.10.1
Version 1.10.0 (2022-01-21)
- Add option
pushOn
, this will allow theOn
commands to be sent along sideStatus
change commands. - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.9.0...v1.10.0
Version 1.9.0 (2022-01-20)
- Add option
allowPush
, this will allow commands to be sent even if device state is already in state that is being pushed. - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.2...v1.9.0
Version 1.8.2 (2022-01-15)
- Fixed Bug: Only log config if it is set.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.1...v1.8.2
Version 1.8.1 (2022-01-15)
- Fixed Bug: Cannot set properties of undefined (setting 'logging')
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.8.0...v1.8.1
Version 1.8.0 (2022-01-14)
- Added option to display Bot a Stateful Programmable Switch.
- Add option to Hide Motion Sensor's Light Sensor.
- Add option to Set Motion Sensor's Light Sensor
set_minLux
andset_maxLux
. - Fixed Bug: Where BLE config would show for devices that don't support BLE.
- Fixed Bug: Contact Sensors's Motion Sensor and Light Sensor showing undefined values.
- Fixed Bug: Motion Sensors's Light Sensor showing undefined values.
- Fixed Bug: Battery Service wouldn't be removed from Curtain, Contact Sensor, or Motion Sensor when switching from BLE to OpenAPI.
- Enhancments: Made some improvemnt on the switch from BLE to OpenAPI when BLE connection fails.
- Enhancments: Made Optional Switchbot Device Settings and Optional IR Device Settings more managable by using Tabs.
- Change: Changed Curtain
refreshRate
toupdateRate
.- You will have to update your config for it to pickup the new
updateRate
.
- You will have to update your config for it to pickup the new
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.7.0...v1.8.0
Version 1.7.0 (2022-01-05)
- Added option to display Bot a Fan.
- Added option to display Bot a Door. #179
- Added option to display Bot a Lock. #179
- Added option to display Bot a Faucet.
- Added option to display Bot a Window.
- Added option to display Bot a WindowCovering.
- Added option to display Bot a Garage Door Opener. #179
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.3...v1.7.0
Version 1.6.3 (2022-01-03)
- Quick Fix for for issue not tested in
v1.6.2
.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.2...v1.6.3
Version 1.6.2 (2022-01-03)
- Fixed Bug: npm ERR! code 1. #151
- Made
node-switchbot
an optionalDependencies - So If
node-switchbot
doesn't get installed successfully then BLE will not work.
- Made
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.1...v1.6.2
Version 1.6.1 (2022-01-02)
- Fixed an issue where when
Adaptive Lighting Shift
was set to -1, Adaptive Lighting would not be removed. - Fixed an issue with motion sensor refreshStatus that would cause plugin to cause Homebridge restart.
- Fixed Bug: npm ERR! code 1. #151
- Made
node-switchbot
an optionalDependencies - So If
node-switchbot
doesn't get installed successfully then BLE will not work.
- Made
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.6.0...v1.6.1
Version 1.6.0 (2021-12-31)
- Added
scanDuration
config option to set how long BLE scans, Scanning Duration is defaulted to 1 second. - Now Setting
switch
as the default bot mode for Bots, to change to press, config must be set underSwitchBot Device Settings
in the Plugin Settings. - Fixed Bug: Contact Sensor talks about Curtain Light + Motion Sensor. #164
- Fixed Bug: Reboot causes No Device Type Set Error. #172
- Fixed Bug: Bot Status not working Correction with Switch and Press. #105, #130, #132, #165, #174
- Fixed some issues with the New Logging Options release with v1.5.0, now logging when configured.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.5.0...v1.6.0
Version 1.5.0 (2021-12-27)
- Added the following Logging Options:
Standard
None
Debug
- Removed Device Logging Option, which was pushed into new logging under debug.
- Added Device Logging Override for each Device, by using the Device Config.
- Added an option to override
refreshRate
for each Device, by using the Device Config.
- Fixed Bug: Air conditioner temperature not able to change. #43
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.4.0...v1.5.0
Version 1.4.0 (2021-12-15)
- Added Status Messages to logs for discoverDevices request.
- Added Cached Status to IR device, Status will be saved to accessory context and restored on restart.
- Added Option
Offline as Off
to be able set the device as off, if API reports offline. - Removed Meter Unit Config Option as it was confusing and probably never used.
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.3.0...v1.4.0
Version 1.3.0 (2021-12-02)
- Added Adpative Lighting to Color Bulb
- Added Option
Adaptive Lighting Shift
to be able us this value to increase the mired for the Adaptive Lighting update, making the light appear warmer. - Fixed Bug: Color Bulb can't change color and is not dimmable. #97
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.5...v1.3.0
Version 1.2.5 (2021-11-25)
- Fixed Bug: Where
set_minLux
&set_maxLux
config settings not effecting OpenAPI Lux.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.4...v1.2.5
Version 1.2.4 (2021-11-24)
- Fixed Bug: Cannot read properties of undefined (reading 'updateCharacteristic').
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.3...v1.2.4
Version 1.2.3 (2021-11-24)
- When BLE Connection isn't established, allow for OpenAPI to kick in if
openToken
is supplied.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.2...v1.2.3
Version 1.2.2 (2021-11-24)
- Allow the
configDeviceName
to overridedeviceName
. - Added Logging when BLE Connection wasn't established.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.1...v1.2.2
Version 1.2.1 (2021-11-24)
- Fixed Bug: Curtains alternate between open/close state. #85
- Fixed Bug: Meter not working with BLE. #110
- Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.2.0...v1.2.1
Version 1.2.0 (2021-11-19)
- Added option to be able to do Bluetooth Low Energy (BLE) Only Connection.
- Must supply
Device ID
&Device Name
to the Device Config - Must Check
Enable Bluetooth Low Energy (BLE) Connection
- Must supply
- Fixed Bug: Air conditioner temperature not able to change. #43
- Add option to set Min Lux and Max Lux for Curtain's Light Sensor.
- Add
updateHomeKitCharacteristics
to IR Devices to contain allupdateCharacteristics
in one spot. - Add
Saturation
andHue
to Colorbulb. - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.1.0...v1.2.0
Version 1.1.0 (2021-11-16)
- Fixed Bug: Curtains alternate between open/close state. #85
- Fixed Bug: IR Fan won't be hidden in Home app. #90
- Fixed Bug:
hide_temperature
config option causingCannot read property 'updateCharacteristic' of undefined
for Humidifiers. #89 - Add option to Hide Curtain's Light Sensor. #91
- Add option to Hide Contact Sensor's Motion Sensor or Light Sensor.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.2...v1.1.0
Version 1.0.2 (2021-11-15)
- Fixed Bug:
failed to discover devices. cannot read property 'touppercase' of undefined
. #84 - Housekeeping and updated dependencies.
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.1...v1.0.2
Version 1.0.1 (2021-11-14)
- Fixed
Cannot read properties of undefined (reading 'updateCharacteristic')
on Bots. #77 - Fixed Temperature not being retrieved for Switchbot Meter. #78
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v1.0.0...v1.0.1
Version 1.0.0 (2021-11-13)
- Offical release of homebridge-Switchbot, which combines both BLE and OpenAPI into 1 plugin.
- Adds Light Sensors to Curtains
- with iOS 15.1 you can set automations on light sensors.
- Adds Motion Sensor to Contact Sensors
- Adds Support Color Bulbs
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v0.1.1...v1.0.0
Version 0.1.1 (2021-09-11)
- Fix Contact Sensor adding as Motion Sensor instead of Contact Sensor
Full Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v0.1.0...v0.1.1
Version 0.1.0 (2021-09-10)
- Initial release of homebridge-switchbot.
- Adds Support for Motion & Contact Sensors
- Adds Water Level to Humidifier