Skip to content

maddyb99/sentry_home_py

Repository files navigation

Setting up Sentry Home

Our Hack:

  1. Install and set up raspbian on a raspberry pi device. Link
  2. Remove all unwanted software such as multiple IDEs, java, ruby, email client, emulators, etc and there dependencies.
  3. Clone this repository into a folder in Raspbian.
  4. Open the file sources.list (Ubuntu 19 sources) or sources18.list (Ubuntu 18 sources, not tested but should work) from the above repository and copy all the content.
  5. Open /etc/apt/sources.list as root and paste the copied content to the beginning of the file.
  6. Also uncomment the last line of the file in line 5.
  7. Run sudo apt-get update
  8. Run sudo apt-get source (kind of optional)
  9. Step 10 should upgrade python version to 3.7. If not, manually upgrade python to version 3.7 before step 10.
  10. Install python3-opencv and python3-numpy from apt as pip3 install for these modules doesn’t work on ARM architecture.
  11. Install/Update python-pip to version 3 (if required)
  12. Install the dependencies PiCamera, RPi.GPIO, firebase_admin and PyDub from pip3.
  13. Run sentry.py present in the repository just cloned.
  14. Set up VNC viewer to listen to cloud networks to make it truly wireless (Optional)
  15. Install the mobile app to control this remotely (Optional)

A Better Approach (only 7 steps):

  1. Install and set up Ubuntu 19.10 server on a raspberry pi device. Link
  2. Install Raspbian Camera Kernel Modules (Very Important Step. Can’t get this to work)
  3. Install/Update python to version 3.7 (if required)
  4. Install/Update python-pip to version 3 (if required)
  5. Install the dependencies PiCamera, RPi.GPIO, firebase_admin and PyDub from pip3.
  6. Install python3-opencv and python3-numpy from apt as pip3 install for these modules doesn’t work on ARM architecture.
  7. Clone this repository into a folder in Raspbian.
  8. Run sentry.py present in the repository just cloned.
  9. Set up VNC viewer to listen to cloud networks to make it truly wireless (Optional)
  10. Install the mobile app to control this remotely (Optional)