Off/On for Router

Is there a means of using a control switch to auto Off/On the router when starting and stopping a toolpath?
I know the Makita or any other router cannot be controlled by the spindle settings, but it would be nice to have the ability to turn the router On or Off when starting and finishing a toolpath, so when running a long one the router will sit running at home position.

With a IoT relay. You can control any 110 source

I believe there’s a few people in the forums that talk about how to do it

@Bruces-CNC Here is a post that may help

Here is an article by the Sienci techs