Skip to main content

Pibooth plugin for extra lights management.

Project description

Python 2.7+/3.6+ PyPi package PyPi downloads

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


$ pip3 install pibooth-extra-lights


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.


# Physical GPIO OUT pin to light a LED at pibooth startup (list of pins accepted)
startup_led_pin = <s>29</s>

# Physical GPIO OUT pin to light a LED during the entire capture sequence (list of pins accepted)
preview_led_pin = <s>31</s>

# Physical GPIO OUT pin to light a LED when the capture is taken (list of pins accepted)
flash_led_pin = <s>33</s>

States description

Here is the pibooth state sequence updated with the lights activated by this plugin:

State sequence

Circuit diagram

Here is the diagram for hardware connections.

Electronic sketch

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pibooth_extra_lights-1.0.1.tar.gz (3.4 kB view hashes)

Uploaded source

Built Distributions

pibooth_extra_lights-1.0.1-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page