Charmed Quark Systems, Ltd. - Support Forums and Community
your sched/triggered/tasker/IFTTT events - 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: your sched/triggered/tasker/IFTTT events (/showthread.php?tid=9496)

Pages: 1 2


your sched/triggered/tasker/IFTTT events - jkmonroe - 09-24-2015

he answered it in another post. the Connect (i think it was) has a line input that lets you stream to other wireless Sonos units.


your sched/triggered/tasker/IFTTT events - wuench - 09-24-2015

jkmonroe Wrote:interesting. so enabling guest mode sets a persistent variable or something, which your events check for before running?

i could really use this.

Yeah, most of it is controlled on the ISY since lights are usually involved, so the flag (variable) is set there and those trigger events in CQC, most of teh enable/disable is done on the ISY too so events die there for the other modes if Guest mode is activated. I am slowly moving more of the commands to CQC. But I have it setup so no matter how I activate a house mode (keypad, CQC, Echo) it runs the same way.


your sched/triggered/tasker/IFTTT events - jkmonroe - 09-24-2015

thanks. should give me something to do while watching football this weekend.

this has given me a bit to think about, and now im wondering the value of setting home 'states'. It could be a two-tiered setup, so have a binary Guest Mode (on or off) and then multiple home states like Morning, Afternoon, Evening, Nighttime, Away, Emergency, Party, Movie, Relax, etc.

this is going to require me to rework everything ive already done using variables so I can get the states right. should be fun!


your sched/triggered/tasker/IFTTT events - wuench - 09-24-2015

That's pretty much what I have, Night Mode, Workout Mode, Party Mode, Guest Mode.

Party Mode unlocks all the doors, turns on the music and enables Guest Mode. Turning off Party Mode turns off the music etc, but doesn't disable Guest Mode

Night Mode shuts everything down, sets the alarm, locks the doors, etc

Workout Mode turns on the music, fan, lights in workout room. Turning it off shuts it all down and announces the time.

Guest mode disables a lot of the lighting, motion rules and buttons like Workout mode, cause people have kids and kids push buttons.


your sched/triggered/tasker/IFTTT events - batwater - 09-24-2015

jkmonroe Wrote:thanks. should give me something to do while watching football this weekend.

this has given me a bit to think about, and now im wondering the value of setting home 'states'. It could be a two-tiered setup, so have a binary Guest Mode (on or off) and then multiple home states like Morning, Afternoon, Evening, Nighttime, Away, Emergency, Party, Movie, Relax, etc.

this is going to require me to rework everything ive already done using variables so I can get the states right. should be fun!

I like this approach! Don't forget a "House Cleaning" and "Romantic" mode. Confusedhock:


your sched/triggered/tasker/IFTTT events - jkmonroe - 09-24-2015

i've been doing things more as 'scenes' instead of home states. by this i mean, i have a night scene which does various things like dim lights, lowers the volume on my sonos, and tries to lock the door.

BUT, i also have a few things that I do at night not scene related like if you use the Tap in my son's room, the light will turn on RED and at 35%, or the Tap on my nightstand cannot control other lamps in the room (particularly the lamp on my wifes nightstand) so i dont accidentally blind someone, and the Taps on our nightstands can only turn the lights on at 15%. stuff like that.

i have it all working by running through a whole bunch of IF/IF/THEN statements:

IF light off
if isnight (20)
jk_hue:COLR (red) / jk_hueBig GrinIM (35) / jk_hue:SW (on)
else
jk_hue:SW (on)
ELSE
if light on
jk_hue:SW (off)
end
end

there has to be a way to make it a lot easier by using these states to assign variables to help in writing up routines/actions/events. and i can have the states set a persistent variable in the variables driver, like 100%, 75%, 50%, 25%, whatever, and when it comes to setting volumes and brightness levels, just write from the variable driver.


your sched/triggered/tasker/IFTTT events - bbrendon - 09-24-2015

wuench Wrote:Guest mode disables a lot of the lighting, motion rules and buttons like Workout mode, cause people have kids and kids push buttons.

I had a friend come over during a party and just go around the house pushing every button.

I don't have a guest mode right now, I just go into CQC and disable a bunch of drivers.

Someday I'll get there. Bigger fish to fry right now. AND my code is getting messy so I have to attempt to clean it up. Someone should do a class on CML code structure Smile


RE: your sched/triggered/tasker/IFTTT events - RichardU - 01-18-2018

What I do for announcements / chimes:

I have three speaker zones which are connected to the elk three speaker outputs. The outputs are run through the "Normally Closed" side of three relays.

I save a variable in the variable driver which includes the names of "active" zones.

I change the names of "active" zones by various ways, click on web page, time of day, IFTTT, etc.

The audio output of my cqc machine runs through the "Normally Open" side of the above three relays.

All my "chimes" run through a global act with two parameters, 1=what I want to chime, 2=any zones I want to override.

The Global Act turns on the relay (20 sec) for any zones that are either "active" or "overridden". Then plays the chime.

Also: I have the volume of the Elk speakers set to very loud. But normal Elk announcements don't need to be loud. So I have where the Elk connects to the relay, I also have a resister between "Normally Closed" and common. That way, when I want the Elk to make an announcement at a lower volume, activating the relay also gives me a lower volume through the resister.