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, 05:07 PM | #1 |
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 | #2 |
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 | #3 |
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 |
Bookmarks |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
|