An alarm clock written in go. Plays spotify, reads out the weather and calendar events.
$ make deploy
$ ssh waker
j@waker$ sudo systemctl stop gowaker
j@waker$ make pi
j@waker$ sudo systemctl start gowaker
See scripts/README.md for instructions on installing the systemd service.
rm waker.db
curl -X POST localhost:8080/alarms -d '{"time":{"hour":9,"minute":52},"repeat":false}'
curl -X POST localhost:8080/alarms -d '{"time":{"hour":9,"minute":52},"repeat":true,"days":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]}'
curl -X GET localhost:8080/alarms
curl -X GET localhost:8080/spotify/playlists
curl -X PUT localhost:8080/spotify/default_playlist -d '{"id":"3gMssemWp3VtdwMoZYSPc4"}'