How to enable daylight on a stick
Hi,
I want to add a daylight on a stick to my minion running an SKR2 board. It is connected to the second heater output. How do I configure RatOS so I get a switch to turn this on and off?
34 Replies
daylight?
foreign-sapphire•2y ago
24V COB LED in a pragmatic form factor https://github.com/VoronDesign/Voron-Hardware/blob/master/Daylight/README.md
I am just not sure where to put the config from the readme in RatOS, and I did not find the right place in the documentation
I would put https://github.com/VoronDesign/Voron-Hardware/blob/master/Daylight/README.md#klipper in the USER OVERRIDES section
foreign-sapphire•2y ago
the 250mm ones just fit the Z tower of a minion like
this is how i configure my leds:
[neopixel led_toolhead]
pin: PA9
chain_count: 3
color_order: GRB
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 0.0
[gcode_macro LIGHT_ON]
gcode:
SET_LED LED=led_toolhead RED=1.0 GREEN=1.0 BLUE=1.0
foreign-sapphire•2y ago
and I guess my pin is PB4 and I don't have to worry about neopixel with this being simple COB LEDs
alright, I will check the USER OVERRIDES section. Thanks!
(after this current print)
@Helge Keck like this then?
looks ok to me
but i dont know this kind of LED, not sure if this works
foreign-sapphire•2y ago
the editor shows the whole SET_PIN line red
foreign-sapphire•2y ago
foreign-sapphire•2y ago
is this expected?
the editor is stupid
foreign-sapphire•2y ago
ok
I think so, I think that is just the (terrible) syntax highlighting
foreign-sapphire•2y ago
then I will wait until this print is done and check if this works
any way to get a slider for the value so I can modify the light brightness via UI?
mainsail does this by its own
foreign-sapphire•2y ago
sweet
well, not exaclty
ii got this for RGB lights
foreign-sapphire•2y ago
foreign-sapphire•2y ago
got a slider which works. Damn these things are bright
If you only want a on/off switch, I use this on printer.cfg:
[output_pin WHATEVER]
pin: WHATEVER
And on moonraker, this:
[power LED]
type: klipper_device
object_name: output_pin NAME_FROM_WHATEVER
You will have a toggle button under Miscellanous and the same button on the power button on top.
foreign-sapphire•9mo ago
@Helge Keck you got some time for updating? Current state is
reset repo, update klipper, execute idex install script
foreign-sapphire•9mo ago
you mean the klipper repo?
yes, use the drop down command
foreign-sapphire•9mo ago
what about moonraker, ratos, klipperscreen?
first ratos, then the rest
foreign-sapphire•9mo ago
should I update the idex repo before executing the idex install script?
yes
foreign-sapphire•9mo ago
alright, running hard recovery on the klipper repo
wrong channel btw
foreign-sapphire•9mo ago
ups, sorry
how did I end up here?