Signal868

The Signal868 class represents an 868 MHz Signal

Table of Contents

Constructor

new Homey.Signal868(id)

Parameters:
Name Type Description
id string

The ID of the signal, as defined in the app's app.json.

Extends

Methods

cmd(commandId, optsopt, callbackopt) → {Promise}

Transmit a command

Inherited From:
Parameters:
Name Type Attributes Description
commandId string

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

opts object <optional>

Transmission options

Name Type Attributes Description
repetitions object <optional>

A custom amount of repetitions

callback genericCallbackFunction <optional>
Returns:
Type:
Promise

register(callbackopt) → {Promise}

Register the signal. This is a shorthand method for ManagerRF#registerSignal.

Inherited From:
Parameters:
Name Type Attributes Description
callback genericCallbackFunction <optional>
Returns:
Type:
Promise

tx(frame, optsopt, callbackopt) → {Promise}

Transmit a frame

Inherited From:
Parameters:
Name Type Attributes Description
frame Array

An array of word indexes

opts object <optional>

Transmission options

Name Type Attributes Description
repetitions object <optional>

A custom amount of repetitions

callback genericCallbackFunction <optional>
Returns:
Type:
Promise

unregister(callbackopt) → {Promise}

Unregister the signal. This is a shorthand method for ManagerRF#unregisterSignal.

Inherited From:
Parameters:
Name Type Attributes Description
callback genericCallbackFunction <optional>
Returns:
Type:
Promise