I want to make a bluetooth switch for my wireless router so I can restart it via my phone.
I have an old bluetooth hands-free so I'm wondering if it could be used as a power switch. I'm planing to connect it to the router's power and use a transistor to shutdown the router, the problem is that I don't know if I can use audio to control the transistor (maybe with a diode and capacitor?)
The idea is to connect the phone to the bluetooth and play an audio file (probably a high pitch tone) so the audio triggers the transistor and shuts off the router, then I'll stop playing the file and the power should come back to the router.