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 |
|
12-19-2016, 01:36 PM | #1 |
Advanced Member III
Join Date: Jul 2009
Posts: 308
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
How do you use it with Alexa?? "Alexa start {macro name}"....??
|
12-19-2016, 02:14 PM | #2 |
Administrator
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
No, you would say "Turn {Macro Name} on"
__________________
Tim Shriver Home Automated Living |
12-19-2016, 02:57 PM | #3 |
Advanced Member III
Join Date: Jul 2009
Posts: 308
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
Thanks Tim!
Now, I will get this going. I wanted to make sure I could call it directly. Since it sounds like it is almost seen as a device, that would cut out me calling my program first. |
12-19-2016, 05:07 PM | #4 |
Advanced Member III
Join Date: Jul 2009
Posts: 308
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
Started going through setting this up. First got an error 500 and no devices found. Then rebooted and still no devices, but no error from the web page, just this in the cmd screen:
ERROR spark.webserver.MatcherFilter - com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 15 path $.IrButtons at com.google.gson.internal.bind.ReflectiveTypeAdapte rFactory$Adapter.read(ReflectiveTypeAdapterFactory .java:220) at com.google.gson.Gson.fromJson(Gson.java:879) at com.google.gson.Gson.fromJson(Gson.java:844) at com.google.gson.Gson.fromJson(Gson.java:793) at com.google.gson.Gson.fromJson(Gson.java:765) at com.bwssystems.hal.HalInfo.getDeviceButtons(HalInf o.java:156) at com.bwssystems.hal.HalInfo.getButtons(HalInfo.java :8 at com.bwssystems.hal.HalHome.getDevices(HalHome.java :90) at com.bwssystems.HABridge.devicemanagmeent.DeviceRes ource.lambda$14(DeviceResource.java:287) at spark.ResponseTransformerRouteImpl$1.handle(Respon seTransformerRouteImpl.java:47) at spark.webserver.MatcherFilter.doFilter(MatcherFilt er.java:162) --- Also noticed this upon trying to save. I am running the bat file as Administrator: [main] INFO com.bwssystems.HABridge.BridgeSettings - Cannot set permissions for config file on this system as it is not supported. Continuing |
12-29-2016, 06:00 PM | #5 |
Advanced Member III
Join Date: Aug 2008
Posts: 391
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
Just received my Echo Dot today in the mail. Setup via the latest guide posted on this thread... Works Great!
__________________
HALpro v7.2.7 Win 7 HAL voices US/UK HAL DMC Tell Me v2.7.0 |
12-29-2016, 07:04 PM | #6 |
Administrator
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
That's great... We are working on creating a UI in HAL to allow you to configure the devices. If you look in the Data directory under where you launch the bridge, you'll see a file called devices.db. This is what you have configured using the Bridge UI.
What we plan on doing is having an option in System Settings to Enable the BWS Bridge and HAL will create the habridge.config file. If this option is enabled, then as part of the Device Wizard and the Macro Wizard you will be able to checkbox if the device is to be included in the device.db that is used by the HA Bridge. No time frame as of yet for this feature in the new version 7. Tim
__________________
Tim Shriver Home Automated Living |
12-30-2016, 11:20 AM | #7 |
Advanced Member III
Join Date: Jul 2009
Posts: 308
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
I could never get the bridge working after several attempts. I did read through the bridge site on the errors, but still not working. Might try a new computer again.
Excellent concept on making it more integrated and user friendly within HAL; maybe add it in with HALNET? |
12-30-2016, 12:24 PM | #8 |
Administrator
Join Date: Jul 2003
Location: Laurel, MD
Posts: 1,588
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
Why don't you call our support line and see if one of the guys can help you get it configured?
Tim
__________________
Tim Shriver Home Automated Living |
12-30-2016, 07:21 PM | #9 |
Advanced Member III
Join Date: Jul 2009
Posts: 308
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
TIm,
WIll do. I followed the directions to the T a couple of times, but I'm also running a web service, but on a different port....and I even shut it down, but still an error. It will help me out tremendously since I am writing code to do the same thing in C#. Much cleaner using the bridge. |
01-14-2017, 03:08 PM | #10 |
Advanced Member
Join Date: Jun 2007
Location: Katy, TX
Posts: 199
|
Re: HAL, Amazon Echo/Dot, SMS, and TV Control
Just as an FYI, I recently upgraded from my DSL to high-speed with AT&T. After the installation of their new wireless router my HA Bridge would not launch with HAL. No errors, very confusing. I realized that the IP address of my HALUltra Server changed and the config file for the Bridge was still referencing my old IP address with the port used (8089).
I manually edited the habridge.config file using notepad, replacing the old IP address with the new one, then edited the device.db file using notepad, updating and replacing the old IP address within the device.db file with the new one and viola, after starting the HA-Bridge-Start.bat file the bridge came up just fine and is back working good as new. Just thought I'd share a bit of this information with you, in case it helps others. |
Bookmarks |
Currently Active Users Viewing This Thread: 4 (0 members and 4 guests) | |
|
|
|