Docs
GitHub

Getting Started

Layer1 is an OctoPrint plugin that puts a full-screen touch interface on a small screen attached to your Raspberry Pi. Setting it up takes three steps: install the plugin, run one command on the Pi, and pair the screen.

What you need

  • A Raspberry Pi running OctoPrint, usually OctoPi. Layer1 is tested on OctoPrint 2.0.
  • A screen on the Pi. Layer1 is made for 3.5″ 480×320 SPI touchscreens (the ILI9486 kind sold as Waveshare (A) and many clones), and fills a 5″ or 7″ HDMI screen just as well. See Screens and Touch.
  • SSH access to the Pi, for one command: ssh pi@octopi.local.

Try it first

You can see Layer1 without a screen. Once the plugin is installed, open http://octopi.local/plugin/layer1/ in any browser, or try the live demo on this site, which runs against a simulated printer.

1. Install the plugin

  1. In OctoPrint, open Settings → Plugin Manager → Get More.
  2. Search for Layer1 and click Install. If it isn’t listed yet, paste this into …from URL instead:
    https://github.com/tushgaurav/layer1/archive/main.zip
  3. Restart OctoPrint when it asks.

OctoPrint then shows a Layer1 setup step, which is also under Settings → Layer1. It tells you whether the screen is set up yet and shows the exact command for the next step.

2. Put it on the screen

The plugin comes with an installer for the Pi. Copy the command from Settings → Layer1, which has the real path filled in, and run it on the Pi over SSH. It looks like this:

sudo bash /home/pi/oprint/lib/python3.11/site-packages/octoprint_layer1/pi_setup/install.sh
sudo reboot

It does two things:

  • Turns on the screen driver in the Pi’s boot config. It makes a backup first, and can undo it.
  • Installs the kiosk: a minimal X server and Chromium, with no desktop, and a service that opens Layer1 full screen at boot. This downloads a few packages and takes a few minutes.

The installer is for the 3.5″ ILI9486 screen by default. For another screen, an HDMI display, or to rotate it, add an option. See installer options.

3. Pair the screen

After the reboot the screen shows Pair this screen with OctoPrint. Open OctoPrint on your computer or phone, log in, and click Allow on the request from Layer1. The screen then switches to Home, and you’re done.

If taps land in the wrong place, calibrate the touch. Then set your temperature presets and filament lengths in Settings. Measure your Bowden tube before the first filament load.

How it works

The plugin only serves Layer1’s web page, at /plugin/layer1/. Every printer action goes through OctoPrint’s normal API with an application key you approve once, so OctoPrint’s permissions, safety checks and your other plugins all still apply. On the Pi, the kiosk is just a browser pointed at that page.

Because the screen loads the page from the plugin, updating the plugin updates the screen. You never run the installer again for an update. Fonts, icons and everything else are bundled, so the Pi needs no internet to run Layer1.

Layer1 never changes your system by itself. Only the installer does, when you run it.