My MakerGear M2 doesn't have a power switch, and it isn't convenient to turn off its power strip, so I connected it to an Iris Smart Plug with a little power switch on it. That solved the problem, and also let me turn the printer on and off with Alfred, but tempted me to intergrate with Octoprint. Octoprint has a plugin, System Command Editor, that lets you execute shell commands from Octoprint's Power menu. That makes the Octoprint part easy - now it's just a matter of controlling a SmartThings device from Linux.
Submitted by Tom Owad on September 5, 2018 - 1:56pm
I received my Nexdock today and have begun configuring a Raspberry Pi 3 to work with it. I wasn't able to find current instructions for getting the Nexdock keyboard and trackpad to work with the Pi using the command line, so I've documented the procedure that I used.