https://github.com/zevv/bambucli
https://github.com/zevv/bambucli
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zevv/bambucli
- Owner: zevv
- Created: 2023-09-14T17:16:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-30T11:37:20.000Z (over 2 years ago)
- Last Synced: 2025-04-03T13:49:37.702Z (11 months ago)
- Language: Nim
- Size: 78.1 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

This is an experimental CLI interface to the Bambu printer family. I
exclusively use my printer in LAN only mode, and it makes me happy to see that
Bambu chose to use standard open protocols for their interface.
## Building
- `nimble install nmqtt`
- `nim c -d:ssl bambucli.nim`
## Usage
Create a file `~/.bambu` containing one line with the IP address of your printer and the password, separated by a `:`, mine looks
like this:
```
10.0.0.30:734f29a1
```
run `./bambucli`
Note: for true color display on linux, you might need to set the `COLORTERM` environment variable:
```
export COLORTERM=truecolro
```
## TODO
- basic control (pause, resume, etc)
- uPnP device discovery