matterbridge 1.2.3 → 1.2.5

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +189 -171
  2. package/README.md +379 -297
  3. package/TODO.md +7 -0
  4. package/dist/AirQualityCluster.d.ts +134 -104
  5. package/dist/AirQualityCluster.d.ts.map +1 -1
  6. package/dist/AirQualityCluster.js +43 -26
  7. package/dist/AirQualityCluster.js.map +1 -1
  8. package/dist/EveHistoryCluster.d.ts +446 -0
  9. package/dist/EveHistoryCluster.d.ts.map +1 -0
  10. package/dist/EveHistoryCluster.js +170 -0
  11. package/dist/EveHistoryCluster.js.map +1 -0
  12. package/dist/TvocCluster.d.ts +364 -148
  13. package/dist/TvocCluster.d.ts.map +1 -1
  14. package/dist/TvocCluster.js +115 -32
  15. package/dist/TvocCluster.js.map +1 -1
  16. package/dist/cli.js +6 -1
  17. package/dist/cli.js.map +1 -1
  18. package/dist/index.d.ts +3 -0
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3 -0
  21. package/dist/index.js.map +1 -1
  22. package/dist/matterbridge.d.ts +9 -1
  23. package/dist/matterbridge.d.ts.map +1 -1
  24. package/dist/matterbridge.js +338 -150
  25. package/dist/matterbridge.js.map +1 -1
  26. package/dist/matterbridgeController.d.ts.map +1 -1
  27. package/dist/matterbridgeController.js +9 -0
  28. package/dist/matterbridgeController.js.map +1 -1
  29. package/dist/matterbridgeDevice.d.ts +1254 -9
  30. package/dist/matterbridgeDevice.d.ts.map +1 -1
  31. package/dist/matterbridgeDevice.js +372 -91
  32. package/dist/matterbridgeDevice.js.map +1 -1
  33. package/frontend/build/asset-manifest.json +3 -3
  34. package/frontend/build/index.html +1 -1
  35. package/frontend/build/matterbridge 32x32.png +0 -0
  36. package/frontend/build/matterbridge 64x64.png +0 -0
  37. package/frontend/build/static/css/main.61f6cf42.css.map +1 -1
  38. package/frontend/build/static/js/main.6b861489.js +3 -0
  39. package/frontend/build/static/js/main.6b861489.js.map +1 -0
  40. package/matterbridge.service +18 -0
  41. package/package.json +88 -87
  42. package/frontend/build/Matterbridge.jpg +0 -0
  43. package/frontend/build/static/js/main.e3553a4d.js +0 -3
  44. package/frontend/build/static/js/main.e3553a4d.js.map +0 -1
  45. /package/frontend/build/static/js/{main.e3553a4d.js.LICENSE.txt → main.6b861489.js.LICENSE.txt} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,171 +1,189 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- ## [1.2.3] - 2024-03-27
6
-
7
- ### Added
8
-
9
- - [Matterbridge]: Enable plugin now start the plugin (no need to restart in bridge mode).
10
- - [Matterbridge]: Disable plugin now shutdown the plugin (no need to restart).
11
-
12
- ## [1.2.2] - 2024-03-26
13
-
14
- ### Added
15
-
16
- - [MatterbridgeDevice]: Added Cluster DoorLock and command handler.
17
-
18
- ## [1.2.1] - 2024-03-25
19
-
20
- ### Added
21
-
22
- - [frontend]: Remove plugin from frontend.
23
- - [frontend]: Add plugin from frontend.
24
- - [workflow]: All packages now have a workflow on GitHub.
25
- - [frontend]: Frontend got updated to 0.8.4.
26
-
27
- ### Fixed
28
-
29
- - [frontend]: Fixed the restart needed message.
30
- - [matterbridge]: Fixed the delay of loading from the cli.
31
- - [matterbridge]: Fixed the count of devices removed.
32
-
33
- ## [1.2.0] - 2024-03-23
34
-
35
- ### Breaking change on plugin default entry point and platform constructor!
36
- - [plugin default entry point]: export default function initializePlugin(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig)
37
- - [platform constructor]: constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig)
38
-
39
- ### Added
40
-
41
- - [platform]: Added async loadPluginConfig() and async savePluginConfig() to store plugin config.
42
- - [platform]: Added: config: PlatformConfig (JSON) property to platforms to store plugin config.
43
-
44
- ### Changed
45
-
46
- - [dependencies]: Updated dependencies.
47
-
48
- ## [1.1.11] - 2024-03-19
49
-
50
- ### Added
51
-
52
- - [frontend]: Frontend got updated to 0.8.3.
53
-
54
- ## [1.1.10] - 2024-03-17
55
-
56
- ### Added
57
-
58
- - [matterbridge]: added unregisterAllDevices() to the platforms
59
- - [matterbridge]: added unregisterDevice(device: MatterbridgeDevice) to the platforms
60
- - [frontend]: Enable and disable plugin are now available. Restart Matteerbridge after.
61
- - [frontend]: Frontend got updated to 0.8.2.
62
-
63
- ## [1.1.9] - 2024-03-16
64
-
65
- ### Added
66
-
67
- - [frontend]: Selecting a plugin in the home page show the corresponding QR code.
68
- - [frontend]: Settings page now controll the global logger level.
69
- - [frontend]: Restart from the header is available.
70
- - [frontend]: Frontend got updated to 0.8.1.
71
-
72
- ## [1.1.8] - 2024-03-15
73
-
74
- ### Added
75
-
76
- - [cli]: Resolve the plugin name from absolute or relative path or from globally installed modules (see the help).
77
- - [frontend]: Added some fancy stuff still not visible.
78
-
79
- ### Fixed
80
-
81
- - [install]: Fixed the error caused when the controllers disconnect and connect again.
82
-
83
- ## [1.1.7] - 2024-03-14
84
-
85
- ### Fixed
86
-
87
- - [install]: Fixed the install error (thanks https://github.com/khaidakin).
88
-
89
- ## [1.1.6] - 2024-03-14
90
-
91
- ### Added
92
-
93
- - [async]: Plugins are loaded started configured fully asyncronously.
94
- - [frontend]: Added configured button.
95
-
96
- ## [1.1.5] - 2024-03-12
97
-
98
- ### Added
99
-
100
- - [debug]: Added public property enableDebug to Matterbridge.
101
- - [debug]: Added parameter -debug to the command line.
102
-
103
- ### Fixed
104
-
105
- - [plugin]: Fixed the plugin.paired and plugin.commissioned in bridge mode.
106
- - [routes]: Fixed the plugin devices route.
107
- - [bridge]: Fixed the BasicInformationCluster in bridge mode.
108
-
109
- ## [1.1.4] - 2024-03-10
110
-
111
- ### Changed
112
-
113
- - [cli]: Updated the loading from cli.
114
-
115
-
116
- ## [1.1.3] - 2024-03-10
117
-
118
- ### Added
119
-
120
- - [onMatterStarted]: onMatterStarted() is called after matter server started.
121
- - [onConfigure]: onConfigure() is called after the platform controller is commissioned.
122
-
123
- ### Changed
124
-
125
- - [dependencies]: Updated dependencies.
126
-
127
- ### Fixed
128
-
129
- - [Plugin route]: Fixed the plugin device route in frontend.
130
-
131
- ## [1.1.2] - 2024-03-08
132
-
133
- ### Added
134
-
135
- - [async]: All code is asyncronous where it makes sense.
136
- - [JSDoc]: Added JSDoc to the code.
137
-
138
- ### Removed
139
-
140
- - [event]: Removed all event code.
141
-
142
- <!-- Commented out section
143
- ## [1.1.2] - 2024-03-08
144
-
145
- ### Added
146
-
147
- - [Feature 1]: Description of the feature.
148
- - [Feature 2]: Description of the feature.
149
-
150
- ### Changed
151
-
152
- - [Feature 3]: Description of the change.
153
- - [Feature 4]: Description of the change.
154
-
155
- ### Deprecated
156
-
157
- - [Feature 5]: Description of the deprecation.
158
-
159
- ### Removed
160
-
161
- - [Feature 6]: Description of the removal.
162
-
163
- ### Fixed
164
-
165
- - [Bug 1]: Description of the bug fix.
166
- - [Bug 2]: Description of the bug fix.
167
-
168
- ### Security
169
-
170
- - [Security 1]: Description of the security improvement.
171
- -->
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [1.2.5] - 2024-04-08
6
+
7
+ ### Added
8
+ - [frontend]: Added update Matterbridge (spawn the command: 'npm -install -g matterbridge'). The console inherit the the spawned process running so you can check.
9
+ - [frontend]: Added install plugin (spawn the command: 'npm -install -g plugin-name'). The console inherit the the spawned process running so you can check.
10
+ - [frontend]: Added shutdown button.
11
+ - [frontend]: Added login with password (default no password). Change the password in the Settings page of frontend.
12
+ - [frontend]: Frontend got updated to 0.8.5.
13
+ - [Matterbridge]: Added configuration and guidelines in the readme to run Matterbridge like a daemon with systemctl on Linux machine.
14
+
15
+ ## [1.2.4] - 2024-04-01
16
+
17
+ ### Changed
18
+ - [matter.js]: Updated the code to matter.js release 0.80.0.
19
+
20
+ ### Added
21
+ - [MatterbridgeDevice]: Added DoorLock and Thermostat clusters.
22
+
23
+ ## [1.2.3] - 2024-03-28
24
+
25
+ ### Added
26
+
27
+ - [Matterbridge]: Enable plugin now start the plugin (no need to restart in bridge mode).
28
+ - [Matterbridge]: Disable plugin now shutdown the plugin (no need to restart).
29
+
30
+ ## [1.2.2] - 2024-03-26
31
+
32
+ ### Added
33
+
34
+ - [MatterbridgeDevice]: Added Cluster DoorLock and command handler.
35
+
36
+ ## [1.2.1] - 2024-03-25
37
+
38
+ ### Added
39
+
40
+ - [frontend]: Remove plugin from frontend.
41
+ - [frontend]: Add plugin from frontend.
42
+ - [workflow]: All packages now have a workflow on GitHub.
43
+ - [frontend]: Frontend got updated to 0.8.4.
44
+
45
+ ### Fixed
46
+
47
+ - [frontend]: Fixed the restart needed message.
48
+ - [matterbridge]: Fixed the delay of loading from the cli.
49
+ - [matterbridge]: Fixed the count of devices removed.
50
+
51
+ ## [1.2.0] - 2024-03-23
52
+
53
+ ### Breaking change on plugin default entry point and platform constructor!
54
+ - [plugin default entry point]: export default function initializePlugin(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig)
55
+ - [platform constructor]: constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig)
56
+
57
+ ### Added
58
+
59
+ - [platform]: Added async loadPluginConfig() and async savePluginConfig() to store plugin config.
60
+ - [platform]: Added: config: PlatformConfig (JSON) property to platforms to store plugin config.
61
+
62
+ ### Changed
63
+
64
+ - [dependencies]: Updated dependencies.
65
+
66
+ ## [1.1.11] - 2024-03-19
67
+
68
+ ### Added
69
+
70
+ - [frontend]: Frontend got updated to 0.8.3.
71
+
72
+ ## [1.1.10] - 2024-03-17
73
+
74
+ ### Added
75
+
76
+ - [matterbridge]: added unregisterAllDevices() to the platforms
77
+ - [matterbridge]: added unregisterDevice(device: MatterbridgeDevice) to the platforms
78
+ - [frontend]: Enable and disable plugin are now available. Restart Matteerbridge after.
79
+ - [frontend]: Frontend got updated to 0.8.2.
80
+
81
+ ## [1.1.9] - 2024-03-16
82
+
83
+ ### Added
84
+
85
+ - [frontend]: Selecting a plugin in the home page show the corresponding QR code.
86
+ - [frontend]: Settings page now controll the global logger level.
87
+ - [frontend]: Restart from the header is available.
88
+ - [frontend]: Frontend got updated to 0.8.1.
89
+
90
+ ## [1.1.8] - 2024-03-15
91
+
92
+ ### Added
93
+
94
+ - [cli]: Resolve the plugin name from absolute or relative path or from globally installed modules (see the help).
95
+ - [frontend]: Added some fancy stuff still not visible.
96
+
97
+ ### Fixed
98
+
99
+ - [install]: Fixed the error caused when the controllers disconnect and connect again.
100
+
101
+ ## [1.1.7] - 2024-03-14
102
+
103
+ ### Fixed
104
+
105
+ - [install]: Fixed the install error (thanks https://github.com/khaidakin).
106
+
107
+ ## [1.1.6] - 2024-03-14
108
+
109
+ ### Added
110
+
111
+ - [async]: Plugins are loaded started configured fully asyncronously.
112
+ - [frontend]: Added configured button.
113
+
114
+ ## [1.1.5] - 2024-03-12
115
+
116
+ ### Added
117
+
118
+ - [debug]: Added public property enableDebug to Matterbridge.
119
+ - [debug]: Added parameter -debug to the command line.
120
+
121
+ ### Fixed
122
+
123
+ - [plugin]: Fixed the plugin.paired and plugin.commissioned in bridge mode.
124
+ - [routes]: Fixed the plugin devices route.
125
+ - [bridge]: Fixed the BasicInformationCluster in bridge mode.
126
+
127
+ ## [1.1.4] - 2024-03-10
128
+
129
+ ### Changed
130
+
131
+ - [cli]: Updated the loading from cli.
132
+
133
+
134
+ ## [1.1.3] - 2024-03-10
135
+
136
+ ### Added
137
+
138
+ - [onMatterStarted]: onMatterStarted() is called after matter server started.
139
+ - [onConfigure]: onConfigure() is called after the platform controller is commissioned.
140
+
141
+ ### Changed
142
+
143
+ - [dependencies]: Updated dependencies.
144
+
145
+ ### Fixed
146
+
147
+ - [Plugin route]: Fixed the plugin device route in frontend.
148
+
149
+ ## [1.1.2] - 2024-03-08
150
+
151
+ ### Added
152
+
153
+ - [async]: All code is asyncronous where it makes sense.
154
+ - [JSDoc]: Added JSDoc to the code.
155
+
156
+ ### Removed
157
+
158
+ - [event]: Removed all event code.
159
+
160
+ <!-- Commented out section
161
+ ## [1.1.2] - 2024-03-08
162
+
163
+ ### Added
164
+
165
+ - [Feature 1]: Description of the feature.
166
+ - [Feature 2]: Description of the feature.
167
+
168
+ ### Changed
169
+
170
+ - [Feature 3]: Description of the change.
171
+ - [Feature 4]: Description of the change.
172
+
173
+ ### Deprecated
174
+
175
+ - [Feature 5]: Description of the deprecation.
176
+
177
+ ### Removed
178
+
179
+ - [Feature 6]: Description of the removal.
180
+
181
+ ### Fixed
182
+
183
+ - [Bug 1]: Description of the bug fix.
184
+ - [Bug 2]: Description of the bug fix.
185
+
186
+ ### Security
187
+
188
+ - [Security 1]: Description of the security improvement.
189
+ -->