A Python script you can run while you're away to notify you if your dog barks.
To run the program, you must have PortAudio installed. They have great documentation on this process, check it out here.
Next, install Python's requirements (virtualenvwrapper is always recommended).
$ pip install -r requirements.txt
You will need a Firebase account and a OneSignal account if you wish to track your sessions and receive push notifications (respectively). For more information on setting these accounts up and retrieving your keys, check out the Firebase section and OneSignal section.
Additionally, there is a mobile app companion that registers your device for push notifications, allows you to view session details, and analyzes your dog's behavior.
There are a few configuations found in config.py
that are integral, including:
AMBIENT_DB
: the ambient noise level in your home (more on this in the calibration section)ONESIGNAL_KEY
ONESIGNAL_APP_ID
FIREBASE_URL
As well as some optional ones:
DEBUG
: this can be set to eitherTrue
orFalse
, it allows you to save data in Firebase to either a production or development environmentPUSH_TIMER
: the minimum number of minutes between push notifications, used for throttlingDOGNAME
: your sweet pooch's name
Once these things are set, you're ready to start tracking:
$ python tattletail.py
COMING SOON
COMING SOON
COMING SOON