Telecommand
I’m really not sure if there’s enough information to build a DIY version of a TV-B-Gone, but this site seems to be a good start – the device can turn off any/all TVs by cycling through the IR codes for “off” – French & English.

Related:
TV-B-Gone – Link.