Pibooth plugin for extra lights management.
Project description
pibooth-extra-lights is a plugin for the pibooth application.
It adds 3 extra lights:
startup : light on at pibooth startup
sequence : light on during the entire capture sequence
flash : light on when the capture is taken
Install
$ pip3 install pibooth-extra-lights
Configuration
Here below the new configuration options available in the pibooth configuration. The keys and their default values are automatically added to your configuration after first pibooth restart.
The physical pin numbering is used.
[CONTROLS]
# Physical GPIO OUT pin to light a LED at pibooth startup (list of pins accepted)
startup_led_pin = 29
# If True, startup LED is lighting by setting pin(s) to HIGH else by setting to LOW
startup_led_active_high = True
# Physical GPIO OUT pin to light a LED during the entire capture sequence (list of pins accepted)
preview_led_pin = 31
# If True, preview LED is lighting by setting pin(s) to HIGH else by setting to LOW
preview_led_active_high = True
# Physical GPIO OUT pin to light a LED when the capture is taken (list of pins accepted)
flash_led_pin = 33
# If True, flash LED is lighting by setting pin(s) to HIGH else by setting to LOW
flash_led_active_high = True
States description
Here is the pibooth state sequence updated with the lights activated by this plugin:
Circuit diagram
Here is the diagram for hardware connections.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pibooth_extra_lights-1.0.2.tar.gz
.
File metadata
- Download URL: pibooth_extra_lights-1.0.2.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6466c725f8448cf620dfb7216ab452112b91c4566b771aa5e7ede1bf5eda34d7 |
|
MD5 | 55b3cbf790631e87f1337e8eb48008e4 |
|
BLAKE2b-256 | 917c1ef5c4473bfcbc236eadb45611b567d752a38478ab9a4e532db8dfc5692c |
File details
Details for the file pibooth_extra_lights-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: pibooth_extra_lights-1.0.2-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b248adfd1486c331601348b152db490832da0e400846e4202f6856b72d135465 |
|
MD5 | c6752ee6625e3cc93de5d210a1eeece4 |
|
BLAKE2b-256 | 073ace5d4412a4f33e3898eed459c1200ea1a353ad4206c7fcd8f2e34c0863c9 |