• New Patreon Tier and Early Access Content available. If you would like to support AVForums, we now have a new Patreon Tier which gives you access to selected news, reviews and articles before they are available to the public. Read more.

Arcam AVR450 IP control

wouser

Novice Member
Hi there all! I am looking to control my AVR450 through the internet using a python script. I managed to establish a connection to the receiver but i cant succesfully seem to send a message through.

My code sofar:

import socket
#Simply change the host and port values
host = '192.168.178.31'
port = 50000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
s.connect((host, port))
s.send("21 01 08 02 10 10 0D")
s.shutdown(2)
print("Success connecting to ")
print(host," on port: ",str(port))
except socket.error as e:
print("Cannot connect to ")
print(host," on port: ",str(port))
print(e)

When i run this script it says connection is succesfull. However i am having the idea that i am missing the boat when it comes to sending the hex code....
Anyone who got this running and willing to help me out?

Thanks in advance!
 

JGM

Prominent Member
Try s.send("\x21\x01\x08\x02\x10\x10\x0d").

It's what I'd send in JavaScript if I had an Arcam.

John
 

holland141

Standard Member
Hi Wouser

Did you ever get anywhere with this?

I'm looking to do the same - ultimately to see if I can get Google Home/Assistant to control the Arcam - e..g "Hey Google - switch the Arcam to VCR"

I'm no programmer - but I tried to create a python script as per yours above. It seems to connect to the amp, but nothing happens in terms of control.

I'm using Python 3, which doesn't seem to like the s.send command that you have, so I'm trying with (as per a Google search !)

s.connect((host, port))
arcamcmd = "0x21 0x01 0x0A 0x01 0x03 0x0D"
s.sendall(arcamcmd.encode('utf-8'))

Ideally this would change the source to 'PVR'....but aside from the success connecting message, the amp does not respond.

I'm assuming this is something to do with the format...I've tried the "\"format that JGM suggested.

Steve
 

The latest video from AVForums

Is 8K TV dead? Philips OLED+907, Pioneer LX505 AVR plus B&W 700 S3 Reviews & Visit + AV/HiFi News
Subscribe to our YouTube channel
Support AVForums with Patreon

Top Bottom