HA Thread
Matter setup:
- Installed in venv at /srv/matter
- data directory is /home/homeassistant/.matter
- ln -s /home/homeassistant/.matter/data /data
- chown homeassistant:homeassistant /data
- (for some reason, CHIP insits on using that directory)
systemd unit (/etc/systemd/system/matter.service
)
python3 -m matter_server.server –log-level debug –storage-path /home/homeassistant/.matter –paa-root-cert-dir /home/homeassistant/.matter/credentials
[Unit]
Description=Home Assistant Matter Server
After=network-online.target
[Service]
ExecStart=/srv/matter/.venv/bin/matter-server --storage-path /home/homeassistant/.matter --paa-root-cert-dir /home/homeassistant/.matter/credentials
WorkingDirectory=/srv/matter
Environment="PATH=/srv/matter/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/homeassistant/.local/bin"
User=homeassistant
Group=homeassistant
Restart=always
[Install]
WantedBy=multi-user.target
We also need a syctl file:
#Matter needs to accept RA route advertisements for Thread to work properly
net.ipv6.conf.eth0.accept_ra_rt_info_max_plen=64
Open Thread Border Router:⌗
followed https://openthread.io/codelabs/openthread-border-router#1 need to add WEB_GUI=1 before bootstrap and setup (it’s not the default on Debian)
read other posts