App

App as returned by HomeyAPIV2.ManagerApps.

Properties

author

author: object

Type

  • object

autoupdate

autoupdate: boolean

Type

  • boolean

brandColor

brandColor: string

Type

  • string

channel

channel: string

Type

  • string

compatibility

compatibility: string

Type

  • string

crashed

crashed: boolean

Type

  • boolean

crashedMessage

crashedMessage: string

Type

  • string

enabled

enabled: boolean

Type

  • boolean

exitCode

exitCode: number

Type

  • number

exitCount

exitCount: number

Type

  • number

exitSignal

exitSignal: string

Type

  • string

hasDrivers

hasDrivers: boolean

Type

  • boolean

icon

icon: string

Type

  • string

iconObj

iconObj: object

Type

  • object

id

id: string

Type

  • string

images

images: object

Type

  • object

name

name: string

Type

  • string

origin

origin: string

Type

  • string

permissions

permissions: array

Type

  • array

ready

ready: boolean

Type

  • boolean

sdk

sdk: number

Type

  • number

session

session: string

Type

  • string

settings

settings: boolean

Type

  • boolean

state

state: string

Type

  • string

updateAvailable

updateAvailable: object

Type

  • object

usage

usage: object

Type

  • object

version

version: string

Type

  • string

Methods

delete

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

Make a DELETE request to the App's Web API.

Parameters

Name Type Description
opts
object
path
string
}

Returns

Promise.<any>

get

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

Make a GET request to the App's Web API.

Parameters

Name Type Description
opts
object
path
string
}

Returns

Promise.<any>

post

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

Make a POST request to the App's Web API.

Parameters

Name Type Description
opts
object
path
string
body
object
}

Returns

Promise.<any>

put

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

Make a PUT request to the App's Web API.

Parameters

Name Type Description
opts
object
path
string
body
object
}

Returns

Promise.<any>

Events

delete

.on('delete')

update

.on('update')

Parameters

Name Type Description
app
object