plan44 matter beta README
Following the matter SDK v1.0.0 release on October 4th, 2022, all plan44.ch devices (P44-DSB-xx digitalSTROM bridges and P44-LC-xx standalone controllers) can install a public beta firmware which enables the devices to work as matter bridges. This readme explains how to use the early beta matter implementation.
Prerequisites
A P44-DSB or P44-LC device
The following devices are supported:
- P44-LC-DE, P44-DSB-E2, P44-DSB-DEH2, P44-DSB-D, P44-DSB-E.
- DIY devices based on RaspberryPi using the free P44-DSB-X or P44-LC-X images.
2.7.0.x beta firmware for your P44-xx device
To get the 2.7.0.x/1.7.0.x beta firmware for installation on your device, it must be registered at plan44 to enable these updates via the normal update mechanism.
Please just request this for your device by sending me an email, including the serial number of the device you want matter beta firmware for.
Suitable hardware with matter support for the smarthome oecosystem you want to use
With iOS/tvOS 16.1, Apple officially released matter (also in macOS Ventura and watchOS 9.1). Amazon announced on 3 November that it would equip 17 Echo devices with matter-enabled firmware by December 2022. I have not yet been able to test Alexa, Google and Samsung SmartThings myself, but all have had or will soon have matter releases.
For operation with Apple Home, the requirements are an iPhone or iPad for the user interface and an AppleTV or HomePod mini for the "Home Hub" functionality, all must have at least iOS/iPadOS/tvOS 16.1 installed.
How to enable matter bridging on P44-xx
Once the above requirements are met, onboarding is easy:
- Open the P44 Web-UI
- On the "System" tab you should see a new section "Matter bridge (beta!)". Click the "Matter bridge..." button - you should see a dialog indicating you need to enable at least one light for briding first. Note: if you don't see this button despite installed firmware version 2.7.0.x (or 1.7.0.x for P44-LC), please force-reload the web-UI in your browser - sometimes the previous version of the web-UI remains active from the browser cache.
- From your device list, choose at least one light you want to bridge to matter. Open the info dialog with the (i)-button and press the "Enable for bridging to matter" button.
- Go back to the "System" tab, press the "Matter bridge..." button again
- Now the dialog should present you a QR code (the so-called onboarding code)
- Use your matter enabled smarthome app ("Home.app" on Apple devices), choose "add accessory...", and scan the QR code
- The smarthome app will guide you through the setup, and in the process most likely ask if you really want to add an uncertified accessory (you need to answer yes for now, see why below). The onboarding process may not yet be as smooth as it could be. For example, Apple Home does not yet suggest the P44-side device names, but only "Matter Accessory 1..n", and the correct names have to be entered manually (status iOS 16.1, already fixed with iOS 16.2 beta). The room assignments must also be duplicated manually.
Once onboarding is complete, you'll have all the devices you selected for bridging (see second step above) visible in your app(s) and accessible directly or via a voice control assistant you might have (hey Siri, ok Google, Alexa).
You can add more devices now by clicking the "Enable for bridging to matter" button as described above - but give the smart home system a few minutes to sync up afterwards...
At this time (2.7.0.9/1.7.0.9 beta), on/off devices, dimmed luminaires and plug-in devices, coloured luminaires, temperature, humidity and brightness sensors for "bridging" are supported. Further device types will follow.
For questions, discussions, suggestions etc. there is a new section for matter in the plan44 forum.
How to bridge digitalSTROM room state into matter
In the P44-DSB products, you'll see a new device section called "Bridging". Bridges are a special kind of devices which can bring matter support even into digitalSTROM rooms without any P44 based lights, just standard dS terminal blocks!
Bridge devices can be created by clicking on the "+Bridge" button, and then placed (in the dSS) into a digitalSTROM room. Bridge devices appear in dSS as a light with a local button.
A bridge device does two things:
-
it listens for digitalSTROM scene calls happening in the room, and then transmits the resulting room state to matter, where it is displayed like a dimmer slider. So if preset3 (standard setting: 50%) scene is called in a room, you'll see 50% in matter
-
when the room slider is moved on the matter side, the bridge device will translate this to the nearest matching scene and call this scene in the room. For example, when you move the slider to 70%, the nearest scene is probably preset2 (75%), so this will be called in the room.
So in rooms with standard 100%/75%/50%/25% scenes, all you need to do is create a "Five Level room state bridge" and move it to the room you want to see and control via matter. If the scenes in the room have non-standard levels, just call these scenes in the dSS, manually set the same level in the bridge device, and save the scene.
If you change the button function to an area button, the bridge will mirror the area state (on or off) instead of the entire room. The "on-off" bridge device just maps off and on scenes, but not preset2..4.
What about certification?
The current beta version is not certified. It sails under the generic TestVendor1
vendor ID (0xFFF1) and uses the SDK bridge_app
example's product ID (0x8002), which is basically correct as the p44mbrd application was developed based on the bridge example.
On the long run, plan44 wants to certify this matter bridge. Unfortunately, organisations like the csa-iot are created and run by people familiar with large and huge companies, but mostly quite foreign to the reality of really small companies like plan44 and small volume niche products like the P44-xx devices. So while the technical side (opensource SDK on github) is very accessible and manageable also for tiny shops like plan44, certification and the surrounding paperworks look frightingly expensive and time consuming at this time.
plan44 is trying find cooperation partners for getting the p44mbrd bridge daemon certified. But these are ongoing negotiations - only time can show if matter is not only manageable technically (yes, it is!), but also on the commercial level for a small company.
Will my non-certified bridge setup continue to work when smart home apps are out of beta?
In the case of Apple, the answer is yes! - at least for now, in iOS 16.1. I cannot yet say anything about how the other "oecosystems" will handle this. Apple's decision for iOS 16.1 and the information available right now suggest that the option to allow uncertified accessories by explicitly consenting in a dialog will stay.
But obviously, a beta setup like this, even if it turns out to stay accepted technically for a long time, should not be considered productive, and must not be used yet to provide any functionality which is indispensable in your smart home.
Please also do not expect this beta setup to transition into non-beta without setting up the bridge again from scratch in your smart home system!