36 IOTExp6
36 IOTExp6
36 IOTExp6
Objectives
Part 1: Explore the Existing Smart Home Network
Part 2: Add Wired IoT Devices to the Smart Home Network
Part 3: Add Wireless IoT Devices to the Smart Home Network
Theory-
We have studied a case study on Home Automation. Let us build a network for Home
Automation using Packet Tracer.
In this Labwe will open a Packet Tracer file with an existing home network, explore the devices
on the network, and then add additional wired and wireless IoT devices
Across the bottom of the Packet Tracer window, the Device-Specific Selection box
displays the many different Smart Home IoT devices available.
Move the mouse pointer over each device and notice that the descriptive name of the
device is displayed at the bottom of the Device-Specific Selection box. Take a
moment to look at each device type.
When we place your curser over a device, such as the Smart Fan, an informational
window opens containing basic network information about that device.
To turn on or activate a device, simply hold down the Alt key on the keyboard and
then move the cursor over the device. Try this on each of the smart devices to
observe what they do.
The Physical tab is selected by default and shows a picture of the Home Gateway.
Next, click the Configtab and then in the left pane click LAN to view the LAN Settings of
the Home Gateway.
Click Wireless in the left pane to view the wireless settings of the Home Gateway.
Write down the SSID of the homenetwork HomeGateway and the WPA2-PSK
PassPhrase mySecretKey or futurereference.
In the Tablet window, select the Desktop tab and then click the Web Browser icon.
In the Web Browser window, type the IP address of the Home Gateway 192.168.25.1
into the URL box and click Go. In the Home Gateway Login screen, type admin for
both the username and thepassword and clickSubmit.
After you have connected to the Home Gateway web interface, a list of all the
connected IoT devices appears.
When you click a device in the list, the status and settings of that device is displayed.
Close the Tablet window.
In the Device-Type Selection box, click the Connections icon (this looks like a
lightning bolt). Click the Copper Straight Through connector type icon in the Device-
Specific Selection box. Then click the Sprinkler icon and connect one end of the cable
to the Sprinkler’s FastEthernet0 interface. Next, click the Home Gateway icon and
connect the other end of the cable to an available Ethernet interface.
Step 2: Configure the sprinkler for network connectivity
Click the Lawn Sprinkler device icon in the workspace to open the device window.
Notice that right now the name of the Lawn Sprinkler is a genericIoT0.
The device window will open to the Specification tab which gives information about the
device which can be edited.
Click the Configtab to edit the device configurationsettings. In the Configtab, make the
following changes toSettings:
Set the Display Name to Sprinkler1 (notice the window name changes
toSprinkler1)
Set the IoT Server to HomeGateway
The device Sprinkler 1 should now appear in the IoT Server – Devices list.
Step 3: Experiment by adding other types of IoT devices to the smart home network.
In the Device-Specific Selection box click the Wind Detector icon and then click
in the workspace where you would like to locate the WindDetector.
Click the Wind Detector icon in the workspace to open the IoT device window. In the
bottom right corner of the IoT device window, click the Advanced button. Notice more
tabs become visible at the top of the window. Click the I/O Configtab.
Configure the Wind Detector for the wirelessnetwork. Click the Configtab.
Change the Display Name to Wind_Detectorand change the IoT Server to Home
Gateway.
Next click Wireless0 in the left pane. Change the Authentication type to WPA2-PSK
and in the PSK Pass Phrase box type mySecretKey. These are the wireless settings
from the Home Gateway that you recorded in Part 1.
A wireless connection should be formed between the Wind Detector and the Home
Gateway.
Verify the Wind Detector is on the network. Log into the Home Gateway from theTablet.
The device Wind Detector should now appear in the IoT Server – Devices list.