Recent Changes - Search:

Wiki

Documentation

Tutorials

Example Code

Exercise

Tutorials.Exercise History

Hide minor edits - Show changes to output

Deleted line 3:
-> http://www.SensibleThings.se/images/demoqr.png
Changed line 4 from:
to:
-> http://www.SensibleThings.se/images/demoqr.png
Changed line 5 from:
-> http://www.SensibleThings.se/images/Exercise.png
to:
-> http://www.SensibleThings.se/images/exercise.png
Changed line 5 from:
-> http://www.SensibleThings.se/images/exercise.png
to:
-> http://www.SensibleThings.se/images/Exercise.png
Changed line 5 from:
BILD
to:
-> http://www.SensibleThings.se/images/exercise.png
Deleted line 2:
'''Architecture'''
Changed lines 1-2 from:
In this exercise you are to build an emulated house with sensor an actuators connected to the platform.
-> This exercises requires two computers with Internet access.
to:
In this exercise you are to build an emulated house with sensor an actuators connected to the platform. This exercises requires two computers with Internet access.

'''Architecture'''
Changed lines 2-3 from:
This exercises requires two computers with Internet access.
In overview, this will be the architecture of the final application:
to:
-> This exercises requires two computers with Internet access.
-> In overview, this will be the architecture of the final application:
Changed lines 1-3 from:
In this exercise you are to build an emulated house with sensor an actuators connected to the platform. This exercises requires two computers with Internet access. In overview, this will be the architecture of the final application:
to:
In this exercise you are to build an emulated house with sensor an actuators connected to the platform.
This exercises requires two computers with Internet access.
In overview, this will be the architecture of the final application:
Changed lines 11-12 from:
-> Start building the house side code.
-> Use the source example as a base for the code of the house.
to:
-> Start building the house side code. Use the source example as a base for the code.
Changed lines 34-61 from:
The house door is both a sensor and an actuator
House door should return Locked or Unlocked , depending on the door state
The house door should changes upon receiving Lock or Unlock from a set Event to its UCI.

The garage door is also both a sensor and an actuator
Garage door should return either Open, opening, Closed, or closing, depending on the state.
When receiving an Open set event to its UCI, the door should go into opening state for 5 seconds, and then go to the Open.
When receiving an Close set event to its UCI, the door should go into closing state for 5 seconds, and then go to the Open.

Step 3
Start building the client side code.
Use
the sink example as a base for the application
Create
a simple console application which can:
Resolve the names to get access to
the sensors.
Read the kitchen temperature
Read
the garage temperature
Turn On/Off
the kitchen lights
Turn On/Off
the garage light
Read the kitchen lights
Read
the garage lights
Lock/Unlock the house door
Read
the house door state
Open/Close
the garage door
Read the garage door state

Step 4
Make an Android app that can read the sensors and control the actuators as well.
Base it on the
Android sink example code
to:
-> The house door is both a sensor and an actuator
-> House door should return Locked or Unlocked , depending on the door state
-> The house door should changes upon receiving Lock or Unlock from a set Event to its UCI.

-> The garage door is also both a sensor and an actuator
-> Garage door should return either Open, opening, Closed, or closing, depending on the state.
-> When receiving an Open set event to its UCI, the door should go into opening state for 5 seconds, and then go to the Open.
-> When receiving an Close set event to its UCI, the door should go into closing state for 5 seconds, and then go to the Open.

3. '''Build the Client Application'''
-> Start building
the client side code. Use the sink example as a base for the application.
-> Create a simple console application which can:

-> Resolve
the names to get access to the sensors.
-> Read
the kitchen temperature
-> Read
the garage temperature
-> Turn On/Off
the kitchen lights
-> Turn On/Off the garage light
-> Read
the kitchen lights
->
Read the garage lights
-> Lock/Unlock the house door
-> Read the house door state
-> Open/Close the garage door
-> Read the garage door state

4. '''Build an
Android App'''
-> Make an Android app that can read the sensors and control the actuators as well.
-> Base it on the Android sink example code.
Changed lines 13-14 from:
-> Register the following uci's to the house. Where NAME should be replaced with your own name.
to:
-> Register the following UCI's to the house. Where NAME should be replaced with your own name.
Changed lines 5-7 from:
1. '''Study'''
-> Read trough this excercise to understand what to do.
-> Read and understand the latest presentation slides on how the platform works. See [[Tutorials|Presentation Slides]]
to:
1. '''Study and Download'''
-> Read trough this whole exercise to understand what you will do.
-> Read and understand the latest presentation slides on how the platform works. See [[Tutorials/Presentation Slides]]
Changed line 10 from:
Step 2.
to:
2. '''Build the House'''
Changed lines 21-32 from:
Step 2
Make the logic for each of the sensors and actuators.

The temperatures are only a sensors
Kitchen temperature should return
a random value between 20-23.G
Garage temperature should return a random value between 10
-15.

The lights are both sensors and actuators
Kitchen light should return On or Off, depending on the light state
Garage
light should return On or Off, depending on the light state
Kitchen light should changes upon receiving On or Off from a set Event to its UCI.
Garage
light should changes upon receiving On or Off from a set Event to its UCI.
to:
3. '''Make the House Logic'''
-> Make
the logic for each of the sensors and actuators.

-> The temperatures are only
a sensors
-> Kitchen temperature should return a random value between 20
-23.G
-> Garage temperature should return a random value between 10-15.

-> The lights are both sensors and actuators
-> Kitchen
light should return On or Off, depending on the light state
-> Garage light should return On or Off, depending on the light state
-> Kitchen light should changes upon receiving On or Off from a set Event to its UCI.
->
Garage light should changes upon receiving On or Off from a set Event to its UCI.
Changed lines 5-6 from:
'''Step 1'''
-> Read and understand the latest presentation slides on how the platform works.
to:
1. '''Study'''
-> Read trough this excercise to understand what to do.
-> Read and understand the latest presentation slides on how the platform works. See [[Tutorials|Presentation Slides]]
Changed lines 6-8 from:
Read and understand the latest presentation slides on how the platform works.
Download the development kit and the source/sink examples.
to:
-> Read and understand the latest presentation slides on how the platform works.
-> Download the development kit and the source/sink examples.
Changed lines 10-18 from:
Start building the house side code.
Use the source example as a base for the code of the house.
Register the following uci's to the house. Where NAME should be replaced with your own name.
NAME@miun.se/house/kitchen/temperature
NAME@miun.se/house/garage/temperature
NAME@miun.se/house/kitchen/light
NAME@miun.se/house/garage/light
NAME@miun.se/house/door
NAME@miun.se/house/garage/door
to:
-> Start building the house side code.
-> Use the source example as a base for the code of the house.
-> Register the following uci's to the house. Where NAME should be replaced with your own name.
-> NAME@miun.se/house/kitchen/temperature
-> NAME@miun.se/house/garage/temperature
-> NAME@miun.se/house/kitchen/light
-> NAME@miun.se/house/garage/light
-> NAME@miun.se/house/door
-> NAME@miun.se/house/garage/door
Deleted lines 0-1:
Sensible Things Exercise
Changed line 5 from:
Step 1.
to:
'''Step 1'''
Added lines 1-62:
Sensible Things Exercise

In this exercise you are to build an emulated house with sensor an actuators connected to the platform. This exercises requires two computers with Internet access. In overview, this will be the architecture of the final application:

BILD

Step 1.
Read and understand the latest presentation slides on how the platform works.
Download the development kit and the source/sink examples.

Step 2.
Start building the house side code.
Use the source example as a base for the code of the house.
Register the following uci's to the house. Where NAME should be replaced with your own name.
NAME@miun.se/house/kitchen/temperature
NAME@miun.se/house/garage/temperature
NAME@miun.se/house/kitchen/light
NAME@miun.se/house/garage/light
NAME@miun.se/house/door
NAME@miun.se/house/garage/door

Step 2
Make the logic for each of the sensors and actuators.

The temperatures are only a sensors
Kitchen temperature should return a random value between 20-23.G
Garage temperature should return a random value between 10-15.

The lights are both sensors and actuators
Kitchen light should return On or Off, depending on the light state
Garage light should return On or Off, depending on the light state
Kitchen light should changes upon receiving On or Off from a set Event to its UCI.
Garage light should changes upon receiving On or Off from a set Event to its UCI.

The house door is both a sensor and an actuator
House door should return Locked or Unlocked , depending on the door state
The house door should changes upon receiving Lock or Unlock from a set Event to its UCI.

The garage door is also both a sensor and an actuator
Garage door should return either Open, opening, Closed, or closing, depending on the state.
When receiving an Open set event to its UCI, the door should go into opening state for 5 seconds, and then go to the Open.
When receiving an Close set event to its UCI, the door should go into closing state for 5 seconds, and then go to the Open.

Step 3
Start building the client side code.
Use the sink example as a base for the application
Create a simple console application which can:
Resolve the names to get access to the sensors.
Read the kitchen temperature
Read the garage temperature
Turn On/Off the kitchen lights
Turn On/Off the garage light
Read the kitchen lights
Read the garage lights
Lock/Unlock the house door
Read the house door state
Open/Close the garage door
Read the garage door state

Step 4
Make an Android app that can read the sensors and control the actuators as well.
Base it on the Android sink example code
Edit - History - Print - Recent Changes - Search
Page last modified on September 18, 2013, at 04:26 PM