Access this instance at HomeyAPIV3Cloud.geolocation
.
Extends
Methods
connect
(async) connect(): Promise.<void>Connect to the realtime namespace.
Returns
disconnect
(async) disconnect(): Promise.<void>Disconnect from the realtime namespace.
Returns
getOptionAddress
(async) getOptionAddress(): Promise.<any>Scopes
homey.geolocation.readonly
HTTP
GET /api/manager/geolocation/option/address
Returns
getOptionLocation
(async) getOptionLocation(): Promise.<any>Scopes
homey.geolocation.readonly
HTTP
GET /api/manager/geolocation/option/location
Returns
getOptionMode
(async) getOptionMode(): Promise.<any>Scopes
homey.geolocation.readonly
HTTP
GET /api/manager/geolocation/option/mode
Returns
getState
(async) getState(): Promise.<any>Scopes
homey.system.readonly
HTTP
GET /api/manager/geolocation/state
Returns
isConnected
isConnected(): BooleanIf this manager's namespace is connected to Socket.io.
Returns
setOptionAddress
(async) setOptionAddress(opts): Promise.<any>Scopes
homey.geolocation
HTTP
PUT /api/manager/geolocation/option/address
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
setOptionLocation
(async) setOptionLocation(opts): Promise.<any>Scopes
homey.geolocation
HTTP
PUT /api/manager/geolocation/option/location
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
setOptionMode
(async) setOptionMode(opts): Promise.<any>Scopes
homey.geolocation
HTTP
PUT /api/manager/geolocation/option/mode
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
value
|
* | |
|
Returns
unsetOptionAddress
(async) unsetOptionAddress(): Promise.<any>Scopes
homey.geolocation
HTTP
DELETE /api/manager/geolocation/option/address
Returns
unsetOptionLocation
(async) unsetOptionLocation(): Promise.<any>Scopes
homey.geolocation
HTTP
DELETE /api/manager/geolocation/option/location
Returns
unsetOptionMode
(async) unsetOptionMode(): Promise.<any>Scopes
homey.geolocation
HTTP
DELETE /api/manager/geolocation/option/mode