Home AMX User Forum NetLinx Studio

Motion Sensor from Panel to NS

Dear All,

I want to use the motion sensor of a panel for to a action.

Something like this :

BUTTON_EVENT[10001:0:1,160] // MOTION DETECTION
{
PUSH:
{
SEND_STRING 0,"'motion detection in room 1'"
}
}

But it doesn;t work. Maybe a little fault?? Who could help me?

Thanx already!

Comments

  • jjamesjjames Posts: 2,908
    You can't monitor the setup port from panels, so that route won't work. Do you want to know when the panel is woken up through motion, or just when motion is detected?
  • nielsynielsy Posts: 32
    just when motion is detected,
    Hope that is possible?
  • jjamesjjames Posts: 2,908
    Aha!!! Not sure why I didn't think of it before . . .

    Super simple:

    File -> Project Properties -> Sensors Tab . . .
    You should now see "Motion Sensor" with port & channel . . . fill that in to your liking and change your "BUTTON_EVENTb]10001:0:1,160[/b" to match it.
  • nielsynielsy Posts: 32
    Thanx! It works...
Sign In or Register to comment.