Signal433

The Signal433 class represents an 433 MHz Signal

Extends

Methods

cmd

(async) cmd(commandId, optsopt): Promise.<any>

Transmit a command

Parameters

Name Type Description
commandId
string

The ID of the command, as specified in /app.json

opts
object <optional>

Transmission options

repetitions
object <optional>

A custom amount of repetitions

}

Returns

Promise.<any>

disableRX

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

Stop receiving messages for this signal. This is a shorthand method for ManagerRF#disableSignalRX.

Returns

Promise.<void>

enableRX

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

Start receiving messages for this signal. This is a shorthand method for ManagerRF#enableSignalRX.

Returns

Promise.<void>

tx

(async) tx(frame, optsopt): Promise.<any>

Transmit a frame

Parameters

Name Type Description
frame
Array.<number>

An array of word indexes

opts
object <optional>

Transmission options

repetitions
object <optional>

A custom amount of repetitions

}

Returns

Promise.<any>