3 SIMPLE DIY CAMERAS (HOME ASSISTANT)

  Рет қаралды 37,256

Mark Watt Tech

Mark Watt Tech

Күн бұрын

In todays video we are having a look at how to create 3 simple
Home Assistant cameras using webcams and Raspberry Pi's. This is a very simple implementation and focuses on just getting the live streams into Home Assistant.
Motion detection and more can be added and I will come back to this in a future video.
▬ 🎥 VIDEO CHAPTERS: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
0:00​​​​ - Intro
0:15​​​ - Methods we are looking at
0:47 - Other Options
1:08 - METHOD 1(USB WEBCAM)
9:00 - Add Webcam to HA Dashboard
10:22 - METHOD 2 (Pi Zero Webcam Server)
13:10 - Webcam Server Commands (For Method 2 and 3)
15:45 - Adding Pi Zero Camera to Dashboard
17:31 - METHOD 3 (Pi Camera with Pi3)
18:13 - Pi Camera Commands
19:15 - Pi Camera Demo
19:40 - Add Pi Camera to HA
20:20 - Summary
21:24 - Outro
------------------------------
🙏Support my Channel - Become a PATRON🙏
Consider supporting the channel by becoming a Patron. Any and all funds go into creating new content and bigger projects.
► / markwatttech
▬ COMMANDS (In Order of Use) ▬▬▬▬▬▬▬▬▬▬
1) sudo apt-get update
2) sudo apt-get upgrade
3) sudo apt install autoconf automake build-essential pkgconf libtool git libzip-dev libjpeg-dev gettext libmicrohttpd-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev default-libmysqlclient-dev libpq-dev libsqlite3-dev libwebp-dev
(Step 4 can be grabbed from my Gist - KZbin is shortening the URL of the command)
4) gist.github.com/MarkWattTech/...
5) sudo dpkg -i pi_buster_motion_4.3.1-1_armhf.deb
6) sudo nano /etc/motion/motion.conf
7) sudo nano /etc/default/motion
8) sudo reboot
Pi Camera (Use above and then the following)
1) sudo raspi-config
2) sudo modprobe bcm2835-v4l2
3) sudo reboot
▬ MY BLOG POST ▬▬▬▬▬▬▬▬▬▬
Ooops! Not yet Finished! I will update this when done sorry!
▬ Everything You Will Need For This Project ▬▬▬▬▬▬▬▬▬▬
Raspberry Pi Zero
amzn.to/3j1Ya1s
Raspberry Pi 3
amzn.to/2UDO25C
SD Card
amzn.to/3j3o9Fx
Pi Power Supply
amzn.to/3sz9d5p
Logitech C270
amzn.to/3AWKElK
PuTTy
www.chiark.greenend.org.uk/~s...
Raspberry Pi Imager
www.raspberrypi.org/software/
Some of the above links may be affiliate links. Meaning I will get a small commission from the sale. It costs you nothing extra but helps my channel out.
▬ MY CAMERA REVIEWS ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
REOLINK ARGUS PRO 3
• REOLINK ARGUS 3 PRO (U...
REOLINK E1 ZOOM
• Reolink E1 Zoom SETUP ...
REOLINK E1 ZOOM (Home Assistant Integration)
• Reolink E1 Zoom HA Int...
____________________________________________________________
📣FOLLOW ME ON SOCIAL MEDIA📣
Follow me on all of the places for exclusive insights and updates:
👤 Facebook: / markwatttech
👤 FB Group: / 2963936147172102
📸 Instagram: / markwatttech
🐦 Twitter: / markwatttech
► MarkWattTech Sub Reddit :
/ markwatttech
▬ Buy Me a Coffee ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
☕ Found my content helpful?
Any and all funds will go towards helping improve future content.
Plus there are an extra few perks to becoming a member.
☕ If your interested check it out :
► Buy Me a Coffee:
www.buymeacoffee.com/MarkWatt...
------------------------------
🎵 Track Info:
Title: All That
Royalty free from : www.bensound.com/royalty-free...
------------------------------
#pi​​​​ #webcam​​​​ #homeassistant

Пікірлер: 69
@iainhay2823
@iainhay2823 2 жыл бұрын
Always good to see another video mark👍 Waiting for my zemismart blind motors to arrive at the moment, your videos tend to lead to me spending money😂
@makeitworktech
@makeitworktech 2 жыл бұрын
Dude awesome! Getting an Rpi soon so I'll be testing soon! Great video
@LincolnBerryIII
@LincolnBerryIII 2 жыл бұрын
Bro...I have spent weeks trying to figure out the best configuration to integrate my webcam into Home Assistant, and you just gave me three solutions in just over 20 minutes!
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Hope they are useful :)
@LincolnBerryIII
@LincolnBerryIII 2 жыл бұрын
@@MarkWattTech They were! I used method #2, except with an Asus "Chromebox" instead of the Rapsberry Pi.
@tseawell90
@tseawell90 2 жыл бұрын
If anyone makes a raspi camera, I highly recommend RPi Cam Web Interface. I've experimented with many camera projects and this is by far the best one.
@ustoopia
@ustoopia Жыл бұрын
This video made it really easy for me to configure a USB webcam on my virtualized HomeAssistant. So thanks for that! The only thing I haven't been able to figure out is how to add more than one USB camera's to MotionOS. 😞
@mattrt12
@mattrt12 Жыл бұрын
Hi Mark, another great video. Be interesting to have a video with how you can create an automation linked to a motion detector sensor to trigger the camera to record or something 🙂
@MarkWattTech
@MarkWattTech Жыл бұрын
I have something very similar planned for my smart postbox project. Opening the box records a video/takes a snap
@shubano
@shubano Жыл бұрын
Great video, thanks a lot. Just one question: what about a raspi camera directly connect in the raspi that have the home assistant OS?
@rushilgumasana
@rushilgumasana Жыл бұрын
Mark you should do a video on object detection and face recognition 🙏🙏🙏
@My427Cobra
@My427Cobra 2 жыл бұрын
Was able to use your instructions as the basis for the install under RaspbiOS 64-bit and motion 4.3.2-1 for arm64. Thank you again for putting these videos together. BTW, why not concatenate commands to a single line: sudo apt update && sudo apt upgrade -y
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Glad it was helpful :) it was more to just show all of the steps. The original 43 minute cut of the video showed every single command being run 🤪
@lifeai1889
@lifeai1889 Жыл бұрын
The esp32cam is not included?
@irelandshane1984
@irelandshane1984 2 жыл бұрын
Motion Eye +1 👍🏼
@sarthakvarshney
@sarthakvarshney 2 жыл бұрын
Lovely simple sweet working video. Thanks
@pino5906
@pino5906 2 жыл бұрын
Hi! in case number 3 what type of installation do you use for Home Assistant? Core, HassOS or Docker?
@MarkWattTech
@MarkWattTech 2 жыл бұрын
For this video it was HassOS running on a Proxmox VM
@pino5906
@pino5906 2 жыл бұрын
@@MarkWattTech OK so you're using a Proxmox for HA interface and a pi3 for the camera, right? is it possible to control both from the same raspberry? thank you for the reply
@CerebralDad
@CerebralDad 2 жыл бұрын
ctrl-shift-x===== BRILLANT!
@CraigMullins1
@CraigMullins1 2 жыл бұрын
yes motion eye stuff. what happens when you have to many services on one pi? how do we add a second pi?
@CrypticConsole
@CrypticConsole 2 жыл бұрын
You can use kubernetes, docker swarm or some other cluster solutions to get more redundancy and performance.
@RiaanBoden
@RiaanBoden 2 жыл бұрын
Hi Mark. Thanks for another great video. I don't know if I just don't know what I am doing. Trying to install MotionEye on a Pi Zero but cannot get step 4 working. Tried all kinds of Ninja tricks to get the full url but it keep getting ERROR 404.
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Heya :) I will double check later but it may be the KZbin link shortening. You may need to grab the full url
@RiaanBoden
@RiaanBoden 2 жыл бұрын
@@MarkWattTech Yeah that was the problem. I thought I had the full one when I initially sent the message but I guess I missed a part of it. It is working now
@jproveta
@jproveta 2 жыл бұрын
Hey Mark, can I user that USB Cam with Frigate ? Thanks.
@MarkWattTech
@MarkWattTech 2 жыл бұрын
I haven’t tried but I think it is accessible yes :)
@xPorkchops007x
@xPorkchops007x 15 күн бұрын
Unfortunately does not seem to be working on Bookworm, with a pi zero 2w and generic pi cam
@salta199
@salta199 3 ай бұрын
HI. Is it possible to activate the Pi camera on the Raspberry pi4 where the home assistant is installed? I tried but I can't make the Pi CAM work on my Raspberry with home assistant. could you give me some help? A thousand thanks
@itsmyview2024
@itsmyview2024 2 жыл бұрын
you will need to run raspi-config to enable the camera interface or no video. also stream-maxrate does not exist in the .conf file
@itsmyview2024
@itsmyview2024 2 жыл бұрын
this was related to the first camera part. the second camera you do mention rasp-config
@MarkWattTech
@MarkWattTech 2 жыл бұрын
For method one of just connecting to the Pi via usb camera? (I did film all of the commands but cut them out as the uncut version is nearly 45mins long). Only the Pi Camera needs to run rasp-config.
@osdmontu
@osdmontu 2 жыл бұрын
have you used Frigate? I think it's better ... what do you think?
@MarkWattTech
@MarkWattTech 2 жыл бұрын
I have some Frigate content planned :)
@geidorei
@geidorei 2 жыл бұрын
Hi Mark - brill vid btw, but I have a possibly a stupid question.... Can you install a Pi camera onto the Pi running HA?
@MarkWattTech
@MarkWattTech 2 жыл бұрын
You can yes and there was an integration (but it was broken at the time of this video).
@geidorei
@geidorei 2 жыл бұрын
HI again Matt - if the integration is working again any chance you can do a video? Not much useful info out there on how to get the Pi camera working on the Pi running HA - the documentation it useless!
@MarkWattTech
@MarkWattTech 2 жыл бұрын
@@geidorei I’ll look into it :) I was going to do a similar video with some other webcams so watch the space 👀. Also, it’s Mark! 🤣
@geidorei
@geidorei 2 жыл бұрын
Lol thanks 'Mark'
@alienxgaming5796
@alienxgaming5796 2 жыл бұрын
How add a Bluetooth speaker to raberrypi home assistant any ideas or article about that ??
@davidtomic1010
@davidtomic1010 10 ай бұрын
Hey Mark, integration asks me for URL, what url should I use? Also if it's streaming url, it just won't work. It's my.domain:6666 for me but it's not loading up. Please help!
@fauzifauzi2129
@fauzifauzi2129 2 жыл бұрын
Please do videos explaining adding cameras from another home assitant instance
@MarkWattTech
@MarkWattTech 2 жыл бұрын
As in add a camera directly from that instance (e.g. the camera is plugged into the machine you are running HA on) ?
@fauzifauzi2129
@fauzifauzi2129 2 жыл бұрын
@@MarkWattTech the use case would be I have two separate location, like 2 homes each with home assistant, now how can I get access to video from my another HA to my main HA.?
@dudefromkeene
@dudefromkeene Жыл бұрын
Can you show the advance features?
@RonaldvandePas
@RonaldvandePas 2 жыл бұрын
Nice Video Maybe you can help me: (or anybody else) I got 2 motioneye Camera's (pi-zero and 3b) one at 192.....5 and the second .....6. Via the Eyemotion integration I've got both in my dashboard as different (correct) view but when I click on them I get the same camera view from the first camera instead of 2 different streams. All ideas are welcome. Thanks
@RiaanBoden
@RiaanBoden 2 жыл бұрын
Hi Ronald. How did you do step 4 on the pi zero. I cannot get it to work
@RonaldvandePas
@RonaldvandePas 2 жыл бұрын
@@RiaanBoden The link is shortned here
@itsmyview2024
@itsmyview2024 2 жыл бұрын
you will need to run raspi-config to enable the camera interface or no video. also stream-maxrate does not exist in the .conf file
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Think it's just the KZbin URL shortening breaking the link. I've added it to a Gist List if anyone else has the same issue :)
@mvenkatesan9937
@mvenkatesan9937 2 жыл бұрын
USB Web Camera steaming video is always delaying kindly provide the best solution
@TwanJaarsveld1
@TwanJaarsveld1 2 жыл бұрын
Motion eye asks me for a url, idk what url i should use
@davidtomic1010
@davidtomic1010 10 ай бұрын
Have you solved it? I couldn't do it
@TwanJaarsveld1
@TwanJaarsveld1 10 ай бұрын
@@davidtomic1010 i stoped using Motion Eye and got myself a Synology nas and used that for the camera's
@mrxmry3264
@mrxmry3264 2 жыл бұрын
hm, i wonder if the raspberry pi camera can be used as a peephole camera...
@MarkWattTech
@MarkWattTech 2 жыл бұрын
There will deffo be projects online for this :)
@zyghom
@zyghom 2 жыл бұрын
I started today to add pi zero camera - you must have known somehow - is my HA spying on me and you checking on me? ;-)
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Maybe 👀😂
@zyghom
@zyghom 2 жыл бұрын
@@MarkWattTech f..k, today mailbox came and my new shopping - ESP32-S2 are NOT compatible with ESPHome ;-( That is so old board yet still not in the stable branch, not even dev branch works... Shame
@mvenkatesan9937
@mvenkatesan9937 2 жыл бұрын
Hi, Mark My USB Camera steaming video is always delaying kindly advice
@MarkWattTech
@MarkWattTech 2 жыл бұрын
How have you got it setup? :)
@mvenkatesan9937
@mvenkatesan9937 2 жыл бұрын
@@MarkWattTech I am following your video setup by step after completion video is delaying
@CrypticConsole
@CrypticConsole 2 жыл бұрын
@@mvenkatesan9937 are you using USB 3 or usb 2
@mvenkatesan9937
@mvenkatesan9937 2 жыл бұрын
@@CrypticConsole Yes I tried all ports of my PI 4 video is always delaying please provide a best solution
@MarkWattTech
@MarkWattTech 2 жыл бұрын
What config are you using for the Camera? You may have the FPS / resolution to high/low
@user-np1go1vi5c
@user-np1go1vi5c 2 жыл бұрын
Why is there no supervisor in the lower left corner of my hash
@user-np1go1vi5c
@user-np1go1vi5c 2 жыл бұрын
Why is there no supervisor in the lower left corner of my hass
@MarkWattTech
@MarkWattTech 2 жыл бұрын
@@user-np1go1vi5c this is because you aren’t using The Home Assistant OS install
@user-np1go1vi5c
@user-np1go1vi5c 2 жыл бұрын
@@MarkWattTech Installed under docker 。Can I install the home assistant OS under docker
3 Ways To Add Reolink Cameras (HOME ASSISTANT)
10:27
Mark Watt Tech
Рет қаралды 76 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 70 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 15 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 123 МЛН
DIY Raspberry PI Surveillance System with MotionEyeOS
17:30
Novaspirit Tech
Рет қаралды 78 М.
Home Assistant Remote Access for FREE - DuckDNS + LetsEncrypt + Single URL
19:04
Everything Smart Home
Рет қаралды 268 М.
Boost your Security Camera Video in Home Assistant using WebRTC
6:52
Smart Home Junkie
Рет қаралды 91 М.
Home Assistant Dashboards for Beginners! (+ my favorite custom cards)
17:15
Raspberry Pi Zero is a PRO HQ webcam for less than $100!
11:59
Jeff Geerling
Рет қаралды 259 М.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Рет қаралды 1,6 МЛН
Compare and Integrate Indoor Pan Tilt Cameras into Home Assistant
12:29
Will Surridge Tech
Рет қаралды 19 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 870 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23