New to home assistant but coming from a CCTV background I thought I would see if possible to get motion, person detection etc triggers from a CCTV system into home assistant.
The system is a TVT and is rebranded in many countries. In the UK I believe its also Viper.
I have the ability to read a XML alarm status using my windows PC using a simple program called Netassist that every 5 seconds collects the file and displays the data. See the attached images of the results and how this is set in the NVRS web page.
At this point I’m not sure my next step into getting this to be seen by home assistant and if possible use motion detection as an entity. I have done some research and it all points to using Rest / RESTful. If this is the case I’m finding it difficult on where to start.
Had a look at these and I’m struggling with the following.
I’m struggling to understand how home assistant can read the XML created like the Windows Net assistant program above and in turn, extract the data from it.
Examples I see assume I know the location of an XML. resource: http://192.168.1.12/status.xml So not sure of the RESTful integrations I should even be looking at.
I believe I need to find the specific event names (motion, person, face etc) as I have no documentation on any of this either. From the sample I posted I see motionalarm, id2( this is the cameras location on the NVR) name-dauha-IP is the name I have called the camera.
There may be another way of achieving this I just thought the alarm server would be an easier way as the NVR sends this information out.
I’ve had a good luck around for a good few hours and noting. Easy to get camera images into home assistant using RTSP but not much info on using the alarm ai triggers