Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janwerder/raspberry-pi-alarm-clock
a WIP Alarm Clock
https://github.com/janwerder/raspberry-pi-alarm-clock
Last synced: about 1 month ago
JSON representation
a WIP Alarm Clock
- Host: GitHub
- URL: https://github.com/janwerder/raspberry-pi-alarm-clock
- Owner: JanWerder
- License: mit
- Created: 2015-01-10T20:44:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-08T20:16:19.000Z (almost 10 years ago)
- Last Synced: 2023-09-06T21:51:33.496Z (about 1 year ago)
- Language: CSS
- Homepage:
- Size: 480 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry-Pi-Alarm-Clock
![Logo](https://raw.githubusercontent.com/JanWerder/Raspberry-Pi-Alarm-Clock/master/Management%20interface/images/logo.png)
##Architecture concept
![](http://i.imgur.com/SnVPmfZ.png)
###Alarm checker
A php script that connects to the database and looks for alarms in the current minute###Alarm Storage
A MySQL Database that stores every alarm###Message Builder
A Java Commandline Application that build sentences for the Text-To-Speech via API (i.e. Weather)
It uses forecast.io for its JSON API, so you will need an API Key.
Configure the parameters for the linex in the config.properties in the src folder###Management Interface
A mobile friendly UI for creating and deleting the alarm##Installation
sudo apt-get update
sudo apt-get install php5
sudo apt-get install apache2
if the pi is connected via hdmi during the installation:
sudo amixer cset numid=3 1sudo apt-get install mpg123
sudo apt-get install mysql-server mysql-client php5-mysql
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
sudo nano /etc/php5/apache2/php.ini
add: extension=mysql.so
###PHP config
sudo nano /etc/sudoersadd: www-data ALL=(ALL) NOPASSWD: ALL
Sources:
http://danfountain.com/2013/03/raspberry-pi-text-to-speech/
http://razzpisampler.oreilly.com/ch07.html