Charmed Quark Systems, Ltd. - Support Forums and Community
Triggered Event on "last light is off" - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: General Discussion (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=3)
+--- Forum: Installation/Configuration (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=10)
+--- Thread: Triggered Event on "last light is off" (/showthread.php?tid=779)

Pages: 1 2


Triggered Event on "last light is off" - robertmee - 11-30-2006

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.


Triggered Event on "last light is off" - IVB - 11-30-2006

do you mean a command to "turn all lights off", or the question of "are all lights off?"


Triggered Event on "last light is off" - Hiller - 12-01-2006

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...


Triggered Event on "last light is off" - robertmee - 12-01-2006

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.


Triggered Event on "last light is off" - IVB - 12-01-2006

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)


Triggered Event on "last light is off" - zaccari - 12-01-2006

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...


Triggered Event on "last light is off" - Dean Roddey - 12-01-2006

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.


Triggered Event on "last light is off" - zaccari - 12-01-2006

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...


Triggered Event on "last light is off" - rhamer - 12-01-2006

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