HA Project Center What have you done with HAL and/or HA? Explain it here for other to use and expand. |
|
Thread Tools | Display Modes |
|
01-15-2017, 06:39 AM | #1 |
Junior Member
Join Date: Nov 2015
Posts: 11
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
As an FYI I personally found it easier, when using Alexa to turn off groups, to create a fake x10 device with a letter code I am not using and have HAL rules run off of that turning off or on. Example (Inside Light, HAL Virtual (Custom) X10, with code E07). Add that in the bridge then can say, "Alexa turn on inside lights". I may be making it more difficult, but works better for me.
I do have a question regarding the .bat file running the open command prompt. In the VERY APPRECIATED and EASY TO FOLLOW directions for HAL BWS Setup, it states, " Remember to remove this after testing or it will be nuisance when everything is working well and you simply want to close the window". Is this referring to the pause command? Is there a way for the cmd window to close and the Echo still see those connected devices? It appears when I close down the window, the Echo cannot control the lights. Thanks! |
01-15-2017, 06:51 AM | #2 |
Advanced Member III
Join Date: Aug 2008
Posts: 391
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
That window needs to stay open. When you close that window, you are actually closing the program. if you remove the pause command, then the window would close automatically when the program stops running. So I believe the nuisance they are talking about is only the PAUSE portion as it requires your input to close the window. Only way to remove this window would be to call it in the background (would have to google that if it's even possible, but i'm pretty sure it is).
__________________
HALpro v7.2.7 Win 7 HAL voices US/UK HAL DMC Tell Me v2.7.0 |
01-15-2017, 07:33 AM | #3 | |
Administrator
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
Quote:
You can use the Groups command in HAL and in the HA Bridge. For example, I have my lights grouped in lots of ways. Upstairs, Main Floor, Basement, Inside, Outside, Front, Back... Take the HAL Group Outside... In the HA Bridge it adds this item as just the Group name Outside. So you would say to Alexa "Turn Outside Off" To keep my command consistent with HAL and for clarity I edit the Name in the HA Bridge to be "All Outside Lights" . This means I say the same thing to HAL and Alexa; "Turn All Outside Lights On". I don't use a virtual device or rule, just the HAL Group. Tim
__________________
Tim Shriver Home Automated Living |
|
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
|