-
1Step 1
You need to have Python configured on your RPi.
- Install the following libraries: xmpppy, httplib2, dnspython
- download the LiV XMPP Python code from the gitHub repository listed before
- modify the code to suit your needs
Send me a message if you need any help or if you spot anything that I should improve in the code.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
[this comment has been deleted]
Here it is: https://github.com/FirstCypress/LiV/tree/S_development/software/liv
The code you are interested in resides under livXMPP directory.
It implements a XMPP agent that does this:
http://www.livpi.com/liv-pi-instant-messaging.html
LiV XMPP agent is part of this project:
http://www.livpi.com
Here is a brief software architecture description:
http://liv-pi-forum.1124721.n5.nabble.com/LiV-a-brief-software-guide-f67.html
You would need to spend some time to figure out how you can modify the existing code to fit your needs.
Good luck,
Alfred
Are you sure? yes | no
Just in case this is too complex for your needs, here are a few basic examples: http://xmpppy.sourceforge.net, you can go over them first and then you can decide if you want to take the time to look into livXmpp and modify it.
Are you sure? yes | no
[this comment has been deleted]
Try:
sudo apt-get update
sudo apt-get install python-xmpp
This worked for me on Raspbian Jessie.
Best,
-Alfred
Are you sure? yes | no