Skip to content

Matter Binding ​

The Matter Binding for openHAB allows seamless integration with Matter-compatible devices.

It currently supports version 1.6.1 of the Matter specification and earlier.

Supported functionality ​

This binding supports two different types of Matter functionality which operate independently of each other.

  • Matter Client

    • This allows openHAB to discover and control other Matter devices like lights, thermostats, window coverings, locks, etc...
  • Matter Bridge

    • This allows openHAB to expose items as Matter devices to other Matter clients. This allows local control of openHAB devices from other ecosystems like Apple Home, Amazon, and Google Home.

For more information on the Matter specification, see the Matter Ecosystem Overview section at the end of this document.

Matter.JS Runtime ​

This binding uses the excellent matter.js implementation of the Matter 1.6.1 protocol.

As such, this binding requires Node.js 22.13 or newer and will attempt to download and cache Node.js 24 when started if a suitable version is not already installed on the system. Alpine Linux users (typically docker) and those on older Linux distributions will need to install this manually as the official NodeJS versions are not compatible.

Matter state, including pairings, is stored in $OPENHAB_USERDATA/matter. Back up this folder before upgrading openHAB.

Matter and IPv6 ​

Matter requires IPv6 to be enabled and be routable between openHAB and the Matter device. This means IPv6 needs to be enabled on the host openHAB is running, and the network must be able route IPv6 unicast and multicast messages. Docker, VLANs, subnets and other configurations can prohibit Matter from working if not configured correctly.

Matter Client ​

This describes the Matter controller functionality for discovering and controlling Matter devices.

Quick Start ​

  1. Install the Matter binding from the openHAB add-on store.
  2. Add a Matter "Controller" Thing to the inbox using the default settings.
  3. Use the "Pair Matter Device" action on the controller Thing to pair a device with the controller.
  4. Add the discovered device from the inbox as a new "Node" Thing.

Note: It is never necessary to remove or delete the "Controller" Thing when troubleshooting issues.

Supported Things ​

The Matter Binding supports the following types of things:

  • controller: The main controller that interfaces with Matter devices. It requires the configuration parameter nodeId which sets the local Matter node ID for this controller (must be unique in the fabric). This must be added manually.
  • node: Represents an individual Node within the Matter network. The only configuration parameter is nodeId. A standard Node will map Matter endpoints to openHAB channel groups. This will be discovered automatically when a pairing code is used to scan for a device and should not be added manually.
  • endpoint: Represents an standalone endpoint as a child of a node Thing. Only Endpoints exposed by Matter bridges will be added as endpoint things, otherwise Matter Endpoints are mapped on a node Thing as channel groups. An endpoint Thing will be discovered automatically when a node is added that has multiple bridged endpoints and should not be added manually.

Discovery ​

Matter controllers must be added manually. Nodes (devices) will be discovered when a pairCode is used to search for a device to add. Bridged endpoints will be added to the inbox once the parent Node is added as a Thing.

Device Pairing: General ​

The pairing action can be found in the settings of the "Controller" Thing under the "Actions" -> "Pair Matter Device"

Matter Pairing

This action will give feedback on the pairing process, if successful a device will be added to the Inbox.

See Device Pairing: Code Types for more information on pairing codes and code formats.

The same codes can also be used in the openHAB Thing discovery UI, although feedback is limited and only a single controller is supported.

Thing Discovery

Device Pairing: Code Types ​

In order to pair (commission in matter terminology) a device, you must have an 11 digit manual pairing code (eg 123-4567-8901 or 12345678901) or a QR Code (eg MT:ABCDEF1234567890123). If the device has not been paired before, use the code provided by the manufacturer and ensure the device is in pairing mode, refer to your devices instructions for pairing for more information. You can include dashes or omit them in a manual pairing code.

If the device is paired with another Matter ecosystem (Apple, Google, Amazon, etc..) you must use that ecosystem to generate a new pairing code and search for devices. The pairing code and device will only be available for commissioning for a limited time. Refer to the ecosystem that generated the code for the exact duration (typically 5-15 minutes). In this case, openHAB still talks directly to the device and is not associated with that existing ecosystem.

If the device seems to be found in the logs, but can not be added, its possible the device has been already paired. Hard resetting the device may help this case. See your device documentation for how to hard reset the device.

Device Pairing: Thread Devices ​

Thread devices require a Thread Border Router and a bluetooth enabled device to facilitate the thread joining process (typically a mobile device). Until there is a supported thread border router integration in openHAB and the openHAB mobile apps, it's strongly recommended to pair the device to a commercial router with thread support first (Apple TV 4k, Google Nest Hub 2, Amazon Gen 4 Echo, etc... ), then generate a matter pairing code using that ecosystem and add the device normally. This will still allow openHAB to have direct access to the device using only the embedded thread border router and does not interact with the underlying providers home automation stack.

Support for using a OpenThread Border Router has been verified to work and will be coming soon to openHAB, but in some cases requires strong expertise in IPv6 routing as well as support in our mobile clients.

Enabling IPv6 Thread Connectivity on Linux Hosts ​

It is important to make sure that Route Announcements (RA) and Route Information Options (RIO) are enabled on your host so that Thread boarder routers can announce routes to the Thread network. This is done by setting the following sysctl options:

  1. net.ipv6.conf.wlan0.accept_ra should be at least 1 if ip forwarding is not enabled, and 2 otherwise.
  2. net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen should not be smaller than 64.

the accept_ra is defaulted to 1 for most distributions.

There may be other network daemons which will override this option (for example, dhcpcd on Raspberry Pi will override accept_ra to 0).

You can check the accept_ra value with:

bash
$ sudo sysctl -n net.ipv6.conf.wlan0.accept_ra
0

And set the value to 1 (or 2 in case IP forwarding is enabled) with:

bash
$ sudo sysctl -w net.ipv6.conf.wlan0.accept_ra=1
Net.ipv6.conf.wlan0.accept_ra = 1

The accept_ra_rt_info_max_plen option on most Linux distributions is default to 0, set it to 64 with:

bash
$ sudo sysctl -w net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen=64
net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen = 64

To make these changes permanent, add the following lines to /etc/sysctl.conf:

ini
net.ipv6.conf.eth0.accept_ra=1
net.ipv6.conf.eth0.accept_ra_rt_info_max_plen=64

Raspberry Pi users may need to add the following lines to /etc/dhcpcd.conf to prevent dhcpcd from overriding the accept_ra value:

ini
noipv6
noipv6rs

NOTE: Please ensure you use the right interface name for your network interface. The above examples use wlan0 and eth0 as examples. You can find the correct interface name by running ip a and looking for the interface that has an IPv6 address assigned to it.

Thing Configuration ​

Controller Thing Configuration ​

The controller Thing must be created manually before devices can be discovered.

NameTypeDescriptionDefaultRequiredAdvanced
nodeIdnumberThe matter node ID for this controller0yesno

Note: The controller nodeId must not be changed after a controller is created.

Node Thing Configuration ​

Nodes are discovered automatically (see Discovery for more information) and should not be added manually.

NameTypeDescriptionDefaultRequiredAdvanced
nodeIdtextThe node ID of the endpointN/Ayesno

Endpoint Thing Configuration ​

Endpoints are discovered automatically once their parent Node has been added (see Discovery for more information) and should not be added manually.

NameTypeDescriptionDefaultRequiredAdvanced
endpointIdnumberThe endpoint ID within the nodeN/Ayesno

Thing Actions ​

Node Thing Actions ​

NameDescription
Decommission Matter node from fabricThis will remove the device from the Matter fabric. If the device is online and reachable this will attempt to remove the credentials from the device first before removing it from the network. Once a device is removed, this Thing will go offline and can be removed.
Generate a new pairing code for a Matter deviceGenerates a new manual and QR pairing code to be used to pair the Matter device with an external Matter controller. The codes are valid for 15 minutes, and the result shows when they expire.
List Connected Matter FabricsThis will list all the Matter fabrics this node belongs to
Remove Connected Matter FabricThis removes a connected Matter fabric from a device. Use the 'List connected Matter fabrics' action to retrieve the fabric index number
OTA: Check for firmware updatesQueries the Matter server for available firmware updates for this device
OTA: Start firmware updateStarts the firmware update process for this device. Check the Thing status for download progress.
OTA: Cancel firmware updateCancels the firmware update process for this device if the download is in progress. Updates will not be possible for approximately 10 minutes after cancellation.
Keep a sleepy device awakeAsks a battery powered device to stay awake for the given number of seconds, for example before sending it several commands. The device decides how long it stays awake.

For nodes that contain a Thread Border Router Management Cluster, the following additional actions will be present

NameDescription
Thread: Load external operational datasetUpdates the local operational dataset configuration from a hex or JSON string for the node. Use the 'Push local operational dataset' action to push the dataset back to the device after loading.
Thread: Load operational dataset from deviceUpdates the local operational dataset configuration from the device.
Thread: Operational Dataset GeneratorGenerates a new operational dataset and optionally saves it locally.
Thread: Push local operational datasetPushes the local operational dataset configuration to the device.

A Thread operational data set is a hex encoded string which contains a Thread border router's configuration. Using the same operational data set across multiple Thread border routers allows those routers to form a single network where Thread devices can roam from router to router. Some Thread border routers allow a "pending" operational dataset to be configured, this allows routers to coordinate the configuration change with current Thread devices without requiring those devices to be reconfigured (live migration).

OTA (Over-The-Air) Firmware Updates ​

Matter devices support OTA firmware updates, allowing devices to be updated with the latest firmware without requiring physical access or manufacturer-specific applications. openHAB uses the official Matter Distributed Compliance Ledger (DCL), a cryptographically secure, distributed network that allows Matter device manufacturers and vendors to query and publish public firmware updates. This is the same method commercial Matter systems use to update their devices.

Checking for Updates ​

openHAB will query the public DCL every 24 hours for available updates. To manually check if a firmware update is available for a device, use the "OTA: Check for firmware updates" action on the Node Thing. This will query the Matter server for available updates and update the Thing status if an update is found.

If an update is available, the otasoftwareupdaterequestor-updateavailable channel will be set to ON, and the Thing status will display "Firmware update available".

Firmware Update Available

Starting an Update ​

Once an update is available, use the "OTA: Start firmware update" action to begin the download and installation process. The Thing status will be updated with the current state of the update process:

  • Downloading: The firmware is being downloaded from the Matter server. The status will show the download progress as a percentage.
  • Applying: The firmware is being applied to the device.
  • Delayed on apply: The device is waiting to apply the firmware (may require user intervention).
  • Delayed on user consent: The device is waiting for user consent to proceed.
Firmware Update Downloading

Note: During the update process, the device may become temporarily unavailable or unresponsive. Most devices will automatically reboot after the update is applied.

Canceling an Update ​

If a firmware update is in progress and you need to cancel it, use the "OTA: Cancel firmware update" action. This will stop the download if it is in progress. If the update is in the applying state, then this action will not have any effect.

Important: After canceling an update, the device will enter a cool down period of approximately 10 minutes during which updates cannot be initiated.

Update Available Channel ​

Devices that support OTA updates will have an otasoftwareupdaterequestor-updateavailable channel that indicates whether a firmware update is available. This channel can be used in rules to automate notifications or actions when updates become available.

Example rule:

javascript
rules.when().item('Matter_Node_Ota_Update_Available').changed().toOn().then(e => {
    console.log("Matter Node OTA Update Available!: {}", e);
}).build("Matter Node OTA Update Available Rule");

Troubleshooting ​

  • No updates available: Not all Matter devices support OTA updates, and updates are only available when the device manufacturer provides them to the Matter network.
  • Update fails: If an update fails, check the Thing status and logs for error messages. The device may need to be power cycled or reset.
  • Update stuck: If an update appears to be stuck, you can try canceling it and restarting the update process after the cool down period.

Channels ​

Controller Channels ​

Controllers have no channels.

Node and Bridge Endpoint Channels ​

Channels are dynamically added based on the endpoint type and matter cluster supported. Each endpoint is represented as a channel group. Possible channels include:

Endpoint Channels ​

Channel IDTypeLabelDescriptionCategoryReadOnlyPatternState Options
airquality-airqualityNumberAir QualityIndicates the currently measured air qualitytrue0=Unknown, 1=Good, 2=Fair, 3=Moderate, 4=Poor, 5=Very Poor, 6=Extremely Poor
booleanstate-statevalueSwitchBoolean StateIndicates a boolean state valueStatustrue
carbondioxideconcentrationmeasurement-measuredvalueNumber:DimensionlessCO2 ConcentrationIndicates the measured carbon dioxide concentrationCarbonDioxidetrue%.2f ppm
carbonmonoxideconcentrationmeasurement-measuredvalueNumber:DimensionlessCO ConcentrationIndicates the measured carbon monoxide concentrationAlarmtrue%.2f ppm
concentrationmeasurement-averagemeasuredvalueNumber:DimensionlessAverage ConcentrationIndicates the average concentration measured during the measurement windowCharttrue%.2f
concentrationmeasurement-levelvalueNumberConcentration LevelIndicates the concentration level as an enumerationQualityOfServicetrue0=Unknown, 1=Low, 2=Medium, 3=High, 4=Critical
concentrationmeasurement-peakmeasuredvalueNumber:DimensionlessPeak ConcentrationIndicates the peak (maximum) concentration measured during the measurement windowCharttrue%.2f
colorcontrol-colorColorColorThe color channel allows to control the color of a light. It is also possible to dim values and switch the light on and off.ColorLight
colorcontrol-temperatureDimmerColor TemperatureSets the color temperature of the lightColorLight
colorcontrol-temperature-absNumber:TemperatureColor TemperatureSets the color temperature of the light in mirekColorLight%.0f %unit%
doorlock-alarmTriggerDoor Lock AlarmEvent that fires when a lock alarm occurs0=Lock Jammed, 1=Lock Factory Reset, 3=Lock Radio Power Cycled, 4=Wrong Code Entry Limit, 5=Front Escutcheon Removed, 6=Door Forced Open, 7=Door Ajar, 8=Forced User
doorlock-boltstateSwitchDoor Bolt StateBolts and unbolts the door and maintains the bolt stateDoor
doorlock-doorstateContactDoor Sensor StateDoor Sensor StateDoortrue
doorlock-lockoperationerrorTriggerLock Operation ErrorEvent that fires when a lock operation error occurs0=Lock, 1=Unlock, 2=Non Access User Event, 3=Forced User Event, 4=Unlatch
doorlock-lockstateSwitchDoor Lock StateLocks and unlocks the door and maintains the lock state. If the door lock supports unbolting, this will reflect the latched state.Door
doorlock-soundvolumeNumberDoor Lock Sound VolumeSets the sound volume of the door lock0=Silent, 1=Low, 2=High, 3=Medium
electricalenergymeasurement-cumulativeenergyexported-energyNumber:EnergyCumulative Energy ExportedThe cumulative energy exported measurementEnergytrue%.1f %unit%
electricalenergymeasurement-cumulativeenergyimported-energyNumber:EnergyCumulative Energy ImportedThe cumulative energy imported measurementEnergytrue%.1f %unit%
electricalenergymeasurement-energymeasurmement-energyNumber:EnergyEnergyThe measured energyEnergytrue%.1f %unit%
electricalenergymeasurement-periodicenergyexported-energyNumber:EnergyPeriodic Energy ExportedThe periodic energy exported measurementEnergytrue%.1f %unit%
electricalenergymeasurement-periodicenergyimported-energyNumber:EnergyPeriodic Energy ImportedThe periodic energy imported measurementEnergytrue%.1f %unit%
electricalpowermeasurement-activecurrentNumber:ElectricCurrentActive CurrentThe active current measurement in amperesEnergytrue%.1f %unit%
electricalpowermeasurement-activepowerNumber:PowerActive PowerThe active power measurement in wattsEnergytrue%.1f %unit%
electricalpowermeasurement-voltageNumber:ElectricPotentialVoltageThe voltage measurement in voltsEnergytrue%.2f %unit%
fancontrol-fanmodeNumberFan ModeSet the fan modeHVAC0=Off, 1=Low, 2=Medium, 3=High, 4=On, 5=Auto
fancontrol-modeNumberFan Control ModeThe current mode of the fanHVAC
fancontrol-percentDimmerFan Control PercentThe current fan speed percentage levelHVACtrue%.0f %%
formaldehydeconcentrationmeasurement-measuredvalueNumber:DimensionlessFormaldehyde ConcentrationIndicates the measured formaldehyde (HCHO) concentrationGastrue%.2f ppm
icdmanagement-checkinregisteredSwitchCheck-In RegisteredIndicates if openHAB is registered to receive check-ins from this sleepy deviceStatustrue
icdmanagement-lastcheckinDateTimeLast Check-InThe time this sleepy device last checked in with openHABTimetrue
illuminancemeasurement-measuredvalueNumber:IlluminanceIlluminanceThe measured illuminance in LuxIlluminancetrue%d %unit%
levelcontrol-levelDimmerDimmerSets the level of the lightLight
modeselect-modeNumberMode SelectSelection of 1 or more states%d
nitrogendioxideconcentrationmeasurement-measuredvalueNumber:DimensionlessNO2 ConcentrationIndicates the measured nitrogen dioxide concentrationGastrue%.2f ppm
occupancysensing-occupiedSwitchOccupancyIndicates if an occupancy sensor is triggeredPresencetrue
onoffcontrol-onoffSwitchSwitchSwitches the power on and offLight
otasoftwareupdaterequestor-updateavailableSwitchUpdate AvailableIndicates if there is a firmware update available for the device. Use the "Start Firmware Update" Thing action to start the update process.Statustrue
ozoneconcentrationmeasurement-measuredvalueNumber:DimensionlessOzone ConcentrationIndicates the measured ozone (O₃) concentrationGastrue%.2f ppm
pm1concentrationmeasurement-measuredvalueNumber:DimensionlessPM1 ConcentrationIndicates the measured PM1 particulate matter concentrationQualityOfServicetrue%.1f µg/m³
pm10concentrationmeasurement-measuredvalueNumber:DimensionlessPM10 ConcentrationIndicates the measured PM10 particulate matter concentrationQualityOfServicetrue%.1f µg/m³
pm25concentrationmeasurement-measuredvalueNumber:DimensionlessPM2.5 ConcentrationIndicates the measured PM2.5 particulate matter concentrationQualityOfServicetrue%.1f µg/m³
powersource-batchargelevelNumberBattery Charge LevelIndicates a coarse ranking of the charge level of the battery, used to indicate when intervention is requiredEnergytrue0=Ok, 1=Warning, 2=Critical
powersource-batpercentremainingNumber:DimensionlessBattery Percent RemainingIndicates the estimated percentage of battery charge remaining until the battery will no longer be able to provide power to the NodeEnergytrue%d %%
radonconcentrationmeasurement-measuredvalueNumber:DimensionlessRadon ConcentrationIndicates the measured radon concentrationGastrue%.2f
relativehumiditymeasurement-measuredvalueNumber:DimensionlessHumidityThe measured humidityHumiditytrue%.0f %%
rvccleanmode-modeNumberClean ModeSelects the cleaning mode (vacuum, mop etc.) of the robotic vacuum cleaner%d
rvcoperationalstate-gohomeSwitchGo HomeSends the robotic vacuum cleaner back to the dock
rvcoperationalstate-stateNumberOperational StateReports the operational state of the robotic vacuum cleanertrue%d
rvcrunmode-modeNumberRun ModeSelects the run mode (idle, cleaning, mapping) of the robotic vacuum cleaner%d
servicearea-selectedareaSwitchArea SelectionToggle to enable a mapped area for cleaning
smokecoalarm-batteryalertNumberBattery AlertIndicates whether the battery power resource fault detection is triggeredAlarmtrue0=Normal, 1=Warning, 2=Critical
smokecoalarm-contaminationstateNumberContamination StateIndicates the contamination level of the smoke sensorAlarmtrue0=Normal, 1=Low, 2=Warning, 3=Critical
smokecoalarm-costateNumberCO AlarmIndicates whether the CO sensor is currently triggering an alarmAlarmtrue0=Normal, 1=Warning, 2=Critical
smokecoalarm-devicemutedNumberDevice MutedIndicates whether the audible expression of the device is currently mutedAlarmtrue0=Not Muted, 1=Muted
smokecoalarm-endofserviceNumberEnd Of ServiceIndicates whether the end-of-service has been triggered at the deviceAlarmtrue0=Normal, 1=Expired
smokecoalarm-expressedstateNumberExpressed StateThe visibly and audibly expressed alarm state with the highest priorityAlarmtrue0=Normal, 1=Smoke Alarm, 2=CO Alarm, 3=Battery Alert, 4=Testing, 5=Hardware Fault, 6=End Of Service, 7=Interconnect Smoke, 8=Interconnect CO
smokecoalarm-expirydateDateTimeExpiry DateIndicates the date when the device reaches its stated expiry dateTimetrue
smokecoalarm-hardwarefaultSwitchHardware FaultIndicates whether the hardware fault detection mechanism is triggeredAlarmtrue
smokecoalarm-interconnectcoNumberInterconnect CO AlarmIndicates whether the interconnected CO alarm is currently triggering from another deviceAlarmtrue0=Normal, 1=Warning, 2=Critical
smokecoalarm-interconnectsmokeNumberInterconnect Smoke AlarmIndicates whether the interconnected smoke alarm is currently triggering from another deviceAlarmtrue0=Normal, 1=Warning, 2=Critical
smokecoalarm-smokesensitivityNumberSmoke SensitivityIndicates the sensitivity level of the smoke sensorAlarm0=High, 1=Standard, 2=Low
smokecoalarm-smokestateNumberSmoke AlarmIndicates whether the smoke sensor is currently triggering an alarmAlarmtrue0=Normal, 1=Warning, 2=Critical
smokecoalarm-testinprogressSwitchTest In ProgressIndicates whether the device self-test is currently activatedAlarmtrue
totalvolatileorganiccompoundsconcentrationmeasurement-measuredvalueNumber:DimensionlessTVOC ConcentrationIndicates the measured total volatile organic compounds concentrationGastrue%.2f ppm
switch-initialpressTriggerInitial Press TriggerThis trigger shall indicate the new value of the CurrentPosition attribute as a JSON object, i.e. while pressed.
switch-longpressTriggerLong Press TriggerThis trigger shall indicate the new value of the CurrentPosition attribute as a JSON object, i.e. while pressed.
switch-longreleaseTriggerLong Release TriggerThis trigger shall indicate the previous value of the CurrentPosition attribute as a JSON object, i.e. just prior to release.
switch-multipresscompleteTriggerMulti-Press Complete TriggerThis trigger shall indicate 2 numeric fields as a JSON object. The first is the new value of the CurrentPosition attribute, i.e. while pressed. The second is how many times the momentary switch has been pressed in a multi-press sequence.
switch-multipressongoingTriggerMulti-Press Ongoing TriggerThis trigger shall indicate 2 numeric fields as a JSON object. The first is the new value of the CurrentPosition attribute, i.e. while pressed. The second is the multi press code with a value of N when the Nth press of a multi-press sequence has been detected.
switch-shortreleaseTriggerShort Release TriggerThis trigger shall indicate the previous value of the CurrentPosition attribute as a JSON object, i.e. just prior to release.
switch-switchNumberSwitchIndication of a switch or remote being activatedtrue%d
switch-switchlatchedTriggerSwitched Latched TriggerThis trigger shall indicate the new value of the CurrentPosition attribute as a JSON object, i.e. after the move.
temperaturemeasurement-measuredvalueNumber:TemperatureTemperatureThe measured temperatureTemperaturetrue%.1f %unit%
thermostat-localtemperatureNumber:TemperatureLocal TemperatureIndicates the local temperature provided by the thermostatHVACtrue%.1f %unit%
thermostat-occupiedcoolingNumber:TemperatureOccupied Cooling SetpointSet the cooling temperature when the room is occupiedHVAC%.1f %unit%
thermostat-occupiedheatingNumber:TemperatureOccupied Heating SetpointSet the heating temperature when the room is occupiedHVAC%.1f %unit%
thermostat-outdoortemperatureNumber:TemperatureOutdoor TemperatureIndicates the outdoor temperature provided by the thermostatHVACtrue%.1f %unit%
thermostat-runningmodeNumberRunning ModeThe running mode of the thermostatHVACtrue0=Off, 3=Cool, 4=Heat
thermostat-runningstate-coolSwitchCooling Running StateIndicates if the thermostat is currently coolingClimatetrue
thermostat-runningstate-coolstage2SwitchCooling Stage 2 Running StateIndicates if the thermostat is currently cooling with its second stageClimatetrue
thermostat-runningstate-fanSwitchFan Running StateIndicates if the thermostat fan is currently runningFantrue
thermostat-runningstate-fanstage2SwitchFan Stage 2 Running StateIndicates if the thermostat fan is currently running at its second stageFantrue
thermostat-runningstate-fanstage3SwitchFan Stage 3 Running StateIndicates if the thermostat fan is currently running at its third stageFantrue
thermostat-runningstate-heatSwitchHeating Running StateIndicates if the thermostat is currently heatingHeatingtrue
thermostat-runningstate-heatstage2SwitchHeating Stage 2 Running StateIndicates if the thermostat is currently heating with its second stageHeatingtrue
thermostat-systemmodeNumberSystem ModeSet the system mode of the thermostatHVAC0=Off, 1=Auto, 3=Cool, 4=Heat, 5=Emergency Heating, 6=Precooling, 7=Fan Only, 8=Dry, 9=Sleep
thermostat-unoccupiedcoolingNumber:TemperatureUnoccupied Cooling SetpointSet the cooling temperature when the room is unoccupiedHVAC%.1f %unit%
thermostat-unoccupiedheatingNumber:TemperatureUnoccupied Heating SetpointSet the heating temperature when the room is unoccupiedHVAC%.1f %unit%
threadborderroutermanagement-activedatasetStringActive DatasetThe active Thread network dataset configurationNetwork
threadborderroutermanagement-activedatasettimestampNumberActive Dataset TimestampTimestamp of the active Thread network datasetNetworktrue%d
threadborderroutermanagement-borderagentidStringBorder Agent IDThe unique identifier of the Thread border agentNetworktrue
threadborderroutermanagement-borderrouternameStringBorder Router NameThe name of the Thread border routerNetworktrue
threadborderroutermanagement-interfaceenabledSwitchInterface EnabledWhether the Thread border router interface is enabledNetwork
threadborderroutermanagement-pendingdatasetStringPending DatasetThe pending Thread network dataset configuration (only available if PAN change feature is supported)Network
threadborderroutermanagement-pendingdatasettimestampNumberPending Dataset TimestampTimestamp of the pending Thread network dataset (only available if PAN change feature is supported)Networktrue%d
threadborderroutermanagement-threadversionNumberThread VersionThe version of Thread protocol being usedNetworktrue%d
threadnetworkdiagnostics-channelNumberChannelThe Thread network channelNetworktrue%d
threadnetworkdiagnostics-extendedpanidNumberExtended PAN IDThe Thread network extended PAN IDNetworktrue%d
threadnetworkdiagnostics-networknameStringNetwork NameThe Thread network nameNetworktrue
threadnetworkdiagnostics-panidNumberPAN IDThe Thread network PAN IDNetworktrue%d
threadnetworkdiagnostics-rloc16NumberRLOC16The Thread network RLOC16 addressNetworktrue%d
threadnetworkdiagnostics-routingroleNumberRouting RoleThe Thread routing roleNetworktrue%d0=Unspecified, 1=Unassigned, 2=Sleepy End Device, 3=End Device, 4=Reed, 5=Router, 6=Leader
valve-close-timeDateTimeValve Close TimeThe time at which the valve will automatically close, undefined when no automatic close is pendingTimetrue
valve-current-stateNumberValve Current StateThe current state of the valve, including the transitioning state while it is opening or closingFlowtrue0=Closed, 1=Open, 2=Transitioning
valve-durationNumber:TimeValve Open DurationThe default duration the valve remains open before automatically closing. Set to 0 to clear it, so the valve remains open until it is closed.Time%d %unit%
valve-faultTriggerValve FaultEvent that fires when the valve registers a faultgeneralFault, blocked, leaking, notConnected, shortCircuit, currentExceeded
valve-levelDimmerValve LevelSets and reflects the valve level as a percentage, for valves that support level controlFlow%.0f %%
valve-stateSwitchValve StateOpens and closes the valve and reflects its current stateFlow
valve-target-stateNumberValve Target StateThe state the valve is moving toward while it is opening or closing, undefined once it has settledFlowtrue0=Closed, 1=Open
wifinetworkdiagnostics-rssiNumber:PowerSignalWi-Fi signal strength indicator.QualityOfServicetrue%d %unit%
windowcovering-liftRollershutterWindow Covering LiftSets the window covering level - supporting open/close and up/down type commandsBlinds%.0f %%

Supported Matter Device Types ​

The following is a list of known Matter device types supported by openHAB as defined in the Matter Device Library Specification Version 1.5.1. Other device types may be supported, but with limited or missing functionality.

Device Type NameMatter Device IDSupported Clusters
Power Source0x0011Power Source (0x002F)
Bridged Node0x0013Bridged Device Basic Information (0x0039)
Electrical Sensor0x0510Power Topology (0x009C), Electrical Power Measurement (0x0090), Electrical Energy Measurement (0x0091)
On/Off Light0x0100On/Off (0x0006)
Dimmable Light0x0101On/Off (0x0006), Level Control (0x0008)
Color Temperature Light0x010COn/Off (0x0006), Level Control (0x0008), Color Control (0x0300)
Extended Color Light0x010DOn/Off (0x0006), Level Control (0x0008), Color Control (0x0300)
On/Off Plug-in Unit0x010AOn/Off (0x0006)
Dimmable Plug-In Unit0x010BOn/Off (0x0006), Level Control (0x0008)
Mounted On/Off Control0x010FOn/Off (0x0006)
Mounted Dimmable Load Control0x0110On/Off (0x0006), Level Control (0x0008)
On/Off Light Switch0x0103On/Off (0x0006)
Dimmer Switch0x0104On/Off (0x0006), Level Control (0x0008)
Color Dimmer Switch0x0105On/Off (0x0006), Level Control (0x0008), Color Control (0x0300)
Generic Switch0x000FSwitch (0x003B)
Contact Sensor0x0015Boolean State (0x0045)
Light Sensor0x0106Illuminance Measurement (0x0400)
Occupancy Sensor0x0107Occupancy Sensing (0x0406)
Temperature Sensor0x0302Temperature Measurement (0x0402), Identify (0x0003)
Humidity Sensor0x0307Relative Humidity Measurement (0x0405)
On/Off Sensor0x0850On/Off (0x0006)
Air Quality Sensor0x002CAir Quality (0x005B)
Smoke CO Alarm0x0076Smoke CO Alarm (0x005C), Relative Humidity Measurement (0x0405), Temperature Measurement (0x0402), Concentration Measurement Clusters
Water Freeze Detector0x0041Boolean State (0x0045)
Water Valve0x0042Valve Configuration and Control (0x0081)
Water Leak Detector0x0043Boolean State (0x0045)
Rain Sensor0x0044Boolean State (0x0045)
Door Lock0x000ADoor Lock (0x0101)
Window Covering0x0202Window Covering (0x0102)
Thermostat0x0301Thermostat (0x0201)
Fan0x002BFan Control (0x0202)
Air Purifier0x002DFan Control (0x0202)
Robotic Vacuum Cleaner0x0074RVC Run Mode (0x0054), RVC Operational State (0x0061), RVC Clean Mode (0x0055), Service Area (0x0150)
Room Air Conditioner0x0072On/Off (0x0006), Thermostat (0x0201)
Solar Power0x0017Electrical Power Measurement (0x0090), Electrical Energy Measurement (0x0091)
Battery Storage0x0018Electrical Power Measurement (0x0090), Electrical Energy Measurement (0x0091), Power Source (0x002F)
Thread Border Router0x0091Thread Network Diagnostics (0x0035), Thread Border Router Management (0x0452)

Door Lock Management ​

Matter door locks support user and credential management directly from openHAB. This allows you to create, modify, and delete users and their PIN codes without needing the lock manufacturer's app.

Lock Configuration ​

Door locks expose several configuration options in the Thing configuration:

SettingDescription
Operating ModeThe lock's operating mode (Normal, Vacation, Privacy, No Remote Lock/Unlock, Passage)
Auto Relock TimeNumber of seconds to wait after unlocking before automatically relocking (0 to disable)
One Touch LockingEnable or disable the ability to lock the door with a single touch
Default Lock PINPIN code to use for remote lock/unlock operations when the lock requires a PIN for remote operations

User Management ​

Door locks that support the "User" feature will display user configuration groups. The configuration shows all existing users plus up to 5 additional empty slots for adding new users. As you add more users, additional empty slots will automatically appear after saving to allow further expansion (up to the lock's maximum supported users).

Each user slot allows you to:

  • User Name: Set a descriptive name for the user (max 10 characters)
  • User Type: Set the user type (Unrestricted, Schedule Restricted, etc.)
  • PIN Code: Set a PIN credential for the user. After saving, the PIN is sent to the lock and cleared from the configuration for security
  • Enabled: Enable or disable the user. A disabled user cannot unlock the door with their credentials.
  • Delete User: Enable this checkbox and save to delete the user from the lock

Fabric Ownership ​

Matter locks track which controller (fabric) created each user. Users created by other Matter controllers (e.g., Apple Home, Google Home, Amazon Alexa) will appear as "Managed by Other Fabric" in the configuration. These users can only be deleted, enabled, or disabled from openHAB - editing their name, type, or PIN requires using the controller that originally created them.

Lock Events ​

Door locks can emit events through trigger channels:

Trigger ChannelDescription
doorlock-alarmFires when a lock alarm occurs (jammed, factory reset, wrong code limit, door forced open, etc.)
doorlock-lockoperationerrorFires when a lock operation error occurs (failed lock/unlock attempts)

Example rule to handle lock alarms:

rules
rule "Door Lock Alarm"
when
    Channel "matter:node:main:12345678901234567890:1#doorlock-alarm" triggered
then
    logInfo("DoorLock", "Lock alarm triggered with code: " + receivedEvent)
    // Alarm codes: 0=Jammed, 1=Factory Reset, 3=Radio Power Cycled, 4=Wrong Code Limit,
    //              5=Escutcheon Removed, 6=Door Forced Open, 7=Door Ajar, 8=Forced User
end

Full Example ​

Thing Configuration ​

dsl
// Thing configuration example for the Matter controller:
Thing matter:controller:main [ nodeId="1" ]

// Thing configuration example for a Matter node:
Thing matter:node:main:12345678901234567890 [ nodeId="12345678901234567890"]

// Thing configuration example for a Matter bridge endpoint:
Thing matter:endpoint:main:12345678901234567890:2 [ endpointId=2]

Item Configuration ​

dsl
Dimmer MyDimmer "My Endpoint Dimmer" { channel="matter:node:main:12345678901234567890:1#levelcontrol-level" }
Dimmer MyBridgedDimmer "My Bridged Dimmer" { channel="matter:endpoint:main:12345678901234567890:2#levelcontrol-level" }

Sitemap Configuration ​

dsl
Optional Sitemap configuration:
sitemap home label="Home"
{
    Frame label="Matter Devices"
    {
        Dimmer item=MyEndpointDimmer
    }
}

Matter Bridge ​

openHAB can also expose Items and Item groups as Matter devices to 3rd party Matter clients like Google Home, Apple Home and Amazon Alexa. This allows local control for those ecosystems and can be used instead of cloud based integrations for features like voice assistants.

Configuration ​

Note: The openHAB Matter bridge is unrelated to the Matter Controller Thing. Adding, modifying or removing a Matter "Controller" Thing, or any Matter "Node" Thing will have no affect on the bridge.

There are two ways in which to configure the Matter bridge:

  1. Using the "Matter Bridge Configuration" settings page (Main UI -> Settings -> Add-on Settings -> Matter Binding) for bridge status, general configuration and pairing 3rd party clients.
  2. Adding Matter metadata tags to Groups and Items either through the Main UI or through item files.
Bridge Settings

The openHAB matter bridge uses metadata tags with the key "matter", similar to the Alexa, Google Assistant and Apple Homekit integrations. Matter Metadata tag values generally follow the Matter "Device Type" and "Cluster" specification as much as possible.

Items and item groups are initially tagged with a Matter "Device Type", which are Matter designations for common device types like lights, thermostats, locks, window coverings, etc... For single items, like a light switch or dimmer, simply tagging the item with the Matter device type is enough.

dsl
Dimmer MyDimmer "My Dimmer" { matter="DimmableLight" }

For more complicated devices, like thermostats, A group item is tagged with the device type, and its child members are tagged with the cluster attribute(s) that it will be associated with. Multiple attributes use a comma delimited format like attribute1, attribute2, ... attributeN.

dsl
Group              ThermostatGroup "Thermostat" { matter="Thermostat" }
Number:Temperature ThermostatGroup_Temperature "Temperature" (ThermostatGroup) { matter="thermostat.localTemperature" }
Number:Temperature ThermostatGroup_HeatSetpoint "Heat Setpoint" (ThermostatGroup) { matter="thermostat.occupiedHeatingSetpoint" }
Number:Temperature ThermostatGroup_CoolSetpoint "Cool Setpoint" (ThermostatGroup) { matter="thermostat.occupiedCoolingSetpoint" }
Number             ThermostatGroup_Mode "Mode" (ThermostatGroup) { matter="thermostat.systemMode" [OFF=0, HEAT=1, COOL=2, AUTO=3]}

For devices like fans that support groups with multiple items, but you are only using one item to control (like On/Off or Speed), you can tag the regular item with both the device type and the cluster attribute(s) separated by a comma.

dsl
Switch TestFanSingleItem "On/Off" { matter="Fan, fanControl.fanMode" }

If there are issues starting the bridge, check the status field in the bridge settings page to see if there are any errors.

Pairing 3rd Party Clients ​

Pairing codes and other options can be found in the MainUI under "Settings -> Add-on Settings -> Matter Binding"

When the matter bridge starts, if no 3rd party clients are paired, it will automatically open the "Commissioning Window", meaning you can use the QR code or manual pair code found in the bridge settings page to pair a new client like Alexa, Google Home or Apple Home.

Commissioning Window

Once a client is paired, the bridge will default to having its "Commissioning Window" closed and can not be paired with until the window is opened again in the settings.

To pair additional clients, you can open the commissioning window again in the settings by enabling "Allow Commissioning", clicking save, and then and pair a new client within the 15 minute window using the QR code or manual pair code.

Once a new client is paired, or the 15 minute window expires, the bridge will default to having its "Commissioning Window" closed and can not be paired with until the window is opened again in the settings.

Resetting the Bridge ​

If you need to reset the bridge, you can do so by enabling the "Reset Bridge" button in the bridge settings page (advanced options) and clicking save.

Note that this will leave 3rd party clients paired to the bridge still in a "paired" state, and you will need to unpair the now orphaned openHAB Matter bridge in their respective apps.

Resetting the bridge is almost never needed, and should only be used if advised to do so by a developer.

Device Types ​

The following is a list of supported Matter device types and their corresponding openHAB item types and tags.

TypeItem TypeTagOption
OnOff LightSwitch, DimmerOnOffLight
Dimmable LightDimmerDimmableLight
Color LightColorColorLight
On/Off Plug In UnitSwitch, DimmerOnOffPlugInUnit
ThermostatGroupThermostat
Window CoveringRollershutter, Dimmer, String, SwitchWindowCoveringString types: [OPEN="OPEN", CLOSED="CLOSED"], Switch types: [invert=true/false]
Temperature SensorNumberTemperatureSensor
Humidity SensorNumberHumiditySensor
Occupancy SensorSwitch, ContactOccupancySensor
Contact SensorSwitch, ContactContactSensor
Door LockSwitchDoorLock
FanGroup, Switch, String, DimmerFan
Mode SelectNumber, String, Switch, RollershutterModeSelectRequires modes option, see below

Global Options ​

  • Endpoint Labels
    • By default, the Item label is used as the Matter label but can be overridden by adding a label key as a metadata option, either by itself or part of other options required for a device.
    • Example: [label="My Custom Label"]
  • Fixed Labels
    • Matter has a concept of "Fixed Labels" which allows devices to expose arbitrary label names and values which can be used by clients for tasks like grouping devices in rooms.
    • Example: [fixedLabels="room=Office, floor=1"]

Item Changes and Device Status ​

Changing an item's device type, for example from OnOffLight to DimmableLight, adds it as a new device in clients like Alexa, Google Home or Apple Home. Its room and other settings in those clients need to be set up again.

A device shows as not responding in clients when its item, or the members of its Group item, are linked to Things and none of them is ONLINE. Items not linked to any Thing, such as items driven by rules, always show as responding.

Thermostat group member tags ​

TypeItem TypeTagOptions
Current TemperatureNumberthermostat.localTemperature
Outdoor TemperatureNumberthermostat.outdoorTemperature
Heating SetpointNumberthermostat.occupiedHeatingSetpoint
Cooling SetpointNumberthermostat.occupiedCoolingSetpoint
System ModeNumber, String, Switchthermostat.systemMode[OFF=0,AUTO=1,COOL=3,HEAT=4,EMERGENCY_HEAT=5,PRECOOLING=6,FAN_ONLY=7,DRY=8,SLEEP=9]
Running ModeNumber, Stringthermostat.runningMode

The following attributes can be set in the options of any thermostat member or on the Group item to set temperature options.

SettingDescriptionValue (in 0.01°C)
thermostat-minHeatSetpointLimitThe minimum allowable heat setpoint limit.0
thermostat-maxHeatSetpointLimitThe maximum allowable heat setpoint limit.3500
thermostat-absMinHeatSetpointLimitThe absolute minimum heat setpoint limit that cannot be exceeded by the minHeatSetpointLimit.0
thermostat-absMaxHeatSetpointLimitThe absolute maximum heat setpoint limit that cannot be exceeded by the maxHeatSetpointLimit.3500
thermostat-minCoolSetpointLimitThe minimum allowable cool setpoint limit.0
thermostat-maxCoolSetpointLimitThe maximum allowable cool setpoint limit.3500
thermostat-absMinCoolSetpointLimitThe absolute minimum cool setpoint limit that cannot be exceeded by the minCoolSetpointLimit.0
thermostat-absMaxCoolSetpointLimitThe absolute maximum cool setpoint limit that cannot be exceeded by the maxCoolSetpointLimit.3500
thermostat-minSetpointDeadBandThe minimum deadband (temperature gap) between heating and cooling setpoints.0

Fan group member tags ​

TypeItem TypeTagOptions
Fan ModeNumber, String, SwitchfanControl.fanMode[OFF=0, LOW=1, MEDIUM=2, HIGH=3, ON=4, AUTO=5, SMART=6]
Fan PercentageDimmerfanControl.percentSetting
Fan OnOffSwitchonOff.onOff

The following attributes can be set on the Fan Mode item or the Group item to set fan options.

SettingDescriptionValue
fanControl-fanModeSequenceThe sequence of fan modes to cycle through. See Fan Mode Sequence Options5

Fan Mode Sequence Options ​

ValueDescription
0OffLowMedHigh
1OffLowHigh
2OffLowMedHighAuto
3OffLowHighAuto
4OffHighAuto
5OffHigh

Mode Select options ​

ModeSelect is considered experimental and is not supported by Apple Home, Google Home and Amazon Alexa (yet).

Mode Select Details

A ModeSelect device exposes a device which responds to user defined selectable modes. This can be used to model items which may not conform to other devices types.

ModeSelect items (or groups) must provide a mapping of Matter modes to openHAB state values via the metadata option modes. The format is a comma-separated list where each entry follows:

text
<stateValue>:<label>[:<semanticTag>[:<semanticTag>...]]
  • stateValue – the exact openHAB state string you will send/receive (e.g. off, auto, heat, '0').
  • label – human-readable label presented to Matter clients.
  • semanticTag – optional semantic hint in namespace.tag form (see the Semantic Tags appendix for valid values).

At least one mode must be supplied.

Example (exposes four modes, 'off', 'next', 'previous' and 'play'):

dsl
String  BlueRayPlayer  "BlueRay Player"  { matter="ModeSelect" [
    modes="off:Off:switches.off,next:Next:switches.next,previous:Previous:switches.previous,play:Play:switches.on"
] }

A note on semantic tags:

  • If used, you can not mix different semantic namespaces as seen in the example above where switches is the base namespace being used for all tags.
  • These are provided by the Matter spec, but its up to clients (like Apple, Alexa, Google....) to interpret these tags (or not).
  • Each ecosystem will likely differ in its use of these tags.
  • They are provided here for maximum flexibility but are not guarenteed to have any affect.

Bridged Device Examples ​

dsl
Dimmer                TestDimmer               "Test Dimmer [%d%%]"                                                      {matter="DimmableLight" [label="My Custom Dimmer", fixedLabels="room=Bedroom 1, floor=2, direction=up, customLabel=Custom Value"]}

Group                 TestHVAC                 "Thermostat"                             ["HVAC"]                         {matter="Thermostat" [thermostat-minHeatSetpointLimit=0, thermostat-maxHeatSetpointLimit=3500]}
Number:Temperature    TestHVAC_Temperature     "Temperature [%d °F]"      (TestHVAC)    ["Measurement","Temperature"]    {matter="thermostat.localTemperature"}
Number:Temperature    TestHVAC_HeatSetpoint    "Heat Setpoint [%d °F]"    (TestHVAC)    ["Setpoint", "Temperature"]      {matter="thermostat.occupiedHeatingSetpoint"}
Number:Temperature    TestHVAC_CoolSetpoint    "Cool Setpoint [%d °F]"    (TestHVAC)    ["Setpoint", "Temperature"]      {matter="thermostat.occupiedCoolingSetpoint"}
Number                TestHVAC_Mode            "Mode [%s]"                (TestHVAC)    ["Control" ]                     {matter="thermostat.systemMode" [OFF=0, HEAT=1, COOL=2, AUTO=3]}

Switch                TestDoorLock             "Door Lock"                                                               {matter="DoorLock"}
Rollershutter         TestShade                "Window Shade"                                                            {matter="WindowCovering"}
Number:Temperature    TestTemperatureSensor    "Temperature Sensor"                                                      {matter="TemperatureSensor"}
Number                TestHumiditySensor       "Humidity Sensor"                                                         {matter="HumiditySensor"}
Switch                TestOccupancySensor      "Occupancy Sensor"                                                        {matter="OccupancySensor"}

### Fan with group item control
Group                 TestFan                  "Test Fan"                                                                {matter="Fan" [fanControl-fanModeSequence=3]}
Dimmer                TestFanSpeed             "Speed"                    (TestFan)                                      {matter="fanControl.percentSetting"}
Switch                TestFanOnOff             "On/Off"                   (TestFan)                                      {matter="fanControl.fanMode"}
Number                TestFanMode              "Mode"                     (TestFan)                                      {matter="fanControl.fanMode" [OFF=0, LOW=1, MEDIUM=2, HIGH=3, ON=4, AUTO=5, SMART=6]}

### Fan with single item control , so no group item is needed
Switch                TestFanSingleItem         "On/Off"                                                                 {matter="Fan, fanControl.fanMode"}

Bridge FAQ ​

  • Alexa: When pairing, after a minute Alexa reports "Something went wrong"
    • Alexa can take 3-4 seconds per device to process which can take longer then the Alexa UI is willing to wait. Eventually the pairing will complete, which for a large number of devices may be a few minutes.
  • Alexa: Suddenly stops working and says it could not connect to a device or device not responding.
    • Check the Settings page in the Main UI to confirm the bridge is running
    • Ensure the openHAB item has the proper matter tag, or that the item is being loaded at all (check item file errors)
    • Check that the Thing linked to the item is online, see Item Changes and Device Status
    • Rarely, you may need to reboot the Alexa device. If you have multiple devices and not sure which is the primary matter connection, you may need to reboot all of them.

Matter Ecosystem Overview ​

Matter is an open-source connectivity standard for smart home devices, allowing seamless communication between a wide range of devices, controllers, and ecosystems.

Below is a high-level overview of the Matter ecosystem as well as common terminology used in the Matter standard.

Matter Devices ​

Nodes and Endpoints ​

In the Matter ecosystem, a node represents a single device that joins a Matter network and will have a locally routable IPv6 address. A node can have multiple endpoints, which are logical representations of specific features or functionalities of the device. For example, a smart thermostat (node) may have an endpoint for general thermostat control (heating, cooling, current temperature, operating state, etc....) and another endpoint for humidity sensing. Many devices will only have a single endpoint. Matter Bridges will expose multiple endpoints for each device they are bridging, and the bridge itself will be a node.

Example:

  • A Thermostat node with an endpoint for general temperature control and another endpoint for a remote temperature or humidity sensor.

Controllers ​

A controller manages the interaction between Matter devices and other parts of the network. Controllers can send commands, receive updates, and facilitate device communication. They also handle the commissioning process when new devices are added to the network.

Example:

  • openHAB or another smart home hub or a smartphone app that manages your smart light bulbs, door locks, and sensors (Google Home, Apple Home, Amazon Alexa, etc...)

Bridges ​

A bridge is a special type of node that connects non-Matter devices to a Matter network, effectively translating between protocols. Bridges allow legacy devices to be controlled via the Matter standard.

openHAB fully supports connecting to Matter bridges. In addition, openHAB has support for running its own Matter bridge service, exposing openHAB items as Matter endpoints to 3rd party systems. See Matter Bridge for information on running a Bridge server.

Example:

  • A bridge that connects Zigbee or Z-Wave devices, making them accessible within a Matter ecosystem. The IKEA Dirigera and Philips Hue Bridge both act as matter bridges and are supported in openHAB.

Thread Border Routers ​

A Thread Border Router is a device that allows devices connected via Thread (a low-power wireless protocol) to communicate with devices on other networks, such as Wi-Fi or Ethernet. It facilitates IPv6-based communication between Thread networks and the local IP network.

Example:

  • An OpenThread Boarder Router (open source) as well as recent versions of Apple TVs, Amazon Echos and Google Nest Hubs all have embedded thread boarder routers.

IPv6 and Network Connectivity ​

Matter devices operate over an IPv6 network, and obtaining an IPv6 address is required for communication. Devices can connect to the network via different interfaces:

Ethernet ​

Ethernet-connected Matter devices receive an IPv6 address through standard DHCPv6 or stateless address auto-configuration (SLAAC).

Wi-Fi ​

Wi-Fi-enabled Matter devices also receive an IPv6 address using DHCPv6 or SLAAC. They rely on the existing Wi-Fi infrastructure for communication within the Matter ecosystem.

Thread ​

Thread-based Matter devices connect to the network via a Thread Border Router. They receive an IPv6 address from the Thread router.

IPv6 Requirements ​

For Matter devices to function correctly, IPv6 must be enabled and supported in both the local network (router) and the Matter controllers. Without IPv6, devices won't be able to communicate properly within the Matter ecosystem. Ensure that your router has IPv6 enabled and that any Matter controllers (like smart hubs, apps or openHAB) are configured to support IPv6 as well.

Note: environments like Docker require special configurations to enable IPv6.

Matter Commissioning and Pairing Codes ​

Commissioning a Matter device involves securely adding it to the network using a pairing code. This process ensures that only authorized devices can join the network.

Pairing Code from the Device ​

When commissioning a new Matter device, it typically has a printed QR code or numeric pairing code that you scan or enter during setup. This pairing code allows the controller to establish a secure connection to the device and add it to the network. Once a device pairing code is in use, it typically can not be used again to pair other controllers.

Additional Pairing Code from a Controller ​

If a device has already been commissioned and you want to add it to another Matter controller, the existing controller can generate an additional pairing code. This is useful when sharing access to a device across multiple hubs or apps. Apple Home, Google Home, Amazon Alexa and openHAB all support generating pairing codes for existing paired devices.

Example: ​

  • When setting up a smart lock, you may scan a QR code directly from the lock, or use the 11 digit pairing code printed on it to pair it with openHAB.
  • If you later want to control the lock from another app or hub, you would retrieve a new pairing code directly from openHAB.

Apendixes ​

Semantic Tags ​

NamespaceTag NameKey
AreaAislearea.aisle
AreaAtticarea.attic
AreaBack Doorarea.back-door
AreaBack Yardarea.back-yard
AreaBalconyarea.balcony
AreaBallroomarea.ballroom
AreaBathroomarea.bathroom
AreaBedroomarea.bedroom
AreaBorderarea.border
AreaBoxroomarea.boxroom
AreaBreakfast Roomarea.breakfast-room
AreaCarportarea.carport
AreaCellararea.cellar
AreaCloakroomarea.cloakroom
AreaClosetarea.closet
AreaConservatoryarea.conservatory
AreaCorridorarea.corridor
AreaCraft Roomarea.craft-room
AreaCupboardarea.cupboard
AreaDeckarea.deck
AreaDenarea.den
AreaDiningarea.dining
AreaDrawing Roomarea.drawing-room
AreaDressing Roomarea.dressing-room
AreaDrivewayarea.driveway
AreaElevatorarea.elevator
AreaEnsuitearea.ensuite
AreaEntrancearea.entrance
AreaEntrywayarea.entryway
AreaFamily Roomarea.family-room
AreaFoyerarea.foyer
AreaFront Doorarea.front-door
AreaFront Yardarea.front-yard
AreaGame Roomarea.game-room
AreaGaragearea.garage
AreaGarage Doorarea.garage-door
AreaGardenarea.garden
AreaGarden Doorarea.garden-door
AreaGuest Bathroomarea.guest-bathroom
AreaGuest Bedroomarea.guest-bedroom
AreaGuest Roomarea.guest-room
AreaGymarea.gym
AreaHallwayarea.hallway
AreaHearth Roomarea.hearth-room
AreaKids Roomarea.kids-room
AreaKids Bedroomarea.kids-bedroom
AreaKitchenarea.kitchen
AreaLaundry Roomarea.laundry-room
AreaLawnarea.lawn
AreaLibraryarea.library
AreaLiving Roomarea.living-room
AreaLoungearea.lounge
AreaMedia/TV Roomarea.media-tv-room
AreaMud Roomarea.mud-room
AreaMusic Roomarea.music-room
AreaNurseryarea.nursery
AreaOfficearea.office
AreaOutdoor Kitchenarea.outdoor-kitchen
AreaOutsidearea.outside
AreaPantryarea.pantry
AreaParking Lotarea.parking-lot
AreaParlorarea.parlor
AreaPatioarea.patio
AreaPlay Roomarea.play-room
AreaPool Roomarea.pool-room
AreaPorcharea.porch
AreaPrimary Bathroomarea.primary-bathroom
AreaPrimary Bedroomarea.primary-bedroom
AreaRamparea.ramp
AreaReception Roomarea.reception-room
AreaRecreation Roomarea.recreation-room
AreaRoofarea.roof
AreaSaunaarea.sauna
AreaSculleryarea.scullery
AreaSewing Roomarea.sewing-room
AreaShedarea.shed
AreaSide Doorarea.side-door
AreaSide Yardarea.side-yard
AreaSitting Roomarea.sitting-room
AreaSnugarea.snug
AreaSpaarea.spa
AreaStaircasearea.staircase
AreaSteam Roomarea.steam-room
AreaStorage Roomarea.storage-room
AreaStudioarea.studio
AreaStudyarea.study
AreaSun Roomarea.sun-room
AreaSwimming Poolarea.swimming-pool
AreaTerracearea.terrace
AreaToiletarea.toilet
AreaUtility Roomarea.utility-room
AreaWardarea.ward
AreaWorkshoparea.workshop
ClosureOpeningclosure.opening
ClosureClosingclosure.closing
ClosureStopclosure.stop
CompassDirectionNorthwardcompassdirection.northward
CompassDirectionNorth-Eastwardcompassdirection.north-eastward
CompassDirectionEastwardcompassdirection.eastward
CompassDirectionSouth-Eastwardcompassdirection.south-eastward
CompassDirectionSouthwardcompassdirection.southward
CompassDirectionSouth-Westwardcompassdirection.south-westward
CompassDirectionWestwardcompassdirection.westward
CompassDirectionNorth-Westwardcompassdirection.north-westward
CompassLocationNorthcompasslocation.north
CompassLocationNorth-Eastcompasslocation.north-east
CompassLocationEastcompasslocation.east
CompassLocationSouth-Eastcompasslocation.south-east
CompassLocationSouthcompasslocation.south
CompassLocationSouth-Westcompasslocation.south-west
CompassLocationWestcompasslocation.west
CompassLocationNorth-Westcompasslocation.north-west
DirectionUpwarddirection.upward
DirectionDownwarddirection.downward
DirectionLeftwarddirection.leftward
DirectionRightwarddirection.rightward
DirectionForwarddirection.forward
DirectionBackwarddirection.backward
ElectricalMeasurementDCelectricalmeasurement.dc
ElectricalMeasurementACelectricalmeasurement.ac
ElectricalMeasurementACPhase1electricalmeasurement.acphase1
ElectricalMeasurementACPhase2electricalmeasurement.acphase2
ElectricalMeasurementACPhase3electricalmeasurement.acphase3
LandmarkAir Conditionerlandmark.air-conditioner
LandmarkAir Purifierlandmark.air-purifier
LandmarkBack Doorlandmark.back-door
LandmarkBar Stoollandmark.bar-stool
LandmarkBath Matlandmark.bath-mat
LandmarkBathtublandmark.bathtub
LandmarkBedlandmark.bed
LandmarkBookshelflandmark.bookshelf
LandmarkChairlandmark.chair
LandmarkChristmas Treelandmark.christmas-tree
LandmarkCoat Racklandmark.coat-rack
LandmarkCoffee Tablelandmark.coffee-table
LandmarkCooking Rangelandmark.cooking-range
LandmarkCouchlandmark.couch
LandmarkCountertoplandmark.countertop
LandmarkCradlelandmark.cradle
LandmarkCriblandmark.crib
LandmarkDesklandmark.desk
LandmarkDining Tablelandmark.dining-table
LandmarkDishwasherlandmark.dishwasher
LandmarkDoorlandmark.door
LandmarkDresserlandmark.dresser
LandmarkLaundry Dryerlandmark.laundry-dryer
LandmarkFanlandmark.fan
LandmarkFireplacelandmark.fireplace
LandmarkFreezerlandmark.freezer
LandmarkFront Doorlandmark.front-door
LandmarkHigh Chairlandmark.high-chair
LandmarkKitchen Islandlandmark.kitchen-island
LandmarkLamplandmark.lamp
LandmarkLitter Boxlandmark.litter-box
LandmarkMirrorlandmark.mirror
LandmarkNightstandlandmark.nightstand
LandmarkOvenlandmark.oven
LandmarkPet Bedlandmark.pet-bed
LandmarkPet Bowllandmark.pet-bowl
LandmarkPet Cratelandmark.pet-crate
LandmarkRefrigeratorlandmark.refrigerator
LandmarkScratching Postlandmark.scratching-post
LandmarkShoe Racklandmark.shoe-rack
LandmarkShowerlandmark.shower
LandmarkSide Doorlandmark.side-door
LandmarkSinklandmark.sink
LandmarkSofalandmark.sofa
LandmarkStovelandmark.stove
LandmarkTablelandmark.table
LandmarkToiletlandmark.toilet
LandmarkTrash Canlandmark.trash-can
LandmarkLaundry Washerlandmark.laundry-washer
LandmarkWindowlandmark.window
LandmarkWine Coolerlandmark.wine-cooler
LaundryNormallaundry.normal
LaundryLight Drylaundry.light-dry
LaundryExtra Drylaundry.extra-dry
LaundryNo Drylaundry.no-dry
LevelLowlevel.low
LevelMediumlevel.medium
LevelHighlevel.high
LocationIndoorlocation.indoor
LocationOutdoorlocation.outdoor
LocationInsidelocation.inside
LocationOutsidelocation.outside
NumberZeronumber.zero
NumberOnenumber.one
NumberTwonumber.two
NumberThreenumber.three
NumberFournumber.four
NumberFivenumber.five
NumberSixnumber.six
NumberSevennumber.seven
NumberEightnumber.eight
NumberNinenumber.nine
NumberTennumber.ten
PositionLeftposition.left
PositionRightposition.right
PositionTopposition.top
PositionBottomposition.bottom
PositionMiddleposition.middle
PositionRowposition.row
PositionColumnposition.column
PowerSourceUnknownpowersource.unknown
PowerSourceGridpowersource.grid
PowerSourceSolarpowersource.solar
PowerSourceBatterypowersource.battery
PowerSourceEvpowersource.ev
RefrigeratorRefrigeratorrefrigerator.refrigerator
RefrigeratorFreezerrefrigerator.freezer
RelativePositionUnderrelativeposition.under
RelativePositionNext Torelativeposition.next-to
RelativePositionAroundrelativeposition.around
RelativePositionOnrelativeposition.on
RelativePositionAboverelativeposition.above
RelativePositionFront Ofrelativeposition.front-of
RelativePositionBehindrelativeposition.behind
RoomAirConditionerEvaporatorroomairconditioner.evaporator
RoomAirConditionerCondenserroomairconditioner.condenser
SwitchesOnswitches.on
SwitchesOffswitches.off
SwitchesToggleswitches.toggle
SwitchesUpswitches.up
SwitchesDownswitches.down
SwitchesNextswitches.next
SwitchesPreviousswitches.previous
SwitchesEnter/OK/Selectswitches.enter-ok-select
SwitchesCustomswitches.custom