meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| homeautomation2017:group3:start [2017/03/03 02:09] – suganmira | homeautomation2017:group3:start [2017/03/11 01:11] (current) – suganmira | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Group 3 Cognitive Living ====== | + | ====== Group 3 : Cognitive Living ====== |
| ===== The Team ===== | ===== The Team ===== | ||
| - | ** //- Carl Kugblenu | + | ** // |
| - | | + | |
| - | | + | |
| - | | + | |
| {{: | {{: | ||
| Line 17: | 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, | + | We have implemented a system with DHS HomeManager, |
| - | {{: | + | {{: |
| - | {{ : | + | |
| ===== Components Used ===== | ===== Components Used ===== | ||
| Line 40: | Line 40: | ||
| ===== 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!===== | ||
| Line 50: | Line 102: | ||
| **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 63: | 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 76: | Line 128: | ||
| **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 83: | 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__// |
| {{ : | {{ : | ||
| Line 94: | Line 146: | ||
| * Poster : {{ : | * Poster : {{ : | ||
| * Mode Configuration in FHEM (example) : {{ : | * Mode Configuration in FHEM (example) : {{ : | ||
| - | * Code Package : {{ : | + | * Code Package : {{ : |
| * Presentation Slides : {{ : | * Presentation Slides : {{ : | ||
| + | * Report : {{ : | ||
| * Energy Analysis : {{ : | * Energy Analysis : {{ : | ||