Skip to content

Instantly share code, notes, and snippets.

@leon-anavi
Last active February 28, 2017 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leon-anavi/6b7d6c2daaefef5b01054a8b8a0397ae to your computer and use it in GitHub Desktop.
Save leon-anavi/6b7d6c2daaefef5b01054a8b8a0397ae to your computer and use it in GitHub Desktop.
AC
# Scan raw codes
sudo systemctl stop lirc
mode2 -m -d /dev/lirc0
# Create LIRC config file and load it
sudo cp ~/lircd-ac.conf /etc/lirc/lircd.conf
sudo systemctl start lirc
# List commands
irsend LIST acpanasonic ""
# Turn Panasonic air conditioner unit ON
irsend SEND_ONCE acpanasonic on
# Turn Panasonic air conditioner unit OFF
irsend SEND_ONCE acpanasonic off
#
# This config file written manually by Leon Anavi
#
begin remote
name acpanasonic
flags RAW_CODES
eps 30
aeps 100
ptrail 0
repeat 0 0
gap 28205
begin raw_codes
name on
3493 1731 458 439 424 1291
455 442 420 450 424 452
426 410 448 449 424 446
427 442 421 462 411 446
427 442 421 449 427 1287
457 440 428 461 406 445
429 440 423 447 426 444
429 440 421 1294 454 1288
448 1299 447 445 428 442
421 1293 453 444 430 419
443 448 425 455 418 441
423 447 426 461 418 434
423 447 426 444 429 440
422 448 426 444 428 441
423 448 426 441 421 450
423 447 426 448 415 450
424 446 427 442 423 446
425 446 427 442 420 450
423 446 428 442 421 448
425 444 435 1280 449 1293
455 443 429 440 425 445
426 443 431 439 423 10326
3507 1723 456 442 420 1294
453 445 428 442 421 448
425 445 428 442 421 448
425 445 431 439 421 448
425 444 429 441 422 1292
453 445 429 441 421 449
425 444 430 439 423 447
427 443 430 1284 452 1290
461 1285 446 448 425 418
455 1300 436 448 425 445
429 440 422 447 426 444
430 438 424 447 426 444
430 445 417 447 427 442
432 439 422 447 427 1287
457 441 424 446 427 1287
449 448 430 439 429 1286
450 448 425 445 429 440
422 1291 455 1288 449 449
424 1291 455 444 419 428
445 446 427 445 418 449
424 445 428 442 421 448
425 446 427 1286 450 1292
455 1288 448 1294 452 1290
456 442 421 1299 448 444
428 1285 451 447 426 444
428 442 422 448 444 424
431 439 424 446 427 443
424 446 422 447 427 443
419 450 424 446 428 442
420 449 424 447 438 430
420 1295 452 1289 458 1285
450 447 427 443 430 440
423 447 426 443 420 456
417 447 427 442 426 444
424 1290 456 1286 451 1291
454 444 429 440 423 448
425 444 447 428 417 447
426 444 430 440 422 446
427 443 431 439 423 447
427 443 419 450 423 447
427 441 427 1289 452 446
427 442 421 451 422 445
428 442 421 448 425 1290
457 440 422 450 423 445
428 441 422 448 425 452
429 433 423 464 409 443
429 440 423 447 427 444
429 440 422 448 426 443
430 440 423 1291 455 442
421 449 424 1290 456 1286
450 448 425 445 429 440
421
name off
3496 1728 449 421 452 1289
457 413 450 420 452 417
456 414 448 422 457 412
456 414 448 421 452 417
456 415 448 429 444 1295
450 415 448 421 452 445
428 442 420 449 424 446
428 442 420 1294 452 1292
454 1292 443 422 451 448
425 1287 449 421 452 443
430 442 421 448 424 446
432 437 421 449 424 446
427 442 420 450 423 447
426 443 430 441 421 447
427 443 430 440 426 443
426 444 429 440 422 448
425 444 429 441 422 447
426 444 429 441 421 447
426 418 455 451 412 421
454 416 455 1286 449 1294
452 417 456 414 448 421
465 405 455 420 442 10330
3501 1728 449 421 452 1290
464 406 459 412 450 423
450 413 460 411 451 419
454 415 458 412 450 419
454 416 458 412 448 1294
452 417 458 412 450 420
453 418 455 412 450 421
452 445 429 1285 450 1292
454 1289 457 440 422 447
425 1289 464 434 422 420
453 417 456 441 422 421
452 417 456 441 421 421
452 417 456 414 449 449
427 442 428 443 430 411
451 446 427 443 420 1294
451 445 428 443 420 1292
454 445 427 442 421 449
424 1290 456 1287 448 449
430 1284 456 442 420 449
424 447 427 442 420 450
423 446 427 443 420 450
422 447 439 1276 455 1286
452 1290 456 1286 449 1294
452 445 428 1286 450 448
425 1289 457 441 420 449
426 444 438 432 421 448
425 445 427 442 421 450
423 458 416 441 420 457
416 446 426 445 418 451
422 448 426 443 432 438
422 1319 427 1288 447 1295
451 446 427 442 421 455
419 445 427 444 429 439
422 448 426 444 435 435
422 1292 453 1289 457 1285
450 447 427 443 430 446
416 448 425 445 428 441
433 437 425 444 434 436
421 448 426 462 410 441
422 448 424 446 427 442
421 451 423 1316 430 440
421 448 426 444 427 443
421 448 434 436 427 1315
421 449 425 444 428 443
420 449 424 448 425 442
420 450 423 447 426 444
418 450 424 446 426 445
429 440 421 448 426 443
429 441 421 449 424 446
429 440 421 1320 426 1289
457 440 423 448 426 444
428
end raw_codes
end remote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment