home-assistant.io/source/_components/switch.rfxtrx.markdown
2016-04-30 22:47:36 +02:00

1.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_release
layout title description date sidebar comments sharing footer ha_category ha_release
page RFXtrx Switch Instructions how to integrate RFXtrx switches into Home Assistant. 2015-10-08 10:15 true false true true Switch 0.7.5

The rfxtrx platform support switches that communicate in the frequency range of 433.92 MHz.

To enable RFXtrx switches in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  platform: rfxtrx
  signal_repetitions: 3
  devices:
    living_room:
      name: Living Room
      packetid: XXXXX
      fire_event: True
  automatic_add: True

Configuration variables:

  • devices (Required): A list of devices with their name to use in the frontend.
  • automatic_add (Optional): To enable the automatic addition of new switches.
  • signal_repetitions Optional: Because the rxftrx device sends its actions via radio and from most receivers it's impossible to know if the signal was received or not. Therefore you can configure the switch to try to send each signal repeatedly.
  • fire_event Optional: Fires an event even if the state is the same as before. Can be used for automations.