Skip to main content

Extending Control of LED Drivers via Plugins

Original Document

https://github.com/julianschill/klipper-led_effect

Installation

Please use an SSH tool such as MobaXterm_Personal to connect to your host machine via WIFI, and ensure the following:

  1. Make sure Klipper firmware is installed on the host machine
  2. Make sure the logged-in user is the one who installed Klipper
  3. Make sure your input method is set to English
  4. Make sure your host machine can successfully discover devices
  5. Make sure all the above steps are completed, otherwise you cannot proceed
  6. The FAST system already includes this plugin

This module can be installed into an existing Klipper installation using an installation script.

cd ~
git clone https://github.com/julianschill/klipper-led_effect.git
cd klipper-led_effect
./install-led_effect.sh

Reference Configuration

[neopixel TP_led]
pin: PB7
chain_count: 25
# Number of LEDs
# 灯珠数量
color_order: GRB
initial_RED: 0.4
initial_GREEN: 0.8
initial_BLUE: 1
initial_WHITE: 0.0
#66CCFF

[led_effect sb_nozzle_cooling]
autostart: false
frame_rate: 24
leds:
neopixel:TP_led (9,10)
layers:
breathing 3 1 top (0.0, 0.0, 1.0, 0.1)

[led_effect rainbow]
leds:
neopixel:TP_led
autostart: true
frame_rate: 24
layers:
gradient 0.3 1 add (0.3, 0.0, 0.0),(0.0, 0.3, 0.0),(0.0, 0.0, 0.3)

Loading...