Skip to content

Conversation

hgy59
Copy link
Contributor

@hgy59 hgy59 commented Mar 16, 2025

Description

  • initial version of python-matter-server with custom chip library for home-assistant-chip-core

Closes #6321

Restrictions

findings so far

  • Wireless networks are not supported. Synology DSM does not support WLAN Adapters since DSM 6.2 and DSM 7.
  • Ethernet Adapter on VirtualDSM is not found by matter-server (might be related to virtio_net driver)

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • New Package

- initial version with custom chip library for home-assistant-chip-core
@hgy59 hgy59 added the new-package PR/WIP for a new package label Mar 16, 2025
@hgy59
Copy link
Contributor Author

hgy59 commented Mar 16, 2025

@24mu13 I found a workaround to avoid /data folder for chip library config files.

The custom libraries are taken from https://github.com/hgy59/chip-wheels
The https://pypi.org/project/home-assistant-chip-core/ is a dependency of matter-server and has hard coded /data path for chip configuration files.
In the branch feature-custom-config-data-path I added a patch to allow custom config data path defined by env variable.

If I will get confirmations that this matter-server package works, I probably will create a PR in https://github.com/home-assistant-libs/chip-wheels to officially support custom config data path.
So far the HA matter components are designed to run in docker containers where it is no issue to store all config data in /data.
With the workaround it is possible to store such data under the package var folder.

Since I do not have matter compatible devices for functional tests, every feedback to this packag is welcome.

hgy59 added 3 commits March 27, 2025 21:51
…hip_core

- avoid need of chip library replacement of original home_assistant_chip_core wheel
- build pure python-matter-server wheel depending on custom home_assistant_chip_core wheel
- patch python-matter-server source to custom wheel and to force original version in check
- install custom python-matter-server and home_assistant_chip_core version 2025.3.dev1801
- add matter-server admin page
- avoid need to create patched python-matter-server wheel to use custom wheel
@hgy59
Copy link
Contributor Author

hgy59 commented Mar 27, 2025

@24mu13 I found a better solution than replacing the lib file at installation. I now built the custon wheel with original version number (and additionally stripped the library file) so it perfectly works together with oribinal python-matter-server wheel.

I also added a link to the admin page.

@hgy59
Copy link
Contributor Author

hgy59 commented Apr 6, 2025

@24mu13 are you still looking for a package of python-matter-server?

@hgy59
Copy link
Contributor Author

hgy59 commented Jun 14, 2025

@24mu13 this is now ready for testing.

I had some issues that required to run the package as root. But finally is runs fine with limited privileges.

@hgy59
Copy link
Contributor Author

hgy59 commented Jul 1, 2025

@24mu13 are you still looking for matter server package?

I am waiting for confirmation that it works.

@24mu13
Copy link

24mu13 commented Sep 1, 2025

Thank you @hgy59 for the good work and sorry for the late.
Actually I ended up using Supervised Home Assistant in my wonderful NAS, but I am happy to test this new package and maybe reconsider and update my original Home Assistant regular container approach, together with the new Matter Server package.

To test the new package, I will

  • Install it from somewhere (not yet merged I assume)
  • Reconfigure my HS to use the new installed one
  • Double check my Matter devices work as expected/before

@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

Thank you @hgy59 for the good work and sorry for the late.

Thanks for the feedback.
So far I will trigger the build of Version 8 to have packages available.
And I will try to update to Matter Server 8.1.

I guess you have seen that Supervised HA and HA Core will not be supported anymore with HA 2025.12?
https://www.home-assistant.io/blog/2025/05/22/deprecating-core-and-supervised-installation-methods-and-32-bit-systems/

@24mu13
Copy link

24mu13 commented Sep 1, 2025

I guess you have seen that Supervised HA and HA Core will not be supported anymore with HA 2025.12?
https://www.home-assistant.io/blog/2025/05/22/deprecating-core-and-supervised-installation-methods-and-32-bit-systems/

Thank you for the info: this will not affect me (I have DS224+ product with 64bit architecture) but you're right - all 32bit architectures instead are affected by this deprecation.

@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

I have created pre-release versions of matter-server 7.0.1 and 8.0.0
https://github.com/hgy59/spksrc/releases/tag/matter-server

@mreid-tt
Copy link
Contributor

mreid-tt commented Sep 1, 2025

Install and update of v8.0.0 is successful on DSM 7:

Install Log
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin preinst
2025/09/01 07:35:45	Begin initialize_variables
2025/09/01 07:35:45	End initialize_variables
2025/09/01 07:35:45	===> Step preinst. STATUS=INSTALL USER=matter-server GROUP= SHARE_PATH=
2025/09/01 07:35:45	install matter-server 8.0.0-1 End preinst ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mkdir -p /volume1/@appstore/matter-server -m 755
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mkdir -p /volume1/@appstore/matter-server -m 755 ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/rm -rf /volume1/@appstore/matter-server
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/rm -rf /volume1/@appstore/matter-server ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/package /volume1/@appstore/matter-server
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/package /volume1/@appstore/matter-server ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mkdir -p /var/packages/matter-server -m 755
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mkdir -p /var/packages/matter-server -m 755 ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/touch /var/packages/matter-server/installing
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/touch /var/packages/matter-server/installing ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/INFO /var/packages/matter-server/INFO
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/INFO /var/packages/matter-server/INFO ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server/scripts
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server/scripts ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/scripts /var/packages/matter-server/scripts
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/scripts /var/packages/matter-server/scripts ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server/WIZARD_UIFILES
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server/WIZARD_UIFILES ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/WIZARD_UIFILES /var/packages/matter-server/WIZARD_UIFILES
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/WIZARD_UIFILES /var/packages/matter-server/WIZARD_UIFILES ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server/conf
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server/conf ret=[0]
2025/09/01 07:35:45	install matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/conf /var/packages/matter-server/conf
2025/09/01 07:35:45	install matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.Qon5sT/conf /var/packages/matter-server/conf ret=[0]
2025/09/01 07:35:46	install matter-server 8.0.0-1 Begin postinst
2025/09/01 07:35:46	Begin initialize_variables
2025/09/01 07:35:46	End initialize_variables
2025/09/01 07:35:46	===> Step postinst. STATUS=INSTALL USER=matter-server GROUP= SHARE_PATH=
2025/09/01 07:35:46	Begin save_wizard_variables
2025/09/01 07:35:46	End save_wizard_variables
2025/09/01 07:35:46	Begin syno_sync_var_folder
2025/09/01 07:35:46	End syno_sync_var_folder
2025/09/01 07:35:46	Begin service_postinst
2025/09/01 07:35:46	====================================================
2025/09/01 07:35:46	Install Python virtual environment
2025/09/01 07:35:46	Python 3.12.11
2025/09/01 07:35:46	Default pip version 25.0.1
2025/09/01 07:35:48	====================================================
2025/09/01 07:35:48	Install packages from wheelhouse
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/aiohttp-3.12.12-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/cffi-1.17.1-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/cryptography-45.0.4-cp312-abi3-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/frozenlist-1.7.0-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/home_assistant_chip_core-2025.4.0-cp37-abi3-manylinux_2_31_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/multidict-6.4.4-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/orjson-3.10.18-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/propcache-0.3.2-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/pyyaml-6.0.2-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/yarl-1.20.1-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Processing /volume1/@appstore/matter-server/share/wheelhouse/zeroconf-0.147.0-cp312-cp312-linux_x86_64.whl
2025/09/01 07:35:48	Installing collected packages: zeroconf, yarl, pyyaml, propcache, orjson, multidict, home-assistant-chip-core, frozenlist, cryptography, cffi, aiohttp
2025/09/01 07:35:49	Successfully installed aiohttp-3.12.12 cffi-1.17.1 cryptography-45.0.4 frozenlist-1.7.0 home-assistant-chip-core-2025.4.0 multidict-6.4.4 orjson-3.10.18 propcache-0.3.2 pyyaml-6.0.2 yarl-1.20.1 zeroconf-0.147.0
2025/09/01 07:35:49	====================================================
2025/09/01 07:35:49	Install python packages from index
2025/09/01 07:35:49	Collecting aenum==3.1.16 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 1))
2025/09/01 07:35:50	  Downloading aenum-3.1.16-py3-none-any.whl.metadata (3.8 kB)
2025/09/01 07:35:50	Collecting aiohappyeyeballs==2.6.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 2))
2025/09/01 07:35:50	  Downloading aiohappyeyeballs-2.6.1-py3-none-any.whl.metadata (5.9 kB)
2025/09/01 07:35:50	Collecting aiorun==2025.1.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 3))
2025/09/01 07:35:50	  Downloading aiorun-2025.1.1-py3-none-any.whl.metadata (19 kB)
2025/09/01 07:35:50	Collecting aiosignal==1.3.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 4))
2025/09/01 07:35:50	  Downloading aiosignal-1.3.2-py2.py3-none-any.whl.metadata (3.8 kB)
2025/09/01 07:35:50	Collecting asttokens==3.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 5))
2025/09/01 07:35:50	  Downloading asttokens-3.0.0-py3-none-any.whl.metadata (4.7 kB)
2025/09/01 07:35:50	Collecting async_timeout==5.0.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 6))
2025/09/01 07:35:50	  Downloading async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
2025/09/01 07:35:50	Collecting atomicwrites==1.4.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 7))
2025/09/01 07:35:51	  Downloading atomicwrites-1.4.1.tar.gz (14 kB)
2025/09/01 07:35:51	  Preparing metadata (setup.py): started
2025/09/01 07:35:51	  Preparing metadata (setup.py): finished with status 'done'
2025/09/01 07:35:51	Collecting attrs==25.3.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 8))
2025/09/01 07:35:51	  Downloading attrs-25.3.0-py3-none-any.whl.metadata (10 kB)
2025/09/01 07:35:51	Collecting coloredlogs==15.0.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 9))
2025/09/01 07:35:51	  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
2025/09/01 07:35:51	Collecting construct==2.10.70 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 10))
2025/09/01 07:35:51	  Downloading construct-2.10.70-py3-none-any.whl.metadata (4.2 kB)
2025/09/01 07:35:51	Collecting dacite==1.9.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 11))
2025/09/01 07:35:51	  Downloading dacite-1.9.2-py3-none-any.whl.metadata (17 kB)
2025/09/01 07:35:51	Collecting decorator==5.2.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 12))
2025/09/01 07:35:51	  Downloading decorator-5.2.1-py3-none-any.whl.metadata (3.9 kB)
2025/09/01 07:35:52	Collecting deprecation==2.1.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 13))
2025/09/01 07:35:52	  Downloading deprecation-2.1.0-py2.py3-none-any.whl.metadata (4.6 kB)
2025/09/01 07:35:52	Collecting ecdsa==0.19.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 14))
2025/09/01 07:35:52	  Downloading ecdsa-0.19.1-py2.py3-none-any.whl.metadata (29 kB)
2025/09/01 07:35:52	Collecting executing==2.2.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 15))
2025/09/01 07:35:52	  Downloading executing-2.2.0-py2.py3-none-any.whl.metadata (8.9 kB)
2025/09/01 07:35:52	Collecting home_assistant_chip_clusters==2025.4.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 16))
2025/09/01 07:35:52	  Downloading home_assistant_chip_clusters-2025.4.0-py3-none-any.whl.metadata (542 bytes)
2025/09/01 07:35:52	Collecting humanfriendly==10.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 17))
2025/09/01 07:35:52	  Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
2025/09/01 07:35:52	Collecting idna==3.10 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 18))
2025/09/01 07:35:52	  Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
2025/09/01 07:35:52	Collecting ifaddr==0.2.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 19))
2025/09/01 07:35:53	  Downloading ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
2025/09/01 07:35:53	Collecting ipdb==0.13.13 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 20))
2025/09/01 07:35:53	  Downloading ipdb-0.13.13-py3-none-any.whl.metadata (14 kB)
2025/09/01 07:35:53	Collecting ipython==9.3.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 21))
2025/09/01 07:35:53	  Downloading ipython-9.3.0-py3-none-any.whl.metadata (4.4 kB)
2025/09/01 07:35:53	Collecting ipython_pygments_lexers==1.1.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 22))
2025/09/01 07:35:53	  Downloading ipython_pygments_lexers-1.1.1-py3-none-any.whl.metadata (1.1 kB)
2025/09/01 07:35:53	Collecting jedi==0.19.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 23))
2025/09/01 07:35:53	  Downloading jedi-0.19.2-py2.py3-none-any.whl.metadata (22 kB)
2025/09/01 07:35:53	Collecting markdown_it_py==3.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 24))
2025/09/01 07:35:53	  Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
2025/09/01 07:35:53	Collecting matplotlib_inline==0.1.7 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 25))
2025/09/01 07:35:53	  Downloading matplotlib_inline-0.1.7-py3-none-any.whl.metadata (3.9 kB)
2025/09/01 07:35:54	Collecting mdurl==0.1.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 26))
2025/09/01 07:35:54	  Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
2025/09/01 07:35:54	Collecting packaging==25.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 27))
2025/09/01 07:35:54	  Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
2025/09/01 07:35:54	Collecting parso==0.8.4 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 28))
2025/09/01 07:35:54	  Downloading parso-0.8.4-py2.py3-none-any.whl.metadata (7.7 kB)
2025/09/01 07:35:54	Collecting pexpect==4.9.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 29))
2025/09/01 07:35:54	  Downloading pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
2025/09/01 07:35:54	Collecting prompt_toolkit==3.0.51 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 31))
2025/09/01 07:35:54	  Downloading prompt_toolkit-3.0.51-py3-none-any.whl.metadata (6.4 kB)
2025/09/01 07:35:54	Collecting ptyprocess==0.7.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 32))
2025/09/01 07:35:54	  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl.metadata (1.3 kB)
2025/09/01 07:35:54	Collecting pure_eval==0.2.3 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 33))
2025/09/01 07:35:54	  Downloading pure_eval-0.2.3-py3-none-any.whl.metadata (6.3 kB)
2025/09/01 07:35:54	Collecting pycparser==2.22 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 34))
2025/09/01 07:35:55	  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
2025/09/01 07:35:55	Collecting pygments==2.19.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 35))
2025/09/01 07:35:55	  Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
2025/09/01 07:35:55	Collecting python_matter_server==8.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 36))
2025/09/01 07:35:55	  Downloading python_matter_server-8.0.0-py3-none-any.whl.metadata (4.6 kB)
2025/09/01 07:35:55	Collecting rich==14.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 37))
2025/09/01 07:35:55	  Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
2025/09/01 07:35:55	Requirement already satisfied: six==1.17.0 in /var/packages/python312/target/lib/python3.12/site-packages (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 38)) (1.17.0)
2025/09/01 07:35:55	Collecting stack_data==0.6.3 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 39))
2025/09/01 07:35:55	  Downloading stack_data-0.6.3-py3-none-any.whl.metadata (18 kB)
2025/09/01 07:35:55	Collecting traitlets==5.14.3 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 40))
2025/09/01 07:35:55	  Downloading traitlets-5.14.3-py3-none-any.whl.metadata (10 kB)
2025/09/01 07:35:55	Collecting wcwidth==0.2.13 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 41))
2025/09/01 07:35:55	  Downloading wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
2025/09/01 07:35:56	Downloading aenum-3.1.16-py3-none-any.whl (165 kB)
2025/09/01 07:35:56	Downloading aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)
2025/09/01 07:35:56	Downloading aiorun-2025.1.1-py3-none-any.whl (18 kB)
2025/09/01 07:35:56	Downloading aiosignal-1.3.2-py2.py3-none-any.whl (7.6 kB)
2025/09/01 07:35:56	Downloading asttokens-3.0.0-py3-none-any.whl (26 kB)
2025/09/01 07:35:56	Downloading async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
2025/09/01 07:35:56	Downloading attrs-25.3.0-py3-none-any.whl (63 kB)
2025/09/01 07:35:56	Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
2025/09/01 07:35:56	Downloading construct-2.10.70-py3-none-any.whl (63 kB)
2025/09/01 07:35:56	Downloading dacite-1.9.2-py3-none-any.whl (16 kB)
2025/09/01 07:35:56	Downloading decorator-5.2.1-py3-none-any.whl (9.2 kB)
2025/09/01 07:35:56	Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
2025/09/01 07:35:56	Downloading ecdsa-0.19.1-py2.py3-none-any.whl (150 kB)
2025/09/01 07:35:56	Downloading executing-2.2.0-py2.py3-none-any.whl (26 kB)
2025/09/01 07:35:57	Downloading home_assistant_chip_clusters-2025.4.0-py3-none-any.whl (155 kB)
2025/09/01 07:35:57	Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
2025/09/01 07:35:57	Downloading idna-3.10-py3-none-any.whl (70 kB)
2025/09/01 07:35:57	Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
2025/09/01 07:35:57	Downloading ipdb-0.13.13-py3-none-any.whl (12 kB)
2025/09/01 07:35:57	Downloading ipython-9.3.0-py3-none-any.whl (605 kB)
2025/09/01 07:35:57	   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 605.3/605.3 kB 5.8 MB/s eta 0:00:00
2025/09/01 07:35:57	Downloading ipython_pygments_lexers-1.1.1-py3-none-any.whl (8.1 kB)
2025/09/01 07:35:57	Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB)
2025/09/01 07:35:57	   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 14.7 MB/s eta 0:00:00
2025/09/01 07:35:57	Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
2025/09/01 07:35:57	Downloading matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB)
2025/09/01 07:35:57	Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
2025/09/01 07:35:57	Downloading packaging-25.0-py3-none-any.whl (66 kB)
2025/09/01 07:35:58	Downloading parso-0.8.4-py2.py3-none-any.whl (103 kB)
2025/09/01 07:35:58	Downloading pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
2025/09/01 07:35:58	Downloading prompt_toolkit-3.0.51-py3-none-any.whl (387 kB)
2025/09/01 07:35:58	Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
2025/09/01 07:35:58	Downloading pure_eval-0.2.3-py3-none-any.whl (11 kB)
2025/09/01 07:35:58	Downloading pycparser-2.22-py3-none-any.whl (117 kB)
2025/09/01 07:35:58	Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
2025/09/01 07:35:58	   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 14.4 MB/s eta 0:00:00
2025/09/01 07:35:58	Downloading python_matter_server-8.0.0-py3-none-any.whl (161 kB)
2025/09/01 07:35:58	Downloading rich-14.0.0-py3-none-any.whl (243 kB)
2025/09/01 07:35:58	Downloading stack_data-0.6.3-py3-none-any.whl (24 kB)
2025/09/01 07:35:58	Downloading traitlets-5.14.3-py3-none-any.whl (85 kB)
2025/09/01 07:35:58	Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
2025/09/01 07:35:58	Building wheels for collected packages: atomicwrites
2025/09/01 07:35:58	  Building wheel for atomicwrites (setup.py): started
2025/09/01 07:35:59	  Building wheel for atomicwrites (setup.py): finished with status 'done'
2025/09/01 07:35:59	  Created wheel for atomicwrites: filename=atomicwrites-1.4.1-py2.py3-none-any.whl size=7020 sha256=b56debbf8ce4ee85f19b463af81540edcb7d95c9cae5e456f86b91d65230fa9a
2025/09/01 07:35:59	  Stored in directory: /volume1/@apphome/matter-server/.cache/pip/wheels/6b/37/a4/ae30755673c2d1e07228f13b4491fcaef62438f771d5012d07
2025/09/01 07:35:59	Successfully built atomicwrites
2025/09/01 07:35:59	Installing collected packages: wcwidth, stack_data, pure_eval, ptyprocess, pexpect, ifaddr, deprecation, aenum, traitlets, rich, python_matter_server, pygments, pycparser, prompt_toolkit, parso, packaging, mdurl, matplotlib_inline, markdown_it_py, jedi, ipython_pygments_lexers, ipython, ipdb, idna, humanfriendly, home_assistant_chip_clusters, executing, ecdsa, decorator, dacite, construct, coloredlogs, attrs, atomicwrites, async_timeout, asttokens, aiosignal, aiorun, aiohappyeyeballs
2025/09/01 07:36:02	Successfully installed aenum-3.1.16 aiohappyeyeballs-2.6.1 aiorun-2025.1.1 aiosignal-1.3.2 asttokens-3.0.0 async_timeout-5.0.1 atomicwrites-1.4.1 attrs-25.3.0 coloredlogs-15.0.1 construct-2.10.70 dacite-1.9.2 decorator-5.2.1 deprecation-2.1.0 ecdsa-0.19.1 executing-2.2.0 home_assistant_chip_clusters-2025.4.0 humanfriendly-10.0 idna-3.10 ifaddr-0.2.0 ipdb-0.13.13 ipython-9.3.0 ipython_pygments_lexers-1.1.1 jedi-0.19.2 markdown_it_py-3.0.0 matplotlib_inline-0.1.7 mdurl-0.1.2 packaging-25.0 parso-0.8.4 pexpect-4.9.0 prompt_toolkit-3.0.51 ptyprocess-0.7.0 pure_eval-0.2.3 pycparser-2.22 pygments-2.19.1 python_matter_server-8.0.0 rich-14.0.0 stack_data-0.6.3 traitlets-5.14.3 wcwidth-0.2.13
2025/09/01 07:36:02	====================================================
2025/09/01 07:36:02	create special folders
2025/09/01 07:36:02	End service_postinst
2025/09/01 07:36:02	install matter-server 8.0.0-1 End postinst ret=[0]
2025/09/01 07:36:02	install matter-server 8.0.0-1 Begin start-stop-status start
Upgrade Log
2025/09/01 08:22:24	upgrade matter-server 8.0.0-1 Begin start-stop-status stop
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End start-stop-status stop ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin preupgrade
2025/09/01 08:22:25	Begin initialize_variables
2025/09/01 08:22:25	End initialize_variables
2025/09/01 08:22:25	===> Step preupgrade. STATUS=UPGRADE USER=matter-server GROUP= SHARE_PATH=
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End preupgrade ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin preuninst
2025/09/01 08:22:25	Begin initialize_variables
2025/09/01 08:22:25	End initialize_variables
2025/09/01 08:22:25	===> Step preuninst. STATUS=UPGRADE USER=matter-server GROUP= SHARE_PATH=
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End preuninst ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /volume1/@appstore/matter-server
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /volume1/@appstore/matter-server ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /volume1/@apptemp/matter-server
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /volume1/@apptemp/matter-server ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin postuninst
2025/09/01 08:22:25	Begin initialize_variables
2025/09/01 08:22:25	End initialize_variables
2025/09/01 08:22:25	===> Step postuninst. STATUS=UPGRADE USER=matter-server GROUP= SHARE_PATH=
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End postuninst ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin preinst
2025/09/01 08:22:25	Begin initialize_variables
2025/09/01 08:22:25	End initialize_variables
2025/09/01 08:22:25	===> Step preinst. STATUS=UPGRADE USER=matter-server GROUP= SHARE_PATH=
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End preinst ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mkdir -p /volume1/@appstore/matter-server -m 755
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mkdir -p /volume1/@appstore/matter-server -m 755 ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /volume1/@appstore/matter-server
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /volume1/@appstore/matter-server ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/package /volume1/@appstore/matter-server
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/package /volume1/@appstore/matter-server ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mkdir -p /var/packages/matter-server -m 755
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mkdir -p /var/packages/matter-server -m 755 ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/touch /var/packages/matter-server/installing
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/touch /var/packages/matter-server/installing ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/INFO /var/packages/matter-server/INFO
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/INFO /var/packages/matter-server/INFO ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server/scripts
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server/scripts ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/scripts /var/packages/matter-server/scripts
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/scripts /var/packages/matter-server/scripts ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server/WIZARD_UIFILES
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server/WIZARD_UIFILES ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/WIZARD_UIFILES /var/packages/matter-server/WIZARD_UIFILES
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/WIZARD_UIFILES /var/packages/matter-server/WIZARD_UIFILES ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/rm -rf /var/packages/matter-server/conf
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/rm -rf /var/packages/matter-server/conf ret=[0]
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 Begin /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/conf /var/packages/matter-server/conf
2025/09/01 08:22:25	upgrade matter-server 8.0.0-1 End /bin/mv -f /volume1/@tmp/synopkg/install.EjhjlY/conf /var/packages/matter-server/conf ret=[0]
2025/09/01 08:22:26	upgrade matter-server 8.0.0-1 Begin postinst
2025/09/01 08:22:26	Begin initialize_variables
2025/09/01 08:22:26	End initialize_variables
2025/09/01 08:22:26	===> Step postinst. STATUS=UPGRADE USER=matter-server GROUP= SHARE_PATH=
2025/09/01 08:22:26	Begin save_wizard_variables
2025/09/01 08:22:26	End save_wizard_variables
2025/09/01 08:22:26	Begin syno_sync_var_folder
2025/09/01 08:22:26	End syno_sync_var_folder
2025/09/01 08:22:26	Begin service_postinst
2025/09/01 08:22:26	====================================================
2025/09/01 08:22:26	Install Python virtual environment
2025/09/01 08:22:26	Python 3.12.11
2025/09/01 08:22:26	Default pip version 25.0.1
2025/09/01 08:22:27	====================================================
2025/09/01 08:22:27	Install packages from wheelhouse
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/aiohttp-3.12.12-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/cffi-1.17.1-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/cryptography-45.0.4-cp312-abi3-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/frozenlist-1.7.0-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/home_assistant_chip_core-2025.4.0-cp37-abi3-manylinux_2_31_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/multidict-6.4.4-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/orjson-3.10.18-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/propcache-0.3.2-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/pyyaml-6.0.2-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/yarl-1.20.1-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Processing /volume1/@appstore/matter-server/share/wheelhouse/zeroconf-0.147.0-cp312-cp312-linux_x86_64.whl
2025/09/01 08:22:28	Installing collected packages: zeroconf, yarl, pyyaml, propcache, orjson, multidict, home-assistant-chip-core, frozenlist, cryptography, cffi, aiohttp
2025/09/01 08:22:28	Successfully installed aiohttp-3.12.12 cffi-1.17.1 cryptography-45.0.4 frozenlist-1.7.0 home-assistant-chip-core-2025.4.0 multidict-6.4.4 orjson-3.10.18 propcache-0.3.2 pyyaml-6.0.2 yarl-1.20.1 zeroconf-0.147.0
2025/09/01 08:22:28	====================================================
2025/09/01 08:22:28	Install python packages from index
2025/09/01 08:22:29	Collecting aenum==3.1.16 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 1))
2025/09/01 08:22:29	  Using cached aenum-3.1.16-py3-none-any.whl.metadata (3.8 kB)
2025/09/01 08:22:29	Collecting aiohappyeyeballs==2.6.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 2))
2025/09/01 08:22:29	  Using cached aiohappyeyeballs-2.6.1-py3-none-any.whl.metadata (5.9 kB)
2025/09/01 08:22:29	Collecting aiorun==2025.1.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 3))
2025/09/01 08:22:29	  Using cached aiorun-2025.1.1-py3-none-any.whl.metadata (19 kB)
2025/09/01 08:22:29	Collecting aiosignal==1.3.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 4))
2025/09/01 08:22:29	  Using cached aiosignal-1.3.2-py2.py3-none-any.whl.metadata (3.8 kB)
2025/09/01 08:22:29	Collecting asttokens==3.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 5))
2025/09/01 08:22:29	  Using cached asttokens-3.0.0-py3-none-any.whl.metadata (4.7 kB)
2025/09/01 08:22:29	Collecting async_timeout==5.0.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 6))
2025/09/01 08:22:29	  Using cached async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB)
2025/09/01 08:22:29	Collecting atomicwrites==1.4.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 7))
2025/09/01 08:22:29	  Using cached atomicwrites-1.4.1-py2.py3-none-any.whl
2025/09/01 08:22:30	Collecting attrs==25.3.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 8))
2025/09/01 08:22:30	  Using cached attrs-25.3.0-py3-none-any.whl.metadata (10 kB)
2025/09/01 08:22:30	Collecting coloredlogs==15.0.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 9))
2025/09/01 08:22:30	  Using cached coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
2025/09/01 08:22:30	Collecting construct==2.10.70 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 10))
2025/09/01 08:22:30	  Using cached construct-2.10.70-py3-none-any.whl.metadata (4.2 kB)
2025/09/01 08:22:30	Collecting dacite==1.9.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 11))
2025/09/01 08:22:30	  Using cached dacite-1.9.2-py3-none-any.whl.metadata (17 kB)
2025/09/01 08:22:30	Collecting decorator==5.2.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 12))
2025/09/01 08:22:30	  Using cached decorator-5.2.1-py3-none-any.whl.metadata (3.9 kB)
2025/09/01 08:22:30	Collecting deprecation==2.1.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 13))
2025/09/01 08:22:30	  Using cached deprecation-2.1.0-py2.py3-none-any.whl.metadata (4.6 kB)
2025/09/01 08:22:30	Collecting ecdsa==0.19.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 14))
2025/09/01 08:22:30	  Using cached ecdsa-0.19.1-py2.py3-none-any.whl.metadata (29 kB)
2025/09/01 08:22:30	Collecting executing==2.2.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 15))
2025/09/01 08:22:30	  Using cached executing-2.2.0-py2.py3-none-any.whl.metadata (8.9 kB)
2025/09/01 08:22:30	Collecting home_assistant_chip_clusters==2025.4.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 16))
2025/09/01 08:22:30	  Using cached home_assistant_chip_clusters-2025.4.0-py3-none-any.whl.metadata (542 bytes)
2025/09/01 08:22:30	Collecting humanfriendly==10.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 17))
2025/09/01 08:22:30	  Using cached humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
2025/09/01 08:22:30	Collecting idna==3.10 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 18))
2025/09/01 08:22:30	  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
2025/09/01 08:22:30	Collecting ifaddr==0.2.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 19))
2025/09/01 08:22:30	  Using cached ifaddr-0.2.0-py3-none-any.whl.metadata (4.9 kB)
2025/09/01 08:22:30	Collecting ipdb==0.13.13 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 20))
2025/09/01 08:22:30	  Using cached ipdb-0.13.13-py3-none-any.whl.metadata (14 kB)
2025/09/01 08:22:31	Collecting ipython==9.3.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 21))
2025/09/01 08:22:31	  Using cached ipython-9.3.0-py3-none-any.whl.metadata (4.4 kB)
2025/09/01 08:22:31	Collecting ipython_pygments_lexers==1.1.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 22))
2025/09/01 08:22:31	  Using cached ipython_pygments_lexers-1.1.1-py3-none-any.whl.metadata (1.1 kB)
2025/09/01 08:22:31	Collecting jedi==0.19.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 23))
2025/09/01 08:22:31	  Using cached jedi-0.19.2-py2.py3-none-any.whl.metadata (22 kB)
2025/09/01 08:22:31	Collecting markdown_it_py==3.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 24))
2025/09/01 08:22:31	  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
2025/09/01 08:22:31	Collecting matplotlib_inline==0.1.7 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 25))
2025/09/01 08:22:31	  Using cached matplotlib_inline-0.1.7-py3-none-any.whl.metadata (3.9 kB)
2025/09/01 08:22:31	Collecting mdurl==0.1.2 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 26))
2025/09/01 08:22:31	  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
2025/09/01 08:22:31	Collecting packaging==25.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 27))
2025/09/01 08:22:31	  Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
2025/09/01 08:22:31	Collecting parso==0.8.4 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 28))
2025/09/01 08:22:31	  Using cached parso-0.8.4-py2.py3-none-any.whl.metadata (7.7 kB)
2025/09/01 08:22:31	Collecting pexpect==4.9.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 29))
2025/09/01 08:22:31	  Using cached pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB)
2025/09/01 08:22:31	Collecting prompt_toolkit==3.0.51 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 31))
2025/09/01 08:22:31	  Using cached prompt_toolkit-3.0.51-py3-none-any.whl.metadata (6.4 kB)
2025/09/01 08:22:31	Collecting ptyprocess==0.7.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 32))
2025/09/01 08:22:31	  Using cached ptyprocess-0.7.0-py2.py3-none-any.whl.metadata (1.3 kB)
2025/09/01 08:22:31	Collecting pure_eval==0.2.3 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 33))
2025/09/01 08:22:31	  Using cached pure_eval-0.2.3-py3-none-any.whl.metadata (6.3 kB)
2025/09/01 08:22:31	Collecting pycparser==2.22 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 34))
2025/09/01 08:22:31	  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
2025/09/01 08:22:31	Collecting pygments==2.19.1 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 35))
2025/09/01 08:22:31	  Using cached pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
2025/09/01 08:22:32	Collecting python_matter_server==8.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 36))
2025/09/01 08:22:32	  Using cached python_matter_server-8.0.0-py3-none-any.whl.metadata (4.6 kB)
2025/09/01 08:22:32	Collecting rich==14.0.0 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 37))
2025/09/01 08:22:32	  Using cached rich-14.0.0-py3-none-any.whl.metadata (18 kB)
2025/09/01 08:22:32	Requirement already satisfied: six==1.17.0 in /var/packages/python312/target/lib/python3.12/site-packages (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 38)) (1.17.0)
2025/09/01 08:22:32	Collecting stack_data==0.6.3 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 39))
2025/09/01 08:22:32	  Using cached stack_data-0.6.3-py3-none-any.whl.metadata (18 kB)
2025/09/01 08:22:32	Collecting traitlets==5.14.3 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 40))
2025/09/01 08:22:32	  Using cached traitlets-5.14.3-py3-none-any.whl.metadata (10 kB)
2025/09/01 08:22:32	Collecting wcwidth==0.2.13 (from -r /volume1/@appstore/matter-server/share/requirements-pure.txt (line 41))
2025/09/01 08:22:32	  Using cached wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
2025/09/01 08:22:32	Using cached aenum-3.1.16-py3-none-any.whl (165 kB)
2025/09/01 08:22:32	Using cached aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)
2025/09/01 08:22:32	Using cached aiorun-2025.1.1-py3-none-any.whl (18 kB)
2025/09/01 08:22:32	Using cached aiosignal-1.3.2-py2.py3-none-any.whl (7.6 kB)
2025/09/01 08:22:32	Using cached asttokens-3.0.0-py3-none-any.whl (26 kB)
2025/09/01 08:22:32	Using cached async_timeout-5.0.1-py3-none-any.whl (6.2 kB)
2025/09/01 08:22:32	Using cached attrs-25.3.0-py3-none-any.whl (63 kB)
2025/09/01 08:22:32	Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
2025/09/01 08:22:32	Using cached construct-2.10.70-py3-none-any.whl (63 kB)
2025/09/01 08:22:32	Using cached dacite-1.9.2-py3-none-any.whl (16 kB)
2025/09/01 08:22:32	Using cached decorator-5.2.1-py3-none-any.whl (9.2 kB)
2025/09/01 08:22:32	Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
2025/09/01 08:22:32	Using cached ecdsa-0.19.1-py2.py3-none-any.whl (150 kB)
2025/09/01 08:22:32	Using cached executing-2.2.0-py2.py3-none-any.whl (26 kB)
2025/09/01 08:22:32	Using cached home_assistant_chip_clusters-2025.4.0-py3-none-any.whl (155 kB)
2025/09/01 08:22:32	Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
2025/09/01 08:22:32	Using cached idna-3.10-py3-none-any.whl (70 kB)
2025/09/01 08:22:32	Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
2025/09/01 08:22:32	Using cached ipdb-0.13.13-py3-none-any.whl (12 kB)
2025/09/01 08:22:32	Using cached ipython-9.3.0-py3-none-any.whl (605 kB)
2025/09/01 08:22:32	Using cached ipython_pygments_lexers-1.1.1-py3-none-any.whl (8.1 kB)
2025/09/01 08:22:32	Using cached jedi-0.19.2-py2.py3-none-any.whl (1.6 MB)
2025/09/01 08:22:32	Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
2025/09/01 08:22:32	Using cached matplotlib_inline-0.1.7-py3-none-any.whl (9.9 kB)
2025/09/01 08:22:32	Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
2025/09/01 08:22:32	Using cached packaging-25.0-py3-none-any.whl (66 kB)
2025/09/01 08:22:32	Using cached parso-0.8.4-py2.py3-none-any.whl (103 kB)
2025/09/01 08:22:32	Using cached pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
2025/09/01 08:22:32	Using cached prompt_toolkit-3.0.51-py3-none-any.whl (387 kB)
2025/09/01 08:22:32	Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
2025/09/01 08:22:32	Using cached pure_eval-0.2.3-py3-none-any.whl (11 kB)
2025/09/01 08:22:32	Using cached pycparser-2.22-py3-none-any.whl (117 kB)
2025/09/01 08:22:32	Using cached pygments-2.19.1-py3-none-any.whl (1.2 MB)
2025/09/01 08:22:32	Using cached python_matter_server-8.0.0-py3-none-any.whl (161 kB)
2025/09/01 08:22:32	Using cached rich-14.0.0-py3-none-any.whl (243 kB)
2025/09/01 08:22:32	Using cached stack_data-0.6.3-py3-none-any.whl (24 kB)
2025/09/01 08:22:32	Using cached traitlets-5.14.3-py3-none-any.whl (85 kB)
2025/09/01 08:22:32	Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
2025/09/01 08:22:32	Installing collected packages: wcwidth, stack_data, pure_eval, ptyprocess, pexpect, ifaddr, deprecation, aenum, traitlets, rich, python_matter_server, pygments, pycparser, prompt_toolkit, parso, packaging, mdurl, matplotlib_inline, markdown_it_py, jedi, ipython_pygments_lexers, ipython, ipdb, idna, humanfriendly, home_assistant_chip_clusters, executing, ecdsa, decorator, dacite, construct, coloredlogs, attrs, atomicwrites, async_timeout, asttokens, aiosignal, aiorun, aiohappyeyeballs
2025/09/01 08:22:35	Successfully installed aenum-3.1.16 aiohappyeyeballs-2.6.1 aiorun-2025.1.1 aiosignal-1.3.2 asttokens-3.0.0 async_timeout-5.0.1 atomicwrites-1.4.1 attrs-25.3.0 coloredlogs-15.0.1 construct-2.10.70 dacite-1.9.2 decorator-5.2.1 deprecation-2.1.0 ecdsa-0.19.1 executing-2.2.0 home_assistant_chip_clusters-2025.4.0 humanfriendly-10.0 idna-3.10 ifaddr-0.2.0 ipdb-0.13.13 ipython-9.3.0 ipython_pygments_lexers-1.1.1 jedi-0.19.2 markdown_it_py-3.0.0 matplotlib_inline-0.1.7 mdurl-0.1.2 packaging-25.0 parso-0.8.4 pexpect-4.9.0 prompt_toolkit-3.0.51 ptyprocess-0.7.0 pure_eval-0.2.3 pycparser-2.22 pygments-2.19.1 python_matter_server-8.0.0 rich-14.0.0 stack_data-0.6.3 traitlets-5.14.3 wcwidth-0.2.13
2025/09/01 08:22:35	====================================================
2025/09/01 08:22:35	create special folders
2025/09/01 08:22:35	End service_postinst
2025/09/01 08:22:35	upgrade matter-server 8.0.0-1 End postinst ret=[0]
2025/09/01 08:22:35	upgrade matter-server 8.0.0-1 Begin postupgrade
2025/09/01 08:22:35	Begin initialize_variables
2025/09/01 08:22:35	End initialize_variables
2025/09/01 08:22:35	===> Step postupgrade. STATUS=UPGRADE USER=matter-server GROUP= SHARE_PATH=
2025/09/01 08:22:35	Begin syno_sync_var_folder
2025/09/01 08:22:35	End syno_sync_var_folder
2025/09/01 08:22:35	upgrade matter-server 8.0.0-1 End postupgrade ret=[0]
2025/09/01 08:22:35	upgrade matter-server 8.0.0-1 Begin start-stop-status start
2025/09/01 08:22:35	upgrade matter-server 8.0.0-1 End start-stop-status start ret=[0]

I did however note in the UI that the icon in the Main Menu is missing and the open button in the Package Center is not active.

Screenshot 2025-09-01 at 8 22 52 AM

I do see a URL in the app details screen and clicking it does show the app interface:

Screenshot 2025-09-01 at 8 21 58 AM Screenshot 2025-09-01 at 8 22 11 AM

@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

I did however note in the UI that the icon in the Main Menu is missing and the open button in the Package Center is not active.

That is by intention
I didn't define SERVICE_PORT, only ADMIN_PORT is defined.
So there is a link in the Package Center and the UI is available for admins only.

We have a lot of packages that define ADMIN_PORT = $(SERVICE_PORT), but IMHO this is not good practice. We should use ADMIN_PORT only if it is different to SERVICE_PORT i.e. the regular UI of a package is under SERVICE_PORT and (a different) admin UI is on a different port.
Or we can define ADMIN_PORT instead of SERVICE_PORT to avoid an icon (link) in the DSM UI (as I did here).

IMHO we shouldn't fix this in existing packages, because users might be used to use the admin link in package center,
but for new Packages this is not the case.

@mreid-tt
Copy link
Contributor

mreid-tt commented Sep 1, 2025

That is by intention
I didn't define SERVICE_PORT, only ADMIN_PORT is defined.
So there is a link in the Package Center and the UI is available for admins only.

So you’re suggesting installing a package without an easy-to-access admin interface? Is that because it lacks authentication and you’re concerned about inexperienced users making changes? Could you share another package where you’d recommend a similar approach? I’m trying to put this in context and better understand the intent.

@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

Thank you for the info: this will not affect me

But it will affect your Supervised installation, as supervised will get deprecated.
And we can't create further HA packages, because Home Assistant Core gets deprecated too.

On Synology Devices, only Docker installations (or may be Home Assistant OS as virtual machine) will be supported.

@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

So you’re suggesting installing a package without an easy-to-access admin interface?

I thought that everyone used the url to open the packages, because of the definition of ADMIN_PORT.
If you want to open the packages with the open button or with the package icon in DSM UI, we wouldn't need the URL in Package Center (i.e. the definition of ADMIN_PORT).

I want to point out, that there is a difference between package interface and admin interface..
For the package interface you have the open button in package center and the package icon in DSM UI.
For the admin interface you have the URL in Package Center.
For packages with SERVICE_PORT you define the ADMIN_PORT for the admin interface.
For web packages with a web service config, you define ADMIN_URL and ADMIN_PROTOCOL for the admin interface.

If both are the same, it does not make sense to have the URL in package center.

For me the matter server package web ui is not a common web ui (like in owncloud) it is only to administrate matter devices.
It is easy to access with the URL in package center.

- add chip_core wheels 2025.7.0
- update requirements
- install package with integration into DSM UI
@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

@mreid-tt I have now switched to SERVICE_PORT (and DSM UI integration).
The first package release didn't have neither SERVICE_PROT nor ADMIN_PORT defined, as it is mainly a webservice interface.
Later I found that it also presents the admin interface on this port.

@mreid-tt
Copy link
Contributor

mreid-tt commented Sep 1, 2025

@hgy59 this is a very different understanding than what I had for its use. Looking into our documentation we have:

Variable name Explanation Example
ADMIN_PORT Port for web based management interface of package. Used to create a link in DSM package center. Required only if SERVICE_PORT is not defined or different. Another use case is to define ADMIN_PORT = $(SERVICE_PORT) together with NO_SERVICE_SHORTCUT = true to get the web interface in the DSM package center but not in the DSM UI. ADMIN_PORT = 9091
SERVICE_PORT TCP port of generic service support for firewall and DSM UI shortcut. For new packages please choose a free port and update the list SynoCommunity Used Ports SERVICE_PORT = 8080

This is in alignment with what you have stated and in the DSM Developer Guide we have definitions of the admin port as follows:

Field Name: adminport

  • Description: A package listens to a specific port to display its own UI. If the package is defined by a port, a link will be opened when the package is started.

Note: adminprotocol, adminportand adminurl keys are combined to adminprotocol://ip:adminport/adminurl link

This as noted, is separate from the UI files which define the icon and button behaviour for the app.

The issue, as I see it, is that we’ve blended the two for so long that this may now be the expected behavior for our users.

A quick check of the Makefiles in spksrc shows 58 files with an ADMIN_PORT defined. Of these, only 13 — mostly less common apps such as darkstat, ejabberd, go2rtc, haproxy, htpcmanager, maraschino, minio, monit, node-exporter, nzbmegasearch, plexivity, rabbitmq, and saltpad — use something other than ADMIN_PORT = $(SERVICE_PORT).

Since I haven’t contributed code to these particular apps, I’ve never encountered a case where the Open button and the admin URL pointed to different places.

@hgy59
Copy link
Contributor Author

hgy59 commented Sep 1, 2025

@mreid-tt the icecast package has such an approach.
It has ADMIN_PORT = $(SERVICE_PORT) but also SERVICE_URL = /admin/
so the Open button and DSM UI icon will open http://{nas-ip}:8000
and the URL in package center will open http://{nas-ip}:8000/admin/
since /admin/ path is also available in the regular web ui, it is not mandatory to have it.

A real use case would be, when the Open Button opens a Dialog integrated into DSM and the admin url opens a web UI of the package.
But we only had such Integration based on python2 code, and that is deprecated long ago (only DSM 5 really worked, like in debian-chroot package) and none of those had an additional web interface (AFAICR) ....

I propose to avoid ADMIN_PORT, ADMIN_URL, SERVICE_URL, etc. at least when the package does not provide two different web interfaces.

@mreid-tt
Copy link
Contributor

mreid-tt commented Sep 1, 2025

I propose to avoid ADMIN_PORT, ADMIN_URL, SERVICE_URL, etc. at least when the package does not provide two different web interfaces.

Agreed. I'll keep this in mind for any future code I work on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package PR/WIP for a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Package Request] Matter Server
3 participants