psyciknz / CameraEvents

Dahua NVR/Camera Alerting to MQTT. Fairly specific to my needs, but also an attempt at starting to use travis.
Eclipse Public License 2.0
58 stars 19 forks source link

NetAlarm #12

Open valepe opened 4 years ago

valepe commented 4 years ago

Via NetAlarm it is possible to fire an alarm in port via network.

Do you think that is possible to add it?

I found that: https://gist.github.com/hdo/598f56a23d360164c3fbf60012902a88

psyciknz commented 4 years ago

What is a net alarm? Is that setting an alarm state in the nvr from http? Rather than electrical?

valepe commented 4 years ago

Yes, with NetAlarm you can fire an alarm input port like an electrical switch.

In Dahua NVR, only an alarm in can fire an alarm out where you can connect a siren. This is useful because your domotic hub can fire an alarm to the nvr if some events occur.

psyciknz commented 4 years ago

I’ll have a look in the http api which is what I do most if the communication over.

psyciknz commented 4 years ago

I’m not sure it’s possible without a completely new communication method. Looks like it was removed when they removed their alarm server.

valepe commented 4 years ago

Bad news... Thanks anyway

psyciknz commented 4 years ago

I think look at one of those tools that some of the links post to to independently trigger it. Or maybe look at an esp8266 hooked to one of your alarm in ports triggered by mqtt.

valepe commented 4 years ago

Yes, I'd look if there is a docker image of one of these solutions. I prefer a wired solution to drive a siren :)