ManagerInsights

Access this instance at HomeyAPIV3Cloud.insights.

Extends

  • HomeyAPIV3.ManagerInsights

Classes

Instance Methods

deleteLog

(async) deleteLog(opts)

Scopes

homey.insights

HTTP

DELETE /api/manager/insights/log/:uri/:id

Parameters

Name Type Description
opts
object
id
string
uri
string
}

deleteLogEntries

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

Scopes

homey.insights

HTTP

DELETE /api/manager/insights/log/:uri/:id/entry

Parameters

Name Type Description
opts
object
id
string
uri
string
}

Returns

Promise.<any>

getLog

(async) getLog(opts): Promise.<HomeyAPIV3Cloud.ManagerInsights.Log>

Scopes

homey.insights.readonly

HTTP

GET /api/manager/insights/log/:id

Parameters

Name Type Description
opts
object
id
string
}

Returns

getLogEntries

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

Scopes

homey.insights.readonly

HTTP

GET /api/manager/insights/log/:uri/:id/entry

Parameters

Name Type Description
opts
object
id
string
uri
string
resolution
string <optional>
}

Returns

Promise.<any>

getLogs

(async) getLogs(): Promise.<Object.<string, HomeyAPIV3Cloud.ManagerInsights.Log>>

Scopes

homey.insights.readonly

HTTP

GET /api/manager/insights/log

Returns

Promise.<Object.<string, HomeyAPIV3Cloud.ManagerInsights.Log>>

getState

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/insights/state

Returns

Promise.<any>

Events

log.create

.on('log.create')

Parameters

Name Type Description
log
HomeyAPIV3Cloud.ManagerInsights.Log

log.delete

.on('log.delete')

Parameters

Name Type Description
log
HomeyAPIV3Cloud.ManagerInsights.Log

log.update

.on('log.update')

Parameters

Name Type Description
log
HomeyAPIV3Cloud.ManagerInsights.Log

logentryboolean.create

.on('logentryboolean.create')

Parameters

Name Type Description
logentryboolean
HomeyAPIV3Cloud.ManagerInsights.LogEntryBoolean

logentryboolean.delete

.on('logentryboolean.delete')

Parameters

Name Type Description
logentryboolean
HomeyAPIV3Cloud.ManagerInsights.LogEntryBoolean

logentryboolean.update

.on('logentryboolean.update')

Parameters

Name Type Description
logentryboolean
HomeyAPIV3Cloud.ManagerInsights.LogEntryBoolean