First Commit
|
After Width: | Height: | Size: 265 B |
|
After Width: | Height: | Size: 387 B |
|
After Width: | Height: | Size: 827 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 120 KiB |
111
com.carsten-graf.octocontroll.sdPlugin/manifest.json
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"Name": "OctoControll",
|
||||
"Version": "0.1.0.0",
|
||||
"Author": "Carsten Graf",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "Printer Status",
|
||||
"UUID": "com.octoprint.monitor.printer-status",
|
||||
"Icon": "imgs/actions/counter/icon",
|
||||
"Tooltip": "Shows printer and job status from OctoPrint.",
|
||||
"PropertyInspectorPath": "ui/increment-counter.html",
|
||||
"Controllers": [
|
||||
"Keypad"
|
||||
],
|
||||
"States": [
|
||||
{
|
||||
"Image": "imgs/actions/counter/key",
|
||||
"TitleAlignment": "middle"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Pause / Resume Print",
|
||||
"UUID": "com.octoprint.monitor.print-pause",
|
||||
"Icon": "imgs/actions/counter/icon",
|
||||
"Tooltip": "Pause or resume the current OctoPrint job.",
|
||||
"PropertyInspectorPath": "ui/increment-counter.html",
|
||||
"Controllers": [
|
||||
"Keypad"
|
||||
],
|
||||
"States": [
|
||||
{
|
||||
"Image": "imgs/actions/counter/key",
|
||||
"TitleAlignment": "middle"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Cancel Print",
|
||||
"UUID": "com.octoprint.monitor.print-cancel",
|
||||
"Icon": "imgs/actions/counter/icon",
|
||||
"Tooltip": "Cancel the current OctoPrint job (with confirmation).",
|
||||
"PropertyInspectorPath": "ui/increment-counter.html",
|
||||
"Controllers": [
|
||||
"Keypad"
|
||||
],
|
||||
"States": [
|
||||
{
|
||||
"Image": "imgs/actions/counter/key",
|
||||
"TitleAlignment": "middle"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Temperatures",
|
||||
"UUID": "com.octoprint.monitor.temperature",
|
||||
"Icon": "imgs/actions/counter/icon",
|
||||
"Tooltip": "Show hotend and bed temperatures from OctoPrint.",
|
||||
"PropertyInspectorPath": "ui/increment-counter.html",
|
||||
"Controllers": [
|
||||
"Keypad"
|
||||
],
|
||||
"States": [
|
||||
{
|
||||
"Image": "imgs/actions/counter/key",
|
||||
"TitleAlignment": "middle"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Home Axes",
|
||||
"UUID": "com.octoprint.monitor.home-axes",
|
||||
"Icon": "imgs/actions/counter/icon",
|
||||
"Tooltip": "Home all axes on the printer via OctoPrint.",
|
||||
"PropertyInspectorPath": "ui/increment-counter.html",
|
||||
"Controllers": [
|
||||
"Keypad"
|
||||
],
|
||||
"States": [
|
||||
{
|
||||
"Image": "imgs/actions/counter/key",
|
||||
"TitleAlignment": "middle"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Category": "OctoControll",
|
||||
"CategoryIcon": "imgs/plugin/category-icon",
|
||||
"CodePath": "bin/plugin.js",
|
||||
"Description": "Controll your Octoprint instance",
|
||||
"Icon": "imgs/plugin/marketplace",
|
||||
"SDKVersion": 3,
|
||||
"Software": {
|
||||
"MinimumVersion": "6.9"
|
||||
},
|
||||
"OS": [
|
||||
{
|
||||
"Platform": "mac",
|
||||
"MinimumVersion": "12"
|
||||
},
|
||||
{
|
||||
"Platform": "windows",
|
||||
"MinimumVersion": "10"
|
||||
}
|
||||
],
|
||||
"Nodejs": {
|
||||
"Version": "20",
|
||||
"Debug": "enabled"
|
||||
},
|
||||
"UUID": "com.carsten-graf.octocontroll"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head lang="en">
|
||||
<title>OctoPrint Connection</title>
|
||||
<meta charset="utf-8" />
|
||||
<script src="https://sdpi-components.dev/releases/v4/sdpi-components.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<sdpi-item label="Host">
|
||||
<sdpi-textfield setting="host" placeholder="http://octopi.local"></sdpi-textfield>
|
||||
</sdpi-item>
|
||||
|
||||
<sdpi-item label="Port">
|
||||
<sdpi-textfield setting="port" placeholder="80"></sdpi-textfield>
|
||||
</sdpi-item>
|
||||
|
||||
<sdpi-item label="API Key">
|
||||
<sdpi-textfield setting="apiKey" placeholder="Paste your OctoPrint API key"></sdpi-textfield>
|
||||
</sdpi-item>
|
||||
|
||||
<sdpi-item label="Show Temp in Status">
|
||||
<sdpi-checkbox setting="showTemperature">Show temperatures on Printer Status key</sdpi-checkbox>
|
||||
</sdpi-item>
|
||||
</body>
|
||||
|
||||
</html>
|
||||