Skip to content

Just a little alarm solution to make your raumfeld system wake you up.

Notifications You must be signed in to change notification settings

blaues0cke/RaumfeldAlarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raumfeld alarm clock

This is just a small script to make a raspberry pi or any other linux based system wake you up with some music. I am kinda lazy, so this script can only play reggae by default, you have to modify it on your own to play your own music.

Installation

Just unzip all the files to /usr/raumfeld/. To install the crontab, just type:

sudo sh /usr/raumfeld/install.sh

Or run this code (one line) to automatically download and install everything you need:

sudo mkdir /usr/raumfeld && sudo wget -O /usr/raumfeld/raumfeld.zip https://github.com/blaues0cke/RaumfeldAlarm/archive/master.zip && sudo unzip /usr/raumfeld/raumfeld.zip -d /usr/raumfeld && sudo cp -rf /usr/raumfeld/RaumfeldAlarm-master/* /usr/raumfeld && sudo rm -rf /usr/raumfeld/RaumfeldAlarm-master && sudo rm /usr/raumfeld/raumfeld.zip && sudo sh /usr/raumfeld/install.sh

Config

Please modify the /usr/raumfeld/config.cfg by entering the ip address of your host device.

Alarms

To set alarms, just modify /usr/raumfeld/crontab.sh. You can use the following parameters:

*     *     *     *     *  sh /usr/raumfeld/wake-up.sh
-     -     -     -     -
|     |     |     |     |
|     |     |     |     +----- Day of week (0 = sunday)
|     |     |     +----------- Month (1 - 12)
|     |     +----------------- Day (1 - 31)
|     +----------------------- Hour (0 - 23)
+----------------------------- Minute (0-59)

To make you changes take effect, just re-run the installation script.

About

Just a little alarm solution to make your raumfeld system wake you up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages