Access this instance at HomeyAPIV3Local.geolocation
.
Extends
- HomeyAPIV3.ManagerGeolocation
Instance Methods
getOptionAddress
(async) getOptionAddress(): Promise.<any>Scopes
homey.geolocation.readonly
HTTP
GET /api/manager/geolocation/option/address
Returns
Promise.<any>
getOptionLocation
(async) getOptionLocation(): Promise.<any>Scopes
homey.geolocation.readonly
HTTP
GET /api/manager/geolocation/option/location
Returns
Promise.<any>
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/geolocation/state
Returns
Promise.<any>
setOptionAddress
(async) setOptionAddress(opts): Promise.<any>Scopes
homey.geolocation
HTTP
PUT /api/manager/geolocation/option/address
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
Promise.<any>
setOptionLocation
(async) setOptionLocation(opts): Promise.<any>Scopes
homey.geolocation
HTTP
PUT /api/manager/geolocation/option/location
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
Promise.<any>
unsetOptionAddress
(async) unsetOptionAddress(): Promise.<any>Scopes
homey.geolocation
HTTP
DELETE /api/manager/geolocation/option/address
Returns
Promise.<any>
unsetOptionLocation
(async) unsetOptionLocation(): Promise.<any>Scopes
homey.geolocation
HTTP
DELETE /api/manager/geolocation/option/location
Returns
Promise.<any>