Access this instance at HomeyAPIV3Local.ble
.
Extends
- HomeyAPIV3.ManagerBLE
Instance Methods
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/ble/state
Returns
Promise.<any>
runCommand
(async) runCommand(opts): Promise.<any>Scopes
homey.system
HTTP
POST /api/manager/ble/command
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
command
|
string | |
opts
|
object
<optional> |
|
|
Returns
Promise.<any>