| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This will control some motor, light detector, a USB camera to automate the house.
If you want a simple system all build already use: https://github.com/ccrisan/motioneyeos I did that because I was bored and I wanted to control more than just the camera.
Motors: In the morning (light), Open the blind.
Front of the house : (using movement detector to trigger) On movement in the front take a picture/Record a video
Door Camera + Led lighting: On Movement next to the door Take a picture/Video & Open the Led light / (Text picture ?).
Data management: When the info is save to a folder, synch the folder to S3 or GDrive or ??? If a Connection to Bluetooth deactivate the system or part of it. Make analysis on the file like:
Note: Remember this is an ARM V8 processor on Raspberry PI3-B, so node will install, but not the package to read the pin. From a fresh install of Pi I was able to make it run with:
With distro of Ubuntu 16.04 At reboot I had a "U-Boot" loop. Fixed with: https://raspberrypi.stackexchange.com/questions/61342/raspberry-pi-3-ubuntu-16-04-server-upgrade-error. But now I use Raspian.
I will use the Command line with:
Note: Using Motion can burn a SD card since it Write a lot. RP4 with Ram is way better. install motion: $ apt-get install motion Go into the config: /etc/motion/motion.conf Change the Path of the output to be the same as the AWS sync folder. My current cheep camera setting (lot of vegetation in the front):
Initial design was to use pi-gpui or rpi-gpio to control the GPIO pins, but that was harder than expected since it failed to work and also need SUDO to run and that is bad practice to run Node as sudo. So I ended-up using wiringPi as childProcess. Trying to use "fswebcam" to capture the frame, but I needed to discard the first few frames so the camera adjust the brightness. So a lot of time waisted between frames. So I decided to use "Motion" https://motion-project.github.io/ and it was way simpler to setup and use. (so now I dont need my motion sensor anymore, except for the door).
| Back | FazBrowse Home | New Git URL |