meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
homeautomation2017:group3:start [2017/03/02 18:24] suganmira created |
homeautomation2017:group3:start [2017/03/11 01:11] (current) suganmira |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Introduction | + | ====== Group 3 : Cognitive Living ====== |
+ | |||
+ | |||
+ | ===== The Team ===== | ||
+ | ** // * Carl Kugblenu | ||
+ | * | ||
+ | * | ||
+ | * Syed Asif Iqbal //** | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Motivation ===== | ||
+ | * Increased use of Electronic devices for the household | ||
+ | * Existing Home Automation systems are designed for specific purposes – comfort / security / cost saving | ||
+ | * Need for an integrated system which serves all these purposes | ||
+ | * Users’ needs change from time to time. So there is a need for self adapting system | ||
+ | * Social – Comfort & Security; Environmental – CO2 emission; Economic – Cost saving | ||
+ | |||
+ | ===== Goals ===== | ||
+ | * A comfortable environment – physiologically ambient environment for living | ||
+ | * Safe and Secure living | ||
+ | * Energy aware living & steps towards saving energy | ||
+ | * Cost saving by reducing power consumption | ||
+ | * A system that can automatically understand user’s needs | ||
+ | {{ : | ||
+ | |||
+ | ===== Our Idea ===== | ||
+ | We have implemented a system with DHS HomeManager, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Components Used ===== | ||
+ | * DHS HomeManager | ||
+ | * FHEM | ||
+ | * HomeMatic Wireless Door / Window Sensor - optical | ||
+ | * HomeMatic Wireless switch Actuator 1-channel | ||
+ | * HomeMatic Wireless Temperatue / Humidity sensor indoor | ||
+ | * AXIS M1113 Network Camera | ||
+ | |||
+ | ===== 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!===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Home automation protocols | ||
+ | **LonWorks** | ||
+ | |||
+ | //__What is LonWorks? | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | // | ||
+ | * Efficient delivery of small messages. | ||
+ | * Reliable delivery of messages. | ||
+ | * Duplicate message detection. | ||
+ | * Multiple communications media. | ||
+ | * Low installation and maintenance cost | ||
+ | * Efficient use of channel bandwidth. | ||
+ | * Prevent tampering. | ||
+ | |||
+ | // | ||
+ | * Municipal and highway/ | ||
+ | * Heating and air conditioning systems. | ||
+ | * Subway train control. | ||
+ | * Stadium lighting and speaker control. | ||
+ | * Security systems, fire detection and suppression, | ||
+ | * Smart electricity metering | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | **DASH7 Alliance Protocol** | ||
+ | |||
+ | // | ||
+ | * Is an open source Wireless Sensor and Actuator Network protocol. | ||
+ | * Built on top of an asynchronous Wireless Sensor Network Media Access Control. | ||
+ | * This standard was mainly used for military logistics. | ||
+ | * It uses Generally Radio Frequency Identification technology, which is used for locating and tracking objects in a variety of applications. | ||
+ | * 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 Technology__// | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | // | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== Code package & Documentation ===== | ||
+ | * Poster : {{ : | ||
+ | * Mode Configuration in FHEM (example) : {{ : | ||
+ | * Code Package : {{ : | ||
+ | * Presentation Slides : {{ : | ||
+ | * Report : {{ : | ||
+ | * Energy Analysis : {{ : | ||
+ | |||
+ |