Skip to content

CLI helper for streaming Emotiv EEG data to pubnub or rabbitmq

License

Notifications You must be signed in to change notification settings

arppa99100/streamteam2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamteam2

CLI helper for streaming Emotiv EEG data to pubnub or rabbitmq

System level prereqs

Application level prereqs

  • Create and source the venv, and install the prereqs
git clone [email protected]:jamesbeedy/streamteam2.git
cd streamteam2
virtualenv -p python3 .stream
source .stream/bin/activate
pip install -r requirements.txt

RabbitMQ Config

Rabbitmq configs must be passed into the application by specifying a yaml file with rabbit creds defined.

#rabbit.yaml
username: jujuclient
password: 'somelongpassword'
host: 'rabbit-host'
port: 'rabbit-port'
vhost: 'rabbit-vhost'
queue: 'rabbit-queue'
exchange: 'rabbit-exchange'

Run Pub/Sub

  • Use the same config file to publish or subscribe
# to publish from an emotiv eeg
./main.py --publish configs rabbit.yaml
# to subscribe to the rabbit queue
./main.py --subscrribe configs rabbit.yaml

Status: WIP

Copyright

About

CLI helper for streaming Emotiv EEG data to pubnub or rabbitmq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages