ControlThink Forums

Share ideas. Get peer support. Meet new friends.
Welcome to ControlThink Forums Sign in | Join | Help
in Search

Differentiating different LevelChanged event types received from a single device

Last post 08-24-2008 3:28 PM by Chris Walker (CT). 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-24-2008 10:48 AM

    Differentiating different LevelChanged event types received from a single device

    Hi Chris,

    I'm playing with the ACT ZIR010, which is the European version of the ZIR000 (http://www.act-solutions.com/HomePro/pdfs/HomePro/Inst/ZIR000_instr.pdf)

    I have configured it to act as a binary sensor (sending 2 to parameter 17), and added the PC to the sensor's Group 1 (motion detection), and I am receiving the LevelChanged notifications perfectly.

    The issue is when in addition I add the PC to the sensor's Group 2 (housing opened/closed) and also Group 3 (battery level indications), so that I can tell when the device is being tampered with, and also display the battery level.

    I receive notifications for these additional events, however it is not clear to me how I can tell whether I am receiving a motion detection event, a tamper event, or a battery level indication event....

    I'm guessing that the underlying protocol passes the group as well as the level -- if so, is there any way that this is exposed?

    Thanks,

        /Damian

    http://damianblog.com/
  • 08-24-2008 11:42 AM In reply to

    Re: Differentiating different LevelChanged event types received from a single device

    Damian,

    If the devivce sends all three messages via the same message type (which it sounds like it is doing), then the best thing to do is to look at the configuration of the device to determine what the message you received means.

    Chris
    ControlThink

  • 08-24-2008 11:59 AM In reply to

    Re: Differentiating different LevelChanged event types received from a single device

    Hi Chris,

    The PIR device is in a single configuration (acting as a binary sensor), however the PC's USB Z-Wave device has been added to three groups in the PIR device, in effect "subscribing" to three different event types (motion detected, tampering, and battery level update).

    Does the notification from a device include the group as well as the level?

    Thanks,

    Damian

    http://damianblog.com/
  • 08-24-2008 3:28 PM In reply to

    Re: Differentiating different LevelChanged event types received from a single device

    LevelChanged message are just that.  No other information is passed via Z-Wave.

    Chris

Page 1 of 1 (4 items)