Argo
(Argo)
May 23, 2018, 11:42am
1
Hey everyone. I have bought a camera (hiwatch ds i114w), got it working on local IP, then used platform genetic and failed. What am I doing wrong?
camera:
- platform: generic
still_image_url: http://192.168.1.90/
username: "blabla"
password: "blabla12345"
tom_l
May 23, 2018, 12:13pm
2
Your URL is not complete. Try this:
camera:
- platform: generic
still_image_url: http://192.168.1.90/Streaming/channels/1/picture
username: "blabla"
password: "blabla12345"
I dont speak Russian so this was all I could find.
1 Like
Argo
(Argo)
May 23, 2018, 12:43pm
3
Wow! It worked! Could you tell me where did you find that? I am so grateful!
Ok, one more question now. The image is updating every 10 sec, is it ok? Is it fixable?
tom_l
May 23, 2018, 12:47pm
4
Found the camera url here https://ipcamtalk.com/threads/get-still-image-through-url-from-hikvision-nvr-solved.6279/
If you click on the camera window it should open up a window that updates more frequently.
1 Like
Argo
(Argo)
May 23, 2018, 1:56pm
5
Thank you again. And dont you know if all cameras in HA would work like that? I will just get an image per two seconds? Or for example by using Amcrest IP Cameras, which are 100% suitable, I will get nonstop image?
tom_l
May 23, 2018, 2:48pm
6
If you can find out the mpeg or rtsp URL for your camera you can get real time video.
1 Like
Argo
(Argo)
May 23, 2018, 3:51pm
7
Here is what I got with rtsp
It is trying to be real time video, but again it shows few images than stops for 2-5 seconds, then again. Tried with 2 cameras (optimus and hiwatch), first one is connected trough LAN, second one trough wi-fi. What can help to get good video?
g0g0
May 23, 2018, 3:56pm
8
On what host you run HA?
With RPi3 I can get fluent video only in very low resolution like 640x360, on high resolution I get same result one image per 10 seconds and bad picture like in your screenshot
Argo
(Argo)
May 23, 2018, 3:59pm
9
RP3, Hass.io
If i got you correct
How can I make low resolution?
g0g0
May 23, 2018, 4:08pm
10
On you camera I don’t know, on my (xiaomi) I edit rtsp script file and set resolution there
Argo
(Argo)
May 23, 2018, 4:14pm
11
I thought it is possible to do trough HA
Got it, thank you
g0g0
May 23, 2018, 4:20pm
12
It’s the point of camera providing low quality stream so RPi3 can handle it,
you can change resolution in HA:
camera:
- platform: ffmpeg
input: -i rtsp://0.0.0.0/blabla -vf scale=640:360
but like this image processing will done on RPi3 and still will be slow,
if your camera has web interface like HIK cameras, you can change there
1 Like
What about xiaomi’s cameras? Is there a possibility to display them on ha
g0g0
May 23, 2018, 4:51pm
14
Some Xiaomi cameras have alternative firmware which enables RTSP/MJPEG stream but then you cant use MiHome app simultaneously,
Firmware is on SD card, while SD card in camera you can use in HA, but not in MiHome, and while SD out you can use in MiHome but not HA
g0g0:
Some Xiaomi cameras have alternative firmware which enables RTSP/MJPEG stream but then you cant use MiHome app simultaneously,
Firmware is on SD card, while SD card in camera you can use in HA, but not in MiHome, and while SD out you can use in MiHome but not HA
Yes, I read about it. I thought there was something easier