Skip to content
Kieran Ramnarine edited this page May 23, 2017 · 3 revisions

Installation

  1. Install git

sudo apt-get install git

  1. Navigate to your modules directory

cd MAGIC_MIRROR_INSTALL_DIR/modules/

  1. Clone octomirror repo into your modules directory

git clone http://github.com/DongerZonie/octomirror-module

Configuration

You will need to add the module to your Magic Modules config.js

nano MAGIC_MIRROR_INSTALL_DIR/config/config.js

Add

{
    module: "octomirror-module",
    position: "middle_center",
    config: {
    url: "[Octoprint IP Address]",
        api_key: "[Octoprint API Key]"
    }
},

into modules: [ ... [HERE] ]

And change the url to the IP address of your instance of octoprint, as well as the api_key to the api key in octoprint. You can find this in Octoprints Options>Features>API, while you're there also enable Cross-Origin-Resorce-Sharing.

Clone this wiki locally