Repeater system basic IR configuration

From BATC Wiki
Revision as of 11:02, 22 February 2022 by G8GKQ (talk | contribs)
Jump to navigation Jump to search

The section of the config file for basic IR configuration is shown here for an HDMI switch with the following control codes:

Function IR Code
Input 1 0x17
Input 2 0x12
Input3 0x59
Input 4 0x08
Quad 0x18
# Input config
# Recommended gpio pins for "input active" are 32, 35, 18, 22, 16, 19 and 21
# announcemediatype determines the player used
# Switcher can use "ir" or "gpio" or "i2c"
# IR uses a TX on GPIO pin 12
# GPIO uses pins 36, 37, 38, 33, 31, 29, 23, 24.  Can be enabled with ir or i2c
# i2c uses FMS6501A on Output channel 1
# activeinputhold (yes/no) means that lower priority inputs do not get replaced by higher priority (except pri 1)
# Show Quad is yes/no and overides activeinputhold
# Number of available inputs does not include the controller, so is max 3 for a 4-input switch
availableinputs=3
activeinputhold=no
# Set next parameter to no if you do not want (or do not have) a quad display
showquadformultipleinputs=yes
cascadedswitches=no
outputswitchcontrol=ir
showoutputongpio=yes
outputhdmiresetcode=nec:0x17
outputhdmiquadcode=nec:0x18
outputi2caddress=3
outputi2cquadchannel=9
input0name=Controller
output0code=nec:0x17
output0hdmiswitchpin=36
output0i2cchannel=1
output0audioi2cbit=0
                                  • Under Construction **************

input1name=Stream Input input1prioritylevel=1 input1activegpiopin=32 output1code=nec:0x12 output1hdmiswitchpin=37 output1i2cchannel=2 output1audioi2cbit=1 input1announcemediatype=jpg input1announcemediafile=/home/pi/tmp/input1.jpg input1announcemediaduration=3

input2name=QO-100 RX input2prioritylevel=2 input2activegpiopin=35 output2code=nec:0x59 output2hdmiswitchpin=38 output2i2cchannel=3 output2audioi2cbit=2 input2announcemediatype=jpg input2announcemediafile=/home/pi/tmp/input2.jpg input2announcemediaduration=3

input3name=3.4 GHz Ryde input3prioritylevel=3 input3activegpiopin=18 output3code=nec:0x08 output3hdmiswitchpin=33 output3i2cchannel=4 output3audioi2cbit=3 input3announcemediatype=jpg input3announcemediafile=/home/pi/tmp/input3.jpg input3announcemediaduration=3