Thread Rating:
  • 1 Vote(s) - 5 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
  Status of Scheduled and Triggered Events gReatAutomation 4 1,797 04-21-2020, 12:58 PM
Last Post: gReatAutomation
  Timers or Waits in events? simplextech 18 6,944 01-08-2020, 02:01 PM
Last Post: Dean Roddey
  Scheduled Events & Variables gReatAutomation 2 1,544 06-20-2019, 01:31 PM
Last Post: gReatAutomation
  ISY, multi-controllers via SmartThings and IFTTT (ugh yes) IVB 3 2,392 01-24-2018, 03:47 PM
Last Post: IVB
  Smart Handling of ISY Motion events Sendero 10 6,462 10-05-2016, 09:43 PM
Last Post: Dean Roddey
  anyone tasker scene <--> CQC? IVB 7 4,267 08-31-2016, 04:24 PM
Last Post: wuench
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 5,313 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  SMS with ifttt rtarver 32 16,822 06-03-2015, 11:45 PM
Last Post: NightLight
  Overlay in an Overlay triggered by Widget Deane Johnson 4 4,039 11-09-2014, 10:29 AM
Last Post: Deane Johnson
  Voice-activated HA via tasker IVB 70 26,125 09-16-2014, 12:26 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)