Enable detection of incoming IR signals (from external remotes) and expose this via the SwitchBot API.
Current Situation
Currently, the Hub 2 can send IR signals and learn remotes, which is excellent. However, many users (myself included) also use the original IR remotes (e.g., for TVs or air conditioners).
It would be extremely useful if the Hub 2 could: • Detect when an IR signal is received • Identify the matched remote/command (or at least notify that an IR signal was received) • Expose this via the cloud API or local MQTT/Webhook
Proposed Change
Example Use Case: • When I turn on my TV using the original IR remote, the Hub 2 receives the signal, but I currently cannot react to it in automation. • If this were exposed in the API (e.g., last_ir_received, IR_event), I could: • Log usage • Update smart home dashboards • Synchronize IR device state with virtual controls • Trigger scenes or routines (e.g., dim lights when TV turns on)
Additional Context
Optional Suggestions: • Enable this feature only for recognized/stored remotes • Offer a toggle in the app to allow IR event monitoring • Rate-limit or filter bursts of IR noise