meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
homeautomation2017:group3:start [2017/03/03 01:30] suganmira |
homeautomation2017:group3:start [2017/03/11 01:11] (current) suganmira |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | === **Group 3 Cognitive Living** === | + | ====== Group 3 : Cognitive Living |
- | ==== The Group ==== | ||
- | ** //- Carl Kugblenu | ||
- | - Geraldine Villers | ||
- | - Madhubala Ganesan | ||
- | - Syed Asif Iqbal//** | ||
- | {{ : | + | ===== The Team ===== |
+ | ** // * Carl Kugblenu | ||
+ | * | ||
+ | * | ||
+ | * Syed Asif Iqbal //** | ||
+ | |||
+ | {{: | ||
===== Motivation ===== | ===== Motivation ===== | ||
Line 16: | Line 17: | ||
* Social – Comfort & Security; Environmental – CO2 emission; Economic – Cost saving | * Social – Comfort & Security; Environmental – CO2 emission; Economic – Cost saving | ||
- | ===== Goals ===== | + | ===== Goals ===== |
- | * A comfortable environment – physiologically ambient environment for living | + | * A comfortable environment – physiologically ambient environment for living |
* Safe and Secure living | * Safe and Secure living | ||
* Energy aware living & steps towards saving energy | * Energy aware living & steps towards saving energy | ||
* Cost saving by reducing power consumption | * Cost saving by reducing power consumption | ||
* A system that can automatically understand user’s needs | * A system that can automatically understand user’s needs | ||
+ | {{ : | ||
===== Our Idea ===== | ===== Our Idea ===== | ||
- | We have implemented a system with DHS HomeManager and HomeMatic devices which can provide comfort, security and save energy in a household. We have three operating modes namely : Normal Mode, Shield Mode and Child Mode. Normal Mode is when people are living in the house, so the focus of this mode is comfort. Shield Mode is when no one is at home, so we focus on energy saving & security. Child mode is where a child is left at home alone. So the focus here is comfort, safety & security of the child. We control the AirConditioner / Heating system based on room temperature and humidity values. With the help of Axis M115 camera we show the camera feed to the user at all times. We also detect motion in specific areas of the frame and alert the user in case of abnormal activities in front of the door or if there is an attempt to tamper the camera by email. The system alerts the user if doors and windows are open in Shield & Child mode for safety & security. | + | We have implemented a system with DHS HomeManager, FHEM and HomeMatic devices which can provide comfort, security and save energy in a household. We have three operating modes namely : Normal Mode, Shield Mode and Child Mode. Normal Mode is when people are living in the house, so the focus of this mode is comfort. Shield Mode is when no one is at home, so we focus on energy saving & security. Child mode is where a child is left at home alone. So the focus here is comfort, safety & security of the child. We control the AirConditioner / Heating system based on room temperature and humidity values. With the help of Axis M115 camera we show the camera feed to the user at all times. We also detect motion in specific areas of the frame and alert the user in case of abnormal activities in front of the door or if there is an attempt to tamper the camera by email. The system alerts the user if doors and windows are open in Shield & Child mode for safety & security. |
+ | |||
+ | {{: | ||
===== Components Used ===== | ===== Components Used ===== | ||
* DHS HomeManager | * DHS HomeManager | ||
- | * Wireless Door / Window Sensor - optical | + | * FHEM |
- | * Wireless switch Actuator 1-channel | + | * HomeMatic |
- | * Wireless Temperatue / Humidity sensor indoor | + | * HomeMatic |
+ | * HomeMatic | ||
* AXIS M1113 Network Camera | * AXIS M1113 Network Camera | ||
===== System Architecture===== | ===== System Architecture===== | ||
{{ : | {{ : | ||
+ | |||
+ | ===== Cognitive Prediction (Code Snippet) ===== | ||
+ | This is the Predition service code sample to train the neural network model with collected home data | ||
+ | < | ||
+ | var brain = require(' | ||
+ | var fs = require(' | ||
+ | |||
+ | // Training data for temperature, | ||
+ | var training_data = JSON.parse(fs.readFileSync(' | ||
+ | var net = new brain.NeuralNetwork(); | ||
+ | |||
+ | // Training the neural network | ||
+ | net.train(training_data); | ||
+ | |||
+ | // Predict a switch response based on a temperature and humidity input | ||
+ | var output = net.run([0.22, | ||
+ | </ | ||
+ | |||
+ | ===== FHEM Definitions (Code Snippet) ===== | ||
+ | Normal Mode | ||
+ | < | ||
+ | define NormalMode notify DoorWindowSensor { | ||
+ | if (($EVENT eq " | ||
+ | fhem "set Switch on" | ||
+ | } | ||
+ | else { | ||
+ | fhem "set Switch off" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Shield Mode | ||
+ | < | ||
+ | define ShieldMode notify MotionSensor { | ||
+ | if (($EVENT eq " | ||
+ | fhem "set Switch off" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | Child Mode | ||
+ | < | ||
+ | define ChildMode notify DoorWindowSensor { | ||
+ | if (($EVENT eq " | ||
+ | fhem "set Switch on" | ||
+ | } | ||
+ | else { | ||
+ | fhem "set Switch off" | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
===== It Works!===== | ===== It Works!===== | ||
- | {{: | ||
- | {{: | + | {{: |
+ | |||
+ | {{: | ||
===== Home automation protocols | ===== Home automation protocols | ||
**LonWorks** | **LonWorks** | ||
- | //What is LonWorks?// | + | //__What |
{{ : | {{ : | ||
- | //Features | + | //__Features |
* Efficient delivery of small messages. | * Efficient delivery of small messages. | ||
* Reliable delivery of messages. | * Reliable delivery of messages. | ||
Line 57: | Line 115: | ||
* Prevent tampering. | * Prevent tampering. | ||
- | //Applications: | + | //__Applications__// |
* Municipal and highway/ | * Municipal and highway/ | ||
* Heating and air conditioning systems. | * Heating and air conditioning systems. | ||
Line 64: | Line 122: | ||
* Security systems, fire detection and suppression, | * Security systems, fire detection and suppression, | ||
* Smart electricity metering | * Smart electricity metering | ||
+ | |||
+ | |||
**DASH7 Alliance Protocol** | **DASH7 Alliance Protocol** | ||
- | //Features// | + | //__Features__// |
* Is an open source Wireless Sensor and Actuator Network protocol. | * Is an open source Wireless Sensor and Actuator Network protocol. | ||
* Built on top of an asynchronous Wireless Sensor Network Media Access Control. | * Built on top of an asynchronous Wireless Sensor Network Media Access Control. | ||
Line 75: | Line 135: | ||
* This technology consists of a tag and a reader. There are two types of tags, active and passive. Passive tags receive their energy from the | * This technology consists of a tag and a reader. There are two types of tags, active and passive. Passive tags receive their energy from the | ||
- | //BLAST Network | + | //__BLAST |
- | {{: | + | {{ : |
- | //Applications// | + | |
- | {{: | + | //__Applications__// |
+ | {{ : | ||
===== Code package & Documentation ===== | ===== Code package & Documentation ===== | ||
- | Code Package : {{ : | + | * Poster : {{ : |
- | Presentation Slides : {{ : | + | * Mode Configuration in FHEM (example) : {{ : |
- | Poster | + | * Code Package : {{ : |
+ | | ||
+ | * Report | ||
+ | * Energy Analysis : {{ : | ||