Virgin Media tvio telnet controls

Post Reply
user1111

Virgin Media tvio telnet controls

Post by user1111 »

Here in the UK many have Virgin Media providing tv, phone, broadband. If you ethernet connect the tvio box to your router you can access it using your laptop or whatever using telnet.

Use the tvio setup screens to find the IP address for the tvio and then telnet into it using port 31339. For instance mine is using 192.168.1.13 31339

Using telnet you can interactively send commands such as to change channels etc. Telnet is a bit awkward in that to exit it you have to press Control ] keys and then type 'quit' (and press ENTER). At the bottom I've included some code to send telnet commands via a script. Also don't forget to capitalise the commands such as IRCODE STANDBY and don't use lowercase.

change channel (set channel)

SETCH 428


IRCODE
List of commands:

UP
DOWN
LEFT
RIGHT
SELECT
TIVO
LIVETV
THUMBSUP
THUMBSDOWN
CHANNELUP
CHANNELDOWN
RECORD
DISPLAY
DIRECTV
NUM0
NUM1
NUM2
NUM3
NUM4
NUM5
NUM6
NUM7
NUM8
NUM9
ENTER
CLEAR
PLAY
PAUSE
SLOW
FORWARD
REVERSE
STANDBY
NOWSHOWING
REPLAY
ADVANCE
DELIMITER
GUIDE
TELEPORT [ LIVETV | TVIO | GUIDE | NOWPLAYING ]


# KEYBOARD
List of commands

UP
DOWN
LEFT
RIGHT
SELECT
TVIO
LIVETV
GUIDE
INFO
EXIT
TVINPUT


( echo open 192.168.1.13 31339
sleep 1
echo SETCH 101
sleep 1
echo exit ) | telnet

( echo open 192.168.1.13 31339
sleep 1
echo IRCODE STANDBY
sleep 1
echo exit ) | telnet
user1111

Re: Virgin Media tvio telnet controls

Post by user1111 »

Example yad channel selection (note that you'll need to change the IP to whatever your tvio IP is)

Code: Select all

#!/bin/sh

IP=192.168.1.13
while : ; do
  Y=`yad --title="tvio" --width=100 --height=400 --separator=" " --list --column=Channel BBC1 ITV FILM4`

  case ${Y} in
	'BBC1 ') CH=101	;;
	'ITV ') CH=103	;;
	'FILM4 ') CH=428 ;;
	*) exit ;;
  esac

( echo open $IP 31339
sleep 1
echo SETCH $CH
echo exit ) | telnet

done
s.png
s.png (13.96 KiB) Viewed 557 times
user1111

Re: Virgin Media tvio telnet controls

Post by user1111 »

A bit more extended

Code: Select all

#!/bin/sh

IP=192.168.1.13
PORT=31339

while : ; do

Y=`yad --title="tvio" --width=100 --height=500 --separator=" " --list --column=Channel INFO BBC1 BBC2 ITV ITV4 CHANNEL4 PARAMOUNT SONY-ACTION SONY-MOVIES FILM4 BBC-NEWS SKY-NEWS STANDBY`

case ${Y} in
	'INFO ') CH="IRCODE INFO";;
	'BBC1 ') CH="SETCH 101"	;;
	'BBC2 ') CH="SETCH 102"	;;
	'ITV ') CH="SETCH 103"	;;
	'CHANNEL4 ') CH="SETCH 104"	;;
	'ITV4 ') CH="SETCH 118"	;;
	'PARAMOUNT ') CH="SETCH 150" ;;
	'SONY-MOVIES ') CH="SETCH 425" ;;
	'SONY-ACTION ') CH="SETCH 426" ;;
	'FILM4 ') CH="SETCH 428" ;;
	'BBC-NEWS ') CH="SETCH 601" ;;
	'SKY-NEWS ') CH="SETCH 603" ;;
	'STANDBY ') CH="IRCODE STANDBY" ;;
	*) exit ;;
esac

( echo open $IP $PORT
sleep 1
echo ${CH}
if [ "${CH}" = "IRCODE STANDBY" ]; then
	echo ${CH} # requires confirmation for quicker standby	
fi
echo exit ) | telnet

done
user1111

Re: Virgin Media tvio telnet controls

Post by user1111 »

Virgin Superhub's run Linux, busybox and utilise tar and ro squashfs

https://www.contextis.com/de/blog/hacki ... -super-hub
mathygreen
Posts: 1
Joined: Thu Feb 25, 2021 4:08 pm
Location: united states

Re: Virgin Media tvio telnet controls

Post by mathygreen »

I put an Ethernet cable in my V6 then restarted it. When it switched back on it came up with “Network Availability” and the component failed to start (Connection refused in logs) and i was unable to telnet to the V6 from my laptop either. Unplugged the ethernet, It connected back to the wifi automatically, Still getting errors so i went to Settings > network > connect to virgin media service now. This done its thing and the network availability error was gone and i could telnet again, restarted HA and everything working again. I plugged the ethernet cable back in and the same happened again. I tried setting the network up again through the settings etc but still wont work. Cant see how to forget my wifi settings on it either.

One small thing, I have turned Force HD off… If like me, You like to “flick through” the channels… You cant with force HD on. Say, You press 101… It then auto changes to 108 (as its HD)… then press channel up and instead of 102 you are on 113 STVHD… No big deal.

Post Reply

Return to “Off-Topic Area”