WesternHacks project submission link
- Detects when user is about to fall asleep and makes adjustments to external environment
- Sends signal to Arduino to dim a light source
- Computer volume is gradually lowered
- Sends data to Rails API which is then consumed by Android application to make appropriate changes (i.e. decrease volume, play/pause music, toggle notifications)
- When user wakes up, settings are gradually reverted
- Muse SDK
- Arduino microcontroller
- Rails API
- Python server interpreting Muse data
- Android app
- install Muse IO
- clone repo
git clone https://github.com/ErnestWong/MuseDreams.git
cd
toMuseDreams
- run
./muse.bash
- run
python main.py
to start local server that listens for data from Muse
#Trouble Installing MuseIO? check out the Muse support page
Otherwise, here are some of the problems we ran into:
Downloading MuseIO
Pyliblo:
http://das.nasophon.de/pyliblo/
- Download Liblo first
- Navigate to Pyliblo directory
- type command "./setup.py build"
-troubleshooting: tidalcycles/Dirt#18
-install brew if not installed yet:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
4. type command ".setup.py install"
Liblo:
http://liblo.sourceforge.net/
download liblo 0.28
1. Navigate to Liblo directory in the terminal
2. type command "./configure"
3. type command "make install"