Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.54 KB

README.rst

File metadata and controls

49 lines (31 loc) · 1.54 KB

pibooth-myip

Python 3.6+

pibooth-myip is a plugin for the pibooth application.

This plugin makes installation of the photobooth without attached keyboard and mouse on the site easier. The idea is to show IP address of the pibooth computer after installation of the photobooth on the site for easier remote access.

This plugin adds display of IPv4 addresses associated to the computer at the first (waiting) screen. If debug mode is on plugin displays IP address on every waiting screen. IP addresses are re-evaluated every wait state entry and then every ten seconds. It adds detected IP addresses to start messages with 'INFO' level.

Install

Install netifaces:

pip3 install netifaces

Download the plugin and append the absolute path at the end of parameter 'plugins' of your pibooth.cfg (~/.config/pibooth/pibooth.cfg):

plugins = "/home/pi/pibooth/pibooth-myip/pibooth_myip.py"

Configuration

The plugin has no configuration. The only option here is you can enable/disable it

Example

Here is an example of the rendering you can get with this plugin on the wait screen:

Example screenshot