Please download Cisco Packet Tracer which is a free network simulation tool for this lab.
This lab is from our CompTIA Network+ hands-on lab course to which all members have access.
Configure IOT Devices – Motion Detection
Lab Details
Lab Objective:
Learn how to configure motion detection to activate video surveillance.
Lab Purpose:
Motion detection can use optics, infrared, radio frequencies, or other methods to detect movement. This can trigger alarm systems, but in our case, we will trigger a camera to activate. We can record the movement or with the advent of the IoT, speak to somebody via a speaker e.g. tell a caller we are busy and can’t come to the door.
Lab Tool:
Packet Tracer.
Lab Topology:
Please use the following topology to complete this lab exercise:
Lab Walkthrough:
Task 1:
Drag a server and switch onto the canvas. Under ‘End Devices – Home’ drag up a webcam and a sensor. Link them all with Ethernet cables to the switch (any interfaces will do fine).
Task 2:
Add IP address 192.168.1.1 to the server configuration.
Task 3:
On the server, enable the IoT service.
Task 4:
Open a browser window on the server. Configure username ‘101labs’ and password ‘hello’.
Task 5:
On the motion detector click on ‘Settings’ and change the name to ‘Motion’. On the webcam, change the name to ‘Webcam’.
Task 6:
Set the IP address of the motion sensor to 192.168.1.2 and the webcam to 192.168.1.3.
Task 7:
Under ‘Settings’ for both devices, set the IoT registration server to the server address. Add the username of ‘101labs’ and password ‘hello’.

Task 8:
Go back to the server and both devices should be registered.

Task 9:
Press ‘Conditions’ and name the new condition ‘webcam on’. Set it as below. If motion on is true then set light to on. Then press OK at the bottom.

Task 10:
If we tested now the webcam would come on and stay on so add another condition. If motion on is false then set lwebcam status to off.
Task 11:
Hold down your Alt key and move your mouse in front of the movement sensor. This should activate the webcam. The red LED should show on the motion detector when it detects movement. Move the window for the server config next to the canvass so you can see both.
Notes:
There is a huge range of options and devices with IoT in Packet Tracer. You can also use a programming interface called Blockly to program events.
We have hands-on labs for Cisco, Linux, CompTIA, Ethical Hacking, IP Subnetting, Python, and more.







