Power on - switch missing or better by M-Code?

I miss a possibility to turn of the printer without pulling the plug.

At the moment I’m using a switchable plug like this one:
Another idea is to exchange the powercable to a switchable one.
Also a good idea: a (lighted) switch that is mounted at the printer perhaps with a C14-style plug (for PC-power cable), somebody has already build some plasticholder: thingiverse.com/thing:601113

But I think really cool would be a relay-kind of switch that is controlled by software.
There are some M-codes in order to switch a power supply on or off (see reprap.org/wiki/G-code).

[code]M80: ATX Power On
Example: M80
Turns on the ATX power supply from standby mode to fully operational mode. No-op on electronics without standby mode.
Note: some firmwares, like Teacup, handle power on/off automatically, so this is redundant there. Also, see RAMPS wiring for ATX on/off

M81: ATX Power Off
Example: M81
Turns off the ATX power supply. Counterpart to M80. [/code]

The controller with the LCD-Display is powered through USB whether the power of the printer is switched on or off. So it should be possible to alter the G-Code start sequence to add M80 in order to switch poswer on…

Any ideas how to get this done correctly ?

As it’s stated it’s an ATX Power Off. Without a suitable power supply and a standby mode on the controller board it won’t work.
On the other hand, your printer would never be fully switched off. I find it more secure to use a real power switch.

Did you get those from this instructable?

http://www.instructables.com/id/Converting-12v24v-power-supply-to-remote-G-code-sw/?ALLSTEPS

I must admit I hate not having a switch on the printer, very annoying to have to pull the plug out. Hoping @Vellman come up with a little kit… :wink:

I’ll use this kind of switch :

I’s an all-in-one with fuse. There’s also a model with a net filter.

I still have to design a holder. I’ll share it when it’s done.

[quote=“raby”]I’ll use this kind of switch :

I’s an all-in-one with fuse. There’s also a model with a net filter.

I still have to design a holder. I’ll share it when it’s done.[/quote]
That’ll be nice. Saves a lot of wiring.

Here’s my attempt on a power switch. I’m still waiting on the part but the bracket came out nice.

thingiverse.com/thing:622723/#files

The component used, €1.91 at conrad.nl:

conrad.nl/nl/apparaatstekke … 19734.html