radio-alarm-clock-feature
#1
by
gsalmon
- opened
This PR introduces a functional radio alarm clock for Reachy Mini.
Key Features
- Webpage now includes a section to set the time and station for the alarm
- Reachy will go to sleep when the alarm is set and wake up when the time is reached
Technical Details
Two new files have been added
alarm_manager.py- Handles loading, saving, and checking the current time with the set time
alarm_settings.json- Stores the saved settings set in the webpage
Additionally, several files have been edited
reachy_mini_radio/static/index.html,/main.js, and/style.cssare updated to display the alarm containermain.py- The
run()method inReachyMiniRadiohas been updated to handle the alarm. get_alarm(),save_alarm(), and_handle_alarm()implement core alarm logic_handle_antenna_button()refactors the original antenna movement logic
- The
This is my first ever PR, very excited to be contributing!
gsalmon
changed pull request status to
open