matterbridge 1.2.22 → 1.3.0
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 +29 -0
- package/README.md +40 -8
- package/dist/cluster/AirQualityCluster.d.ts.map +1 -0
- package/dist/cluster/AirQualityCluster.js.map +1 -0
- package/dist/cluster/BooleanStateConfigurationCluster.d.ts +2200 -0
- package/dist/cluster/BooleanStateConfigurationCluster.d.ts.map +1 -0
- package/dist/cluster/BooleanStateConfigurationCluster.js +388 -0
- package/dist/cluster/BooleanStateConfigurationCluster.js.map +1 -0
- package/dist/cluster/BridgedDeviceBasicInformationCluster.d.ts.map +1 -0
- package/dist/cluster/BridgedDeviceBasicInformationCluster.js.map +1 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts +396 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js +30 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js.map +1 -0
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts +524 -0
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/ConcentrationMeasurementCluster.js +282 -0
- package/dist/cluster/ConcentrationMeasurementCluster.js.map +1 -0
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts +7851 -0
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts.map +1 -0
- package/dist/cluster/DeviceEnergyManagementCluster.js +1634 -0
- package/dist/cluster/DeviceEnergyManagementCluster.js.map +1 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts +68 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts.map +1 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.js +49 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.js.map +1 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts +4978 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js +510 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js.map +1 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts +3250 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.js +675 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.js.map +1 -0
- package/dist/cluster/FanControlCluster.d.ts +1583 -0
- package/dist/cluster/FanControlCluster.d.ts.map +1 -0
- package/dist/cluster/FanControlCluster.js +492 -0
- package/dist/cluster/FanControlCluster.js.map +1 -0
- package/dist/cluster/MeasurementAccuracy.d.ts +63 -0
- package/dist/cluster/MeasurementAccuracy.d.ts.map +1 -0
- package/dist/cluster/MeasurementAccuracy.js +47 -0
- package/dist/cluster/MeasurementAccuracy.js.map +1 -0
- package/dist/cluster/MeasurementAccuracyRange.d.ts +134 -0
- package/dist/cluster/MeasurementAccuracyRange.d.ts.map +1 -0
- package/dist/cluster/MeasurementAccuracyRange.js +103 -0
- package/dist/cluster/MeasurementAccuracyRange.js.map +1 -0
- package/dist/cluster/MeasurementType.d.ts +68 -0
- package/dist/cluster/MeasurementType.d.ts.map +1 -0
- package/dist/cluster/MeasurementType.js +69 -0
- package/dist/cluster/MeasurementType.js.map +1 -0
- package/dist/cluster/PowerTopologyCluster.d.ts +355 -0
- package/dist/cluster/PowerTopologyCluster.d.ts.map +1 -0
- package/dist/cluster/PowerTopologyCluster.js +138 -0
- package/dist/cluster/PowerTopologyCluster.js.map +1 -0
- package/dist/cluster/SmokeCoAlarmCluster.d.ts +1599 -0
- package/dist/cluster/SmokeCoAlarmCluster.d.ts.map +1 -0
- package/dist/cluster/SmokeCoAlarmCluster.js +603 -0
- package/dist/cluster/SmokeCoAlarmCluster.js.map +1 -0
- package/dist/cluster/TvocCluster.d.ts.map +1 -0
- package/dist/cluster/TvocCluster.js.map +1 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/matterbridge.d.ts +63 -1
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +72 -26
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +692 -30
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +429 -73
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/matterbridgeDeviceV8.d.ts +3 -5
- package/dist/matterbridgeDeviceV8.d.ts.map +1 -1
- package/dist/matterbridgeDeviceV8.js +62 -14
- package/dist/matterbridgeDeviceV8.js.map +1 -1
- package/dist/matterbridgeV8.d.ts +69 -5
- package/dist/matterbridgeV8.d.ts.map +1 -1
- package/dist/matterbridgeV8.js +409 -139
- package/dist/matterbridgeV8.js.map +1 -1
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/js/{main.23829a0f.js → main.cbfc6c9b.js} +3 -3
- package/frontend/build/static/js/{main.23829a0f.js.map → main.cbfc6c9b.js.map} +1 -1
- package/package.json +5 -5
- package/dist/AirQualityCluster.d.ts.map +0 -1
- package/dist/AirQualityCluster.js.map +0 -1
- package/dist/BridgedDeviceBasicInformationCluster.d.ts.map +0 -1
- package/dist/BridgedDeviceBasicInformationCluster.js.map +0 -1
- package/dist/TvocCluster.d.ts.map +0 -1
- package/dist/TvocCluster.js.map +0 -1
- /package/dist/{AirQualityCluster.d.ts → cluster/AirQualityCluster.d.ts} +0 -0
- /package/dist/{AirQualityCluster.js → cluster/AirQualityCluster.js} +0 -0
- /package/dist/{BridgedDeviceBasicInformationCluster.d.ts → cluster/BridgedDeviceBasicInformationCluster.d.ts} +0 -0
- /package/dist/{BridgedDeviceBasicInformationCluster.js → cluster/BridgedDeviceBasicInformationCluster.js} +0 -0
- /package/dist/{TvocCluster.d.ts → cluster/TvocCluster.d.ts} +0 -0
- /package/dist/{TvocCluster.js → cluster/TvocCluster.js} +0 -0
- /package/frontend/build/static/js/{main.23829a0f.js.LICENSE.txt → main.cbfc6c9b.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.3.0] - 2024-06-16
|
|
6
|
+
|
|
7
|
+
This release is all about Matter 1.3
|
|
8
|
+
|
|
9
|
+
If you are wondering whether the controllers already support Matter 1.3, the answer is unfortunately no.
|
|
10
|
+
|
|
11
|
+
Only Home Automation supports:
|
|
12
|
+
- airQualitySensor (Matter 1.2)
|
|
13
|
+
|
|
14
|
+
and (probably only like BooleanState cluster)
|
|
15
|
+
- waterFreezeDetector (Matter 1.3)
|
|
16
|
+
- waterLeakDetector (Matter 1.3)
|
|
17
|
+
- rainSensor (Matter 1.3)
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- [matterbridge]: Updated dependencies
|
|
21
|
+
- [matterbridge]: Default config and schema for the new plugin matterbridge-shelly (will be published after this release)
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- [matterbridgeDevice]: Added waterFreezeDetector, waterLeakDetector, rainSensor, smokeCoAlarm, electricalSensor and deviceEnergyManagement device types as conformance to Matter 1.3
|
|
25
|
+
- [matterbridgeDevice]: Added all clusters needed for the above Matter 1.3 device types
|
|
26
|
+
- [matterbridgeDevice]: Added FanControl cluster (rev. 2) helper methods for the Fan device type
|
|
27
|
+
- [matterbridge]: Added parameter -matterlogger [debug | info | notice | warn | error | fatal] to set the matter.js Logger separately from the Matterbridge log
|
|
28
|
+
- [frontend]: Added logger level settings to reflect -matterlogger [debug | info | notice | warn | error | fatal]
|
|
29
|
+
|
|
30
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
31
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
|
32
|
+
</a>
|
|
33
|
+
|
|
5
34
|
## [1.2.22] - 2024-06-04
|
|
6
35
|
|
|
7
36
|
### Changed
|
package/README.md
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/matterbridge)
|
|
4
4
|
[](https://www.npmjs.com/package/matterbridge)
|
|
5
|
+
[](https://hub.docker.com/r/luligu/matterbridge)
|
|
6
|
+
[](https://hub.docker.com/r/luligu/matterbridge)
|
|
5
7
|

|
|
6
8
|
|
|
7
|
-
|
|
8
9
|
[](https://www.npmjs.com/package/matter-history)
|
|
9
10
|
[](https://www.npmjs.com/package/node-ansi-logger)
|
|
10
11
|
[](https://www.npmjs.com/package/node-persist-manager)
|
|
@@ -329,7 +330,7 @@ After=network-online.target
|
|
|
329
330
|
|
|
330
331
|
[Service]
|
|
331
332
|
Type=simple
|
|
332
|
-
ExecStart=/usr/bin/matterbridge -bridge -service
|
|
333
|
+
ExecStart=/usr/bin/matterbridge -bridge -service
|
|
333
334
|
WorkingDirectory=/home/<USER>/Matterbridge
|
|
334
335
|
StandardOutput=inherit
|
|
335
336
|
StandardError=inherit
|
|
@@ -473,42 +474,73 @@ docker logs matterbridge
|
|
|
473
474
|
docker logs --tail 1000 -f matterbridge
|
|
474
475
|
```
|
|
475
476
|
|
|
476
|
-
# Known issues
|
|
477
|
+
# Known general issues
|
|
477
478
|
|
|
478
479
|
## Session XYZ does not exist
|
|
479
480
|
This message may appear after Matterbridge restarts, indicating that the controller is still using a session from the previous connection that has since been closed.
|
|
480
481
|
After some time, the controller will reconnect.
|
|
481
482
|
In this context, the message is not indicative of a problem.
|
|
482
483
|
|
|
483
|
-
## Apple Home
|
|
484
|
+
## Apple Home
|
|
484
485
|
|
|
485
486
|
The HomePods, being a WiFi devices, sometimes pruduce message trasmission errors. The Apple TV with network cable is more reliable (but also more expensive).
|
|
486
487
|
|
|
487
488
|
Solved with the version 17.5 of the HomePod/AppleTV. Now they are stable.
|
|
488
489
|
|
|
489
|
-
### DoorLock
|
|
490
|
+
### DoorLock issue
|
|
490
491
|
|
|
491
492
|
The DoorLock cluster in the Home app takes a while to get online. The Home app shows no response for 1 or 2 seconds but then the accessory goes online. With the Eve app or the Controller app this issue is not present.
|
|
492
493
|
|
|
493
494
|
Solved with the version 17.5 of the HomePod/AppleTV.
|
|
494
495
|
|
|
496
|
+
## Home Assistant
|
|
497
|
+
|
|
498
|
+
So far is the only controller supporting some Matter 1.3 device type:
|
|
499
|
+
- air quality sensor
|
|
500
|
+
|
|
501
|
+
HA also support electrical measurements from EveHistoryCluster (used in Matterbridge plugins)
|
|
502
|
+
|
|
495
503
|
## Home Assistant issues (Matter Server for HA is still in Beta)
|
|
496
504
|
|
|
497
|
-
- If HA doesn't show all devices just reload the
|
|
498
|
-
- Home Assistant doesn't seem to react when a device is removed from the bridge: they remain
|
|
505
|
+
- If HA doesn't show all devices just reload the Matter Server or reboot HA
|
|
506
|
+
- Home Assistant doesn't seem to react when a device is removed from the bridge: they remain in HA unavailable forever...
|
|
499
507
|
- In the Home Assistant Core log you can see sometimes error messages relating to unique id not found but it seems to be an issue related to missing some matter packet during the commissioning and subscription phase...
|
|
500
508
|
- Version 6.1.0 is more stable and has solved the problem of the commissioning window: now pairing is again easy. Use Apple Home when you have to choose the controller type even if you pair Matterbridge directly with HA.
|
|
501
509
|
|
|
502
510
|
## Google Home
|
|
503
511
|
|
|
512
|
+
No issues reported so far.
|
|
513
|
+
|
|
504
514
|
## Alexa
|
|
505
515
|
|
|
516
|
+
Tested by Tamer Salah
|
|
517
|
+
|
|
518
|
+
Alexa needs the standard port 5540 to pair (from matter.js readme).
|
|
519
|
+
|
|
520
|
+
There is no support for these Matter device types:
|
|
521
|
+
- pressure sensor
|
|
522
|
+
- flow sensor
|
|
523
|
+
- light sensor
|
|
524
|
+
|
|
525
|
+
In the zigbee2mqtt and shelly plugins select the option to expose
|
|
526
|
+
the switch devices like light or outlet cause they don't show up like switch
|
|
527
|
+
(Matterbridge uses a modified switch device type without client cluster).
|
|
528
|
+
|
|
506
529
|
## SmartThings
|
|
507
530
|
|
|
531
|
+
Tested by Tamer Salah
|
|
532
|
+
|
|
533
|
+
No issues reported so far.
|
|
534
|
+
|
|
508
535
|
## eWeLink
|
|
509
536
|
|
|
537
|
+
Tested by Tamer Salah
|
|
538
|
+
|
|
539
|
+
eWeLink needs the standard port 5540 for commissioning.
|
|
540
|
+
|
|
510
541
|
## Tuya/Smart Life
|
|
511
542
|
|
|
543
|
+
Check the matter.js readme.
|
|
512
544
|
|
|
513
545
|
# Contribution Guidelines
|
|
514
546
|
|
|
@@ -524,7 +556,7 @@ I warmly welcome contributions to this project! Whether it's reporting bugs, pro
|
|
|
524
556
|
|
|
525
557
|
## Submitting Changes
|
|
526
558
|
|
|
527
|
-
- Create a new pull request from my repository and I'll be glad to check it out
|
|
559
|
+
- Create a new pull request against the dev from my repository and I'll be glad to check it out
|
|
528
560
|
- Be sure to follow the existing code style
|
|
529
561
|
- Add unit tests for any new or changed functionality if possible
|
|
530
562
|
- In your pull request, do describe what your changes do and how they work
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AirQualityCluster.d.ts","sourceRoot":"","sources":["../../src/cluster/AirQualityCluster.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAmB,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAE9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,yBAAiB,UAAU,CAAC;IAC1B,KAAY,cAAc;QACxB,OAAO,IAAI;QACX,IAAI,IAAI;QACR,IAAI,IAAI;QACR,QAAQ,IAAI;QACZ,IAAI,IAAI;QACR,QAAQ,IAAI;QACZ,aAAa,IAAI;KAClB;IAEM,MAAM,uBAAuB;;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