Skip to content

cTurtle98/doorpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doorpy

message board system written in python for raspberry pi uses raspbian lite with minimal modifications to allow chromium pointed at localhost

Features

sets up pi with just enough gui for chromium in fullscreen kiosk mode

runs a web server built with python flask for gerating the messages

scan any card on any HID device type card reader to register it into your cards list

on another computer visit <pi-IP>:8080/edit to use my editor for the cards and messages

customize messages and add more message templates for more html than you want in the json

setup

1) Raspbian

Download raspbian Lite and burn it to the SD card for pi you are using https://www.raspberrypi.org/downloads/raspbian/

2) First boot

boot up the pi and login with

user: pi
pass: raspberry

do the first time setup by running

sudo raspi-config

Localization Options: select your region and keyboard

Change User Password change the password on your pi because everyone knows the defaults and you dont want to be hacked

Network Options setup your wifi if you have it

Boot Options select "Desktop / cli" and enable "Console Autologin" (we will see why later)

Interfacing Options if you will want remote access enable ssh

3) install git

run

sudo apt-get install -y git

4) clone this github repo into your home folder

cd ~
git clone https://github.com/cTurtle98/doorpy.git

5) run setup script

~/doorpy/setup.sh

if this is a fresh pi you can ignore the warning message and hit ENTER

6) Reboot

reboot your pi and take note of its IP address printed in the startup text scroll

7) customization

use another computer on your network to visit the following web addresses

is the ip address you noted from the startup text scroll

<pi-ip>:8080/edit editor for cards and messages

(future feature) <pi-ip>:8080/config editor for configs.json