forked from roramirez/MagicMirror-Module-Template
-
Notifications
You must be signed in to change notification settings - Fork 4
Set Up
Kieran Ramnarine edited this page May 23, 2017
·
3 revisions
- Install git
sudo apt-get install git
- Navigate to your modules directory
cd MAGIC_MIRROR_INSTALL_DIR/modules/
- Clone octomirror repo into your modules directory
git clone http://github.com/DongerZonie/octomirror-module
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.