https://github.com/malciin/bambu.py
Various QoL python scripts for your Bambu printer :) Notifications, external RT(S)P cam autorecording and more.
https://github.com/malciin/bambu.py
bambu bambu-lab mqtt rtp rtsp toast windows-toast
Last synced: 3 months ago
JSON representation
Various QoL python scripts for your Bambu printer :) Notifications, external RT(S)P cam autorecording and more.
- Host: GitHub
- URL: https://github.com/malciin/bambu.py
- Owner: malciin
- License: mit
- Created: 2024-12-06T11:32:48.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-12-14T10:24:34.000Z (7 months ago)
- Last Synced: 2025-02-02T05:28:09.302Z (5 months ago)
- Topics: bambu, bambu-lab, mqtt, rtp, rtsp, toast, windows-toast
- Language: Python
- Homepage:
- Size: 306 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Various QoL python scripts for your Bambu printer :)
## Setup
```bash
pip install -r requirements.txt
```Additionaly for windows only scripts (toast notification) use:
```
pip install -r requirements.win.txt
```## Usage
Every script have help via `--help` option. Just write `python3 XYZ.py --help`.
### `notify.py`
Sends Windows 10/11 toast notifications when printing is complete or paused (filament end, tangle etc).
Example usage:
```bash
python3 notify.py -ip 192.168.1.100 -ac 21xxxxxx -sn 03xxxxxxxxxxxxx
```### `recorder.py`
https://github.com/user-attachments/assets/c02920be-87f0-40e6-bcae-b0e910b8f983
Creates records from an **external** IP camera using the RT(S)P protocol. Recording begins when printing starts and ends when printing stops or completes.
Example usage:
```bash
python3 recorder.py -ip 192.168.1.100 -ac 21xxxxxx -sn 03xxxxxxxxxxxxx -s rtsp://user:pass@ipcam-ip/stream1
```### `dumper.py`
Dumps every mqtt messages from printer to mqtt folder.
Example usage:
```bash
python3 notify.py -ip 192.168.1.100 -ac 21xxxxxx -sn 03xxxxxxxxxxxxx
```