ManagerRF

Access this instance at HomeyAPIV3Local.rf.

Extends

  • HomeyAPIV3.ManagerRF

Classes

Methods

emulate

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

Scopes

homey.system

HTTP

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

Parameters

Name Type Description
opts
object
frequency
string
data
array
}

Returns

Promise.<any>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/rf/state

Returns

Promise.<any>

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>

replay

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

Scopes

homey.system

HTTP

POST /api/manager/rf/replay

Parameters

Name Type Description
opts
object
frequency
string
data
array
}

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
HomeyAPIV3Local.ManagerRF.Signal

signal.delete

.on('signal.delete')

Parameters

Name Type Description
signal
HomeyAPIV3Local.ManagerRF.Signal

signal.update

.on('signal.update')

Parameters

Name Type Description
signal
HomeyAPIV3Local.ManagerRF.Signal