- NanoPI M1 512Mb RAM
- Sunny 5В microUSB 2,1A
- MicroSD card 16GB Class 10
- Photoresistor
- Wi-Fi adapter Ralink (optional)
- Speakers
Installed Debian GNU/Linux 8.6 (jessie)
(How to install)
Also you have to install:
mplayer
ALSA
espeak
aplay
Several shortcut commands available
make start // start service
make stop // stop service
make volume // run alsamixer to adjust volume
In order to run on startup add a root cron job.
To edit crontab jobs.
sudo crontab -e
# Run job on reboot, but with delay(to make sure that network is accesible).
@reboot sleep 60 && /home/liubko/music-in-the-shower/music-in-the-shower.sh