This small script was designed to control the light sources inside of the room (unfortunately the sunlight control is not supported, yet).
The core of SmartRoom© is the RaspberryPy PI 3. There are several buttons, motion sensor and light indicators connected to Raspberry. Raspberry by itself is connected to the Wi-Fi network, as well as the Smart LED Bulb.
Raspberry Py changes the state of the LED Bulb in one of specified scenarios by connecting to it using internal IP address.
- It is possible to turn the Bulb on using the
onOffManualBtn_gpio
button. - There is a PIR sensor
pirOnOffBtn_gpio
, that turns on light for 10 seconds.
- Add LED Strip
- Fix LED strip on the wall.
- Connect strip to Raspberry.
- Add management logic to Raspberry.
- Control light with Google Assistant (tutorial)