Meet Yooquik: an open source security system with Bluetooth and Arduino support, so you can manage it from your smartphone or tablet. Yooquik has a 3-axis accelerometer and magnetometer. It relies on these sensors to let you know when door or window vibrations are detected. The data is analyzed using an Arduino compatible microcontroller.
You will be able to connect to the device via WiFi or Cellular. It can send you alerts to your iOS or Android device. More information is available here.