RaspyRFM Switch


The raspyrfm component adds support for cheap RC 433 MHz outlets via one of the supported gateways.

Initially, this component was created to support the Simple Solutions ConnAir gateway which has been discontinued. There are custom alternatives that reimplemented the protocol used by the ConnAir though like this ConnAir emulator which can be used in conjunction with the RaspyRFM-II RC module for a Raspberry Pi.

Other vendors of 433 MHz RC outlets have also created gateways that use a very similar protocol and can also be used with this component like the Intertechno ITGW-433 LAN Gateway

# Example configuration.yaml entry
switch:
  platform: raspyrfm
  switches:
    - controlunit_manufacturer: Intertechno
      controlunit_model: CMR 1000
      channel_config:  # Note that keys used here vary between control units
        master: A
        slave: 1

Configuration Variables

gateway_manufacturer

(string)(Optional)Manufacturer of the gateway.

Default value: Seegel Systeme

gateway_model

(string)(Optional)Model of the gateway.

Default value: RaspyRFM

host

(integer)(Optional)Port of the gateway.

Default value: depends on the gateway model

switches

(list)(Required)List of switches that can be controlled with this gateway.

name

(string)(Optional)Name for the device.

Default value: Unnamed Device

controlunit_manufacturer

(string)(Required)Manufacturer of the control unit.

controlunit_model

(string)(Required)Model of the control unit.

channel_config

(dict)(Required)Channel configuration of the control unit. The exact keys needed depend on the control unit manufacturer and model.

Device support

Have a look at the underlying library raspyrfm-client to check what gateways and control units (outlets) are supported.

Channel configuration

Depending on the control unit the channel config can have varying formats. Have a look at the underlying library raspyrfm-client to find out about a specific model.

Switch state

Initially, the state of a switch is unknown. When the switch is turned on or off (via frontend) the state is known and will be shown in the frontend.

Note that due to the way those cheap RC units work it is not possible to query their current state. Therefore the only way to preserve a consistent state within Home Assistant is to only use Home Assistant as the controller.

Full example

switch:
  platform: raspyrfm
  gateway_manufacturer: Seegel Systeme
  gateway_model: RaspyRFM
  host: 127.0.0.1              # Optional
  port: 49880                  # Optional
  switches:
    - name: My Switch
      controlunit_manufacturer: Intertechno
      controlunit_model: CMR 1000
      channel_config:
        master: A
        slave: 1
    - name: My other Switch
      controlunit_manufacturer: Brennenstuhl
      controlunit_model: RCS 1000 N Comfort
      channel_config:
        1: 1
        2: 1
        3: 1
        4: 1
        5: 1
        CH: A