Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A python tool for generating and converting ir formats

Project description

This module support conversion and generation of IR formats


Input Formats


Several NEC variants are supported: nec1,nec1-y1,nec1-y2,nec1-y3,nec1-f16,nec2,nec2-y1, nec2-y2,nec2-y3,nec2-f16,necx1,necx1-y1,necx1-y2, necx1-y3,necx1-f16,necx2,necx2-y1,necx2-y2,necx2-y3,necx2-f16

irgen -i nec1 -d 16 0 0 -o raw

Philips RC-5 Protocol

irgen -i rc5 -d 16 -1 0 -o raw

Philips RC-6 Protocol

irgen -i rc6 -d 16 -1 0 -o raw


Raw times, positive meaning on negative meaning off.

irgen -i raw -d +889.0 -889.0 +1778.0 -1778.0 +1778.0 -889.0 +889.0 -889.0 +889.0 -889.0 +889.0 -889.0 +889.0 -889.0 +889.0 -889.0 +889.0 -889.0 +889.0 -889.0 +889.0 -1778.0 +889.0 -88900.0 -o pronto

Output Formats


Raw times, positive meaning on negative meaning off.


Pronto IR format


Broadlink binary format for their IR transmitters. Two variants broadlink and broadlink_base64 with the latter being base64 encoded.

irgen -i rc5 -d 16 -1 0 -o broadlink
irgen -i rc5 -d 16 -1 0 -o broadlink_base64


The module contains a commandline utility to test and request data from called irgen.


The module contains a library with functions for generation of ir codes

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for irgen, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size irgen-0.1.0.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page