@sendorm Could you help me how to make mijia 1080p with black backing firmware ver 3.5.8_0188 work with hassio???
Thanks
Try this page:
Hi.
You are well done.
I repeated everything and everything works for me. But … there are a few management questions.
Is the Smart Cat Eye working with the Gateway? Any or only some? And is it possible to save videos to a nas maybe or use different cloud then china?
Anybody is using this?
https://speedupcloud.co/
Hello everybody!
I made it!
I have an Aqara Hub camera lumi.camera.aq1 and HomeAssistant server in Docker on Debian PC.
Until this day, the attempts were unsuccessful, but I carefully studied this thread and did not give up.
Here is what has been done:
I connected via ssh to a server with hassio.
All attempts with python and miio have failed.
I don’t have a RaspberryPi so I used this image by @hal9000: Docker Hub
I received the token and IP in the MiHome by vevs app (just tap rename on my cam).
Following the instructions, I entered the command in the terminal:
docker pull humpedli/docker-xiaomi-aqara-rtsp
Waited for it to download.
Then I entered one long command:
(you need to replace ** with your numbers)
docker run --name xiaomi-aqara-rtsp\
--restart=always \
-e IP=192.168.**.*** \
-e TOKEN=****************************** \
-p 8554:8554 \
-d humpedli/docker-xiaomi-aqara-rtsp
After that, I received a long token in response.
Checked status:
docker log xiaomi-aqara-rtsp
I received the following answer (replaced some numbers with **):
Starting proxy...
Starting RTSP server on "rtsp://172.17.*.*:8554/"
(Using port 80 for optional RTSP-over-HTTP tunneling.)
[P2P client] starting...
IOTC_Initialize2...
IOTC_Connect_ByUID_Parallel...SID:0
avClientStart2... userName: admin passWord: ***********
avClientStart2 mAvIndex=0
startIOTC video ret=0
startIOTC audio ret=0
[P2P client] running
[ReceiveVideo] Running
[ReceiveAudio] Running
I tried to open the stream in VLC and IP cam viewer, but it didn’t work.
Then I opened Home Assistant and simply added this stream to the config:
camera:
platform: ffmpeg
input: -rtsp_transport tcp -i rtsp://172.17.*.*:8554
name: Aqara Hub Cam
And I created a card in ui-lovelace:
-type: picture-entity
entity: camera.aqara_hub_cam
camera_view: live
show_state: false
show_name: false
After restarting home assistant, I saw a stream in the card !!
Huge thanks to the creator of this docker video2proxy image - @hal9000!
glad i could help. credit really goes to humpedli, coldcue and miguelangel-nubla/videoP2Proxy for their hard work.
What is the camera firmware?
Hi,
Does anyone have a working docker image today?
At the moment there is a bug that no one has fixed on github
python3 -c "import miio;result = miio.device.Device('192.168.1.198', 'xxxxxxxxxxxxxxxxxxxxxxxxxx').send('get_ipcprop', ['all']);print(result['p2p_id']);"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: list indices must be integers or slices, not str