An open API service indexing awesome lists of open source software.

https://github.com/quickblox/sample-powerbot-python-rpi

QuickBlox PowerBot
https://github.com/quickblox/sample-powerbot-python-rpi

Last synced: 9 months ago
JSON representation

QuickBlox PowerBot

Awesome Lists containing this project

README

          

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").