Lightweight and simple server for PokeGo++. Teleports between given locations and reports raids to webhook compatible with PokeAlarm.
git clone https://github.com/hzpz/PGppServer.git
cd PGppServer
python3 -m venv pgppserver-venv
source pgppserver-venv/bin/activate
pip install -r requirements.txt
See config.py:
HOST: IP to bind to, use '0.0.0.0' for all interfacesPORT: port to listen onMIN_RAID_LEVEL: minimum raid level to publish to webhookWEBHOOK_URL: URL of webhook, e.g. 'http://localhost:4000'TELEPORT_DELAY_MINUTES: time in minutes between teleportsLOCATIONS_CSV_FILENAME: name of the CSV file with locations, see below for detailsSEEN_RAIDS_FILENAME: file for cache of seen raidsLOG_LEVEL: logging verbosity
Format: latitude,longitude,name, e.g. 52.2780709,7.9853899,Osnabrück. name is optional.
- Fake Location: on
- Enable Worker Mode: on
- URL: http://{pgppserver}/data
- Enable Location Fetch: on
- URL: http://{pgppserver}/loc
cd PGppServer
source pgppserver-venv/bin/activate
python server.py