valepe

Results 31 comments of valepe

> Hmm any ideas how I would similate that, to look at it? Do I just need to jumper (make a circuit) the alarm input to trigger it? Yes, I...

I add an extract of my log if it can help you. The lastest (time sequence) elements are the start and stop of tripwire alarm started on the camera and...

> I might be able to do it off this. I’ll make it like a video motion event. > > 2020-02-12 22:53:23,stdout,"2020-02-12 22:53:23,836 - **main** - INFO - dahua_event_received: NVR...

I haven't tryed but I suppose that the index number is the number of the triggered alarm input. My nvr has four inputs so I expected a index range from...

> I might be able to do it off this. I’ll make it like a video motion event. So Video Modion events have a start and stop mqtt topics? Good...

> Yeah, so should trigger something like CameraEvents/AlarmLocal/CAM-05 payload true or false or on off. Whatever I have in videomotion events. Then in home assistant you can have a switch,...

> Hmm that line > ,Code=AlarmLocal;action=Start;index=0 > Has a channel index. So that would try to link to a channel. Ie cam-05, not the nvr. I suppose that, for API...

> Hmm that line > ,Code=AlarmLocal;action=Start;index=0 > Has a channel index. So that would try to link to a channel. Ie cam-05, not the nvr. Or maybe the index 0...

Another thing I found on the log: `2020-02-12 21:57:04,stdout,"2020-02-12 21:57:04,453 - __main__ - INFO - Snapshot Url: http://IP_NUMBER:80/cgi-bin/snapshot.cgi?channel=0` Does this line should match a mqtt publish of a snapshot? If...

Found that on Dahua API: `< handlerName> can be one of below four formats: - Alarm[alarm channel].EventHandler - MotionDetect[video channel]. EventHandler - BlindDetect[video channel]. EventHandler - LossDetect[video channel]. EventHandler Example...