homey-rfdriverimplements the basic functionality needed for all infrared apps and implements a higher level interface that you can use to control infrared devices. Install
homey-rfdriverwith the following command:
homey-rfdriverinstalled 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.
carrierfrequencies for infrared are: min: 30000, default: 38000, max: 45000
homey-rfdriverwhat signal to use (and allows you to override the signal functionality):
RFDriverand the link your
RFSignalclass to it.
RFDeviceand create a mapping from Homey capabilities to the commands you defined for your signal.
prontohexto enable prontohex mode
cmdsattribute 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.