{"repo":"Knifa/led-matrix-zmq-server","free":true,"listed":false,"github":"https://github.com/Knifa/led-matrix-zmq-server","clone":"git clone https://github.com/Knifa/led-matrix-zmq-server.git","description":"A tool for streaming frames to rpi-rgb-led-matrix over ZeroMQ.","language":"C++","stars":32,"topics":["rgb-led-matrix","raspberry-pi","docker-image","zeromq","led-matrix","zmq"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"led-matrix-zmq-server A tool for interacting with rpi-rgb-led-matrix over ZeroMQ. Building - Depends on cppzmq and friends. - Requires a built rpi-rgb-led-matrix. Tell CMake where it is with -DRPI RGB LED MATRIX DIR . - Build with cmake , e.g.: Docker A Docker image is available for amd64 and arm64 . The server must be run with --privileged to allow GPIO access. This binary is only included in the arm64 image. led-matrix-zmq-control and led-matrix-zmq-pipe are also available in the image. Usage Running the Server See led-matrix-zmq-server --help for available options. These mostly passthrough to the rpi-rgb-led-matrix library. Endpoints The --xyz-endpoint options pass directly through to ZeroMQ, so you can use any valid transport string. For example, you could specify tcp://0.0.0.0:42069 to listen on the network. Sending Frames The server is a simple ZMQ REQ-REP loop. All you need to do is send your frame as a big ol' byte chunk then wait for an empty message back. Each frame should be in a RGBA32 format. Just Pipe It led-matrix-zmq-pipe is both a bit of an example and a handy tool. It reads raw RGBA32 frames from stdin and sends them to the server. Control Messages Brightness and color temperature, etc. can be get/set through another simple REQ-REP loop. Transitions are animated if a duration is provided. See led-matrix-zmq-control --help for available options, or see the source to dig deeper.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Knifa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Knifa/led-matrix-zmq-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}