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.
Metadata
Release files for pibooth-extra-lights 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pibooth_extra_lights-1.0.2.tar.gz | 15.6 kB | Without provenance | Details for pibooth_extra_lights-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pibooth_extra_lights-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for pibooth_extra_lights-1.0.2-py3-none-any.whl |
Total release size: 31.5 kB
Release files / pibooth_extra_lights-1.0.2.tar.gz
| Download URL | pibooth_extra_lights-1.0.2.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6466c725f8448cf620dfb7216ab452112b91c4566b771aa5e7ede1bf5eda34d7
|
|
BLAKE2b-256 checksum How to use checksums |
917c1ef5c4473bfcbc236eadb45611b567d752a38478ab9a4e532db8dfc5692c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / pibooth_extra_lights-1.0.2-py3-none-any.whl
| Download URL | pibooth_extra_lights-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b248adfd1486c331601348b152db490832da0e400846e4202f6856b72d135465
|
|
BLAKE2b-256 checksum How to use checksums |
073ace5d4412a4f33e3898eed459c1200ea1a353ad4206c7fcd8f2e34c0863c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for pibooth-extra-lights 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.