node-switchbot
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -5,6 +5,12 @@ # Changelog | ||
## [Version 1.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.1.0) (2021-10-26) | ||
## [Version 1.1.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.1.1) (2021-11-02) | ||
### Changes | ||
- Change back from @node/noble to @abandonware/noble | ||
## [Version 1.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.1.0) (2021-10-26) | ||
### Changes | ||
- Add Contact/Motion Sensor advertisement | ||
@@ -14,3 +20,3 @@ - Add Humidifier advertisement | ||
## [Version 1.0.8](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.8) (2021-09-30) | ||
## [Version 1.0.8](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.8) (2021-09-30) | ||
@@ -21,9 +27,9 @@ ### Changes | ||
## [Version 1.0.7](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.7) (2021-09-24) | ||
## [Version 1.0.7](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.7) (2021-09-24) | ||
### Changes | ||
- Change from @abandonware/noble to @homebridge/noble | ||
- Change from @abandonware/noble to @node/noble | ||
## [Version 1.0.6](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.6) (2021-08-29) | ||
## [Version 1.0.6](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.6) (2021-08-29) | ||
@@ -34,3 +40,3 @@ ### Changes | ||
## [Version 1.0.5](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.5) (2021-08-04) | ||
## [Version 1.0.5](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.5) (2021-08-04) | ||
@@ -42,3 +48,3 @@ ### Changes | ||
## [Version 1.0.4](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.4) (2021-08-03) | ||
## [Version 1.0.4](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.4) (2021-08-03) | ||
@@ -49,3 +55,3 @@ ### Changes | ||
## [Version 1.0.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.3) (2021-07-30) | ||
## [Version 1.0.3](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.3) (2021-07-30) | ||
@@ -56,3 +62,3 @@ ### Changes | ||
## [Version 1.0.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.2) (2021-07-29) | ||
## [Version 1.0.2](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.2) (2021-07-29) | ||
@@ -63,3 +69,3 @@ ### Changes | ||
## [Version 1.0.1](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.1) (2021-07-29) | ||
## [Version 1.0.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.1) (2021-07-29) | ||
@@ -70,3 +76,3 @@ ### Changes | ||
## [Version 1.0.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v1.0.0) (2021-01-21) | ||
## [Version 1.0.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v1.0.0) (2021-01-21) | ||
@@ -77,3 +83,3 @@ ### Changes | ||
## [Version 0.2.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.2.0) (2020-11-05) | ||
## [Version 0.2.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.2.0) (2020-11-05) | ||
@@ -84,3 +90,3 @@ ### Changes | ||
## [Version 0.1.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.1.0) (2020-10-28) | ||
## [Version 0.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.1.0) (2020-10-28) | ||
@@ -92,3 +98,3 @@ ### Changes | ||
## [Version 0.0.5](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.0.5) (2020-02-19) | ||
## [Version 0.0.5](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.0.5) (2020-02-19) | ||
@@ -99,3 +105,3 @@ ### Changes | ||
## [Version 0.0.4](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.0.4) (2020-02-11) | ||
## [Version 0.0.4](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.0.4) (2020-02-11) | ||
@@ -106,3 +112,3 @@ ### Changes | ||
## [Version 0.0.3](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.0.3) (2020-02-10) | ||
## [Version 0.0.3](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.0.3) (2020-02-10) | ||
@@ -114,3 +120,3 @@ ### Changes | ||
## [Version 0.0.2](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v0.0.2) (2019-11-20) | ||
## [Version 0.0.2](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v0.0.2) (2019-11-20) | ||
@@ -117,0 +123,0 @@ ### Changes |
@@ -30,3 +30,3 @@ 'use strict'; | ||
} else { | ||
noble = require('@homebridge/noble'); | ||
noble = require('@abandonware/noble'); | ||
} | ||
@@ -33,0 +33,0 @@ |
{ | ||
"name": "node-switchbot", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "The node-switchbot is a Node.js module which allows you to move your Switchbot (Bot)'s arm and Switchbot Curtain(Curtain), also monitor the temperature/humidity from SwitchBot Thermometer & Hygrometer (Meter).", | ||
@@ -37,3 +37,3 @@ "main": "./lib/switchbot.js", | ||
"dependencies": { | ||
"@homebridge/noble": "^1.9.3" | ||
"@abandonware/noble": "^1.9.2-15" | ||
}, | ||
@@ -40,0 +40,0 @@ "devDependencies": { |
@@ -63,3 +63,3 @@ <span align="center"> | ||
The node-switchbot supports only Linux-based OSes, such as Raspbian, Ubuntu, and so on. This module does not support Windows and macOS for now. (If [@homebridge/noble](https://github.com/homebridge/noble) is installed properly, this module might work well on such OSes.) | ||
The node-switchbot supports only Linux-based OSes, such as Raspbian, Ubuntu, and so on. This module does not support Windows and macOS for now. (If [@abandonware/noble](https://github.com/abandonware/noble) is installed properly, this module might work well on such OSes.) | ||
@@ -69,12 +69,12 @@ ## Dependencies | ||
* [Node.js](https://nodejs.org/en/) 10 + | ||
* [@homebridge/noble](https://github.com/homebridge/noble) | ||
* [@abandonware/noble](https://github.com/abandonware/noble) | ||
See the document of the [@homebridge/noble](https://github.com/homebridge/noble) for details on installing the [@homebridge/noble](https://github.com/homebridge/noble). | ||
See the document of the [@abandonware/noble](https://github.com/abandonware/noble) for details on installing the [@abandonware/noble](https://github.com/abandonware/noble). | ||
Note that the noble must be run as root on most of Linux environments. See the document of the [@homebridge/noble](https://github.com/homebridge/noble) for details. | ||
Note that the noble must be run as root on most of Linux environments. See the document of the [@abandonware/noble](https://github.com/abandonware/noble) for details. | ||
## Installation | ||
Before installing the [@homebridge/noble](https://github.com/homebridge/noble), some linux libraries related Bluetooth as follows if the OS is Ubuntu/Debian/Raspbian. | ||
Before installing the [@abandonware/noble](https://github.com/abandonware/noble), some linux libraries related Bluetooth as follows if the OS is Ubuntu/Debian/Raspbian. | ||
@@ -85,9 +85,9 @@ ``` | ||
If you use other OS, follow the instructions described in the document of the [@homebridge/noble](https://github.com/homebridge/noble). | ||
If you use other OS, follow the instructions described in the document of the [@abandonware/noble](https://github.com/abandonware/noble). | ||
After installing the libraries above, install the [@homebridge/noble](https://github.com/homebridge/noble) and the node-switchbot (this module) as follows: | ||
After installing the libraries above, install the [@abandonware/noble](https://github.com/abandonware/noble) and the node-switchbot (this module) as follows: | ||
``` | ||
$ cd ~ | ||
$ npm install @homebridge/noble | ||
$ npm install @abandonware/noble | ||
$ npm install node-switchbot | ||
@@ -250,5 +250,5 @@ ``` | ||
:--------|:-------|:---------|:----------- | ||
`noble` | Noble | option | a Noble object of the [`@homebridge/noble`](https://github.com/homebridge/noble) module | ||
`noble` | Noble | option | a Noble object of the [`@abandonware/noble`](https://github.com/abandonware/noble) module | ||
The node-switchbot module uses the [`@homebridge/noble`](https://github.com/homebridge/noble) module in order to interact with BLE devices. If you want to interact other BLE devices using the `@homebridge/noble` module, you can create an `Noble` object by yourself, then pass it to this module. If you don't specify a `Noble` object to the `noble` property, this module automatically create a `Noble` object internally. | ||
The node-switchbot module uses the [`@abandonware/noble`](https://github.com/abandonware/noble) module in order to interact with BLE devices. If you want to interact other BLE devices using the `@abandonware/noble` module, you can create an `Noble` object by yourself, then pass it to this module. If you don't specify a `Noble` object to the `noble` property, this module automatically create a `Noble` object internally. | ||
@@ -259,3 +259,3 @@ The sample code below shows how to pass a `Nobel` object to the `Switchbot` constructor. | ||
// Create a Noble object | ||
const noble = require('@homebridge/noble'); | ||
const noble = require('@abandonware/noble'); | ||
@@ -387,3 +387,3 @@ // Create a Switchbot object | ||
The `stopScan()` method stops to scan advertising packets coming from devices. This mothod returns nothing. Note that this method is *not* asynchronous but synchronous unlike the other methods. See the section "[`startScan()` method](#startscan-method)" for details. | ||
The `stopScan()` method stops to scan advertising packets coming from devices. This method returns nothing. Note that this method is *not* asynchronous but synchronous unlike the other methods. See the section "[`startScan()` method](#startscan-method)" for details. | ||
@@ -390,0 +390,0 @@ ### `onadvertisement` event handler |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101595
+ Added@abandonware/noble@^1.9.2-15
+ Added@abandonware/bluetooth-hci-socket@0.5.3-12(transitive)
+ Added@abandonware/noble@1.9.2-25(transitive)
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@npmcli/agent@2.2.2(transitive)
+ Added@npmcli/fs@3.1.1(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Added@types/w3c-web-usb@1.0.10(transitive)
+ Addedabbrev@2.0.0(transitive)
+ Addedagent-base@7.1.3(transitive)
+ Addedaggregate-error@3.1.0(transitive)
+ Addedansi-regex@6.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcacache@18.0.4(transitive)
+ Addedclean-stack@2.2.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@9.2.2(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedenv-paths@2.2.1(transitive)
+ Addederr-code@2.0.3(transitive)
+ Addedexponential-backoff@3.1.1(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedfs-minipass@3.0.3(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhttp-cache-semantics@4.1.1(transitive)
+ Addedhttp-proxy-agent@7.0.2(transitive)
+ Addedhttps-proxy-agent@7.0.6(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedip-address@9.0.5(transitive)
+ Addedis-lambda@1.0.1(transitive)
+ Addedisexe@2.0.03.1.1(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedjsbn@1.1.0(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedmake-fetch-happen@13.0.1(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedminipass-collect@2.0.1(transitive)
+ Addedminipass-fetch@3.0.5(transitive)
+ Addedminipass-flush@1.0.5(transitive)
+ Addedminipass-pipeline@1.2.4(transitive)
+ Addedminipass-sized@1.0.3(transitive)
+ Addednegotiator@0.6.4(transitive)
+ Addednode-addon-api@8.3.0(transitive)
+ Addednode-gyp@10.3.1(transitive)
+ Addednopt@7.2.1(transitive)
+ Addedp-map@4.0.0(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedproc-log@4.2.0(transitive)
+ Addedpromise-retry@2.0.1(transitive)
+ Addedretry@0.12.0(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedsmart-buffer@4.2.0(transitive)
+ Addedsocks@2.8.3(transitive)
+ Addedsocks-proxy-agent@8.0.5(transitive)
+ Addedsprintf-js@1.1.3(transitive)
+ Addedssri@10.0.6(transitive)
+ Addedstring-width@5.1.2(transitive)
+ Addedstrip-ansi@7.1.0(transitive)
+ Addedunique-filename@3.0.0(transitive)
+ Addedunique-slug@4.0.0(transitive)
+ Addedusb@2.14.0(transitive)
+ Addedwhich@2.0.24.0.0(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removed@homebridge/noble@^1.9.3
- Removed@homebridge/bluetooth-hci-socket@0.5.3(transitive)
- Removed@homebridge/noble@1.9.3(transitive)
- Removednode-addon-api@3.2.1(transitive)
- Removedusb@1.9.2(transitive)