Skip to main content

Pibooth plugin for extra lights management.

Project description

Python 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

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:

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.2.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

pibooth_extra_lights-1.0.2-py3-none-any.whl (15.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page