Results 1 to 10 of 10

Thread: device manager conditionals

  1. #1
    Join Date
    Mar 2005
    Posts
    231

    Default device manager conditionals

    ok all I need to know if this is doable as I can seem to work it out I need a way when a device manager conditional is true to have it trigger an action

    Thanks,
    Yonu

  2. #2
    Join Date
    Mar 2005
    Posts
    231

    Default

    come on now do we know what tech support means

  3. #3
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    Did you look at the "Automation/Device Manager Conditional" conditional node?
    Ron
    No support through PM

  4. #4
    Join Date
    Mar 2005
    Posts
    231

    Default

    yeah but from what I can tell it won't actually trigger the action

  5. #5
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    Can you upload a GML with just the relevant part? And explain in words what it should do.
    Ron
    No support through PM

  6. #6
    Join Date
    Mar 2005
    Posts
    231

    Default

    ok here is the GML and this is one of several ones I am trying to get working but what I want to happen is when the security sensor registers not ready it should trigger the speech action
    new1.gml

  7. #7
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    ah i see the misunderstanding. You still need an event attached. The conditional filters the triggering of actions it does not initiate the trigger it self. So look for the event that is triggered when the security sensor is tripped and then use that instead of the conditional.
    Ron
    No support through PM

  8. #8
    Join Date
    Mar 2005
    Posts
    231

    Default

    thanks and I figured that but I don't get any evens from the w80032 only updates in the device manager how do I go about getting events?

    Thanks,
    yonu

  9. #9
    Join Date
    Mar 2005
    Posts
    231

    Default

    so how do I go about getting the event? from the W800

  10. #10
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,350

    Default

    The w800 receives a few different codes. I'd start by seeing what is coming in.

    Open file Components/W800RF32.lua and around line 100 in the function ProcessReceive add

    Code:
    print(math.BinaryToHexString(data))
    This should print the data that is being received. Now trigger your sensor and see what is coming in.

    You could at this point also simply add

    Code:
    gir.TriggerEvent(math.BinaryToHexString(data),18)
    now all data arriving from the w800rf will trigger an event.
    Ron
    No support through PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •