Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install Octoprint on the ZEUS
#1
The ZEUS by default runs Repeater-Server for web control.
To install Octoprint on the machine login with ssh as root and do the following:

Code:
git clone https://github.com/foosel/OctoPrint.git
cd OctoPrint/
pip install --upgrade -r requirements.txt
python setup.py install
cp octoprint.default /etc/default/octoprint
cp octoprint.init /etc/init.d/octoprint
chmod a+x /etc/init.d/octoprint

Edit /etc/default/octoprint:
Code:
# Configuration for /etc/init.d/octoprint
# The init.d script will only run if this variable non-empty.
OCTOPRINT_USER=aio

The stop Repeater and start Octoprint:

Code:
/etc/init.d/Repetier-Server stop
/etc/init.d/octoprint start

Octoprint Config - config.yaml:
Code:
accessControl:
  enabled: false
api:
  key: 23163FC3BDFAA000B0D78E68E92D9E95
appearance:
  color: violet
  name: ZEUS
controls:
- children:
  - command: M703
    name: Enable Light
    type: command
  - command: M704
    name: Disable Light
    type: command
  name: Light
  type: section
cura: {}
feature: {}
folder:
  uploads: /var/www/data/files
gcodeViewer: {}
plugins:
  cura:
    cura_engine: /root/CuraEngine/build/CuraEngine
    debug_logging: true
  discovery:
    upnpUuid: 1f7d64a4-fb8c-4949-ba02-3f3d960308cb
printerParameters:
  bedDimensions:
    circular: true
    r: 200
    x: 210
    y: 210
  extruderOffsets:
  - x: 100
    y: 100
  invertAxes:
  - z
  movementSpeed: {}
serial:
  baudrate: 115200
  port: /dev/ttyUSB0
  timeout: {}
server:
  firstRun: false
  secretKey: CzjEEkKMjr8XMypEzHJkpw8zb6gfqLuz
system : {}
temperature:
  profiles:
  - bed: 60
    extruder: 180
    name: PLA
webcam: {}
system :
  actions:
  - name: Stop Repetier
    action: stop_repetier
    command: killall RepetierServer
    confirm: Really Kill Server ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)