FEDER:ESP8266 Experimentation: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
Based on the proposed system architecture, we implemented a complete and functional smart home system with different scenarios required in day-to-day home activities and security/safety. The goal of implementation is to evaluate the system performance and also the effectiveness of the devices used (micro-controllers and sensors). The tests were done for both Local Area Network and Wide Area Network (Internet). | Based on the proposed system architecture, we implemented a complete and functional smart home system with different scenarios required in day-to-day home activities and security/safety. The goal of implementation is to evaluate the system performance and also the effectiveness of the devices used (micro-controllers and sensors). The tests were done for both Local Area Network and Wide Area Network (Internet). | ||
1. Scenarios | == 1. Scenarios == | ||
Turn on lamp when it is dark and the home owner is at home | |||
Turn on alarm when temperature raised above 25 degree C | |||
Turn on alarm when movement sensor detect movement and the alarm message is also sent to home owner. | |||
Turn-on and off lamp from web-application. | |||
Alarm is turned on when strong vibration is detected | |||
III.Technologies used | III.Technologies used | ||
IV. Performance analysis and observation | IV. Performance analysis and observation |
Revision as of 07:55, 4 March 2017
We have constructed a Wifi sensor network with ESP8266 Huzzah micro-controllers with different type of sensors such as: Temperature, movement, humidity, luminosity, vibration sensors. We have also developed the access control module to be used to control different devices (sensors) for different testing scenarios. The scenarios are connected to smart home system environment, which is built based on our defined smart home system architecture shown below. It is the functional smart home architecture:
1. Device controller is responsible for controlling all the sensors and actuators installed in the network. For example, how the devices join and be registered in the network. Context-handler is responsible for forming/constructing the request query for access control engine. The structure of query depends on the access control engine used and language supported by the engine. For example, XACML engine (https://en.wikipedia.org/wiki/XACML) uses XML language to express the access query and access control policies.
2. Access controller engine is responsible for validating access control policies based on the request from device controller. It is worth noting that in our proposed architecture, multiple access control engine can be used in a network.
3. MQTT Broker is a MQTT server allowing devices (other system components) to publish or subscribe for information.
4. End-Devices are the sensors or actuators installed in the network. Those devices can act as subscriber or publisher.
5. Request-entities are the medium for accessing/controlling/interacting with the system such as, web-app or app-smart-devices.
I. Implementation description
Based on the proposed system architecture, we implemented a complete and functional smart home system with different scenarios required in day-to-day home activities and security/safety. The goal of implementation is to evaluate the system performance and also the effectiveness of the devices used (micro-controllers and sensors). The tests were done for both Local Area Network and Wide Area Network (Internet).
1. Scenarios
Turn on lamp when it is dark and the home owner is at home
Turn on alarm when temperature raised above 25 degree C
Turn on alarm when movement sensor detect movement and the alarm message is also sent to home owner.
Turn-on and off lamp from web-application.
Alarm is turned on when strong vibration is detected
III.Technologies used
IV. Performance analysis and observation