Remote Receiver Binary Sensor ============================= .. seo:: :description: Instructions for setting up remote receiver binary sensors for infrared and RF codes. :image: remote.svg The ``remote_receiver`` binary sensor lets you track when a button on a remote control is pressed. Each time the pre-defined signal is received, the binary sensor will briefly go ON and then immediately OFF. .. code:: yaml # Example configuration entry remote_receiver: pin: GPIO32 dump: all binary_sensor: - platform: remote_receiver name: "Panasonic Remote Input" panasonic: address: 0x4004 command: 0x100BCBD Configuration variables: ------------------------ - **name** (**Required**, string): The name for the binary sensor. - The remote code, see :ref:`remote_transmitter-codes`. Only one of them can be specified per binary sensor. - **remote_receiver_id** (*Optional*, :ref:`config-id`): The id of the :doc:`/esphomeyaml/components/remote_receiver`. Defaults to the first hub in your configuration. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - All other options from :ref:`Binary Sensor ` and :ref:`MQTT Component `. .. note:: See :ref:`finding_remote_codes` for a guide for setting this up. .. note:: For the Sonoff RF Bridge you can use `this hack `__ created by the Github user wildwiz. Then use this configuration for the remote receiver/transmitter hubs: .. code:: yaml remote_receiver: pin: 4 dump: all remote_transmitter: pin: 5 carrier_duty_percent: 100% Supporting the RF Bridge chip directly is currently only a long-term goal for esphomelib. See Also -------- - :doc:`index` - :doc:`/esphomeyaml/components/remote_receiver` - :doc:`/esphomeyaml/components/remote_transmitter` - `RCSwitch `__ by `Suat Özgür `__ - `IRRemoteESP8266 `__ by `Mark Szabo-Simon `__ - :doc:`API Reference ` - `Edit this page on GitHub `__ .. disqus::