I know most of the people will say , get harmony remote , use the Denon app or even smart plug but i want to be able to turn on my sonos port via the sonos app and make my denon turn on and set it up to the right input (CD in my case) automatically . trying to convert 12V trigger (from sonos port) to IR command (to Denon receiver) seems to be challenging and the only project i saw requires you to be an engineer. I finally tried to look into HTTP commands and saw that Sonos support IFTTT but only as “That” part in the code and you can’t create any macros or scripts that will trigger if the Sonos port is on.
Here is my question: Anyone here knows how to build raspberry pi server which will be able to “listen” to local network and once the sonos port turns on it will execute a simple HTTP command to turn on the Denon?