Hi there,
I've got a Lorex N845A6 with a couple wired and wireless cameras connected. Everything is working great but but am trying to figure out how to remotely control a 2K PTZ camera (Lorex model: W462AQC). It's for the Twitch stream for my daughter's goat house and its a small space and want her to remotely control the PTZ presents via chat. That's the plan anyways lol
What I've tried:
- You can set the PTZ preset in the web interface so tried to look at POST headers to see what commands it sends to the wifi camera using Chrome's developer tools I see stuff like this for payload:
{"method":"configManager.getConfig","params":{"name":"Ptz","onlyLocal":false},"id":268,"session":"636c22dd852781bbdfbb49aaeed1c68e"}
and
{"method":"ptz.factory.instance","params":{"channel":3},"id":269,"session":"636c22dd852781bbdfbb49aaeed1c68e"}:
- I've tried using Python's ONVIF scripts to connect to the camera and the NVR but only get a response from the NVR.
- Tried to see what ports are open to see if something can be done that way (80, 554, 8086, are open) but not sure how to go forward from there.
Questions:
I can remotely control PTZ through the Lorex NVR interface and it's over HTTP somehow so seems like I'm at least 1% there lol. I don't have any real expertise in this so any help or a pointing in a general direction would be super appreciated!
Tom
I've got a Lorex N845A6 with a couple wired and wireless cameras connected. Everything is working great but but am trying to figure out how to remotely control a 2K PTZ camera (Lorex model: W462AQC). It's for the Twitch stream for my daughter's goat house and its a small space and want her to remotely control the PTZ presents via chat. That's the plan anyways lol
What I've tried:
- You can set the PTZ preset in the web interface so tried to look at POST headers to see what commands it sends to the wifi camera using Chrome's developer tools I see stuff like this for payload:
{"method":"configManager.getConfig","params":{"name":"Ptz","onlyLocal":false},"id":268,"session":"636c22dd852781bbdfbb49aaeed1c68e"}
and
{"method":"ptz.factory.instance","params":{"channel":3},"id":269,"session":"636c22dd852781bbdfbb49aaeed1c68e"}:
- I've tried using Python's ONVIF scripts to connect to the camera and the NVR but only get a response from the NVR.
- Tried to see what ports are open to see if something can be done that way (80, 554, 8086, are open) but not sure how to go forward from there.
Questions:
- It seems like the NVR itself is Onvif compatible. Is there a way to ask it PTZ commands and have it reference a certain camera/channel or do PTZ commands have to be sent to the camera directly?
- Does anyone know what port 8086 on the wifi camera is used for and could it be of any use?
- Are there any good Linux ONVIF "sniffing" tools out there I could crawl the camera with?
I can remotely control PTZ through the Lorex NVR interface and it's over HTTP somehow so seems like I'm at least 1% there lol. I don't have any real expertise in this so any help or a pointing in a general direction would be super appreciated!
Tom