
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
lirc2hass
Advanced tools
Listen for input events detected by InputLIRC and generate events in Home Assistant. Primarily useful for triggering Home Assistant automations using Logitech Harmony remotes via an LIRC-compatible remote control.
The lirc2hass daemon generates Home Assistant events when input events are received from an IR receiver by InputLIRC. Home Assistant automations can be triggered by these events, which can then call any services available to Home Assistant, such as turning lights on and off, close blinds, etc.
It is the missing link that allows buttons on the Logitech Harmony remote to trigger any device that can be controlled by Home Assistant, where the Home Assistant server cannot be physically collocated with the Harmony Hub. (If it were, then you could use the LIRC integration directly on the HA server.)
lirc2hass should run on most Linux installations (tested on Rasperry Pi OS) and requires the following:
inputlirc package installed and configured on the underlying operating system to read and process input from the IR receiver.Install the latest release of this package via PyPi:
pip install lirc2hass
Run the daemon using lirc2hass hass_base_url -a , where hass_base_url is the base URL for your instance of Home Assistant.
systemd configurationConfigure systemd to start the daemon at boot by installing lirc2hass.service into /etc/systemd/system after editing to suit your installation.
If the daemon is run as a non-root user, ensure that user has the necessary privileges to read from the LIRC socket. On Debian-based systems, membership of group input is required to read the LIRC socket, located at /var/run/lirc/lircd.
TODO
TODO
lirc2hass using --hass-auth-token option| Option | Type/Default | Description |
|---|---|---|
-a | --hass-auth-token | auth_token | Enable sending of authorisation header, using auth_token as the token. |
-A | --hass-auth-token-file | filename | Read authorisation token from filename. |
-l | --lirc-sock-path | /var/run/lirc/lircd | Set path to LIRC socket. |
-c | --max-reconnect-delay | 64 | Set maximum reconnect delay for the LIRC socket. The daemon reconnects automatically on disconnection using an exponential backoff delay with this value as the maximum. |
-r | --min-repeat-time-ms | 740 | Ignore repeated keystrokes that are generated within the specified time (in ms). |
-v | --verbose | Set logging verbosity (repeat to increase). | |
-V | --version | Show currently installed version. |
FAQs
Bridge LIRC input events to Home Assistant via REST API.
We found that lirc2hass demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.