Giter VIP home page Giter VIP logo

pi-display's Introduction

Create a Raspberry Pi Display on Raspberry Pi OS Debian using Bullseye and the Firefox browser

We use this for our office Warboard which is not only locked down to certain IP addresses but also uses the latest SSL protocols and ciphers.

This install also installs cec-client that allows you to turn the TV on and off each day via cron.

Over the years we have tried many browsers but is currently FireFox (See #History)

Installation

  1. Install the latest Raspberry Pi OS Lite and enable SSH (Last tested with 2022-01-28-raspios-bullseye-armhf-lite.zip)

    Use the Raspberry Pi Imager and enable SSH in the settings

    ...or...

    Grab the latest image from https://downloads.raspberrypi.org/raspios_lite_armhf/images and touch /boot/ssh to enable SSH before putting the card in the Pi.

  2. Login to the Raspberry Pi (SSH as pi user) and update everything...

    sudo apt update && sudo apt -y dist-upgrade

  3. Install git and this repo...

    sudo apt -y install git
    git clone https://github.com/dogsbodytech/pi-display.git /home/pi/pi-display
    
  4. Run the setup script and reboot!

    sudo bash /home/pi/pi-display/install.sh
    sudo reboot
    

Usage

  • Set the URL for the display by adding it to a settings.data file...

    echo "URL=https://www.dogsbody.com/" > /home/pi/pi-display/settings.data

  • To reload the URL or restart the displayboard due to a crash just kill Firefox

    pkill -TERM firefox-esr

  • Setup cron job to turn the TV on and off each day. There us an example in the cron.example file.

    sudo cp /home/pi/pi-display/cron.example /etc/cron.d/displayboard

History

This project started by using the epiphany browser. We chose this as the version of chromium on Raspbian wasn't up to date and didn't support the latest security protocols.

The Raspberry Pi team then released PIXEL which included a much more up to date version of the Chromium browser however a few years later we noticed the display flashing as the page loads.

We are now using the latest version of Firefox which has fixed both of these issues perfectly.

We also used to download and compile the latest version of cec-client however the modern that come with the OS now work great.

Sources

pi-display's People

Contributors

dogsbody avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bskjon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.