utkabobr / BeamKlipper

Android Klipper goes brrrr!
GNU General Public License v3.0
48 stars 2 forks source link

Beam Klipper - Klipper for vanilla Android!

Beam Klipper allows you to run Klipper host software (Klippy) on any Android 5.0+ device with OTG support.

Telegram: https://t.me/ytkab0bp_channel

Boosty (Patreon alternative): https://boosty.to/ytkab0bp

K3D Chat for discussion & support (Russian language only): https://t.me/K_3_D

Quick start

  1. Download & install firmware.bin from here (or build your own from this repo to ensure versions compatibility)
  2. Install APK from Releases tab
  3. Allow all the permissions required
  4. Add printer instance (Click generic-***.cfg if your printer is not available)
  5. Click start
  6. Go to web server's url http://IP:8888/
  7. Configure serial port from "Devices" tab in web editor (1.0.1+ configures automatically if you use single printer setup)
  8. You're awesome!

Can I use device as regular after I install Beam Klipper to it?

Yes! You definitely can!

Beam Klipper does not do anything to your Android system, it runs in user-space as a regular Android app

What's IP:port?

It's displayed on main page when any of the instances are running.

Web server URL is: http://IP:8888/

Camera URL's are:

Recommended camera config is mjpeg-stream (Not adaptive mjpeg) for Fluidd and UV4L-MJPEG for Mainsail

What's inside?

Beam Klipper bundles:

Beam extensions

Beam Klipper provides additional extensions to control some built-in features.

Camera

Include [beam_camera] into your printer.cfg

SET_CAMERA_FLASHLIGHT ENABLED=true/false - Toggles flashlight

SET_CAMERA_FOCUS AUTOFOCUS=true/false FOCUS_DISTANCE=0...? - Sets camera autofocus state and focus distance if autofocus is disabled. FOCUS_DISTANCE is expressed in dioptres, it may vary from device to device

Beeper

Include [include beam_beeper.cfg] into your printer.cfg

Use M300 macro as defined in docs

Autostart

You can put the app to autostart by setting needed printers to autostart AND setting app as default launcher.

You must remove lockscreen pincode if your device is encrypted (Enabled by default on most devices)

Background activity notice

Some manufacturers may restrict app's performance or background process. You can circumvent this by setting app as default launcher and allowing all the background tasks

Android TV support?

It should be supported, but it's not tested yet. There might be interface bugs

What USB hub to use?

I'm using UGREEN Type-c hub (Not affiliated, but I'm waiting for your request UGREEN :D), but any should be fine if it works with your device and provides charging at the same time

Restrictions

Building

Contributing

Pull requests are welcome, but I will NOT approve Kotlin source code as I don't use it in my projects