Signal
similar to Radio (433Mhz & 868Mhz), this means that adding support for an Infrared device to your Homey App is done in much the same way as adding a 433Mhz device.homey:wireless:ir
permission. For more information about permissions read the permissions guide.homey-rfdriver
implements the basic functionality needed for all infrared apps and implements a higher level interface that you can use to control infrared devices. Install homey-rfdriver
with the following command:pair/rf_ir_remote_add.html
and pair/rf_ir_remote_learn.html
files to the drivers/<driver_id>/pair/
folder of your app.homey-rfdriver
installed and copied the pairing templates, you can add them to your driver's manifest:.homeycompose/signals/ir/my_signal.json
. We will explain the basics next but if you want to know more about creating signal definitions your should read the RF 433Mhz/868Mhz guide.carrier
frequencies for infrared are: min: 30000, default: 38000, max: 45000homey-rfdriver
what signal to use (and allows you to override the signal functionality):Driver
that extends RFDriver
and the link your RFSignal
class to it.Device
that extends RFDevice
and create a mapping from Homey capabilities to the commands you defined for your signal.cmds
type
prontohex
to enable prontohex modecmds
attribute can be used to predefine all commands. This property consists of an object that maps commands (specified as identifier string) to a prontohex payload (specified as String). The carrier in the prontohex String overrides the carrier in the signal radio specification.