This is a module for the MagicMirror².
Display 3D printable objects found on Thingiverse
cd ~/MagicMirror/modules
git clone https://github.com/appdevelopmentandsuch/MMM-Thingiverse
To use this module, add the following configuration block to the modules array in the config/config.js
file:
var config = {
modules: [
{
module: "MMM-Thingiverse",
position: "bottom_bar",
config: {
appToken: "",
},
},
],
};
Option | Description |
---|---|
appToken |
Required A token aquired from the Thingiverse REST API to fetch things. You can aquire a token by going to https://www.thingiverse.com/apps/create and creating a Web App |
updateInterval |
Optional The time in milliseconds before switching to the next thing. Type: int (milliseconds) Default 60000 milliseconds (1 minute) |
retryDelay |
Optional The time in milliseconds before retrying the Thingiverse REST API due to a previous failure to get things. Type: int (milliseconds) Default 5000 milliseconds (5 seconds) |
thingCount |
Optional The number of things you wish to grab and cycle through. Type: int (count) Default 100 |
startAtRandom |
Optional Start at a random position in the things. Type: boolean (true/false) Default false |
numThingsDisplayed |
Optional Display 1, 3, or 5 things at any given time. Type: int (1,3,5) Default 1 |
category |
Optional Display things based on a provided category. A list of valid categories can be grabbed from the Thingiverse API using the endpoint https://api.thingiverse.com/categories?access_token=[YOUR_APP_TOKEN] . Use the slug entry for this prop Type: string Default |