Control your home devices from anywhere using a Raspberry Pi running the RBox Linux distribution. The RBox chat-bot connects to a public XMPP/Jabber server, so you can toggle GPIO pins from your phone's chat app — no port forwarding, no dynamic DNS, no paid cloud services.
How it works
Setup diagram — Raspberry Pi at home and your phone both connect to a public Jabber server. Chat messages carry GPIO commands.
Both the Raspberry Pi (running RBox) and your Android phone (running Xabber or any XMPP client) log in to a public Jabber server with their own credentials. Once the two accounts have authorized each other, they can exchange chat messages through the server.
Advantages
- No router configuration or port forwarding needed — all incoming firewall ports can stay blocked
- No dependency on paid cloud services — hundreds of free Jabber servers are available
- Works from any location as long as your phone has internet access (Wi-Fi or mobile data)
Controlling GPIO
To toggle a GPIO pin, send a chat message from your XMPP client:
Gpio 2 1 # set GPIO2 high Gpio 2 0 # set GPIO2 low
For full setup instructions (SD card preparation, XMPP account creation, first boot), see the RBox installation guide.
SOURCE CODE
github.com/hackboxguy/brbox — RBox sources and build instructions
1 comment:
Such devices are really helpful to keep a check on the activities at your home even if you are far away of your home. i like such technologies and ideas very much.
Post a Comment