Here’s How to Turn PocketC.H.I.P. into a Live Pokémon Tracking Device

Use PocketC.H.I.P. to find Pokemon!

Use PocketC.H.I.P. to find Pokémon!

Turn your PocketC.H.I.P. into a Pokémon tracking device and go catch ’em all!

Recently, Supermanwah realized that he could use the tutorial by IPostStupidThings from r/pokemogodev and use it to create a Pokémon tracker on PocketC.H.I.P..

The tutorial uses code written by AHAAAAAAA, which you can find here. And NTC’s very own Crunch wrote up a nice little script to automate the installation for you.

Happy hacking and Pokémon hunting!

1. Prepare PocketC.H.I.P. for Pokémon

Open the Terminal application on the PocketC.H.I.P. home screen and type the following command, then press enter.

wget -O install.sh http://bit.ly/29XOzba

Note: Here’s what’s in our install script, which calls this one too.

2. Install

chmod +x ./install.sh
./install.sh

3. Start the Map Server

You should set up a new Pokémon account just for the project! Seriously, setup a new account just for this project.

Once you have the new account, type in the two command belows. In the second command, replace the USER and PASSWORD with your Pokémon credentials and LONGITUDE LATITUDE of location you’re looking for Pokémon in.

cd PokemonGo-Map-master

python example.py -a ptc -u USER -p PASSWORD -l "LONGITUDE LATITUDE" -st 10

Note: Looking up the longitude and latitude of your location is pretty easy using most search engines. I searched for “West Oakland BART longitude and latitude”, which I input as -l “37.8049 -122.2951”.


4. Start Your Map Client

Press the plus icon in the top-left corner of the terminal to get a new tab. Then run the following command to start the map client.

surf localhost:5000

Assuming everything went well, you’ll see a Google Map with tons and tons of catchable Pokémon.

Tip: You can refresh the map by pressing CTRL+R


There are plenty of fun ways to take this project even further. Consider adding a home screen icon that launches the tracker. Connect PocketC.H.I.P. to it your phone’s WiFi to keep the map current while you’re on the go. Or even print a custom 3D enclosure for PocketC.H.I.P. using your team’s logo and colors.

Whatever you decide to do with the project, make sure to share it with us on the forums, Facebook, and Twitter. And if you catch any good Pokémon, be sure to let us know that too!

About the Author

Posted by

I'm busy writing and editing content at Next Thing Co.

Categories:

PocketC.H.I.P.

20 Comments

This tutorial was written way too quickly, grammar mistakes and other stuff:
– wget bitly: downloads whole html page for some reason
-missing “cd PokemonGo-Map-master/” for “python example.py -a ptc -u USER -p PASSWORD -l “LONGITUDE LATITUDE” -st 10″ to work

I got a Pine64 running at home, and I am thinking that it should really be hard to set it up so that if I got to that server with my phones browser, then it can ask for the location of my phone and use that for longitude/latitude and then I can just get it with whatever device I want… just thinking.

Looks brilliant, very exciting, but can’t get on. I made an account via Google and that works on the phone, but get a password error on the chip. So I assume that we need a Pokemon trainer account ? Sadly that’s never been available every time I’ve tried it.

Any suggestions?

I keep getting the following error:
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-YryaTF/protobuf-to-dict/

When I try to run this command:
sudo pip install -r requirements.txt

Any idea whats going on or what I can do?

you did cd into the PokemonGo-Map-master subdirectory… right?
Instead of running the script, try running the individual commands instead:
sudo apt-get update
sudo apt-get install libpython2.7-dev build-essential python-pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
wget https://github.com/AHAAAAAAA/PokemonGo-Map/archive/master.zip
unzip master.zip
pushd PokemonGo-Map-master/
sudo pip install -r requirements.txt

I had to modify the “python get-pip.py” line to add the sudo in order for it to run, but apart from that, it ran like a champ

Trying this out and reading through the comments, when I am running:
sudo pip install -r requirements.txt
I get an error:
unable to execute ‘arm-linux-gnueabihf-gcc’: No such file or directory
error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1

Any ideas what I need to try next?

I’m getting the same error as others here 🙁
Installed /tmp/pip-build-jn4qFy/protobuf-to-dict/protobuf-3.0.0-py2.7.egg
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-jn4qFy/protobuf-to-dict/setup.py”, line 25, in
‘Topic :: Software Development :: Libraries :: Python Modules’,
File “/usr/lib/python2.7/distutils/core.py”, line 111, in setup
_setup_distribution = dist = klass(attrs)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 262, in __init__
self.fetch_build_eggs(attrs[‘setup_requires’])
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 287, in fetch_build_eggs
replace_conflicting=True,
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 867, in best_match
dist = working_set.find(req)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 509, in find
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (six 1.8.0 (/usr/lib/python2.7/dist-packages), Requirement.parse(‘six>=1.9’))

—————————————-
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jn4qFy/protobuf-to-dict/

Add a Response

Pinkgbacks & Trackbacks