Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

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.2
Filename, size File type Python version Upload date Hashes
Filename, size irgen-0.1.2.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page