[RELEASE] Matter Advanced Bridge (limited device support)

Search for your Aqara switch Model Id here in the forum - it may be already supported via direct Zigbee pairing to the HE hub?

I have an Aqara Zigbee Temp/Humid sensor paired directly to my Aqara M3 hub, and then paired via Matter to Apple Home and Home Assistant. I do not see the atmospheric pressure sensor in any system other than the Aqara native app on my phone.

Has anyone tried to connect Homey Pro?

Homey Pro is a Matter Controller (as HE), but is not a Matter Bridge.

Fixed in 2.4.0

2 Likes

I received Tuya Matter device yesterday, and I tested it after connecting it today.
Success! Thank you.


1 Like

I introduced this article to the IOT Forum in Korea.
I tried connecting Soil Tester directly to HE today, and I also tried connecting it through this bridge.
The connection through the bridge has not been made yet.
It would be wonderful if we could use a device that could see this detailed data on the screen at the same time.

1 Like

I have a Switchbox Hub 2 and some Switchbox Blind Tilts. Is there a process to get the Blind Tilts added to the 'working' list?

UPDATE: I have it working now. I had to expose the blind tilts within the 'Matter' option in the Switchbox Hub 2 settings.

1 Like

An update to version 1.2.1 is now pushed for this package via HPM , that includes the following accumulated updates and fixes:

  • ver. 1.2.1 2024-10-05
    • thermostatSetpoint attribute is also updated;
    • Matter Events basic decoding (buttons and Locks are still NOT working!);
    • thermostat driver automatic assignment bug fix;
    • checking both 'maxHeatSetpointLimit' and 'absMaxHeatSetpointLimit' when setting the thermostatSetpoint;
    • thermostatOperatingState is updated (digital);
    • thermostat on() and of() commands bug fix;
  • version 1.2.0 2024-10-03
    • [2.3.9.186] BETA platform: cleanSubscribe;
    • decoded events for child devices w/o the attribute defined are sent anyway;
    • added Matter Thermostats / TRVs.
  • version 1.1.3 2024-08-09 - fixed sendSubsribeList() typo;

Tested TRVs :

  • Aqara Thermostat E1 TRV (Zigbee, via Aqara M3 hub)
  • Tuya BRT-100 TRV (Zigbee, via Tuya GW)
  • TADO thermostat X (Matter over Thread, using Apple HomePod Mini as TBR)
5 Likes

@kkossev Do you know if the lastest 2.3.9 release address the Matter error/initialize issue? Fingers crossed. Thanks.

It is better, when using the new matter.cleanSubscribe() command there are no more duplicated subscriptions anymore!

Unfortunately, the HE platform still calls the initialize() method on any Matter protocol error. But this is mostly the developer's headache, and from the user's point of view, it is OK.

1 Like

Anyone has one of these?

Thanks! Now what to do with all this free time from not worrying about initializeCtr :slight_smile:

I have a bunch of TS0201_TH temperature & humidity sensors. I have them paired to a Tuya Matter hub and I have used this integration to get the sensor data into Hubitat. The temperature reporting works well but the humidity is stuck at 40 for all of the sensors and doesn't get updated. Is there something I can do to get this to work?

Hi,

I am 99% sure the problem is in the Tuya Matter hub not translating correctly the humidity readings for your particular device.

See :
https://www.tuyaos.com/viewtopic.php?t=3507&sid=d3d92db17b044a30906e780ecda3464d

If you post in this Tuya forum, there is a very good chance that Tuya devs will fix the bug!

Tuya Matter hubs (regardless of the white label) are one of the very few devices that are actually developed and supported by Tuya.

3 Likes

@kkossev,
Would love to see this improvement in your driver - the ability to generate original device name/tag similar to the "Generic Matter Bridge" driver.
Thanks

1 Like

I have Zemismart M1 Matter gateway hub. I added a few bulbs(about 8 bulbs) to the hub using Tuya app and clicked 'Discover all' of hub driver page in HE.
It ended with deviceCount 0 with error. Previos deviceCount was 42. The log shows:

dev:6602024-11-12 09:51:07.798 PMerrorjava.lang.NullPointerException: Cannot invoke method contains() on null object on line 4772 (method discoverAllStateMachine)

dev:6602024-11-12 09:51:07.390 PMinfoZemismart M1 Hub Found bridged device part #52 fingerprintAC

dev:6602024-11-12 09:51:07.388 PMinfoZemismart M1 Hub Cluster Descriptor (0x001D) endpoint 0xAC attributes and values list (0xFFFB) :
[FFFB] AttributeList = [FFF8, FFF9, FFFB]
[FFF8] GeneratedCommandList =
[FFF9] AcceptedCommandList =

dev:6602024-11-12 09:51:05.638 PMinfoZemismart M1 Hub Cluster BridgedDeviceBasicInformation (0x0039) endpoint 0xAB attributes and values list (0xFFFB) :
[FFFB] AttributeList = [01, 02, 03, 04, 05, 07, 08, 0A, 09, 0B, 0C, 0D, 0E, 0F, 11, 12, FFF8, FFF9, FFFB, FFFC, FFFD]
[0001] VendorName = Zemismart Technology Limited
[0002] VendorID = 0x139C (5020)
[0003] ProductName = Zemismart WiFi Smart Switch
[0004] ProductID = 0xAB05 (43781)
[0005] NodeLabel = Zemismart WiFi Smart Switch
[0007] HardwareVersion = 00
[0008] HardwareVersionString = 1.0
[0009] SoftwareVersion = 01
[000A] SoftwareVersionString = 1.6
[000C] PartNumber = 0x14 (20)
[000D] ProductURL = 0x14 (20)
[000E] ProductLabel = 0x14 (20)
[000F] SerialNumber = 0x14 (20)
[0011] Reachable = 01
[0012] UniqueID = 0x14 (20)
[FFF8] GeneratedCommandList =
[FFF9] AcceptedCommandList =
[FFFC] FeatureMap = 00
[FFFD] ClusterRevision = 01

dev:6602024-11-12 09:51:03.407 PMinfoZemismart M1 Hub Found bridged device part #51 fingerprintAB

dev:6602024-11-12 09:51:03.405 PMinfoZemismart M1 Hub Cluster Descriptor (0x001D) endpoint 0xAB attributes and values list (0xFFFB) :
[FFFB] AttributeList = [00, 01, 02, 03, FFF8, FFF9, FFFB, FFFC, FFFD]
[0000] DeviceTypeList = [13, 1818]
[0001] ServerList = [1D, 2E, 39, 40, 41]
[0002] ClientList =
[0003] PartsList = [AC, AD, AE, AF]
.
.
.
.

Current States

  • Status : clear
  • deviceCount : 0
  • endpointsCount : 61
  • healthStatus : online
  • initializeCtr : 0
  • nodeLabel : Zemismart M1 Hub
  • productName : Zemismart M1 Hub
  • reachable : 01
  • rebootCount : 36
  • rtt : 59
  • softwareVersionString :2.0.0
  • totalOperationalHours : 746
  • upTime : 2685877

Number of device paired to M1 caused error?

1 Like

This is definitely a bug in the code (method not secured ), and I will fix it in the next update, ...but...

How many devices do you have paired on this Tuya hub? :eyes:

Have you tried the HE inbuilt 'Generic Matter Bridge' driver ?

Is this device really a WiFi switch, or is it actually a Zigbee one?

Please try ver. 1.3.1 2024-11-12 '2023/11/12 9:55 PM' - (dev. branch) bugfix: nullpointer exception in discoverAllStateMachine()

It must be installed manually from GitHub as a Bundle Zip-ed package :

https://github.com/kkossev/Hubitat---Matter-Advanced-Bridge/raw/main/MatterAdvancedBridge.zip

Save the ZIP file on your PC and then use the HE Bindles -> Import function :

image

The alternative way to update the package manually is to do an HPM 'repair.'


Some interesting news (one week old now) from Tuya :

2024年 Nov 6日 03:40

kkossev 2024年 Nov 5日 08:37

There was a firmware update for the Tuya Matter gateways rolled out recently.

Are there any release notes/ details on what was added in regards to the bridged Zigbee devices? Any new device types?

Hi
The following are the release notes.

  1. Support smoke sensors, gas sensors,door lock and infrareds.
  2. Support faulty gateway replacement function, convenient replacement in abnormal situations
  3. Support remote restart and scheduled restart. For special deployment scenarios where it is inconvenient for users to disconnect the power supply, remote operation is possible
  4. Support gateway Zigbee channel settings and other functions
  5. Optimize bridging of third-party platforms such as Samsung and Apple, and fix multiple known issues

thanks.

Hi, Kossev,
I found a matter-over-wifi switch caused problem. I removed it from Tuya app and tried 'Discover all' from HE matter gateway driver. Everything worked find.
I don't understand why the matter-over-wifi switch was included in device list of M1 gateway hub. I paired the switch to Homekit, HE, and Tuya app. As I don't use Tuya app except pairing zigbee devices to the M1 hub, I can live without pairing matter-over-wifi devices to Tuya app.
Now I have 46 devices paired and endpointsCount is 56 using M1 matter gateway hub.
Thanks for your care.

1 Like