diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 158261ea..dd49ff81 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -6,6 +6,7 @@ Development is only possible on a (recent) Linux or MacOS machine. Other operati - Download/clone the repo to your local machine. - Set-up the development environment: `scripts/setup.sh` +- Create the `/data` directory if it does not exist with permissions for the user running the python-matter-server. ## Start Matter server @@ -19,6 +20,12 @@ Use `--help` to get a list of possible log levels and other command line argumen 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). +If you happen to get `OSError: [Errno 105] No buffer space available.`, increase the IPv4 group limits with: +``` +echo "net.ipv4.igmp_max_memberships=1024" | sudo tee -a /etc/sysctl.d/local.conf +sudo service procps force-reload +``` + ## Python client library only There is also a Python client library hosted in this repository (used by Home Assistant), which consumes the Websockets API published from the server.