The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Quick schema queries


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

UK Sky Digibox protocol...




Hi folks - saw a discussion over on the main ukha_d list about the Sky
Digibox: it has a serial port, which didn't seem to do a whole hellish lot
of anything... Joe Heenan (who makes this little gem:
http://www.heenan.me.uk/control-sky-from-pc/
) pointed out that the digibox
sends out a data packet every now and then..

I dug out my serial cable and had a wee capture - sure enough, there's a
pretty simple data protocol at play here.

I have been able to figure out a whole chunk of it, I'm just wondering if
anyone fancies giving me a hand?

The digibox sends data at 57600,8,n,1 every ten seconds or so, in roughly
this format:

Sky Digital Serial Port Data Packet

LF				1 byte Line Feed	chr 10 dec
xxx				3 Bytes			Numeric Code
SSCNxxx			SSCN + 3 Bytes		Channel Number Header
xxx				3 Bytes			Channel Number
SSCAxxx			SSCA + 3 Bytes		Channel Alias Header
aaaaaaaaaaaaaa		14 Bytes		Channel Alias Text
SSDTxxx			SSDT + 3 Bytes		Date Time Header
hh.mmpm_day_dd_mmm (or)	18 Bytes		Date Time Stamp
hh.mmam_day_dd_mmm
SST0xxx			SST0 + 3 Bytes		Start Time Header
h.mmpm			6 Bytes			Program Start Time
SSNxxxx			SSN + 4 Bytes		Season Name Header
aaa				Variable Length		Season Name
SSExxxx			SSE + 4 Bytes		Episode Details Header
aaa				Variable Length		Episode Details
(unterminated)

I think this could be useful both for "what's on" alerts, but
also to
confirm that channel change commands have actually been successful!

Ian.





xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.