barkdetect is a Raspberry Pi based project to put a dog on Twitter. See http://henrywconklin.github.io/projects/2015/08/17/oliver-twitter.html for details.
Clone this repository into your home directory
git clone https://github.com/HenryWConklin/barkdetect
If you do not clone into your home directory, or don't use the default user (pi) you will need to change some paths. Do a
grep "/home/pi/barkdetect" * and change the matches to point to the barkdetect folder.
If you follow the instructions here, you do not need to follow the above instruction.
Move into the new barkdetect directory and run the install script
This will download and install all the requirements and set up the cron jobs.
Reboot, and all the appropriate scripts should begin running in the background. Make sure your microphone is plugged in at startup or the recording script will crash. If it does crash, either restart the system, or restart the script with
If you do not have a twitter account you want to use go to Twitter and create one.
Then, create a twitter application. Fill out the form and get your:
- Consumer Key
- Consumer Secret
- Access Token
- Access Token Secret
Copy over the example config file
cp private.conf.example private.conf
and copy all the appropriate values in.
./post.py to do a test post