Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
global actions and lighting groups
See the documentation on that field value equals filter. It's not what you want to use, at least not by itself. You'd want to have first a 'is field change for'. Otherwise, every time any trigger shows up, and the field value is equal to True, it's going to run, no matter what type of trigger.
Dean Roddey
Explorans limites defectum
You could also avoid the extra field read, by replacing the FldValueEquals with:

Event Fld Equals(/cqsl.fldval/val, True)

When a field trigger occurs, the actual value that triggered is sent along with the event data. If you look at the format of the triggers:

The 'path' for the field value in a field change event would be "/cqsl.fldval/val", so you can just get it from there, instead of going back to the driver and reading the field again (which may have even changed before you get a chance to look at it, so using the value that comes with the event is safer all around.)

So you'd first check is a field change for the field you care about, then do the above to check the field value that caused the trigger.
Dean Roddey
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sunsetter Awning with RGBW Lighting and CQC kfly 2 736 07-29-2021, 12:55 PM
Last Post: Dean Roddey
  RadioRA2 vs CQC for Lighting Scenes gReatAutomation 1 887 07-10-2020, 12:16 PM
Last Post: Dean Roddey
  Outdoor Landscape Lighting and CQC gReatAutomation 18 6,891 06-01-2020, 07:22 PM
Last Post: rhosch
  Hue Lighting Control jokermac 17 6,665 03-28-2020, 06:18 AM
Last Post: jokermac
  Global Cache GC-100 - How to add IR Code??? Deane Johnson 7 2,726 11-25-2019, 09:26 AM
Last Post: Deane Johnson
  Global-Cache-iTach-Wi-Fi-WF2IR with CQC Deane Johnson 18 8,435 12-20-2014, 06:09 PM
Last Post: znelbok
  IR code / Global Cache question ControlFreak 11 8,482 11-09-2014, 09:27 PM
Last Post: MikeA
  IP2SL Global Cache maxxsinner 7 4,624 06-08-2014, 02:16 PM
Last Post: Dean Roddey
  template actions and passing a value to znelbok 5 3,857 02-20-2014, 05:02 AM
Last Post: wuench
  [NEW] Lighting Control Poll Squintz 33 19,153 01-19-2014, 02:31 AM
Last Post: karenlee

Forum Jump:

Users browsing this thread: 1 Guest(s)