HeimVision Cameras

Has anyone used HeimVision cameras with Home Assistant? If so, would you please share what integration did you use? Thanks,

Hopefully not too late, but I have some basic stuff I discovered. Iā€™m still looking for more, but a solid start. Note: I have six cameras attached to the one NVR. Hereā€™s my configuration.yaml setup:

camera:
  - platform: generic
    name: cam1
    still_image_url: http://[[NVR IP]]/cgi-bin/snapshot.cgi?chn=0&u=[[LOGIN]]&p=[[PASSWORD]]
  - platform: generic
    name: cam2
    still_image_url: http://[[NVR IP]]/cgi-bin/snapshot.cgi?chn=1&u=[[LOGIN]]&p=[[PASSWORD]]
  - platform: generic
    name: cam3
    still_image_url: http://[[NVR IP]]/cgi-bin/snapshot.cgi?chn=2&u=[[LOGIN]]&p=[[PASSWORD]]
  - platform: generic
    name: cam4
    still_image_url: http://[[NVR IP]]/cgi-bin/snapshot.cgi?chn=3&u=[[LOGIN]]&p=[[PASSWORD]]
  - platform: generic
    name: cam5
    still_image_url: http://[[NVR IP]]/cgi-bin/snapshot.cgi?chn=4&u=[[LOGIN]]&p=[[PASSWORD]]
  - platform: generic
    name: cam6
    still_image_url: http://[[NVR IP]]/cgi-bin/snapshot.cgi?chn=5&u=[[LOGIN]]&p=[[PASSWORD]]

Note: For some strange reason, in the above, channel 1 is listed as channel 0, 2 is 1, and so fourth. Just one more strangeness when it comes to HeimVision. I donā€™t get it; I just accept it.

It you one of the cams in your dashboard, it will refresh every ten seconds or so. However, if you touch/click into that card, it will refresh every two seconds or so. Not perfect, but a solid start.

Hereā€™s some more information on Generic Camera:

Iā€™m exploring additional options and have been dabbling a bit; it seems as though info is very limited. Iā€™ll followup if I have any luck.

2 Likes

Het Brandon, Thanks so much for posting this information it was very helpful. But I think you can do better with the Frigate addon/integration.

Hello, I have not gotten this to work. Where do you get the streamlink for your nvr? Thanks.

Each camera, at least on my system has its own link:

http://192.168.1.43/cgi-bin/snapshot.cgi?chn=0&u=admin&p=
           ā””static ip of NVR       channel# ā”˜ ā””userid & password

Channel number in the URL is weird: ā€œ0ā€ is for channel 1, ā€œ1ā€ is for channel 2, and so forth. I still have the default ā€œadminā€ userid and no password (hence nothing after p= ). You can test this by putting that URL into a browser, and you should get a still image. Reloading will update. Since HA now has the Generic Camera integration, Iā€™ve scrapped it being in configuration.yaml and added it in the UI.

Hopefully this helps. Iā€™ll clarify if anything further is needed