3 Ways to add EUFY Cameras (HOME ASSISTANT)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in today's video we're gonna be having a look at three different ways to get your uf cameras into home assistant check it out [Music] what's going on guys i hope you're all doing well in the previous video i showed you three different ways of adding your rio link cameras into home assistant now ever since creating that video i've had a lot of requests for the same thing but for you fee cameras is that how we say it ify yuffie uefi yuffie but yeah from this point on in the video i'm gonna be saying yuffie but if you say it differently or there actually is a correct pronunciation then let me know in the comments below and moving on from that if you are a youth user and also a home assistant user then you'll know it has always been challenging getting the two to work and play nicely together and actually get your cameras from ufe into home assistant as well as your sensors and all the other bits of data now two things to point out here first of all that is still a challenge and at the time of recording this video there currently isn't any kind of official uf integration or any kind of other third-party magical integration or add-on that just makes it all work and play nicely together there are however a few wizards and geniuses within our community that are currently working on some very promising integrations and add-ons that might allow this to all work seamlessly in the future and we're going to be taking a look at two of those in this video and the second thing that i want to just point out and highlight is these projects and integrations are still a work in progress so if you don't come into it with the mindset of it's all just going to work perfectly and be flawless and shiny and polished then you're not going to be let down but a massive thank you to the guys that are creating these integrations and projects you're doing an awesome job i'll have links to all of those projects in the description below so feel free to check those out if you want to read up on it a bit more so we're going to be having a look at three different methods and we'll be starting with the simplest but with each progressive method it's not going to get more difficult but there are going to be more steps involved in order to actually get the integrations or add-ons up and running also just to mention not all youth cameras are compatible with each method but i'll let you know which cameras i'm using and i'll also try and let you know which cameras are compatible with each method and as always this video will be chaptered so if you've got a particular camera or a particular step that you want to follow then they'll be linked in the chapters below let's kick this thing off then and we'll start with rtsp for this method and in fact for all of the methods i'm going to be assuming that you've got your cameras set up and linked with the uefi app and for this first method we're going to be making use of one of these which is the solo indoor p24 camera the p24 is the more expensive version of riolink's ptz camera it offers 2k resolution as opposed to the 1080p found on the p22 model and the key factor that we care about is this bottom one here where it has rtsp in the storage i did have a look online and also through yufi's website to try and find a definitive list of cameras that support rtsp but i couldn't find one so the actual easiest way for you to identify if your camera supports this or not is to just open up the storage options and if you see nas and then rtsp then you'll be good to go and if you don't then your camera doesn't support rtsp to actually get the rtsp stream for our camera we're going to first need to open up the uefi app and from here you're going to want to choose the camera that you want to stream and then select settings in the settings you'll see an option for storage and under storage you should see nas and rtsp and then you're just going to want to turn this on with that turned on you'll then just need to run through some of the on-screen setup steps which will include things like setting a static ip address for your camera setting the optional recording mode so if you want it to be events or continuous and then finally optionally set in some security settings so this will be whether you want to require a username and password in order to access the stream once you've completed that you should be able to see all the rtsp settings for your camera and within those settings you'll see a url that your camera can be accessed from we can then take that url and head over to home assistant and from here we can add that camera to our dashboard to add the camera to my dashboard i'm going to be making use of a custom component called webrtc camera i'm not going to be going through the setup and install of webrtc camera but if you want it is available on hacks and i did actually cover the setup and install in that previous rear link video so you could go and check that out all we're then going to do is just add a new card to the dashboard so i'm going to choose add card and then webrtc and in here i'm just going to set the url to be the rtsp stream for my camera and once i've done that i can just hit save and i can now see that camera stream on my dashboard and you can do all the usual camera stuff like make it full screen now obviously i've chose to use webrtc here but you can add this however you want as you've got that stream url as i mentioned in the previous video there's a whole bunch of different ways to add rtsp streams into home assistant but this one happens to be my preferred one if you've got one that's different to this that's your preferred method then let me know in the comments below next up is the ufe home assistant mqtt bridge if you saw my video on yuffie's wireless 2k doorbell then you'll assume that i've covered this add-on before this add-on supports a wide range of different ufe devices and i'll have this page linked in the description below if you want to go and check out if your device is supported this add-on is going to allow us to access various bits of information from our camera such as motion detection person detection getting the last thumbnail and if it supports a battery then the battery status of that device the bridge takes those bits of information and passes it through mqtt into home assistant and we end up with something like this so this is my wireless front doorbell and i can see various entities for it all of these entities can be used within home assistant automations so things like the image of the last event the battery level of the camera and also if there's any motion being detected and here's one for that ptz camera that we just added through rtsp so we can see it's got a few different entities compared to the doorbell with this one i've also got an image of the last event that occurred but i've also got detectors for things like sounds pets and crying okay then to get started with the bridge you are going to need to have an mqtt broker set up and work in now i'm not going to be going through the process of setting up and installing a broker in this video but i have covered it in previous videos if you wanted to check that out but if you do have a broker set up and installed then you're going to be good to carry on so the first thing we're going to want to do is head over to the add-on store and from here we're going to need to add a new add-on so in the top right we're going to click the three dots and then we're going to click repositories and in this ad section here we're going to need to enter the url for the add-on now i'll have this in the description below so feel free to go and grab it from there and just paste it in here and once you've pasted that in you're going to want to just hit add and you should see that appear in your list there and if we close out of here now we should see these new repositories which are available here and now i should also see the uefi home assistant mqtt bridge now that we've got the repo added we're going to just need to add the add-on so we're just going to select it there and then from the list here we're going to just choose install and then we're just going to give that a minute to do its thing the bridge currently doesn't support two-factor authentication so in order to get around this we're gonna need to set up a second account and we're gonna need to share our cameras and devices from our main account with this secondary account and with the secondary account make sure you don't enable two-factor authentication now it's up to you if you want to carry on with this method or not but i should also just highlight here you are going to be giving a second account access to your camera feeds and the second account doesn't have two-factor authentication so whatever password you set on that account you're going to want to make sure it's as strong as possible if you are carrying on with this method there's going to be a few changes that you need to make here so you're going to need to enter the username and password for your secondary youth account so this will be the one that you've just created without two-factor authentication below that then you're going to need to set the url for your mqtt broker and you're also going to need to provide a username and password that can actually access your broker and if you've got all of those things you're going to want to just hit that save button you're then going to want to jump back to the info tab of the add-on and you're going to click the start button from here if we just open up the log at the top there we should see that the information starts populating in the log we shouldn't see any errors in this log and if we scroll down we should see any devices that we have start getting discovered if we now come out of here and head into configuration and then integrations we should be able to see our broker's now got more items in it so if you saw those messages in your log you should be able to see them in your broker so i can see there mine's gone up to six from two so if i select that i can now see all of those ufe devices so i can see the back doorbell i can see the bathroom sensor i can see the front doorbell and i can also see that kitchen camera which we added again in the rtsp i've just gone ahead and ordered that list by manufacturer just to make it a bit clearer to see what's going on so you can see there those top two of the doorbells and we can actually see the battery status for those and i've actually got this top front doorbell one on my desk charger now so let's select that one and have a look at what we can see as i pointed out we can see the battery level for it we can see if the doorbell is being pressed or when it was last pressed we've got a little image there of the last event so any kind of event is going to take a picture on the camera and then we'll be able to see that there then we've also got motion detection and person detection i've got that front doorbell face down on the desk in front of me so when i pick it up we should be able to see how quickly those entities actually react so what i'm actually expecting to happen here is that when i pick up that doorbell the person detection should kick in and the sensor is going to turn on for about five seconds and then turn back off i should also get a new image based on what the camera can see now the reason it only stays on for five seconds is because we're just making use of the default configuration and in the default configuration it has this value of off delay and that's currently set to five which is five seconds so if when a person or motion's detected you wanted the sensor to stay on longer you just need to update that little number there let's give the test a go then so i'm going to pick up the doorbell now i'm giving it a little wave and i can hear the camera clicking in and that light should light up to say that the camera's sort of spotted something so it's lit up and i can see there that the motion the person detection is kicked in now this image won't update here so i'd have to refresh the browser for it to actually display a new image there but if i click it i should hopefully have an image of my face and based on this lovely image we're going to say that that was a success now the person detection wasn't the quickest there was a couple of seconds delay there but it probably is quick enough if you want to just use it to run a quick script or an automation the actual quality of the image isn't the best but if you're familiar with these doorbells then you'll know that this is just the little thumbnail it uses when it's actually capturing some information about a person to actually do the identification on and they're never usually the best quality but you can see that it's a person and this image is going to be more than fine if you're passing this to a phone as a notification to say that someone was spotted or something like that the other sensors do also work and they have roughly that same delay as the person detection the only one that i've had a bit of an issue with is the battery level so the battery level seems to report either lower or higher than what's actually available and i don't know if this just reports less often than the other sensors but it just seems to be a bit off and while we're on the topic of batteries if you're making use of this add-on and you're using the battery-powered doorbells like i am you're going to notice a significant drain on your batteries just from this add-on to help with the battery drain you can adjust some of the settings within mqtt and also some of the settings within the ufe app in my experience of actually using this add-on it does affect the battery quite a lot so i'd probably say it lasts probably a week in a bit maybe two weeks as opposed to the 80 odd days if you're not using that add-on so it is a big diff but again it's up to you if you want to make use of this so as another quick test here i'm going to pick up the camera and also my phone so we can see i've got no notifications on there so if we wait to see the actual camera detect me as a person so that's changed on there and there's the phone notification and with that test you can see that the person detection within the add-on was actually quicker than the phone notification coming through and for all of you eagle-eyed viewers you may have also noticed that the battery level updated then so it seems that the battery level also changes when another event happens so that was a quick look at the mqtt bridge we can make use of that add-on to get information about our cameras and devices so we can get the sensors and we can also get the last image captured if you're not bothered about accessing your live feeds and those sensors give you enough information maybe you just want to know when the doorbell has been pressed in order to trigger an automation then this add-on is definitely worth a look and now let's move on to our final method and we're going to have a look at ufe security for this last method i'm not going to be running through a full setup and install just because there's a few different optional things that you can add and they'll differ for each person and besides which there's a very comprehensive guide available on the integrations github page this guide contains all of the information that you're going to need in order to get the uef security integration set up and installed just make sure you follow every single point if you do have any issues following that guide then the guys that are actually working on this project are super responsive and very helpful and if you would like to see me do a full video on this with a full set up and install then let me know in the comments below as i'm not running through the setup and install process for this method what i am going to do instead is just quickly run through some of the different things that you can do with this integration so some of the differences and some of the extra things that you get so straight off the bat once this is all set up and working you'll have access to all of those same devices that you did with the bridge but you'll also get access to a few extra ones so i can see straight away i've got access to the home base some of you these doorbells and cameras come with the home base which they link to the home base acts as like a mini nas and also as a speaker for an alarm and also your doorbell with this custom integration you actually get access to the home base and within the home base you can actually set the security mode on it and you can also arm and disarm it with this custom integration the battery levels seem to update much quicker and seem to be more accurate i haven't actually used this one long enough though to know how much of an effect it actually has on things like the battery powered doorbell however i would imagine it would be the same as the other one as you're adding extra functionality to your doorbell with this integration the devices and entities are added directly and there's no need to set up an mqtt broker you also get a couple of extra sensors so you can see things like if the doorbell is enabled and the wi-fi signal level and on top of that you get access to a whole bunch of different attributes that you can make use of about your device so let's have a look at those now so if i click the doorbell one there and then go to the settings you'll see this option here for attributes so i'm going to expand that and as i said you get access to a whole bunch of different attributes about your device and if you wanted to you could turn all of these into sensors in that list of attributes you'll find this one called picture url which will contain a url which will link to an image of the last event captured by your camera this is by no means the best test or the most scientific way of doing this but on the far left there we've got the mqtt bridge and then just here we've got the uefi security so i'm going to pick up the doorbell now and we'll see which one's person detection kicks in first so the person detection for mqtt is just here and the personal detection is just here for the uef security one so let's go ahead and pick the doorbell up so i picked it up let's give that a little wave if the camera wants to wake up and it's awake and there we go going back through the footage frame by frame the person detection on the bridge and the uefi security both actually kick in at the same time and both of them happen before the phone notification comes through and here's a look at our ptz camera within this integration so again i've got the same entities as before with a couple of extra ones but at the top here you'll see that i've got the camera and you can see the status is currently set to streaming rtsp and that's because i've got that rdsp stream on my home assistant dashboard in the bridge this top entity was just an image but within this integration it's not it's a full camera so if i click it i can see it's got an entity id of camera.kitchen and if i click the settings in the top right there i'll get access to the live feed for that camera so here our ptz camera we can see casper's bed again and as this is a camera entity you can do all of the usual camera entity related things like take a snapshot or take a recording i believe that that live stream is also supposed to work with the wireless doorbells but it currently hasn't worked for me so if you are making use of this and that has worked for you then let me know in the comments below or at least let me know what i'm doing wrong i know that you have to make use of the start and stop services for the streams but i have tried those things and it just hasn't worked for me so just to wrap up some of the key differences between this integration and the bridge add-on with this integration you're going to get access to a few extra entities and you're also going to be able to make use of all those different attributes that i showed you you're also going to be able to access live streams when and if it works and the other key one for the integration is it supports two-factor authentication so if you do use a secondary account you don't have to worry about it only being protected by a password and there we go that's been a look at three methods for getting ufe cameras into home assistant let me know in the comments below if you actually make use of any of these methods to get your cameras or any of the entities into home assistant if you've enjoyed this video don't forget to drop me a like and if you're not already hit that subscribe button and ding dong the notification bell you'll then be alerted to any future video that i do as always a massive thank you to these awesome dudes these awesome dudes my patrons they help support and fund the channel which allows me to keep creating content like this if you're interested in helping support and fund the channel and also becoming one of these awesome dudes then there'll be a link to my patreon in the description below but thank you for watching and i'll catch you in the next one cheers [Music] you
Info
Channel: Mark Watt Tech
Views: 99,339
Rating: undefined out of 5
Keywords: MarkWattTech, HomeAssistant, Hassio, Home Assistant, Smart Tech, Smart Home, Mark Watt, Automations, Home Asistant, eufy, integration, MQTT
Id: xrV_-3ygtAo
Channel Id: undefined
Length: 16min 52sec (1012 seconds)
Published: Thu Sep 30 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.