ManagerRF

Access this instance at HomeyAPIV2.rf.

Extends

Methods

connect

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

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

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

Disconnect from the realtime namespace.

Returns

Promise.<void>

emulate

(async) emulate(opts): Promise.<any>

Scopes

homey.system

HTTP

POST /api/manager/rf/:frequency/emulate

Parameters

Name Type Description
opts
object
frequency
string <optional>
data
* <optional>
}

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

record

(async) record(opts): Promise.<any>

Scopes

homey.system

HTTP

POST /api/manager/rf/record

Parameters

Name Type Description
opts
object
frequency
string <optional>
timeout
number <optional>
}

Returns

Promise.<any>

txInfraredProntohex

(async) txInfraredProntohex(opts): Promise.<any>

Scopes

homey.system

HTTP

POST /api/manager/rf/ir/prontohex

Parameters

Name Type Description
opts
object
repetitions
number <optional>
payload
string <optional>
}

Returns

Promise.<any>