matterbridge-eve-energy 2.0.1 → 2.0.2
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 +24 -24
- package/dist/module.js +4 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,22 @@
|
|
|
17
17
|
|
|
18
18
|
All notable changes to this project will be documented in this file.
|
|
19
19
|
|
|
20
|
+
If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-eve-energy and sponsoring it.
|
|
21
|
+
|
|
22
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
|
|
23
|
+
|
|
24
|
+
## [2.0.2] - 2025-12-08
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- [package]: Updated dependencies.
|
|
29
|
+
- [package]: Updated to the current Matterbridge signatures.
|
|
30
|
+
- [package]: Requires Matterbridge v.3.4.0.
|
|
31
|
+
- [package]: Updated tests to use the Matterbridge Jest module.
|
|
32
|
+
- [package]: Bumped package to automator v.2.1.0.
|
|
33
|
+
|
|
34
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
35
|
+
|
|
20
36
|
## [2.0.1] - 2025-11-13
|
|
21
37
|
|
|
22
38
|
### Changed
|
|
@@ -26,9 +42,7 @@ All notable changes to this project will be documented in this file.
|
|
|
26
42
|
- [jest]: Updated jestHelpers to v.1.0.12.
|
|
27
43
|
- [workflows]: Use shallow clones and --no-fund --no-audit for faster builds.
|
|
28
44
|
|
|
29
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
30
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
31
|
-
</a>
|
|
45
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
32
46
|
|
|
33
47
|
## [2.0.0] - 2025-10-24
|
|
34
48
|
|
|
@@ -48,9 +62,7 @@ All notable changes to this project will be documented in this file.
|
|
|
48
62
|
- [devcontainer]: Added the plugin name to the container.
|
|
49
63
|
- [devcontainer]: Improved performance of first build with shallow clone.
|
|
50
64
|
|
|
51
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
52
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
53
|
-
</a>
|
|
65
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
54
66
|
|
|
55
67
|
## [1.3.1] - 2025-07-29
|
|
56
68
|
|
|
@@ -63,9 +75,7 @@ All notable changes to this project will be documented in this file.
|
|
|
63
75
|
- [package]: Updated package to Automator v. 2.0.3.
|
|
64
76
|
- [package]: Updated dependencies.
|
|
65
77
|
|
|
66
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
67
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
68
|
-
</a>
|
|
78
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
69
79
|
|
|
70
80
|
## [1.3.0] - 2025-06-26
|
|
71
81
|
|
|
@@ -88,9 +98,7 @@ All notable changes to this project will be documented in this file.
|
|
|
88
98
|
- [storage]: Bumped `node-storage-manager` to 2.0.0.
|
|
89
99
|
- [logger]: Bumped `node-ansi-logger` to 3.1.1.
|
|
90
100
|
|
|
91
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
92
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
93
|
-
</a>
|
|
101
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
94
102
|
|
|
95
103
|
## [1.2.3] - 2025-04-30
|
|
96
104
|
|
|
@@ -100,9 +108,7 @@ All notable changes to this project will be documented in this file.
|
|
|
100
108
|
- [package]: Update package.
|
|
101
109
|
- [package]: Update dependencies.
|
|
102
110
|
|
|
103
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
104
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
105
|
-
</a>
|
|
111
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
106
112
|
|
|
107
113
|
## [1.2.2] - 2025-04-03
|
|
108
114
|
|
|
@@ -112,9 +118,7 @@ All notable changes to this project will be documented in this file.
|
|
|
112
118
|
- [package]: Update package.
|
|
113
119
|
- [package]: Update dependencies.
|
|
114
120
|
|
|
115
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
116
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
117
|
-
</a>
|
|
121
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
118
122
|
|
|
119
123
|
## [1.2.1] - 2025-02-01
|
|
120
124
|
|
|
@@ -124,9 +128,7 @@ All notable changes to this project will be documented in this file.
|
|
|
124
128
|
- [package]: Update package.
|
|
125
129
|
- [package]: Update dependencies.
|
|
126
130
|
|
|
127
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
128
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
129
|
-
</a>
|
|
131
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
130
132
|
|
|
131
133
|
## [1.1.0] - 2024-12-14
|
|
132
134
|
|
|
@@ -137,9 +139,7 @@ All notable changes to this project will be documented in this file.
|
|
|
137
139
|
- [package]: Matter 1.3 compliant.
|
|
138
140
|
- [package]: Update dependencies.
|
|
139
141
|
|
|
140
|
-
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
141
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
142
|
-
</a>
|
|
142
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
143
143
|
|
|
144
144
|
<!-- Commented out section
|
|
145
145
|
## [1.1.2] - 2024-03-08
|
package/dist/module.js
CHANGED
|
@@ -11,8 +11,8 @@ export class EveEnergyPlatform extends MatterbridgeAccessoryPlatform {
|
|
|
11
11
|
state = false;
|
|
12
12
|
constructor(matterbridge, log, config) {
|
|
13
13
|
super(matterbridge, log, config);
|
|
14
|
-
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.
|
|
15
|
-
throw new Error(`This plugin requires Matterbridge version >= "3.
|
|
14
|
+
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.4.0')) {
|
|
15
|
+
throw new Error(`This plugin requires Matterbridge version >= "3.4.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
|
|
16
16
|
}
|
|
17
17
|
this.log.info('Initializing platform:', this.config.name);
|
|
18
18
|
}
|
|
@@ -38,6 +38,7 @@ export class EveEnergyPlatform extends MatterbridgeAccessoryPlatform {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
async onConfigure() {
|
|
41
|
+
await super.onConfigure();
|
|
41
42
|
this.log.info('onConfigure called');
|
|
42
43
|
this.interval = setInterval(async () => {
|
|
43
44
|
if (!this.energy || !this.history)
|
|
@@ -58,6 +59,7 @@ export class EveEnergyPlatform extends MatterbridgeAccessoryPlatform {
|
|
|
58
59
|
}, 60 * 1000 - 200);
|
|
59
60
|
}
|
|
60
61
|
async onShutdown(reason) {
|
|
62
|
+
await super.onShutdown(reason);
|
|
61
63
|
this.log.info('onShutdown called with reason:', reason ?? 'none');
|
|
62
64
|
await this.history?.close();
|
|
63
65
|
clearInterval(this.interval);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-eve-energy",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-eve-energy",
|
|
9
|
-
"version": "2.0.
|
|
9
|
+
"version": "2.0.2",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"matter-history": "1.1.19",
|