PDA

View Full Version : device manager conditionals



yonu
May 11th, 2012, 07:57 AM
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

yonu
May 24th, 2012, 12:08 AM
come on now do we know what tech support means

Ron
May 24th, 2012, 07:03 AM
Did you look at the "Automation/Device Manager Conditional" conditional node?

yonu
May 24th, 2012, 09:08 AM
yeah but from what I can tell it won't actually trigger the action

Ron
May 24th, 2012, 10:10 AM
Can you upload a GML with just the relevant part? And explain in words what it should do.

yonu
May 24th, 2012, 04:36 PM
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
6448

Ron
May 24th, 2012, 04:52 PM
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.

yonu
May 24th, 2012, 06:34 PM
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

yonu
May 26th, 2012, 11:22 PM
so how do I go about getting the event? from the W800

Ron
May 27th, 2012, 07:16 PM
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



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



gir.TriggerEvent(math.BinaryToHexString(data),18)


now all data arriving from the w800rf will trigger an event.