Home/ Blog/XBee/Home Automation System

Home Automation System


By Szilveszter Molnár

This Home Automation system is based on XBee connected devices and controlled by a Netduino or a Windows IoT Core based Raspberry PI 2.

Each of the remote sensors and actuators in the home are connected to XBee for wireless communication. Each XBee transmits data to the custom gateway. The gateway is a Netduino (or Raspberry PI 2 + Windows IoT Core) based system. It sends and receives messages to each of the XBee connected devices and translates that data into a format for the controller to understand.

The controller is based on openHAB and provides a graphical interface to monitor the home’s sensor data and control actuators. The controller and the gateway connect via MQTT– they both listen for, and publish, messages on different topics on the MQTT message bus.



Here’s a link to the project’s GitHub page for code and schematics!

And click here to follow Szilveszter on Twitter!

Tags: , , , , , , ,

3 Responses

  1. neville says:

    Hi this is interesting. I wanted to do something similar for raspberry pi b+. Do U think its possible considering that cloud services are required?

  2. neville says:

    Could this be done with raspberry pi b?

  3. I have done this, here is my Instructable, I am using Xbee + Pi, the Pi as a serial Server which can accept socket connections. From an Android App, using Sockets I connect to the Pi and pass the control string which is sent out to the devices through the Xbee connected to the PI’s serial port.


Contact a Digi expert and get started today! Contact Us
Have a Question?