How to connect your Pi to ControlMyPi

Install controlmypi and required packages

pip install controlmypi

This will install the controlmypi package from PyPi and also sleekxmpp, dnspython, pyasn1 and pyasn1_modules.

Download examples

wget http://www.controlmypi.com/static/code/examples.zip

Get a Jabber/XMPP ID

Google's gtalk runs on the Jabber/XMPP protocol so if you have a Google account that works the best. Just use your gmail address e.g. yourname@gmail.com.

Alternatively create an account with one of these public xmpp services. Try choosing one in your country. Some work better than others so if you're having problems try another service.

Run echotest.py to check your connection

>python echotest.py
Jabber ID: yourname@gmail.com
Jabber password:
Control panel ID: test
Control panel name: Testing
Connecting to ControlMyPi...
Press Enter to finish
Registered with controlmypi.com!	

Enter your Jabber/XMPP ID into ControlMyPi.com and click on your control panel. Enter "Hello world" and you'll see it in the console on your Pi and "Pi echoes back: Hello world" on the web page.

That's it! You're up and running. Now explore the examples and peruse the Docs.