Setting up a camera

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"

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

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?

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

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?

If you can find out the mpeg or rtsp URL for your camera you can get real time video.

1 Like

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?

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

RP3, Hass.io
If i got you correct
How can I make low resolution?

On you camera I don’t know, on my (xiaomi) I edit rtsp script file and set resolution there

I thought it is possible to do trough HA
Got it, thank you

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

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