Remote Receiver Binary Sensor

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.

# 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 Remote Codes. Only one of them can be specified per binary sensor.
  • remote_receiver_id (Optional, ID): The id of the Remote Receiver Component. Defaults to the first hub in your configuration.
  • id (Optional, ID): Manually specify the ID used for code generation.
  • All other options from Binary Sensor and MQTT Component.

Note

See 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:

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.