Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location watcher #321

Merged
merged 9 commits into from Aug 31, 2017
Merged

Location watcher #321

merged 9 commits into from Aug 31, 2017

Conversation

javo
Copy link
Contributor

@javo javo commented Aug 3, 2017

Location module that asks for the location when is requested by the control panel or geofencing.
Also hears when there's a mac address change or the client starts, saving the last known location with the delta (in meters) regarding to the previous one.

When a new location it's achieved the new_location event it's emitted with the respective data.
For now the event it's only used by the control-zones trigger that judges if the location it's useful to check the zones. Also control-zones it's listening for the geofencing-start event to refresh the fences data stored.

@javo javo merged commit f56b7a2 into master Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant