Assessment item 2 – Packet Tracer and IoT Development Tasks
TASK
Task One
-
Create a Smart Home with the criteria and devices given.
-
Control these smart devices from the Office which is in the same city
-
Ceiling Fan
-
2x Lamps
-
Siren
-
Front Door Lock
-
Motion Detector
-
Web Camera
-
Smoke Detector
-
Thermostat
-
Furnace
- Air Conditioner (AC)
- Portable Music Player
-
Bluetooth Speaker
Build and configure the Smart Home. (Refer to the file on the Student Resources named Assignment_2_Help). Save the file as StudentID_Firstname_ITC560.pkt (using your own student ID and first name). A template exists in the Cisco Network Academy IoT Course.
Part B (3 marks)
Use your tablet/smart phone to:
- Turn on the Siren
- Lock the door
- Dim one lamp
- brighten the other lamp
- Turn on the furnace
- Turn on the ceiling fan
Part C (3 marks)
For the final part of this task, embed the following logic in the main office.
-
When the motion detector, detects motion, play music on the Bluetooth Speaker.
- When the temperature increases, turn on the Air Conditioner, when it is too cold, turn on the furnace (make sure appropriate levels are used).
- When the motion detector is trigger, sound the siren, take pictures with the WebCam and Lock the Door.
You must demonstrate the operation of each of these criteria.
Task Two
You are given the task of implementing an IoT service by gathering real world data from actual IoT sensors. This scenario will be explained further in your tutorial tasks.
You have recently been appointed to the Beurea of Meteorology (BOM).
You have been asked to write a piece of software using Python to gather data from the Evens Head IOT sensor. The BOM makes all data available via a standardized web interface. In the case of the Evans Head sensor, this data can be found at
http://www.bom.gov.au/fwo/
The data returned through this API represents the last three days of sensor data, collected at appropriate intervals by the BOM Fog environment.
Your job is to review how the BOM gathers and presents this data at
http://www.bom.gov.au/
You will be mostly interested in understanding the data gathered from individual stations. Once you have done this you are to perform the following tasks.
Part A (2 marks)
Install a Linux environment on your workstation, using a suitable hypervisor e.g. VirtualBox. Be sure to install the Apache Web Server and the Python programming language. If you prefer you can build this server on any Cloud computing environment such as AWS.
Part B (4 marks)
Write a Python Script which uses the Python Requests and JSON module to download the JSON object outlined before. The program MUST process the 3 days of data from this stream and report:
- the maximum, minimum and average pressure
- the maximum, minimum and average wind speed
Part C (4 marks)
Modify your Python Program so that it produces a simple web page as its output. Once that is done, place the script in the CGI-BIN directory so that when it is accessed, it provides the user with a web page containing the above information.
The tutorial tasks over the semester will provide you with sufficient insight to complete these tasks.
When completed, you must prepare a document with screen shots outlining the process you have taken to implement the above. You must include a copy of the script used in Part 2 and you must demonstrate your program working.
RATIONALE
This assessment task will assess the following learning outcome/s:
- be able to explain and demonstrate various components of Internet of Things (IoT).
- be able to analyse the role and importance of IoT in the modern world.
- be able to investigate and propose various requirements of IoT for real world applications.