ManagerSystem

Extends

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>

getInfo

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/system/

Returns

Promise.<any>

getMemoryInfo

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/system/memory

Returns

Promise.<any>

getStorageInfo

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/system/storage

Returns

Promise.<any>

getSystemName

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

Scopes

homey.system.readonly

HTTP

GET /api/manager/system/name

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

ping

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

Scopes

-

HTTP

GET /api/manager/system/ping

Parameters

Name Type Description
opts
object
id
string <optional>
}

Returns

Promise.<any>

reboot

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

Scopes

homey.system

HTTP

POST /api/manager/system/reboot

Returns

Promise.<any>

rebootRecovery

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

Scopes

homey.system

HTTP

POST /api/manager/system/rebootrecovery

Returns

Promise.<any>

sendLog

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

Scopes

-

HTTP

POST /api/manager/system/journalctl

Parameters

Name Type Description
opts
object
append
string <optional>
}

Returns

Promise.<any>

setDebug

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

Scopes

homey.system

HTTP

PUT /api/manager/system/debug/:mask

Parameters

Name Type Description
opts
object
mask
string
}

Returns

Promise.<any>

setSystemName

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

Scopes

homey.system

HTTP

PUT /api/manager/system/name

Parameters

Name Type Description
opts
object
name
string
}

Returns

Promise.<any>