O'Reilly logo

Raspberry Pi Blueprints by Dan Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuration

Now that the web application has been deployed to the Pi and the display enclosure is constructed, it is time to configure what information is shown and how it is shown on the mirror.

Note that when changing the style sheet, simply reload the page in Chromium by pressing F5 on a connected keyboard to show the change. Changes to widget configurations will require you to restart the web application by using the following commands:

sudo supervisord stop mirror_webapp
sudo supervisord start mirror_webapp

Widgets

The widgets are configured using several configuration files in the /home/pi/widget_configs/ directory. Each widget that is displayed on the mirror requires its own configuration file.

The configuration files are divided into several ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required