There is a telnet shell command. Here's its man page:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/telnet.1.html
You can invoke telnet in a "Run Shell Script" Automator action. The specific commands to send over the network would be given in the shell command.
You can also enter the telnet command in a Terminal window, and that's where I recommend you do your testing and experiments.
First, is your Marantz receiver correctly connected to your network? This is the first step to connecting to it using telnet.
If it's correctly connected, then what is its IP address? You'll need this in order to tell the telnet command where to connect.
If you have the receiver's IP address, enter this in a Terminal window:
Code:
telnet PUT_YOUR_ACTUAL_IP_ADDRESS_HERE
You should then see a connection progress indication like:
Code:
Trying 192.168.1.1...
Connected to 192.168.1.1.
You should then see a
telnet> prompt, indicating it's waiting for your command.
If you don't see a telnet> prompt, then no connection was made. Copy and paste the complete command you entered, and the complete output it produced into a reply and post it here.
According to the PDF reference doc you listed, the
PW command controls power. There are two possible parameters,
ON and
STANDBY.
Enter the following exactly at your telnet> prompt:
then press your RETURN key.
What happens? Does the receiver turn on?
Then enter the following at your telnet> prompt:
and again end with the RETURN key.
Again, what happens? The receiver should go to standby mode (off).
You should also be able to ask the receiver what its power state is:
and it will tell you.
Once you have a live telnet connection, you can experiment with the different commands the receiver accepts. You'll need to do this to figure things out.
You should also experiment with the mode where you put the receiver's commands on the command-line along with the 'telnet' command. E.g.
Code:
telnet YOUR__IP_ADDRESS "PWSTANDBY"
Note this is a completely fabricated and untested example. You'll need to familiarize yourself with telnet and with your receiver to know what command-line to use.
Once you have a specific command ready and tested, then you can put it into an Automator workflow by adding a "Run Shell Script" and typing in the exact telnet command.