Closed bennnil closed 1 month ago
How does your config part look like?
Hey @lxne, my config looks the following:
[GENERAL]
language = de
directory = /home/pi/Bilder/pibooth
clear_on_startup = False
autostart = False
debug = True
failsafe = True
plugins = ["/home/pi/Downloads/pibooth/pibooth_neopixel.py"]
[WINDOW]
size = (800, 480)
flash = True
animate = True
animate_delay = 0.2
arrows = bottom
arrows_x_offset = 0
preview_delay = 2
preview_countdown = True
preview_stop_on_capture = False
[PICTURE]
orientation = landscape
captures = 1
captures_effects = none
captures_cropping = True
footer_text1 =
footer_text2 =
text_colors = (0, 0, 0)
text_fonts = ('Amatic-Bold', 'AmaticSC-Regular')
text_alignments = center
overlays = /home/pi/Desktop/overlay.png
backgrounds = (255, 255, 255)
[CAMERA]
iso = 700
flip = False
rotation = 270
resolution = (2592,1944)
[PRINTER]
printer_name = default
printer_delay = 5
max_pages = 0
max_duplicates = 1
pictures_per_page = 1
[CONTROLS]
debounce_delay = 0.5
picture_btn_pin = 11
picture_led_pin = 7
print_btn_pin = 13
print_led_pin = 15
startup_led_pin = 29
preview_led_pin = 31
Which version of pibooth are you using?
Do you see the plugin on startup? Something like neopixel…
You renamed the file to 'pibooth_neopixel.py', right?
I added it like this and it is working…
Did you edit the file content? Two things to check
If the lights are running you might have to play around with the multiplier here:
time_between_pixels = raw_time_between_pixels * 1.7
With 32 LEDs and a 5 seconds preview, I had to set it to 1.7 for it to have good timing.
Thanks for looking into this. It seems it was a problem with a PATH variable that has been declared such that the changes I made were not used. I did a whole new setup with pibooth to figure this out. Now it works like charm!
I can not get the plugin to work. The provided testfiles work great, I have added the part to the printer config and it does not give me any errors. However the Leds stay dark no matter what I do.
Do you have a hint for me how to check if the plugin is correctly loaded ?
Thanks in advance!