Question: The assignment is to develop/design an OO API that allows you to do the following: Create a smart device instance Add/remove/update delete the smart device

The assignment is to develop/design an OO API that allows you to do the following:

  • Create a smart device instance

  • Add/remove/update delete the smart device in a group of devices

  • Move devices between groups

  • Turn on/off a device

  • Show the state of all devices

  • Set a timer for a device with a simple trigger (on/off), i.e. turn off device 30 minutes after it was turned on.

  • Set a schedule for a device (on/off), i.e. turn on a device at 12:30.

  • Here are the devices you will support:

  • Smart light bulbs with on/off switch, dimming, and (optional) color capabilities

  • Smart outlets and/or switches with up to 7 individually-controllable outlets (TP-Link sells these in 1, 2, and power strip versions).

  • Other smart devices (doorbells) that can trigger events.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!