Matrix Thermal Printer
Print your incoming Matrix messages using a thermal printer
Getting started
Hardware requirement
ESP32
This project rely on a ESP32-s3. For the sake of simplicity I used the most powerful one available: ESP32 N16R8
The network is assured by a W5500 chip
Schematics:
Thermal printer
You will need a Thermal printer that support the Epson's ESC/POS protocol.
I made this project using this model: UNYKACH UK56007 but other model will work too.
You should define a proper IP address for the thermal printer. It must be on the same network as the ESP32. ``
Development setup
Note: This project is based on esp-hal
-
Install Rust using
rustup: https://rust-lang.org/tools/install/ -
Follow the official Espressif instructions to install the toolchain and tooling on your computer
-
Add yourself to the
dialoutgroup (to communicate easily with your ESP32):
sudo adduser $USER dialout
- Clone this project:
git clone https://gitea.communiquons.org/pierre/MatrixThermalPrinter
cd MatrixThermalPrinter
- Build a release version of this project:
cd MatrixThermalPrinter
cargo build --release
- Deploy this project to an ESP32:
cargo run --release
Project configuration roadmap
- Setup Matrix and wanted bridgets
- Setup MatrixGW and connect it to matrix
- Connect and configure your thermal printer
- Create an API token on MatrixGW for the printer
- Access http://ESP_IP/ (username:
admin/ password:admin) to configure the ESP
