Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What cool HA projects/configuration can I work on with my current configuration?
#11
Thank you. That is exactly what I was looking for. Now that you posted it I have a few questions about your setup :-)

What are you using from “grocery list” and how does that work?

I see that you bypass, and you have a few different options "all windows", "bedroom window". I thought from the documentation that alexa only passes the first phrase no matter what, so how can you differentiate between all windows and bedroom window?

What are you using for speakers, that you can control the individual ones?

All the others I think I figured out how they work. How action do you have that returns a list of zones (either bypassed or open)?

On a side note, I see that you wanted to switch away from echo, how has that worked?
Thank you
Reply
#12
(07-09-2018, 07:19 AM)ghurty Wrote: Thank you. That is exactly what I was looking for. Now that you posted it I have a few questions about your setup :-)
What are you using from “grocery list” and how does that work?
Remember the Milk. Honestly we used the Echo integration a little in the beginning and then stopped. When we want to add things we end up wanting to add many, and it's too tiresome to keep saying "Alexa tell jarvis to add <blah> to the remember list" over and over. Faster to just pull out the phone and pull up the RTM app.

Quote:I see that you bypass, and you have a few different options "all windows", "bedroom window". I thought from the documentation that alexa only passes the first phrase no matter what, so how can you differentiate between all windows and bedroom window?
if you mean this:
Action=/User/Echo/BypassZones
all windows, windows, bedroom window
EndAction

Then any of those phrases will execute that action. There is no differentiation.
Quote:What are you using for speakers, that you can control the individual ones?
Sonos, although anytthing will do.
Quote:All the others I think I figured out how they work. How action do you have that returns a list of zones (either bypassed or open)?

It's a very simplistic routine. Just keep building up the EchoReply

Code:
// sup
GlobalVars::SetVariable
    P1=GVar:EchoReplyRaw
    P2=.

GlobalVars::SetVariable
    P1=GVar:EchoReply
    P2=Hello Hi

LocalVars::SetVariable
    P1=LVar:Num
    P2=0

If
System::Equals
    P1=$(Elk.Zone_Door_Back_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Back Door

End

If
System::Equals
    P1=$(Elk.Zone_Window_MBR_Left_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Master Bedroom Left  Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_MBR_Right_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Master Bedroom Right  Window

End

If
System::Equals
    P1=$(Elk.Zone_Window_Din_Left_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Dining Room Left Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_Din_Mid_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Dining Room Middle Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_Din_Right_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReply
    P2=Number %(LVar:Num) is the Dining Room Right Window

End

If
System::Equals
    P1=$(Elk.Zone_Window_Kitchen_Right_PhysStatus)
    P2=Short
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Kitchen Right Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_BRN_Left_PhysStatus)
    P2=Short
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Breakfast Nook Left Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_BRN_Middle_PhysStatus)
    P2=Short
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the Breakfast Nook Middle Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_Inika_Right_PhysStatus)
    P2=Short
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is Ineeka Right Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_Inika_Left_PhysStatus)
    P2=Short
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is Ineeka Left Window      

End

If
System::Equals
    P1=$(Elk.Zone_Window_Amara_Side_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReply
    P2=Number %(LVar:Num) is the amaara Side Window

End

If
System::Equals
    P1=$(Elk.Zone_Window_Amara_Back_PhysStatus)
    P2=Open
    P3=Case

LocalVars::Add
    P1=LVar:Num
    P2=1

GlobalVars::Append
    P1=GVar:EchoReplyRaw
    P2=Number %(LVar:Num) is the amaara Back Window    

End

GlobalVars::SetVariable
    P1=GVar:EchoReply
    P2=There are currently  %(LVar:Num) windows or doors open      

If
System::GrThan
    P1=%(LVar:Num)
    P2=0

-GlobalVars::Append
    P1=GVar:EchoReply
    P2=Here is a list of them

GlobalVars::Append
    P1=GVar:EchoReply
    P2=%(GVar:EchoReplyRaw)

End
Quote:On a side note, I see that you wanted to switch away from echo, how has that worked?

i've gotten as far as purchasing the acoustic magic, haven't even taken it out of the box :-)
------------------------------------
Devices I'm phasing out: ISY, NuVo
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#13
I think he was asking, is the Echo in the bedroom and hence any of those scenarios really refers to the bedroom windows? If an echo not in the bedroom heard the command you said bedroom windows, it wouldn't know you meant bedroom windows because you'd only ever be reported the first value.
Dean Roddey
Software Geek Extraordinaire
Reply
#14
it's been forever since I coded those, but there is a way to get both tokens, isn't there? I know I did a bunch of work modifying the Alexa CQC Skills intents.
------------------------------------
Devices I'm phasing out: ISY, NuVo
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#15
IVB - thank you. I will work on this tonight,
Dean - That was exactly what I was asking.

Thank you
Reply
#16
You would only get the first one. So it would always come back with that first value. They really need to provide a means to get info on which Echo received the command, so that you can have generic commands that will just operate on whatever is in the room that it was invoked from. That's a massive hole in their system that would be so easy to fix and they just don't seem interested in doing it, at least not in any hurry to.
Dean Roddey
Software Geek Extraordinaire
Reply
#17
How did you integrate remember the milk to CQC?

Thank you
Reply
#18
RTM has an email address for your account where if you send it email, it adds to your list.

Code:
System::EMail
    P1=gmail
    P2=IVBsSpecialAddress+4e53af@rmilk.com
    P3=%(LVar:CQCActParm_3)
    P4=List:Alexa-Groceries

GlobalVars::SetVariable
    P1=GVar:EchoReply
    P2=Ok, Jarvis has added  %(LVar:CQCActParm_3) . Don't forget to move it to the right list.
------------------------------------
Devices I'm phasing out: ISY, NuVo
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply
#19
For the fun of it, I tried it and I said "tell Jarvis to add milk to the remember list."
But it didnt work as it parsed the phrase to be milk and the value to be remember. What would the proper invocation command be?

Thank you
Reply
#20
I used "ask" (Alexa ask jarvis to add <item> to the remember list>. I might have created a new intent on the developer.amazon.com section, I was doing a ton of that. Although, nowadays RTM has it's own alexa skill, so you don't have to do that. (Unless you want to just use CQC for this). I did it before that skill existed.
------------------------------------
Devices I'm phasing out: ISY, NuVo
My vlogs: https://www.youtube.com/c/IVBsHomeAutomation
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Driver Configuration w/8 prompts rbroders 1 264 09-03-2018, 09:28 PM
Last Post: Dean Roddey
  If starting fresh, what is the best garage door system to go with to work with CQC? ghurty 1 153 08-30-2018, 03:23 PM
Last Post: znelbok
  Copied an autogen template for the Elk, but the arm/disarm doesnt work now ghurty 3 277 06-03-2018, 05:38 PM
Last Post: Dean Roddey
  Alexa can't load configuration mattheinrich 1 339 03-24-2018, 08:45 AM
Last Post: Dean Roddey
  Can CQC work with Lutron or Vantage? ghurty 1 1,031 02-19-2017, 04:03 PM
Last Post: Dean Roddey
  Echo configuration example potts.mike 30 6,661 11-26-2016, 09:26 AM
Last Post: Ron Haley
  ctrl-a doesnt work in the search field bbrendon 2 1,067 11-21-2016, 09:54 PM
Last Post: Dean Roddey
  Forum - New Posts doesn't work with Firefox dgage 48 7,501 09-15-2016, 05:17 AM
Last Post: George M
  Sonos - Current Track zra 2 1,046 06-02-2016, 02:20 PM
Last Post: zra
  Current 4.7.n release Dean Roddey 183 27,897 10-13-2015, 12:08 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)