ManagerRF

Access this instance at HomeyAPIV3Local.rf.

Extends

  • HomeyAPIV3.ManagerRF

Classes

Instance 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

In path

data
array

In body

}

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>

In body

timeout
number <optional>

In body

}

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

In body

data
array

In body

}

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>

In body

carrier
number <optional>

In body

deviation
number <optional>

In body

channelSpacing
number <optional>

In body

filterBandwidth
number <optional>

In body

baudrate
number <optional>

In body

power
number <optional>

In body

}

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

In body

repetitions
number <optional>

In body

}

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
info
object
newValues
object

An object with only the new values of the signal

oldValues
object

An object with only the old values of the signal

changedKeys
Array.<string>

An array of keys of the properties that have changed

}