Wednesday, August 13, 2014
As part of our blogging for the Forget Me Not challenge we would first like to detail the idea that we wish to implmented.
SCHO – Safe Connected Home
An IoT based automation and energy efficient monitoring
This project is designed to provided connected control of house and security monitoring. Utilizing the energy efficient wireless network of sensors, switches and actuator outputs by EnOcean this project intends to provide a connected framework which can be remotely controlled using a mobile phone or using an internet gateway. The following are the objectives of SCHO design:
- Control of electrical outlets from central server as well as wireless switch panels
- Sensing of Doors and Windows for open/closed status
- Sensing of soil moisture in the garden and motor actuation
- Timed dispensing of water and food for the pet and reporting low stock situations
- User control using Web API
- Camera monitoring for image and video recording in case of security breach
- SMS / Twitter status update and alert sending feature
- EnOceanPi with one Raspberry Pi B+ acts as the Wireless network central server
- Additional Raspberry Pi helps to host the SMS gateway using 3G modem and the Web-server for Remote monitoring of the system Status
- Both Raspberry Pi would communicate to internet using the home Wi-Fi network.
- Front Door would be coupled with a STM320 Magnetic sensor sense its open-close status
- A kitchen window would be coupled with another STM320 Magnetic sensor to sense its open-close status
- The presence detection of the user would be ascertained using the MAC ID polling on the users Mobile with Wi-Fi connection via the Web-server Raspberry Pi. This would send an instruction to the EnOcean Raspberry Pi controlling the Wireless node network to turn off the Power outlets connected to the TCM 320 module system.
- Another function of the Web-server Raspberry Pi B+ would be to use a Camera to monitor the front door for movement when the security system is armed. This would be done by the edge detection algorithm executing in python for each snap shot taken by the Raspberry Pi camera.
- The power control would use two TCM320 modules in Mode 3 with 4 Relay control outputs. One of such output would be used to control the timed Cat feed actuation. Another output would be used to control the Garden water pump to water the plants in case the soil moisture goes below a threshold. Other outputs would be used to control the power plugs using relays. The complete control system housing the TCM320 and the relays would be powered from an external supply to help run the relays.
- The additional sensing function of the Soil Moisture and Load Cell on the Cat Feeder would be done using the STM 310 module. Two Soil moisture sensors would be used and one load cell would be used to achieve this.
- The sensing actuation would be controlled using OpenHAB running on the Web-server Raspberry Pi to the EnOcean Raspberry Pi.
There are important assumptions made to achieve the functionality in time for the Challenge :
- Soil humidity sensor would be emulated using a potentiometer
- All the outputs from the TCM320C modules would be LEDs rather than the actual Relay's
- The pressure input from the cat feeder would again be emulated using potentiometer.
All the above assumptions would help to complete the proof of concept first to help go the next step of actual field testing the rig.