Skip to content

beeverycreative/BEEwebPi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

BEEwebPI ======

image

A Raspberry Pi distribution for 3d printers based on the OctoPi project. It includes the Beesoft.web host software for 3d printers out of the box and mjpg-streamer with RaspiCam support for live viewing of prints and timelapse video creation. This repository contains the source script to generate the distribution out of an existing Raspbian distro image.

How to use it?

  1. Unzip the image and install it to an sd card like any other Raspberry Pi image
  2. Configure your WiFi by editing beewebpi-network.txt on the root of the flashed card when using it like a thumb drive
  3. Boot the Pi from the card
  4. Log into your Pi via SSH (it is located at beewebpi.local if your computer supports bonjour or the IP address assigned by your router), default username is "pi", default password is "raspberry", change the password using the passwd command and expand the filesystem of the SD card through the corresponding option when running sudo raspi-config.

BEEweb is located at http://beesoft-pi.local and also at https://beesoft-pi.local. Since the SSL certificate is self signed (and generated upon first boot), you will get a certificate warning at the latter location, please ignore it.

If a USB webcam or the Raspberry Pi camera is detected, MJPG-streamer will be started automatically as webcam server. OctoPrint on BEEwebPi ships with correctly configured stream and snapshot URLs pointing at it. If necessary, you can reach it under http://beesoft-pi.local/webcam/?action=stream and SSL respectively, or directly on its configured port 8080: http://beesoft-pi.local:8080/?action=stream.

CuraEngine is installed and BEEweb ships pre-configured with the correct path to utilize it for on-board-slicing. Just import a Cura Slicing Profile in BEEweb's settings and start slicing directly on your Pi.

Features

  • BEEweb host software for 3d printers out of the box
  • Raspbian tweaked for maximum preformance for printing out of the box
  • mjpg-streamer with RaspiCam support for live viewing of prints and timelapse video creation.
  • CuraEngine pre-installed for slicing directly on the Raspberry Pi
  • Configuration scripts for verious LCD displays

Requirements

  1. qemu-arm-static
  2. Downloaded Raspbian image.
  3. root privileges for chroot
  4. Bash
  5. realpath
  6. sudo (the script itself calls it, running as root without sudo won't work)

Build BEEwebPi From within BEEwebPi / Raspbian / Debian / Ubuntu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

BEEwebPi can be built from Debian, Ubuntu, Raspbian, or even BEEwebPi. Build requires about 2.5 GB of free space available. You can build it by issuing the following commands:

sudo apt-get install realpath qemu-user-static automake gcc-arm-linux-gnueabihf libudev-dev git

git clone https://github.com/beeverycreative/beewebpi.git
cd beewebpi/src/image
curl -J -O -L  https://downloads.raspberrypi.org/raspbian_lite_latest
cd ..
sudo modprobe loop
sudo bash -x ./build

Building BEEwebPi Variants ~~~~~~~~~~~~~~~~~~~~~~~~

BEEwebPi supports building variants, which are builds with changes from the main relesae build. An example and other variants are avilable in the folder src/variants/example.

To build a variant use:

sudo bash -x ./build [Variant]

Usage

  1. If needed, override existing config settings by creating a new file src/config.local. You can override all settings found in src/config. If you need to override the path to the Raspbian image to use for building BEEwebPi, override the path to be used in ZIP_IMG. By default the most recent file matching *-raspbian.zip found in src/image will be used.
  2. Run src/build as root.
  3. The final image will be created at the src/workspace

About

Scripts to build BEEwebPi, a Raspberry PI distro for controlling BVC 3D printers over the web

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 59.1%
  • Shell 32.3%
  • JavaScript 7.1%
  • HTML 1.5%