- Buy the meanest and leanest raspberry pi you can get. I got the Raspberry Pi 2 Model B with a 900MHz quad-core ARM Cortex-A7 CPU and 1GB RAM.
- A good browser (I use Firefox).
- Avahi for zeroconf / discoverablility.
- NGINX as web server.
- A python http server script.
- A tiny web page
Note: Your network has to support mDNS. Some corporate networks will block that.
- Via browser: Go to
http://<pi-hostname>.local
and a form will allow you to input a URL. That will start a browser session with that URL. - Via terminal:
curl --data "url=https://my.appoptics.com" http://<pi-hostname>.local:8000
When you submit a URL, the pi will launch Firefox with that url, wait for a bit, and then go into full screen mode.
- Install Raspbian.
- Launch
sudo raspi-conf
and - Expand the filesystem
- Set time zone, language, keyboard
- Activate SSH access
- Change the hostname to something you can remember
- Set to auto-login directly to startx
- Clone this repo and cd into it
- Run
sudo bash install.sh
if you want firefox orsudo bash install-chromium.sh
if you want Chromium (recommended). - Set the screen resolution: edit
/boot/config.txt
. This configuration works for me. - Last but not least, check the autostart.md file for ideas on auto-starting the browser to a specific URL and settings to stop the Pi from sleeping
- jq
- httping
- firefox-esr
- xdotool
- unclutter
- nginx
- avahi
- vnc
When all is set and done you can clone SD cards with rpi-clone.
After cloning is complete, boot up the cloned Pi and change the hostname with raspi-conf
.
To run scheduled tasks you can use crontab.
To run scripts on startup, you can configure your autostart to launch a script.
Turn your Raspberry pi into a tempreature probe and send the data to AppOptics.