IOT Relay Setup for LongMill

If you wish to have your router turn on and off at the response of different g-code, you can use an IOT relay. To control the IOT relay, the g-code can be activated with pre-programmed buttons (“macros” or “events”) or manually added into the g-code file. The instructions on how to wire up and add g-code for the IOT relay are found below.