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 02:19] 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 26: | Line 26: | ||
===== 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 41: | 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 51: | 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 64: | 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 77: | 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 84: | 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 95: | 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 : {{ : | ||