Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Add config for ir sleep time #23

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

heikomat
Copy link
Contributor

This moves the sleep-time of ir-command-checks to a config variable. With this change you can reduce the ir sleep-time (or increase it, though i wouldn't know why anyone would wand that).

reducing the sleep time in turn reduces the delay between receiving an ir command and the associated mqtt-message, which can make actions (like pressing a button on a remote and the resulting action based on the mqtt message) feel snappier.

In my example i have one Raspberry PI running this bridge and another one that is connected to the remote control of my sound system and running an mqtt client. With this change, using the volume-buttons on my ir-remote feels snappier (i set it to 0.01 instead of the default 0.2)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant