Turn on smartplug amplifier with REST API

supersix

New member
Joined
May 17, 2024
Messages
3
My amplifier is connected to a Shelly Plug smartplug.
I would like to control its power state automatically, according to Wiim mini playing state, just like a "virtual 12V trigger".
Powering on a Shelly Plug is easy: http://192.168.xxx.xxx/relay/0?turn=on
Powering it off is easy too: http://192.168.xxx.xxx/relay/0?turn=off
Authentication with challenge-response is available too.

Thanks

References:
 
Many amps have their own 12v triggers, could you not use the amp's trigger to connect to the WiiM?

Another option is to connect both the amp and the WiiM to the shelly plug using an adaptor.
 
Many amps have their own 12v triggers, could you not use the amp's trigger to connect to the WiiM?
It's a vintage amplifier, so no 12v trigger.
Another option is to connect both the amp and the WiiM to the shelly plug using an adaptor.
That requires to operate the Shelly app, then the music app, then remember to use the shelly app again to power off the amplifier.
Possible, but definitely more inconvenient than virtual trigger managed by Wiim Mini.
 
If you are running a script to control your Shelly Plug could you use the same device running the script to continuously query the WiiM state and if it is on turn on the Shelly Plug?


In your setup, since you can control you vintage amplifier with a smart plug, you should be able to replace the smart plug with an Audiophonics 12V trigger.


If your amplifier has a captive power cord you'll need to purchase two power adapter cords to complete the setup.
 
Back
Top