Methods
getAccuracy() → {number}
Get the Homey's physical location's accuracy
Returns:
- Type:
-
number
accuracy (in meter)
getLatitude() → {number}
Get the Homey's physical location's latitude
Returns:
- Type:
-
number
latitude
getLongitude() → {number}
Get the Homey's physical location's longitude
Returns:
- Type:
-
number
longitude
getMode() → {string}
Get the Homey's physical mode
Returns:
- Type:
-
string
auto
or manual
Events
.on('location')
Fired when the location is updated