Skip to content

QuickBlox/sample-powerbot-python-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

sample-powerbot-python-rpi

QuickBlox PowerBot.
Allows to control power sockets via chat. In current implementation Energenie RF controlled power sockets are used along with Q-municate open source IM / chat app by QuickBlox, this chat bot running on Raspberry Pi model B.

Usage
powerbot.py -d -r <QuickBlox MUC room to join>
Example: powerbot.py -d -r 14628_541f4ab3535c124866028b17@muc.chat.quickblox.com

Dependencies
You may need to run these under root to install the missing packages on your Pi:
apt-get install python-dev
pip install sleekxmpp
pip install dnspython
pip install pyasn1 pyasn1-modules
apt-get install python-rpi.gpio

Notes
For room auto-join to work, make the script executable ("chmod +x powerbot.py").

About

QuickBlox PowerBot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages