Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible for CQC to see how a light was turned on/off?
Is it possible for CQC to see how a light was turned on/off? For example, you want that if a light is turned on at the switch, then X should happen. But if it was turned on because of a trigger then Y should happen?

Thank you
No, there's not way to do that. A driver itself could know of course, since the one it would get from the device and the other would be a field write command. But that information is not propagated beyond the driver. It could be, but most drivers would require a good bit of work to do that, and various trigger formats would have to be extended and so forth, so it would be a big thing to take on.
Dean Roddey
Explorans limites defectum
Easy Workaround: Use a variables driver field called "last triggered change time". If a trigger changes the value, set to that timestamp. (make sure you read the prior value, then compare to value trigger would set. If its the same, don't change it). Set a 2nd field called "last changed by" to "trigger".

Set up an event to run every minute. If: last value !=current value and "last triggered change time" isn't within the last 3 minutes, then set last-changed-by to "MANUAL".

I think that would be easy, anyhow.
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs:

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ambient light sensor??? Deane Johnson 10 4,595 07-15-2021, 11:23 AM
Last Post: zaccari
  Detect light on (low voltage) on M1 charles 0 1,607 02-27-2015, 06:28 PM
Last Post: charles
  Light switch status not updating when turning on/off at switch ghurty 23 7,653 01-07-2015, 06:07 AM
Last Post: batwater
  Have Elk zone turn on a light pinballmark 7 3,338 12-21-2014, 12:49 PM
Last Post: pinballmark
  How to tell a popup light switch which one to control ghurty 1 2,222 05-06-2014, 07:43 PM
Last Post: Dean Roddey
  GC100 with light ProbeLinc light sensor..anybody done it? charles 3 1,632 08-25-2012, 02:57 AM
Last Post: charles
  Check if light is already on MavRic 1 1,437 10-26-2010, 06:00 PM
Last Post: Dean Roddey
  Light Value in 0-127 range, but want to show as 0-100% MavRic 13 4,511 08-12-2010, 06:53 AM
Last Post: Fonceur
  Dim/Bright a light using larger steps electron 6 2,467 06-02-2009, 05:55 AM
Last Post: jrlewis
  Browsing light/appliance devices by room electron 18 5,565 02-23-2007, 08:16 PM
Last Post: IVB

Forum Jump:

Users browsing this thread: 1 Guest(s)