You beat me to the answer Good luck.
Sorry, i missed your message. Frankly spoken, Iām a complete zero in MIIO, sorry
How can I install this on hass.io? I have no ssh access to my Pi3 so cannot sudo install. I can install ffmpeg by creating a line in the configuation.yaml. How can I install Netifaces, python-miio (or are both allready installed with hass.io?) and how can I install videoP2Proxy?
Hope you can help and I can test it
Is there anybody who could put together a guide to set this up in hass.io? Ideally both as a camera and a gateway, seems like lots of people could do with the implementation. Thanks!
I think/hope someone has to make an add-on. Without that is isnāt possible yet.
How about just as a gateway? How hard would that be to implement?
+1 for at least a gateway for hassio
any news on this camera?
Come on people! What would it take to make this work either as a gateway or camera?
For those of you that are running Docker, I just put an image for Arm based systems, like Raspberry Pi on Docker Hub at Arm Docker xiaomi-aqara-rtsp.
If you are running a Linux environment, this guy is where I got the idea, Linux Docker xiaomi-aqara-rtsp.
Itās my first post to Docker Hub, so be gentle, but Iāll try to answer any questions about the install.
Thanks to miguelangel.nubla and sendorm for the inspiration.
With this, would it be possible to make it a add-on for hassio?
iām not terribly familiar with making hassio addons, it might be possible to make this work as hassio addon. right now the image is not generic enough, but iām working on it. give me a week or so and weāll see what i can do.
Any update on this?
puncake Iām still working on it is the short answer. Iām having trouble getting the Dockerfile to compile in the Hassio world.
Did anyone get success with gateway part of this device?
ok, got it to work. butā¦ Any idea how one can obtain the pass key needed for Home Assistant (HASS)? This should be a 16 character key
@Ozon1969
if you are using the plan laid out in post #113 or #134 then the home assistant config should look like thisā¦
in home assistant config:
camera:
- platform: ffmpeg
input: -rtsp_transport tcp -i rtsp://<DOCKER_MACHINE_IP>:8554/
the 16 digit token is needed to get the videop2proxy app to display video via rtsp. the posts above explain the process.
iāve written a tutorial to get the key in a repo iāve published for the docker container here.
Thanks for your reply.
I am however not yet on the path of getting the videop2proxy app to display the video at this point (will go that route later).
At this point I am trying to get the Aqara camera hub to work as a hub in HASS.io
Just like it works in the Middle Home app.
Using the cam that way I need the cameraās pass key. This is a 16 character key.
Since Xiaomi doesnāt support entering developer mode in itās Mi Home app anymore one canāt get the needed key in a simple wayā¦
I tried the hacked Mi Home app to get into the network settings and that worked. Partially, it gave me a 32 character Token, not the required keyā¦
I tried older versions of the Mi Home app, as suggested heren and in other topics, on my Android phone, tried several using Android emulators in Windows but had no luck. The apps keep crashing when setting the regional settings to mainland Chinaā¦
I would like the camera (and a few more if it works) to work as a hub for several sensors without the internet dependency to the China servers but it seems to be a dead end. I will keep looking a bit more but if all fails I will choose a different pass using a modified signed sniffer to be the hub of my door and windows sensors.
But if anyone has a working solution to helping me (and many more) out it would be a Christmas presentā¦
as far as i am aware no one has developed a method for using this device as a gateway in HASS. the HASS component documentation has a note about itā¦
Unsupported Devices
- Xiaomi Aqara Gateway (lumi.gateway.aqhm01), as it is not possible to activate dev mode in the Mi Home App.
iām not sure that the camera/gateway is that particular model number. the camera/gateway is definitively not the Xiaomi Mijia Gateway (lumi.gateway.v2, lumi.gateway.v3), which is supported by HASS natively.
the new MiHome app doesnāt support developer mode, but the old one used to. the camera/gateway did not support LAN mode even then.
if a device can go into LAN mode the developer menu in MiHome produces the key you need to talk to the device over your local LAN. old versions of MiHome should allow you to activate LAN mode on supported devices. maybe you could get a supported gateway to pair your window and door sensors to.
or iām using smartthings to pair all my xiaomi devices to. smartthings then uses mqtt to tell HASS whatās going on.
Iām sorry this is not the information you were looking for. i bought the camera/gateway for features you are after. unfortunately it hasnāt panned out. iāve made it work, though. just not ideally.