- Python version 3.7
- Tested with Windows and Linux
pip install -r SmartAlarm/requirements.py
- Min SDK version 21 (Android 5.0 Lollipop)
- Start the Android app (LightSensor)
- Allow requested permissions and enable bluetooth when asked
- Wait for SmartAlarm to connect (continue to step 2)
- Optionally just press the displayed button to start light sensor manually
- Start the Python app (SmartAlarm)
- Run
python SmartAlarm/simple_alarm.py - Input wanted wake-up time
- Run
- When alarm starts ringing, turn on the lights and keep them on for at least 30 seconds