Skip to content

Commit fb04ae7

Browse files
Developer documentation: /data & IPv4 group limits (#1081)
Co-authored-by: Zack Elia <github@zacharyelia.com>
1 parent cfb5d8b commit fb04ae7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

DEVELOPMENT.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Development is only possible on a (recent) Linux or MacOS machine. Other operati
66

77
- Download/clone the repo to your local machine.
88
- Set-up the development environment: `scripts/setup.sh`
9+
- Create the `/data` directory if it does not exist with permissions for the user running the python-matter-server.
910

1011
## Start Matter server
1112

@@ -19,6 +20,12 @@ Use `--help` to get a list of possible log levels and other command line argumen
1920

2021
The server runs a Matter Controller and includes all logic for storing node information, interviews and subscriptions. To interact with this controller we've created a small Websockets API with an RPC-like interface. The library contains a client as reference implementation which in turn is used by Home Assistant. Splitting the server from the client allows the scenario where multiple consumers can communicate to the same Matter fabric and the Matter fabric can keep running while the consumer (e.g. Home Assistant is down).
2122

23+
If you happen to get `OSError: [Errno 105] No buffer space available.`, increase the IPv4 group limits with:
24+
```
25+
echo "net.ipv4.igmp_max_memberships=1024" | sudo tee -a /etc/sysctl.d/local.conf
26+
sudo service procps force-reload
27+
```
28+
2229
## Python client library only
2330

2431
There is also a Python client library hosted in this repository (used by Home Assistant), which consumes the Websockets API published from the server.

0 commit comments

Comments
 (0)