matterbridge 3.4.1-dev-20251128-441f8db → 3.4.1-dev-20251130-f066d82

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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.4.1-dev-20251128-441f8db",
3
+ "version": "3.4.1-dev-20251130-f066d82",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "3.4.1-dev-20251128-441f8db",
9
+ "version": "3.4.1-dev-20251130-f066d82",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.15.6",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.4.1-dev-20251128-441f8db",
3
+ "version": "3.4.1-dev-20251130-f066d82",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -22,18 +22,20 @@ const XML_BASE_URL = ZCL_BASE_URL + 'data-model/chip/';
22
22
 
23
23
  function fetchUrl(url) {
24
24
  return new Promise((resolve, reject) => {
25
- https.get(url, (res) => {
26
- if (res.statusCode && res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) {
27
- // Follow redirect
28
- return resolve(fetchUrl(res.headers.location));
29
- }
30
- if (res.statusCode !== 200) {
31
- return reject(new Error(`Failed to fetch ${url}: ${res.statusCode}`));
32
- }
33
- const chunks = [];
34
- res.on('data', (c) => chunks.push(c));
35
- res.on('end', () => resolve(Buffer.concat(chunks).toString('utf8')));
36
- }).on('error', reject);
25
+ https
26
+ .get(url, (res) => {
27
+ if (res.statusCode && res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) {
28
+ // Follow redirect
29
+ return resolve(fetchUrl(res.headers.location));
30
+ }
31
+ if (res.statusCode !== 200) {
32
+ return reject(new Error(`Failed to fetch ${url}: ${res.statusCode}`));
33
+ }
34
+ const chunks = [];
35
+ res.on('data', (c) => chunks.push(c));
36
+ res.on('end', () => resolve(Buffer.concat(chunks).toString('utf8')));
37
+ })
38
+ .on('error', reject);
37
39
  });
38
40
  }
39
41
 
@@ -1,61 +0,0 @@
1
- export const zigbee2mqtt_config = {
2
- name: 'matterbridge-zigbee2mqtt',
3
- type: 'DynamicPlatform',
4
- version: '1.0.0',
5
- host: 'localhost',
6
- username: '',
7
- password: '',
8
- port: 1883,
9
- topic: 'zigbee2mqtt',
10
- blackList: [],
11
- whiteList: [],
12
- switchList: [],
13
- lightList: [],
14
- outletList: [],
15
- featureBlackList: [],
16
- deviceFeatureBlackList: {},
17
- debug: false,
18
- unregisterOnShutdown: false,
19
- };
20
- export const somfytahoma_config = {
21
- name: 'matterbridge-somfy-tahoma',
22
- type: 'DynamicPlatform',
23
- version: '1.0.0',
24
- username: '',
25
- password: '',
26
- service: 'somfy_europe',
27
- blackList: [],
28
- whiteList: [],
29
- movementDuration: {},
30
- debug: false,
31
- unregisterOnShutdown: false,
32
- };
33
- export const shelly_config = {
34
- name: 'matterbridge-shelly',
35
- type: 'DynamicPlatform',
36
- version: '1.0.0',
37
- username: '',
38
- password: '',
39
- switchList: [],
40
- lightList: [],
41
- inputContactList: [],
42
- inputMomentaryList: [],
43
- inputLatchingList: [],
44
- blackList: [],
45
- whiteList: [],
46
- entityBlackList: [],
47
- deviceEntityBlackList: {},
48
- nocacheList: [],
49
- enableMdnsDiscover: true,
50
- enableStorageDiscover: true,
51
- resetStorageDiscover: false,
52
- enableBleDiscover: true,
53
- failsafeCount: 0,
54
- postfix: '',
55
- expertMode: false,
56
- debug: false,
57
- debugMdns: false,
58
- debugCoap: false,
59
- debugWs: false,
60
- unregisterOnShutdown: false,
61
- };