#zoneminder

/

      • mfu
        hm, maybe its possible to connect the modect from ZM with a PIR?
      • something like "if motion detect go into hot-stdby and wait for the PIR signal (over the api)"
      • knnniggett
        Yes, assuming your PIR has a relay output, you could wire the relay to an esp8266 or some other microntroller capable of transmitting a message over ethernet.
      • mfu
        knnniggett: the PIR is in the cam, the cam can send http-rquests
      • ..if PIR was triggered
      • knnniggett
        Yeah, that should work. Even easier
      • mfu
        hm, how?
      • cant se something like triggers / except x10 in zm
      • knnniggett
        If the camera can send http requests, then you would stick that URL you mentioned earlier into the camera and tell it to call that url when motion occurs
      • The camera has to have the ability to do an http get or put upon motion
      • mfu
        yeah, but with this, Zm is forcing the alarm
      • i need the modect from zm + PIr from cam for false positiv
      • just record if PIR + MODECT are active
      • knwo what i mean?
      • knnniggett
        Oh you want zoneminder to record if both are alarmed
      • I can't think of a way to do that off hand
      • mfu
        yeah, because ZMs zones are much better to define
      • knnniggett
        If you could somehow activate a specific motion zone via the API then your normal motion zone would be set to Inclusive... that might do it, but I'm not sure the API can active a zone
      • mfu
        cam can define zones too.. but ...crap
      • the problem is.. if i define i zone over the api.. the zmc/zma process is restarting and need some time to calibrate
      • knnniggett
        Yeah, you the ability to trigger the zone (as opossed to a monitor) rather than create the zone
      • I'm not sure you can do that currently
      • mfu
        ah ok
      • but this could be simple to solve
      • knnniggett
        Yeah, maybe. We would accept a pull request adding the functionality.:-)
      • mfu
        in modect just look/wait for a entry in the db/or file
      • if my C/C++ knowledge will be better..
      • hm but maybe i can modify zmtrigger
      • its just perl
      • ::d
      • knnniggett
        Well, you'd start in the Cake PHP framework to define a new hook. Then it might be a call to zmtrigger.
      • My guess is that it would be very similar to how you trigger an alarm
      • asker has quit
      • Haxxa joined the channel
      • ca_cabo has quit
      • knnniggett has quit
      • Haxxa joined the channel
      • e-anima has quit
      • Pedulla has quit
      • Pedulla joined the channel
      • rob_h has quit
      • mfu
        nay ideas how to leave the telnet session from zmtrigger.pl? :)
      • except kill
      • ca_cabo joined the channel
      • ca_cabotage joined the channel
      • zed2k_ has quit
      • zed2k joined the channel
      • Pedulla has quit