{"id":45145,"library":"infrared-protocols","title":"infrared-protocols","description":"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.","status":"active","version":"6.0.0","language":"python","source_language":"en","source_url":"https://github.com/home-assistant-libs/infrared-protocols","tags":["infrared","IR","home-assistant","pronto","decode","encode"],"install":[{"cmd":"pip install infrared-protocols","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Old library name was 'infrared', now 'infrared_protocols'","wrong":"from infrared import IRDecodeProtocol","symbol":"IRDecodeProtocol","correct":"from infrared_protocols import IRDecodeProtocol"},{"note":"Old library name was 'infrared', now 'infrared_protocols'","wrong":"from infrared import IREncodeProtocol","symbol":"IREncodeProtocol","correct":"from infrared_protocols import IREncodeProtocol"}],"quickstart":{"code":"from infrared_protocols import IRDecodeProtocol\n\nprotocol = IRDecodeProtocol()\n# Example: decode a Pronto hex string\npronto_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 \"","lang":"python","description":"Basic usage: import IRDecodeProtocol and decode a Pronto hex."},"warnings":[{"fix":"Upgrade to Python 3.14.2+ or pin to older infrared-protocols version.","message":"Version 6.0.0 requires Python >=3.14.2. Older Python versions are not supported.","severity":"breaking","affected_versions":"<6.0.0"},{"fix":"Use 'from infrared_protocols import ...' instead of 'from infrared import ...'.","message":"Import path changed from 'infrared' to 'infrared_protocols' as of version 6.0.0.","severity":"gotcha","affected_versions":">=6.0.0"},{"fix":"Check release notes for higher-level wrappers.","message":"Direct use of low-level protocol classes may be deprecated in future; prefer higher-level API if available.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.14.2':21 '6.0.0':18 'assist':15,28,34 'common':11 'current':16 'decod':6,36 'ecosystem':29 'encod':8,37 'home':14,27,33 'home-assist':32 'infrar':2,9,30 'infrared-protocol':1 'ir':31 'librari':4 'part':24 'pronto':35 'protocol':3 'python':20 'releas':22 'requir':19 'signal':10 'use':12 'version':17","created_at":"2026-06-07T12:53:35.346885+00:00","updated_at":"2026-06-07T12:53:35.346885+00:00","problems":{"verify_error":"× No solution found when resolving dependencies:\n  ╰─▶ Because the current Python version (3.12.13) does not satisfy\n      Python>=3.13.0 and infrared-protocols<=5.8.1 depends on Python>=3.13.0,\n      we can conclude that infrared-protocols<=5.8.1 cannot be used.\n      And because only the following"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/home-assistant-libs/infrared-protocols","github":"https://github.com/home-assistant-libs/infrared-protocols","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-06","install_tag":null}}