Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
your sched/triggered/tasker/IFTTT events
#11
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.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#12
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.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#13
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!
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#14
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.
Wuench
My Home Theater/Automation Website

[THREAD=5957]BlueGlass CQC Config[/THREAD]
[THREAD=10624]Wuench's CQC Drivers[/THREAD]
Reply
#15
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:
Reply
#16
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.
do the needful ...
Hue | Sonos | Harmony | Elk M1G // Netatmo / Brultech
Reply
#17
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
--Kill all the serial ports--
Reply
#18
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.
My Other web server is Dropbox.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  ISY, multi-controllers via SmartThings and IFTTT (ugh yes) IVB 3 364 01-24-2018, 03:47 PM
Last Post: IVB
  Smart Handling of ISY Motion events Sendero 10 2,208 10-05-2016, 09:43 PM
Last Post: Dean Roddey
  anyone tasker scene <--> CQC? IVB 7 1,248 08-31-2016, 04:24 PM
Last Post: wuench
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 1,404 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  SMS with ifttt rtarver 32 6,210 06-03-2015, 11:45 PM
Last Post: NightLight
  Overlay in an Overlay triggered by Widget Deane Johnson 4 1,447 11-09-2014, 10:29 AM
Last Post: Deane Johnson
  Voice-activated HA via tasker IVB 70 9,141 09-16-2014, 12:26 PM
Last Post: Dean Roddey
  Tasker Question jbh5000 3 1,744 12-26-2013, 07:10 AM
Last Post: wuench
  EmailURLImg in Triggered Events TurboSam 6 1,285 11-23-2013, 01:50 PM
Last Post: Dean Roddey
  Variable Times for Triggered Events TurboSam 9 2,080 11-19-2013, 10:00 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)