RaspyRFM
The raspyrfm
integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] adds support for cheap RC 433 MHz outlets via one of the supported gateways.
Initially, this integration 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 gateway like this ConnAir emulator
Other vendors of 433 MHz RC outlets have also created gateways that use a very similar protocol and can also be used with this integration like the Intertechno ITGW-433 LAN Gateway
Configuration
To use the RaspyRFM integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] in your installation, add it to your configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file.
在更改了configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。 该集成现在显示在集成页面的 设置 > 设备与服务 下。其实体在集成卡片上以及实体标签上列出。
# 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
Device support
Have a look at the underlying library raspyrfm-client
Channel configuration
Depending on the control unit the channel configuration can have varying formats. Have a look at the underlying library raspyrfm-client
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