From 3159277be95a676022fefbd9a294d05c590e8136 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 26 Feb 2022 22:27:02 +0100 Subject: [PATCH] Remove deprecated Raspberry Pi RF integration (#21821) --- source/_integrations/rpi_rf.markdown | 87 ---------------------------- source/_redirects | 5 +- 2 files changed, 3 insertions(+), 89 deletions(-) delete mode 100644 source/_integrations/rpi_rf.markdown diff --git a/source/_integrations/rpi_rf.markdown b/source/_integrations/rpi_rf.markdown deleted file mode 100644 index b4628a4a988..00000000000 --- a/source/_integrations/rpi_rf.markdown +++ /dev/null @@ -1,87 +0,0 @@ ---- -title: Raspberry Pi RF -description: Instructions on how to integrate devices controlled via codes sent with low-cost GPIO RF modules on a Raspberry Pi into Home Assistant as a switch. -ha_category: - - DIY -ha_release: 0.19 -ha_iot_class: Assumed State -ha_domain: rpi_rf -ha_platforms: - - switch ---- - -
- -This integration is deprecated and will be removed in Home Assistant Core 2022.4. - -For more information see: [Architectural Decision Record 0019](https://github.com/home-assistant/architecture/blob/master/adr/0019-GPIO.md). - -
- -The `rpi_rf` switch platform allows you to control devices over 433/315MHz LPD/SRD signals with generic low-cost GPIO RF modules on a [Raspberry Pi](https://www.raspberrypi.org/). - -Interoperable with codes sniffed via [the rpi-rf module](https://pypi.python.org/pypi/rpi-rf) or [rc-switch](https://github.com/sui77/rc-switch). -For more info see the PyPi module description: [rpi-rf](https://pypi.python.org/pypi/rpi-rf). - -## Configuration - -To enable, add the following to your `configuration.yaml`: - -```yaml -# Example configuration.yaml entry -switch: - - platform: rpi_rf - gpio: 17 - switches: - bedroom_light: - code_on: 1234567 - code_off: 1234568 - ambilight: - pulselength: 200 - code_on: 987654 - code_off: 133742 - living_room_light: - protocol: 5 - code_on: 654321,565874,233555,149874 - code_off: 654320,565873,233554,149873 - signal_repetitions: 15 -``` - -{% configuration %} -gpio: - description: GPIO to which the data line of the TX module is connected. - required: true - type: integer -switches: - description: The array that contains all switches. - required: true - type: list - keys: - entry: - description: Name of the switch. Multiple entries are possible. - required: true - type: list - keys: - code_on: - description: Decimal code(s) to switch the device on. To run multiple codes in a sequence, separate the individual codes with commas ','. - required: true - type: list - code_off: - description: Decimal code(s) to switch the device off. To run multiple codes in a sequence, separate the individual codes with commas ','. - required: true - type: list - protocol: - description: RF Protocol. - required: false - default: 1 - type: integer - pulselength: - description: Pulselength. - required: false - type: integer - signal_repetitions: - description: Number of times to repeat transmission. - required: false - default: 10 - type: integer -{% endconfiguration %} diff --git a/source/_redirects b/source/_redirects index ef672c5274f..1c691e06d7a 100644 --- a/source/_redirects +++ b/source/_redirects @@ -977,7 +977,6 @@ /components/switch.rfxtrx /integrations/rfxtrx#switch /components/switch.rpi_gpio /integrations/rpi_gpio#switch /components/switch.rpi_pfio /integrations/rpi_pfio#switch -/components/switch.rpi_rf /integrations/rpi_rf /components/switch.scsgate /integrations/scsgate#switch /components/switch.skybell /integrations/skybell#switch /components/switch.smappee /integrations/smappee @@ -1683,7 +1682,6 @@ /components/rpi_camera /integrations/rpi_camera /components/rpi_gpio /integrations/rpi_gpio /components/rpi_pfio /integrations/rpi_pfio -/components/rpi_rf /integrations/rpi_rf /components/rss_feed_template /integrations/rss_feed_template /components/rtorrent /integrations/rtorrent /components/russound_rio /integrations/russound_rio @@ -2372,3 +2370,6 @@ /components/piglow /more-info/removed-integration 301 /integrations/piglow /more-info/removed-integration 301 /integrations/pi4ioe5v9xxxx /more-info/removed-integration 301 +/components/rpi_rf /more-info/removed-integration 301 +/components/switch.rpi_rf /more-info/removed-integration 301 +/integrations/rpi_rf /more-info/removed-integration 301