install ludolph xmpp bot [raspberrypi]

based on:

#sudo pip install ludolph

install dependencies:
sudo apt-get install python-pip
sudo pip install --upgrade pip

install ludolph:
sudo pip install

create a ludolph.cfg file:
sudo cp /usr/local/lib/python2.7/dist-packages/ludolph/ludolph.cfg.example /etc/ludolph.cfg

create a ludolph init.d file:
sudo wget -O /etc/init.d/ludolph
sudo chmod +x /etc/init.d/ludolph

edit the /etc/ludolph.cfg file:
sudo nano /etc/ludolph.cfg

in [global]:
change daemon to true:
daemon = true

remove the “#” infront of pidfile
pidfile = /var/run/ludolph/

in [xmpp]:
change username to your username
change password to your password

create a folder for the pid file and change the owner:
sudo mkdir /var/run/ludolph/
sudo chown xxfreddyxx:xxfreddyxx /var/run/ludolph/

run it:

in case of problems check the logfile:
cat /tmp/ludolph.log

example commands to test the bot:

what is this webadress for:

check the installed librarys:
cd /usr/local/lib/python2.7/dist-packages/ludolph && ls

remove ludolph:
sudo pip uninstall ludolph
sudo pip uninstall ludolph_zabbix
sudo pip uninstall bottle
sudo pip uninstall dnspython
sudo pip uninstall zabbix_api_erigones
sudo pip uninstall sleekxmpp

other bots: #ludolph is based on sleekxmpp
sudo pip install sleekxmpp
chmod +x
python ./ #based on sleekxmpp , active developed
sudo pip install errbot
mkdir errbot; cd errbot
errbot --init
errbot #based on sleekxmpp, easy commands
sudo pip install whistler
whistler example.conf #mumble bot


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.