New House - Existing Lorex DVR system, will it work?

The house has an existing Lorex 4 channel 720p camera system in place now. Central DVR setup with 4 cameras. https://www.amazon.com/Lorex-Channel-Surveillance-Weatherproof-Cameras/dp/B01G1Y25F6

I want to integrate it with home assistant but not sure how. I tried rtsp but with no joy. I read that the DVR based systems may not work.

1 Like

You should be able to use RTSP direct from camera and show that in HA
OR
Usually these systems can retramsmit cameras as rtsp or other type video stream

That said, do not allow this system to connect to WAN(internet outside home) and block their ability to connect to any ip other than dvr.

EDIT
Port 554 is usually rtsp port in camera.
You can use nmap to check if rtsp port being used.

Do some googling for the lorex api it may have the commands to use or just look for the different stream paths there may be multiple ways to get into HA I ended up using the FFmpeg camera component for my Amcrest nvr because the Amcrest component didn’t support multiple cameras … I’ll see if I can find the stream urls for yours
https://help.lorextechnology.com/link/portal/57356/57366/Article/1604/IP-Cameras-Using-Real-Time-Streaming-Protocol-RTSP-with-your-DVR-NVR

That link is what I found as well. The Lorex DVR settings has an rtsp tab and it’s enabled with port 554. I tried a bunch of ways using the reference link in VLC with no joy.

I wonder if my connection the DVR via the Lorex app has anything to do with it. Thoughts on that?

This is my setup…

    camera:
      - platform: ffmpeg
        input: rtsp://dvrusername:[email protected].(DVR IP)/cam/realmonitor?channel=1&subtype=1
        name: porch

The only thing that may prevent that from working would be the subtype… subtype 1 refers to the low quality stream or secondary screen that is used when connecting with a cellphone… so that must be enabled on DVR subtype=0 would be the high quality main stream and may not load quickly enough…

1 Like

No
The cameras should have direct video feed if they are IP (lan or wifi).
Do not connect through DVR. It is OK but not necessary.
Connect directly to Camera and use that in HA like
rtsp://cam#1ip/streaming/channel1

look for your camera (not dvr) model on ispy website and may point to you to rtsp address for camera feed https://www.ispyconnect.com/man.aspx?n=Lorex

@LanceGundersen did you ever get this to work? I’ve tried a million different config combos and haven’t found the right syntax. I’m able to access it via the Lorex Ping app so the stream is being broadcast somehow, but don’t know how to access the web version.

@sfgabe Nope, gave up!

1 Like

:worried::sob:

I tried iSpy.
seams to only work if you subscribe first. So much for the 7 day trial period.

I get this error -
Configuration invalid
Platform not found: camera.Lorex

This is my configuration.yaml snippet
camera:
- platform: ring
- platform: Lorex
input: rtsp://:@10.16.0.14:554/cam/realmonitor?channel=1&subtype=1
name: Garage_Side
I have enabled port forwarding on my netgear router for port 554 to 10.16.0.23 (my HassIO)
Any help would be greatly appreciated

Any breakthrough here? I have a total of 6 Lorex PoE cameras connected to my Lorex NVR. I am unable to stream any video via hassio. It works standalone though

I have a Lorex POE NVR system and all my cameras are displaying.

For each card on the dashboard this is what I have per camera.

entity: camera.front_yard_palm <- (change for your camera)
show_name: false
show_state: false
type: picture-entity

In my config.yaml I have reference to a cameras file.

camera: !include cameras.yaml

Then in my cameras.yaml I have the following config

  • platform: ffmpeg
    input: rtsp://username:[email protected]/cam/realmonitor?channel=6&subtype=1
    name: Front Yard 1

  • platform: ffmpeg
    input: rtsp://username:[email protected]/cam/realmonitor?channel=5&subtype=1
    name: Front Yard Palm

  • platform: ffmpeg
    input: rtsp://username:[email protected]/cam/realmonitor?channel=4&subtype=1
    name: HVAC

  • platform: ffmpeg
    input: rtsp://username:[email protected]/cam/realmonitor?channel=3&subtype=1
    name: RV Pad

  • platform: ffmpeg
    input: rtsp://username:[email protected]/cam/realmonitor?channel=1&subtype=1
    name: Patio

  • platform: ffmpeg
    input: rtsp://username:[email protected]/cam/realmonitor?channel=2&subtype=1
    name: Side Gate

The IP is the address of the NVR and I choose the channel by adjusting the “channel=???” in the string. You can test this in advance with VLC to see if you can get it working there first.

This config has cards that refresh every 10 seconds I think, but then when you click on them they start streaming.

Hope it helps!

2 Likes

Can you help me with CARDS?
I have never been able to figure it out since I switched to lovelace.
Im trying to use your setup above.

Choose “Configure UI”

Click the blue + sign to add a card, then choose manual card.

Once the card window opens just paste in the card info I gave in my previous response.

Once you paste it in, the card should nearly immediately show the image.

Save the card, rinse and repeat for other cameras.

Im still trying to make your format work;
I have 8 Lorex IP cameras with NVR.
this is what I have in my camaras.yaml file and the frontend Cards in Lovelace.
the only camara that works is the last one, (channel=8)
I also have the camera !include cameras.yaml

If you have time could you take a look, I hope you can spot what I cant see.
platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=1&subtype=1
name: driveway

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=2&subtype=1
name: porch

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=3&subtype=1
name: front_PTZ

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=4&subtype=1
name: garage

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=5&subtype=1
name: patio

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=6&subtype=1
name: north_gate

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=7&subtype=1
name: back_yard_gate

platform: ffmpeg
input: rtsp://admin:MYPW@MYIP/cam/realmonitor?channel=8&subtype=1
name: south_shed
 
 
entity: camera.driveway
show_name: false
show_state: false
type: picture-entity

entity: camera.porch
show_name: false
show_state: false
type: picture-entity

entity: camera.front_ptz
show_name: false
show_state: false
type: picture-entity

entity: camera.garage
show_name: false
show_state: false
type: picture-entity

entity: camera.patio
show_name: false
show_state: false
type: picture-entity

entity: camera.north_gate
show_name: false
show_state: false
type: picture-entity

entity: camera.back_yard_gate
show_name: false
show_state: false
type: picture-entity

entity: camera.south_shed
show_name: false
show_state: false
type: picture-entity
1 Like

lol small hint which i recently discovered.

Use the amcrest component it will work with lorex too… which is great because it will create a Motion sensor for you

1 Like

I switched one working camera and it does work. I also added a camera from my original set up and it still does not work. I have 8 cameras and only one works within HA. They all work here at home. Any thoughts?

1 Like

Do you remember changing anything in the Lorex environment, i.e., change any camera settings to make them all work?

1 Like