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

Complete automatic nest calculation code #138

Open
jfberry opened this issue Aug 3, 2023 · 0 comments
Open

Complete automatic nest calculation code #138

jfberry opened this issue Aug 3, 2023 · 0 comments

Comments

@jfberry
Copy link
Collaborator

jfberry commented Aug 3, 2023

Golbat has been designed to update nesting pokemon in real time.
It currently reads nests geofences from a nests table, and can watch for pokemon spawning within these nests. However the implementation is not complete.
Currently it counts the pokemon and logs the most frequent pokemon in the log file, and some solutions have been using this.
However, a full solution should:

  • Record all pokemon counts per hour
  • Purge old hours
  • Use last (6?) hours of data to calculate the most frequent pokemon
  • Ignore hours where frequent pokemon are >50%(?) as this would indicate an event and the hour should be ignored for nest purposes
  • Write the answer back to the nest table
  • Send nest change webhooks to eg poracle
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

No branches or pull requests

1 participant