Can someone with the talent write a component for the below camera. I think it’s a viable alternative blink, Arlo, and nest. What do you guys think??
The challenging part with newer generations of the Yi cameras is that no one has reliably gotten RTSP streaming to work (which is needed for HA integration).
People are trying; some repos to keep your eye on:
thanks for the reply I decided to go with another camera and also use the old ones I had from ADT
Hi again – I have exciting news on this front: I’ve developed a HASS integration with the YI Home Cameras:
Unlike some hacks that force you to enable experimental RTSP streaming, yet lose the ability to use the official Yi app, this allows for both.
I’m waiting for some underlying library updates (and a lot more testing) before I publish, but I’m excited!
Hi…
I can help you with testing. If you can publish on how you achieved this .... i too have an yi dome camera and i wanted to integrate this with the Home assistant...
Will be happy to try it out as well, thanks for the effort
@shashank2685 @ohadbenita Great! Thanks for the offer. This has actually just been merged into the dev
branch, so it’s going out in 0.56.0! In the meantime, if you clone the HASS repository and install it from that dev
branch, you’ll be able to test it out. A beta of the documentation (including both configuration of the camera and configuration of HASS) can be found here: https://github.com/bachya/home-assistant.github.io/blob/6811a927ff97460d111339649c03ca8362e8da34/source/_components/camera.yi.markdown
I haven’t done this before yet, can you please let me know of a simple way to install the dev build on my other RPI ?
You bet – easiest way would be to clone the repository:
$ git clone https://github.com/home-assistant/home-assistant.git
…make sure dev
is checked out:
$ git checkout dev
…and install from there:
$ pip install .
Obviously, this will pollute the filesystem with all of HASS’s requirements; feel free to modify to fit a virtual environment as you see fit.
I’m actually using Hassbian currently
My thought was to install the same image I run now in my ‘production’ HASS to my testing HASS and make the necessary changes
One more Q though - is it safe to flash the new ROM and could I return to the official one if anything goes wrong ?
Ah, okay. I’m not a Hassbian or HassIO user, unfortunately; my route is for a vanilla Pi installation.
so? Can this one work and get image notify also with Yi Ants from xiaomi?
what config need to be add?
There is an active discussion on the Yi Ants here: https://github.com/shadow-1/yi-hack-v3/issues/25
It looks like there is a different alternate firmwares for these cameras:
- Xiaomi Yi Ants Camera: https://github.com/fritz-smh/yi-hack
- Xiaomi Yi Ants Camera 2: https://github.com/niclet/yi-hack-v2
Both of those firmwares support and FTP server, so once you install the appropriate one (I can’t tell you which, since I don’t have that particular camera; you’ll have to experiment), you should be able to follow my instructions above.
Thanks! but i do not see what is your config there, how do you get the notify from HA.
Thanks men!
The link in that post contains the forthcoming documentation, which details the configuration. There isn’t any sort of “notification” at the moment; this works like all other camera platforms in HASS.
HA 0.56 has the support included !
I’ll give it a go later today and report back, thanks for your hard work and time !
Anyone know if there is a way to get a notify with an image? like hikvision?
slightly off topic, but how do you get an image notification with hikvision?
I wonder if this component works with yi home camera 2, considering it has access via ftp?
If you can get an FTP server running on your camera, odds are that this platform will work. Would be curious to hear back from you!