In this technological age, people are considering programmable lighting for their homes and offices because of its many advantages. First,…