I am pleased to share with you this project found on the web that I refer to: https://www.thingiverse.com/thing:5357967
Printed as I set up the print profile, detaching the supports is really easy.
Materials needed:
RJ12 female connector
RJ12 data cable
Emergency stop button 19mm 5-24Volt, I got it from here:
https://a.aliexpress.com/_ExAMCjR
12mm 12-24Volt power button, I got it from here:
https://a.aliexpress.com/_EGWI4pL
N.B: The color of the wires I describe may vary depending on the manufacturer of the RJ12 female connector, I attach photos of mine so you can match the pin and color to your use case.
White wire to the "-" of the emergency stop button and the "-" of the power button (these would be the negatives of the internal LEDs)
Yellow wire to the "+" of the emergency stop button and the "+" of the ignition button (would be the positives of the internal LEDs)
Green wire to the center contact of the emergency stop button (NO)
Red wire not to be connected, isolate it
Black wire to one end of the ignition button
Blue wire to the other end of the ignition button and to one end of the emergency stop button
Very simple :)