matterbridge-bthome 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/platform.js +4 -3
- package/npm-shrinkwrap.json +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,17 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
8
8
|
<img src="bmc-button.svg" alt="Buy me a coffee" width="120">
|
|
9
9
|
</a>
|
|
10
10
|
|
|
11
|
+
## [0.0.3] - 2025-05-19
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- [platform]: Updated deprecated import to run with matterbridge 3.0.3.
|
|
16
|
+
- [package]: Updated package.
|
|
17
|
+
|
|
18
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
19
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
20
|
+
</a>
|
|
21
|
+
|
|
11
22
|
## [0.0.2] - 2025-05-15
|
|
12
23
|
|
|
13
24
|
### Added
|
package/dist/platform.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { bridgedNode, contactSensor, genericSwitch, humiditySensor, lightSensor, MatterbridgeDynamicPlatform, MatterbridgeEndpoint,
|
|
2
|
-
import { db, debugStringify, idn, rs, BLUE } from 'matterbridge/logger';
|
|
1
|
+
import { bridgedNode, contactSensor, genericSwitch, humiditySensor, lightSensor, MatterbridgeDynamicPlatform, MatterbridgeEndpoint, occupancySensor, powerSource, pressureSensor, temperatureSensor, } from 'matterbridge';
|
|
2
|
+
import { db, debugStringify, idn, rs, BLUE, nf } from 'matterbridge/logger';
|
|
3
3
|
import { isValidArray } from 'matterbridge/utils';
|
|
4
|
+
import { NumberTag } from 'matterbridge/matter';
|
|
4
5
|
import { BTHome } from './BTHome.js';
|
|
5
6
|
export class Platform extends MatterbridgeDynamicPlatform {
|
|
6
7
|
btHome = new BTHome();
|
|
@@ -73,7 +74,7 @@ export class Platform extends MatterbridgeDynamicPlatform {
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
async onChangeLoggerLevel(logLevel) {
|
|
76
|
-
this.log.info(`Changing logger level for platform ${idn}${this.config.name}${rs}${
|
|
77
|
+
this.log.info(`Changing logger level for platform ${idn}${this.config.name}${rs}${nf} to ${logLevel}`);
|
|
77
78
|
this.bridgedDevices.forEach((device) => (device.log.logLevel = logLevel));
|
|
78
79
|
}
|
|
79
80
|
async onShutdown(reason) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-bthome",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-bthome",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.3",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@stoprocent/noble": "2.3.0",
|
|
@@ -1724,16 +1724,16 @@
|
|
|
1724
1724
|
"optional": true
|
|
1725
1725
|
},
|
|
1726
1726
|
"node_modules/yaml": {
|
|
1727
|
-
"version": "2.
|
|
1728
|
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.
|
|
1729
|
-
"integrity": "sha512-
|
|
1727
|
+
"version": "2.8.0",
|
|
1728
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz",
|
|
1729
|
+
"integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==",
|
|
1730
1730
|
"license": "ISC",
|
|
1731
1731
|
"optional": true,
|
|
1732
1732
|
"bin": {
|
|
1733
1733
|
"yaml": "bin.mjs"
|
|
1734
1734
|
},
|
|
1735
1735
|
"engines": {
|
|
1736
|
-
"node": ">= 14"
|
|
1736
|
+
"node": ">= 14.6"
|
|
1737
1737
|
}
|
|
1738
1738
|
},
|
|
1739
1739
|
"node_modules/yocto-queue": {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-bthome",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Matterbridge BTHome plugin",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
-
"homepage": "https://
|
|
7
|
+
"homepage": "https://www.npmjs.com/package/matterbridge-bthome",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"bin": {
|