This document describes a wireless home automation system built using OpenHAB. OpenHAB is an open-source home automation software that allows different smart devices and systems to communicate on a common platform. The system uses an Arduino, ESP8266 WiFi module, sensors and relays to control lights and fans. Device states are mapped to OpenHAB "items" and a user interface is created using "sitemaps". Automation rules are implemented using sensor data and item states. The ESP8266 acts as an HTTP server to allow remote control via OpenHAB's HTTP binding and transformation scripts parse sensor data into a format readable by item states.