Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Triggered Event on "last light is off"
#11
Don't know who wrote the driver (Dean I suspect), but it would be trivial to do within the z-wave driver to set a boolean field that represents all off for lighting. The driver would be the place to do it since the # of fields is dynamic and changes per installation.
Reply
#12
do you mean a command to "turn all lights off", or the question of "are all lights off?"
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#13
Couldn't you add another switch in your room that would be a master off "scene"
for the house? The switch could turn the rest of the lights in the house off and set then set the house to sleep?

I am really new to the lighting thing but I'm trying to learn before I spend the cash for it so my suggestion might be way off...
Reply
#14
IVB Wrote:do you mean a command to "turn all lights off", or the question of "are all lights off?"

I was referring to the "are all lights off". In the Polling section of the driver, a method would run that would check the status of all light fields and do an AND. Psuedo code:

Code:
AllOff := True;
While ((Index <= LastLight) && (AllOff)) Do
   AllOff := AllOff AND LightState(Index);
   Index := Index + 1;
EndWhile;
AllOffField := AllOff;

You could probably write your own in a CML Macro and call it periodically, writing the result into a Variable Driver field.
Reply
#15
Hiller Wrote:Couldn't you add another switch in your room that would be a master off "scene"
for the house? The switch could turn the rest of the lights in the house off and set then set the house to sleep?

I am really new to the lighting thing but I'm trying to learn before I spend the cash for it so my suggestion might be way off...

Yeah, I hadn't thought of that. I just need to figure out where/how to mount it, so it's not accidentally hit, not unattractive or oddly placed (WAF), and also so it's convenient for both me & wife depending on who goes to bed first.

I'm also going to research that phone via Elk thing that Squintz mentioned.

This is where VoiceRecog would help - I could just say "Go to sleep, Dean". (cuz you know, i'd hire Dean to do the recording for my HA announcements)
------------------------------------
Some of my devices: Sonos, Aeotec zWave, Nest, Rain8Net, Various H/T
What's next: CQC-Voice, Brultech GEM
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#16
When I read your first post I thought you were asking something very different. I thought you were asking if CQC could put the house in sleep mode when the last switch was hit. I like this idea, seriously but the only way I can think to do it would be to schedule events every 15-30 minutes between 10p and 2am that actually checks the important switches and switches to sleep mode appropriately. Now, that would be cool!

Russ...
Reply
#17
To me, that's one of those things that sounds cool, but in practice would probably be a huge PITA because you'd end up triggering it when you don't mean to, and probably at the worst possible time. That's the kind of thing that I'd definitely keep in the 'proactively engaged' category.
Dean Roddey
Explorans limites defectum
Reply
#18
Dean, I agree with you. I'm not sure it would work out in reality but it certainly would make sense that depending on what sleep mode did, the impact would have to be weighed. I find it hard to believe that you'd be in the house without a light on and without the theater cooking if you weren't at least in bed. The other thing that might help is to require the "all lights off" to be set for 15+ minutes or some such rule.

Russ...
Reply
#19
I have an "all lights off" switch that is a single switch on a standard 4 gang C-Bus plate.

I have one mounted either side of the bed so it can be triggered by either of us.

The other 3 switches on the plate, control other lights etc in the room.

I have used this "all off" functionality in 2 houses and it is extremely handy, you'll soon get very used to it.

Cheers

Rohan
HAMFIELD
Software & Hardware Solutions
Makers of the Translink C-Bus Gateway
for the Apple iPad, iPhone and iPod Touch.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Timbertech RGBW post cap light retrofit and CQC kfly 4 1,599 07-24-2021, 04:41 AM
Last Post: kfly
  Status of Scheduled and Triggered Events gReatAutomation 4 1,794 04-21-2020, 12:58 PM
Last Post: gReatAutomation
  event and subsequent countdown timer question dogman 9 5,584 05-03-2018, 06:36 PM
Last Post: dogman
  your sched/triggered/tasker/IFTTT events IVB 17 9,991 01-18-2018, 07:41 AM
Last Post: RichardU
  Idea for a different kind of event processing mechanism Dean Roddey 0 1,706 03-20-2017, 09:29 AM
Last Post: Dean Roddey
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 5,305 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  Adding Christmas Light control to CQC with Lutron HW8 avtexan 10 7,175 11-18-2015, 12:35 PM
Last Post: avtexan
  Thingspeak event monitor potts.mike 5 3,795 05-09-2015, 06:11 PM
Last Post: wuench
  Overlay in an Overlay triggered by Widget Deane Johnson 4 4,036 11-09-2014, 10:29 AM
Last Post: Deane Johnson
  event scheduler ellisr63 8 4,435 04-11-2014, 02:43 PM
Last Post: ellisr63

Forum Jump:


Users browsing this thread: 1 Guest(s)