Skip to content

Commit

Permalink
matter_server: Bump Python Matter server to 6.2.1 (#3681)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed Jul 3, 2024
1 parent 080dbc7 commit 13f49f1
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions matter_server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.2.1

- Bump Python Matter Server to [6.2.1](https://github.com/home-assistant-libs/python-matter-server/releases/tag/6.2.1)

## 6.1.2

- Bump Python Matter Server to [6.1.2](https://github.com/home-assistant-libs/python-matter-server/releases/tag/6.1.2)
Expand Down
9 changes: 6 additions & 3 deletions matter_server/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ Matter Server WebSocket server port field.

Add-on configuration:

| Configuration | Description |
|--------------------|-------------------------------------------------------------|
| log_level | Logging level of the Matter Server component. |
| Configuration | Description |
|---------------------|-------------------------------------------------------------|
| log_level | Logging level of the Matter Server component. |
| log_level_sdk | Logging level for Matter SDK logs. |
| beta | Whether to install the latest beta version on startup |
| enable_test_net_dcl | Enable test-net DCL for PAA root certificates and other device information. |

## Support

Expand Down
4 changes: 2 additions & 2 deletions matter_server/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
build_from:
aarch64: ghcr.io/home-assistant-libs/python-matter-server:6.1.2
amd64: ghcr.io/home-assistant-libs/python-matter-server:6.1.2
aarch64: ghcr.io/home-assistant-libs/python-matter-server:6.2.1
amd64: ghcr.io/home-assistant-libs/python-matter-server:6.2.1
args:
BASHIO_VERSION: 0.14.3
TEMPIO_VERSION: 2021.09.0
Expand Down
4 changes: 3 additions & 1 deletion matter_server/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 6.1.2
version: 6.2.1
slug: matter_server
name: Matter Server
description: Matter WebSocket Server for Home Assistant Matter support.
Expand All @@ -24,10 +24,12 @@ options:
log_level: info
log_level_sdk: error
beta: false
enable_test_net_dcl: false
schema:
log_level: list(verbose|debug|info|warning|error|critical)
log_level_sdk: list(automation|detail|progress|error|none)?
beta: bool?
enable_test_net_dcl: bool?
ports:
5580/tcp: null
stage: stable
Expand Down
4 changes: 4 additions & 0 deletions matter_server/rootfs/etc/s6-overlay/s6-rc.d/matter-server/run
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if ! bashio::var.has_value "${server_port}"; then
extra_args+=('--listen-address' "$(bashio::addon.ip_address)")
fi

if bashio::config.true "enable_test_net_dcl"; then
extra_args+=('--enable-test-net-dcl')
fi

primary_interface="$(bashio::api.supervisor 'GET' '/network/info' '' 'first(.interfaces[] | select (.primary == true)) .interface')"

# Try fallback method (e.g. in case NetworkManager is not available)
Expand Down
5 changes: 5 additions & 0 deletions matter_server/translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ configuration:
description: >-
Installs the latest beta of the Python Matter Server. It is recommended
to create a backup before starting the add-on with this flag enabled!
enable_test_net_dcl:
name: Enable test-net DCL usage.
description: >-
Enable PAA root certificates and other device information from test-net
DCL. This is meant for development and testing purposes.
network:
5580/tcp: Matter Server WebSocket server port.

0 comments on commit 13f49f1

Please sign in to comment.