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

https://www.amazon.ca/dp/B00WV7GMA2/ref=cm_sw_r_apan_glt_i_QD5N7PTE9JD6XEYS8P2Y?_encoding=UTF8&psc=1

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