Slightly off-topic for Pimatic, but as my project integrates with Pimatic I am taking my chances
Last week I developed a Smart Alarm clock based on NodeJS. The app currently runs as a webservice on a RasPi with 7" Touchscreen and USB speaker. Project available at: https://github.com/SenTzu01/alarm-clock .
The backend is mostly done:
- Runs a webservice
- Exposes a REST API allowing to
- Retrieve and Update a weekly alarm clock schedule
- Activate and Stop the alarm (e.g. start/stop playback)
- Retrieve general config on the application
- Activates the alarm on the device at scheduled time (no need to trigger from front-end)
- Plays MP3 / internet radio streams at scheduled (wake-up) time via MPlayer, increasing volume based on config over set time
- Can trigger Pimatic via Pimatic’s REST API
- Is configurable through JSON config file
Now here is my challenge: I can somewhat develop back ends, but I am an epic n00b when it comes to web front-end / UI /UX dev.
Is there anyone with skills in this area who would contribute by developing a web front-end which interfaces with the REST API, so the alarm can be Stopped in the morning, and configured through any browser on the local network?
I am thinking of an interface:
- Accesses back end via REST API
- Main page with current time and button to config page
- Including a big STOP button when the alarm goes off, so sleepy me can easily hit it in the morning
- Has a config button/tab for the weekdays to set alarms (time, enabled, resource to play back)
- Visual appeal (e.g. @koffienl 's web front-end to Pimatic)
- UPDATE: https://community.home-assistant.io/t/lovelace-alarm-clock/67354 is a nice visual too!
If the project is successful, I would plan to release it to the Pimatic community so they can have a smart alarm integrating with a Smart Home!
Thanks in advance if anyone could contribute!