Intention
My grandma is one of those who have to frequent the bathroom by night. It can be dangerous for her to grope for the room light switch in the darkness, with a certain distance from the bed. Moreover, pet owners need to watch out for their cats and dogs when they step out of bed at night, and people don't want to wake their partners up. Therefore, I would like to make a smart bed light installed under the bed frame. It is motion activated at night to provide visibility. To save energy, people can turn off the switch when the room is bright enough.