Skip to content

Instantly share code, notes, and snippets.

@bullshit
Last active September 1, 2021 13:41
Show Gist options
  • Save bullshit/a7ac0840a07c425fbbc3 to your computer and use it in GitHub Desktop.
Save bullshit/a7ac0840a07c425fbbc3 to your computer and use it in GitHub Desktop.
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="usb_irtoy"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/ttyACM0"
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(usb_irtoy) on Tue Jul 15 15:23:51 2014
#
# contributed by
#
# brand: WestinghouseCeilingFanInfraredControl
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name WestinghouseCeilingFanInfraredControl
flags RAW_CODES|CONST_LENGTH
eps 30
aeps 100
gap 53379
begin raw_codes
name LIGHT_OFF
1301 362 1279 383 447 1215
447 1215 469 1194 469 1194
447 1194 469 1194 1301 362
469 1194 469 1194 469 7957
1301 362 1279 383 447 1215
469 1194 469 1194 447 1215
447 1215 447 1194 1301 383
469 1194 469 1194 469
# long press for dimming
name LIGHT_ON
1279 383 1301 362 469 1194
469 1194 469 1194 447 1194
1301 362 469 1194 469 1194
490 1173 469 1194 469 7935
1279 383 1279 383 469 1194
469 1194 469 1194 447 1194
1279 383 469 1194 447 1215
469 1194 447 1194 469
name FAN_OFF
1301 362 1301 362 447 1194
469 1194 469 1194 469 1194
469 1194 1301 362 447 1215
469 1173 490 1194 469 7935
1301 362 1279 383 469 1194
469 1194 469 1194 469 1194
447 1194 1322 362 447 1215
469 1194 469 1194 469
name FANSPEED1
1279 383 1258 405 447 1215
469 1194 469 1194 469 1194
490 1173 490 1173 469 1194
469 1194 490 1173 1301 7103
1279 383 1301 362 447 1215
469 1194 469 1194 469 1194
469 1194 469 1194 469 1194
469 1194 469 1194 1301
name FANSPEED2
1279 383 1301 362 469 1194
469 1194 469 1194 447 1215
469 1194 469 1194 469 1194
1301 362 469 1194 469 7935
1322 362 1301 362 469 1194
469 1194 426 1215 469 1194
447 1215 447 1215 447 1215
1258 405 469 1194 447
name FANSPEED3
1279 383 1301 362 469 1194
469 1194 447 1215 1279 383
447 1194 469 1194 469 1194
447 1215 1301 362 1279 7125
1279 383 1301 362 447 1215
447 1215 447 1215 1301 362
469 1194 469 1194 469 1194
469 1194 1301 362 1301
end raw_codes
end remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment