RFDriver

Extends

  • Homey.Driver

Properties

SIGNAL

SIGNAL: RFSignal

Type

Methods

disableRX

(async) disableRX(listener): Promise.<void>

Parameters

Name Type Description
listener

Returns

Promise.<void>

enableRX

(async) enableRX(listener): Promise.<void>

Parameters

Name Type Description
listener

Returns

Promise.<void>

getRFSignal

(async) getRFSignal(): Promise.<*>

Returns

Promise.<*>

onInit

(async) onInit(): Promise.<void>

Do not use this method, but use RFDriver#onRFInit instead.

Returns

Promise.<void>

onPair

(async) onPair(session): Promise.<void>

Parameters

Name Type Description
session
Session

Returns

Promise.<void>

onPairIRRemoteAdd

(async) onPairIRRemoteAdd(session): Promise.<void>

Since IR remotes don't have any unique data to identify them, use a uuid v4 as device data.

Parameters

Name Type Description
session
Session

Returns

Promise.<void>

onPairRFReceiverLearn

(async) onPairRFReceiverLearn(session): Promise.<void>

Parameters

Name Type Description
session
Session

Returns

Promise.<void>

onPairRFTransmitter

(async) onPairRFTransmitter(session): Promise.<void>

Parameters

Name Type Description
session
Session

Returns

Promise.<void>

onRFInit

(async) onRFInit(): Promise.<void>

Returns

Promise.<void>

tx

(async) tx(command, props): Promise.<void>

Parameters

Name Type Description
command
props
object

Returns

Promise.<void>