Registry / devops / infrared-protocols

infrared-protocols

JSON →
library6.0.0pypypiunverified

Library to decode and encode infrared signals, commonly used with Home Assistant. Current version: 6.0.0, requires Python >=3.14.2. Released as part of the Home Assistant ecosystem.

pip install infrared-protocols
INSTALL
IMPORT
SIG · INFRARED-PROTOCOLS
I
infrared-protocols
devopspythonv6.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IRDecodeProtocol
from infrared_protocols import IRDecodeProtocol
from infrared import IRDecodeProtocol
Old library name was 'infrared', now 'infrared_protocols'
IREncodeProtocol
from infrared_protocols import IREncodeProtocol
from infrared import IREncodeProtocol
Old library name was 'infrared', now 'infrared_protocols'

Basic usage: import IRDecodeProtocol and decode a Pronto hex.

from infrared_protocols import IRDecodeProtocol protocol = IRDecodeProtocol() # Example: decode a Pronto hex string pronto_hex = "0000 0067 0000 000d 0060 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 0018 "
Debug
Known issues
breakingVersion 6.0.0 requires Python >=3.14.2. Older Python versions are not supported.
fix
Upgrade to Python 3.14.2+ or pin to older infrared-protocols version.
affects: <6.0.0
gotchaImport path changed from 'infrared' to 'infrared_protocols' as of version 6.0.0.
fix
Use 'from infrared_protocols import ...' instead of 'from infrared import ...'.
affects: >=6.0.0
deprecatedDirect use of low-level protocol classes may be deprecated in future; prefer higher-level API if available.
fix
Check release notes for higher-level wrappers.
affects: all
Upgrade
Version history
6.0.0latest on PyPI · released Jun 3, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
infrared-protocols — pip install infrared-protocols · libregistry