ManagerRF

Access this instance at HomeyAPIV3Cloud.rf.

Extends

Classes

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>

getState

(async) getState(): Promise.<any>

Scopes

homey.system.readonly

HTTP

get /api/manager/rf/state

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.readonly

HTTP

post /api/manager/rf/record

Parameters

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

Returns

Promise.<any>

set433MHzConfig

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

Scopes

homey.system

HTTP

post /api/manager/rf/mhz433/config

Parameters

Name Type Description
opts
object
modulation
string <optional>
carrier
number <optional>
deviation
number <optional>
channelSpacing
number <optional>
filterBandwidth
number <optional>
baudrate
number <optional>
power
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
payload
string
repetitions
number <optional>
}

Returns

Promise.<any>

Events

signal.create

.on('signal.create')

Parameters

Name Type Description
signal
HomeyAPIV3Cloud.ManagerRF.Signal

signal.delete

.on('signal.delete')

Parameters

Name Type Description
signal
HomeyAPIV3Cloud.ManagerRF.Signal

signal.update

.on('signal.update')

Parameters

Name Type Description
signal
HomeyAPIV3Cloud.ManagerRF.Signal