ManagerRF
homey.manager.rf
Manages radio frequency communication on the Homey.
You can access this manager through the Homey instance as self.homey.rf.
Ancestors
- Manager
- SimpleClass
- homey.util.event_emitter.EventEmitter
- typing.Generic
- abc.ABC
Methods
cmd
async def cmd(self,signal: Signal,
command_id: str,
repetitions: int | None = None,
device: Device | None = None) ‑> None
Send a predefined command using the given signal.
Requires the homey:wireless:433, homey:wireless:868, or homey:wireless:ir permissions.
For more information about permissions read the Permissions tutorial.
Args
tx
async def tx(self,signal: Signal,
frame: list[int] | bytes | bytearray,
repetitions: int | None = None,
device: Device | None = None) ‑> None
Transmit a raw frame using the given signal.
Args
disable_signal_rx
async def disable_signal_rx(self, signal: Signal) ‑> NoneDisable receiving commands for the given signal.
Requires the homey:wireless:433, homey:wireless:868, or homey:wireless:ir permissions.
For more information about permissions read the Permissions tutorial.
Args
| Name | Type | Description |
|---|---|---|
signal |
Signal | The Signal to disable receiving for. |
enable_signal_rx
async def enable_signal_rx(self, signal: Signal) ‑> NoneEnable receiving commands for the given signal.
Requires the homey:wireless:433, homey:wireless:868, or homey:wireless:ir permissions.
For more information about permissions read the Permissions tutorial.
Args
| Name | Type | Description |
|---|---|---|
signal |
Signal | The Signal to disable receiving for. |
get_signal_433
def get_signal_433(self, id: str) ‑> Signal433Get the 433 MHz signal with the given ID, as defined in app.json.
get_signal_868
def get_signal_868(self, id: str) ‑> Signal868Get the 868 MHz signal with the given ID, as defined in app.json.
get_signal_infrared
def get_signal_infrared(self, id: str) ‑> SignalInfraredGet the infrared signal with the given ID, as defined in app.json.