|
|
|
|
1
|
title: OctoTray
|
1
|
title: OctoTray
|
2
|
-description: Linux PyQt tray application to control OctoPrint
|
|
|
|
|
2
|
+description: PyQt tray application to control OctoPrint/Moonraker
|
3
|
parent: 3d-printing
|
3
|
parent: 3d-printing
|
4
|
position: 50
|
4
|
position: 50
|
5
|
comments: true
|
5
|
comments: true
|
6
|
git: https://git.xythobuz.de/thomas/OctoTray
|
6
|
git: https://git.xythobuz.de/thomas/OctoTray
|
7
|
github: https://github.com/xythobuz/OctoTray
|
7
|
github: https://github.com/xythobuz/OctoTray
|
8
|
date: 2021-05-08
|
8
|
date: 2021-05-08
|
9
|
-update: 2021-05-13
|
|
|
|
|
9
|
+update: 2022-10-16
|
10
|
---
|
10
|
---
|
11
|
|
11
|
|
12
|
<!--% backToParent() %-->
|
12
|
<!--% backToParent() %-->
|
13
|
|
13
|
|
14
|
To quickly print new stuff on one of my printers, I am using the [OctoPrint](https://octoprint.org) integration of [PrusaSlicer](https://github.com/prusa3d/PrusaSlicer).
|
14
|
To quickly print new stuff on one of my printers, I am using the [OctoPrint](https://octoprint.org) integration of [PrusaSlicer](https://github.com/prusa3d/PrusaSlicer).
|
15
|
Unfortunately, it does not allow me to turn on the printers power supply using the Raspberry Pi.
|
15
|
Unfortunately, it does not allow me to turn on the printers power supply using the Raspberry Pi.
|
16
|
-But it is possible to do that via the [OctoPrint REST API](https://docs.octoprint.org/en/master/api/index.html).
|
|
|
|
|
16
|
+But it is possible to do that via the [OctoPrint REST API](https://docs.octoprint.org/en/master/api/index.html) or the [Moonraker REST API](https://moonraker.readthedocs.io/en/latest/web_api/).
|
17
|
Because of that, I wrote a small tool to trigger the power of my printers that lives in the system tray.
|
17
|
Because of that, I wrote a small tool to trigger the power of my printers that lives in the system tray.
|
18
|
It runs on Linux using the Python Qt5 bindings, but it has been tested on Windows and should run on macOS as well.
|
18
|
It runs on Linux using the Python Qt5 bindings, but it has been tested on Windows and should run on macOS as well.
|
19
|
|
19
|
|
20
|
<!--%
|
20
|
<!--%
|
21
|
lightgallery([
|
21
|
lightgallery([
|
22
|
- [ "img/octotray_6.png", "Screenshot of OctoTray version 0.3" ],
|
|
|
23
|
- [ "img/octotray_5.png", "Screenshot of settings dialog in OctoTray version 0.3" ],
|
|
|
24
|
- [ "img/octotray_2.png", "Screenshot of webcam viewer in OctoTray version 0.2" ],
|
|
|
25
|
- [ "img/octotray_4.png", "Screenshot of status dialog in OctoTray version 0.2" ]
|
|
|
|
|
22
|
+ [ "img/octotray_7.png", "Screenshot of OctoTray version 0.5" ],
|
|
|
23
|
+ [ "img/octotray_8.png", "Screenshot of webcam viewer in OctoTray version 0.5" ],
|
|
|
24
|
+ [ "img/octotray_9.png", "Screenshot of settings dialog in OctoTray version 0.5" ],
|
|
|
25
|
+ [ "img/octotray_4.png", "Screenshot of status dialog in OctoTray version 0.2" ],
|
26
|
])
|
26
|
])
|
27
|
%-->
|
27
|
%-->
|
28
|
|
28
|
|
|
|
|
|
54
|
|
54
|
|
55
|
I also wrote a bit more about my OctoPrint setups [on this page](octoprint.html).
|
55
|
I also wrote a bit more about my OctoPrint setups [on this page](octoprint.html).
|
56
|
|
56
|
|
57
|
-Here are some older screenshots of OctoTray.
|
|
|
58
|
-
|
|
|
|
|
57
|
+<div class="collapse">Here are some older screenshots of OctoTray.</div>
|
|
|
58
|
+<div class="collapsecontent">
|
59
|
<!--%
|
59
|
<!--%
|
60
|
lightgallery([
|
60
|
lightgallery([
|
|
|
61
|
+ [ "img/octotray_6.png", "Screenshot of OctoTray version 0.3" ],
|
|
|
62
|
+ [ "img/octotray_5.png", "Screenshot of settings dialog in OctoTray version 0.3" ],
|
|
|
63
|
+ [ "img/octotray_2.png", "Screenshot of webcam viewer in OctoTray version 0.2" ],
|
61
|
[ "img/octotray_3.png", "Screenshot of OctoTray version 0.2" ],
|
64
|
[ "img/octotray_3.png", "Screenshot of OctoTray version 0.2" ],
|
62
|
[ "img/octotray_1.png", "Screenshot of OctoTray version 0.1" ]
|
65
|
[ "img/octotray_1.png", "Screenshot of OctoTray version 0.1" ]
|
63
|
])
|
66
|
])
|
64
|
%-->
|
67
|
%-->
|
|
|
68
|
+</div>
|