Python Forum
Basic TCP to Pioneer VSX-1021 Stereo Receiver
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic TCP to Pioneer VSX-1021 Stereo Receiver
#10
Wavic - I tried that and could not get it to work, but I was probably just doing something wrong? Your comment about windows wanting \r\n, got me thinking and I started playing with my other script again. BOOM!! It works. THANK YOU SOOOO MUCH for helping me get this working! :) Also modified the code so I can simply pass the Pioneer Receiver command to the script. So I can run: phython.exe ControlPioneer.py "PO" and it turns the power on.

Here is the code:

import time
import telnetlib
import sys
 
HOST = "192.168.1.140"

telnet = telnetlib.Telnet(HOST, 23)

telnet.write((sys.argv[1] + "\r\n").encode('ascii'))

telnet.close()
Reply


Messages In This Thread
RE: Basic TCP to Pioneer VSX-1021 Stereo Receiver - by Bpet - Oct-23-2017, 02:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Frames above 2000 bytes not acknowledged by client/receiver lukasz139 0 2,190 Aug-24-2018, 06:34 PM
Last Post: lukasz139

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020