[mythtv-users] Partially OT: HDHomeRun - signal information to DB?

Blammo blammo.doh at gmail.com
Wed Nov 19 06:02:40 UTC 2008


I've been running into some Symbol quality issues lately (20 minutes
of the Sunday night football game, for example) with one of the local
stations. During the game, Signal STR was 100%, Signal Qual was 100%,
and Symbol Qual was between 0% and 20%, but ONLY on that one station,
at least according to the windows HDHR tool running my desktop.  It
got me thinking about the data that was available via the libhdhomerun
CLI tools.

I have two HDHR's, and here's what getting the status looks like, from the CLI:

STATUS:
ch=8vsb:629000000 lock=8vsb ss=96 snq=93 seq=100 bps=19391072 pps=1630
ch=8vsb:677000000 lock=8vsb ss=80 snq=69 seq=100 bps=19392576 pps=27
ch=8vsb:665000000 lock=8vsb ss=94 snq=93 seq=100 bps=19394080 pps=1504
ch=8vsb:647000000 lock=8vsb ss=91 snq=85 seq=100 bps=19394080 pps=1495

You can also get debug, which is a little more verbose:

tun: ch=8vsb:629000000 lock=8vsb ss=97 snq=93 seq=100 dbg=23224-8227
dev: resync=0 overflow=0
ts:  bps=19392576 ut=68 te=0 miss=12 crc=0
flt: bps=13290848
net: pps=1265 err=0 stop=0

tun: ch=8vsb:677000000 lock=8vsb ss=80 snq=69 seq=100 dbg=21770-8183
dev: resync=0 overflow=0
ts:  bps=19392576 ut=89 te=0 miss=0 crc=0
flt: bps=72192
net: pps=25 err=0 stop=0

tun: ch=8vsb:665000000 lock=8vsb ss=93 snq=89 seq=100 dbg=2048-11251-132
dev: resync=0 overflow=0
ts:  bps=19392576 ut=95 te=0 miss=0 crc=0
flt: bps=15832608
net: pps=1504 err=0 stop=0

tun: ch=8vsb:647000000 lock=8vsb ss=91 snq=94 seq=100 dbg=7395-11555-128
dev: resync=0 overflow=0
ts:  bps=19394080 ut=98 te=0 miss=0 crc=0
flt: bps=15847648
net: pps=1505 err=0 stop=0


It would be pretty sweet to be able to go back and correlate, for
example, that crappy 20 minutes of recording with some sort of graph
showing symbol quality in the crapper, but signal STR/Qual both at
100%. It would give me something to show the local engineer, who is
very interested in the quality of his signal.

 Before I go re-inventing the wheel, has anyone written scripts to
pull the data on what each HDHR tuner is doing, stuff that data into
some sort of a database, then make it viewable? (Cacti, RRDtool, cold
fusion, etc?)


More information about the mythtv-users mailing list