Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

QuickBlox/sample-powerbot-python-rpi

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
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

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.