Skip to content

Javascript volume detector & motion detector for Bella, my puppy

Notifications You must be signed in to change notification settings

MinweiShen/NoBellaNo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No Bella No

sceenshot1 This is used to train Bella, my puppy. Bella barks when I am not with her, so annoying. I'd like to play an audio saying 'NO Bella!' when she barks because she is at least trained to understand 'No'. I use web audio apis and webrtc to build this. Also, a motion detector is implemented. It detects motion and take a screenshot. I haven't got an idea on how to use it to monitor Bella yet :)

How to use

  1. Git clone this project
  2. Go to the directory
  3. Use a web server to serve it. For example, python -m SimpleHTTPServer
  4. Open Firefox and go to 0.0.0.0:8000 (this may vary)
  5. Select audio file(s) you want to play when threshold meets, they are played randomly.
  6. Set volume and frequency thresholds. Notice frequency has 256 levels only.

Future work

  1. Use the motion detector wisely.
  2. Fix cross-browser issue. Currently it works only on Firefox.

About

Javascript volume detector & motion detector for Bella, my puppy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published