Skip to content

A dynamic menu system using raspberry pi and android systems

Notifications You must be signed in to change notification settings

toothfull/dyna-menu-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dyna-menu-sys

A dynamic menu system using raspberry pi and android systems

W3C Validation GitHub release (latest by date) GitHub release (latest by date) GitHub issues GitHub code size in bytes

Usage

Server

  1. Download the latest release or Suggested: install the service via the Repository's Docker container
  2. Install raspbian on your Raspberry PI 3+
  3. Install mongo via its docker container and create a database. Make sure to remember your login credentials
  4. Set up your google oauth configuration with your Google Cloud Console and remember the Client ID, Client Secret, Redirect URI and Session Domain
  5. Specify the details you would like to use to host this service (Found Below) inside your docker using the --env-file flag
USERNAME = ""
PASSWORD = ""
HOST = ""
PORT = ""
DATABASENAME = ""
COLLECTIONNAME1 = ""
COLLECTIONNAME2 = ""
CLIENTID = ""
CLIENTSECRET = ""
REDIRECTURI = ""
SESSION_DOMAIN = ""
  1. Install and configure the Raspberry PI to use:
  • hostapd - service that broadcasts the WiFi network
  • dnsmasq - service that acts as a DHCP server for the WiFi network
  • cloudflared - Cloudlflare Tunneling service which creates a route through your domain to your device via the Internet *Inside the Pi's /etc/network/interfaces Make sure your Raspberry PI is configured to work on 192.168.1.1
  1. Try to login to your chosen Google account to create document inside of mongo used to authenticate your google account
  2. Change the authorised: property to true inside your Google account's document
  3. Login to the web application

Android app

  1. Configure your android device to have a passcode
  2. Move the .APK file to your chosen android device and install it
  3. Connect your android device to your Raspberry Pi's Wifi Network

You should now be able to see your menu on your android device!