Announcement

Collapse
No announcement yet.

Thrag's Echo Plugin Discussion Thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I am currently trying to set this skill up, and all I get is a response from Alexa 'You are not authorized to use this skill'. I'm logged in using the same credentials with the Echo as I used to create the skill, any idea what I'm missing?

    Comment


      Hi,

      I have the bridge up and running and can control all my lights with Alexa. I did not install the skill because I didn't really need it. Coming from Vera, I was able to control my harmony scenes and devices, but I do not see a way to do it on this bridge. Is there a way to do this?

      Thanks,
      Andy

      Comment


        Hi,
        I'm trying to get this working and have failed at the first hurdle, setting up the HA Bridge.

        I run HS on Server 2012R2.

        I installed the JDK 1.8 to run.
        I run the java file and towards the end I get errors telling me the Upnp Response Port is in use, starting loop to find open port for 20 tries......then it gets to 50020 with the message: Address already in use: Cannot bind.

        I know little about java so any help would be appreciated.


        P:\Program Files\Java\HA Bridge>java -jar ha-bridge-3.1.0.jar
        2016-10-07 17:50:00,330 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v3.1.0) starting....
        2016-10-07 17:50:00,345 [main] INFO com.bwssystems.HABridge.BridgeSettings - reading from system properties
        2016-10-07 17:50:00,345 [main] INFO com.bwssystems.HABridge.BridgeSettings - Getting an IP address for this host....
        2016-10-07 17:50:00,517 [main] INFO com.bwssystems.HABridge.BridgeSettings - Adding 192.168.1.12 from interface eth7 as our default upnp config address.
        2016-10-07 17:50:00,517 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v3.1.0) initializing....
        2016-10-07 17:50:00,533 [main] INFO com.bwssystems.HABridge.SystemControl - System control service started....
        2016-10-07 17:50:00.689:INFO::Thread-0: Logging initialized @863ms
        2016-10-07 17:50:00,720 [main] WARN com.bwssystems.HABridge.dao.DeviceRepository - Error reading the file: data\device.db - Does not exist or is not readable.
        continuing...
        2016-10-07 17:50:00,720 [main] INFO com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started....
        2016-10-07 17:50:00,783 [Thread-0] INFO spark.webserver.JettySparkServer - == Spark has ignited ...
        2016-10-07 17:50:00,783 [Thread-0] INFO spark.webserver.JettySparkServer - >> Listening on 0.0.0.0:8080
        2016-10-07 17:50:00.799:INFOejs.Server:Thread-0: jetty-9.3.z-SNAPSHOT
        2016-10-07 17:50:01.127:INFOejs.ServerConnector:Thread-0: Started ServerConnector@525daa03{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
        2016-10-07 17:50:01.127:INFOejs.Server:Thread-0: Started @1311ms
        2016-10-07 17:50:01,205 [main] INFO com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started....
        2016-10-07 17:50:01,205 [main] INFO com.bwssystems.HABridge.upnp.UpnpSettingsResource - Hue description service started....
        2016-10-07 17:50:01,221 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener -
        UPNP Discovery Listener starting....
        2016-10-07 17:50:01,221 [main] WARN com.bwssystems.HABridge.upnp.UpnpListener -
        Upnp Response Port is in use, starting loop to find open port for 20 tries - configured port is: 50000
        2016-10-07 17:50:01,221 [main] ERROR com.bwssystems.HABridge.upnp.UpnpListener -
        Upnp Response Port issue, could not find open port - last port tried: 50020 with message: Address already in use: Cannot bind
        2016-10-07 17:50:01,221 [main] INFO spark.webserver.JettySparkServer - >>> Spark shutting down ...
        2016-10-07 17:50:01.236:INFOejs.ServerConnector:main: Stopped ServerConnector@
        525daa03{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
        2016-10-07 17:50:01,236 [main] INFO spark.webserver.JettySparkServer - done
        2016-10-07 17:50:01,236 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v3.1.0) exiting....

        P:\Program Files\Java\HA Bridge>

        Comment


          A little progress but still not there.
          After a little 'fettling' I managed to get a page that has;
          HA Bridge Home MyEcho Help About
          across the top.
          After putting in my login details for Echo if I press the MyEcho tab I get to my echo account.
          When I press /HS3EchoPlugin.aspx?BridgeConfig and wait a while I get;

          Server Error in '/' Application.

          Request timed out.
          Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

          Exception Details: System.Web.HttpException: Request timed out.

          Source Error:

          An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


          Stack Trace:

          [HttpException (0x80004005): Request timed out.]

          Comment


            I also notice when the java is run I am getting (highlighted in bold);


            P:\Program Files\Java\HA Bridge>java -jar ha-bridge-3.1.0.jar
            2016-10-08 15:36:25,639 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v3.1.0) starting....
            2016-10-08 15:36:25,702 [main] INFO com.bwssystems.HABridge.BridgeSettings - reading from system properties
            2016-10-08 15:36:25,702 [main] INFO com.bwssystems.HABridge.BridgeSettings - Getting an IP address for this host....
            2016-10-08 15:36:25,874 [main] INFO com.bwssystems.HABridge.BridgeSettings - Adding 192.168.1.12 from interface eth7 as our default upnp config address.
            2016-10-08 15:36:25,874 [main] INFO com.bwssystems.HABridge.HABridge - HA Bridge (v3.1.0) initializing....
            2016-10-08 15:36:25,905 [main] INFO com.bwssystems.HABridge.SystemControl - System control service started....
            2016-10-08 15:36:26,124 [main] WARN com.bwssystems.HABridge.dao.DeviceRepository - Error reading the file: data\device.db - Does not exist or is not readable.
            continuing...
            2016-10-08 15:36:26,124 [main] INFO com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management service started....
            2016-10-08 15:36:26.139:INFO::Thread-0: Logging initialized @1528ms
            2016-10-08 15:36:26,483 [Thread-0] INFO spark.webserver.JettySparkServer - == Spark has ignited ...
            2016-10-08 15:36:26,499 [Thread-0] INFO spark.webserver.JettySparkServer - >> Listening on 0.0.0.0:8080
            2016-10-08 15:36:26.499:INFOejs.Server:Thread-0: jetty-9.3.z-SNAPSHOT
            2016-10-08 15:36:27.296:INFOejs.ServerConnector:Thread-0: Started ServerConnector@631ff8f8{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
            2016-10-08 15:36:27.296:INFOejs.Server:Thread-0: Started @2692ms
            2016-10-08 15:36:27,499 [main] INFO com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started....
            2016-10-08 15:36:27,499 [main] INFO com.bwssystems.HABridge.upnp.UpnpSettingsRe
            source - Hue description service started....
            2016-10-08 15:36:27,514 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener -
            UPNP Discovery Listener starting....
            2016-10-08 15:36:27,655 [main] INFO com.bwssystems.HABridge.upnp.UpnpListener -
            UPNP Discovery Listener running and ready....

            Comment


              My bad - typo in the echoconfig.ini file!!
              Another hurdle completed, on to the Skill section!
              Last edited by IanIreland; October 8, 2016, 10:56 AM.

              Comment


                I'm struggling!
                Creating the Lambda looks significantly different to that described in the instructions so I'm muddling through as best I can.
                When I get to 'create function' I get an error message; u is undefined

                Can anybody offer any help?

                Comment


                  Had another go today;
                  I now get;

                  Unable to get property 'validateLinkInfo' of undefined or null reference

                  when trying to create the function in the Lambda setup.

                  Comment


                    Originally posted by IanIreland View Post
                    Had another go today;
                    I now get;

                    Unable to get property 'validateLinkInfo' of undefined or null reference

                    when trying to create the function in the Lambda setup.
                    Anybody got any ideas on how I can get this working?

                    Comment


                      Hi,

                      I am new to Homeseer and recently get the Echo bridge up and running (Thrags). I am not currently using the skill as I don't want to use the MyHS service. I was wondering if there is a way to have the echo run an HS3 event just with the bridge. Does anyone know if this is possible?

                      Thanks,
                      Andy

                      Comment


                        Originally posted by ando1 View Post
                        Hi,

                        I am new to Homeseer and recently get the Echo bridge up and running (Thrags). I am not currently using the skill as I don't want to use the MyHS service. I was wondering if there is a way to have the echo run an HS3 event just with the bridge. Does anyone know if this is possible?

                        Thanks,
                        Andy
                        Yes , you can do that using JSON commands

                        create a custom device this use this in the ON Button

                        http://HOMESEERIP:PORT/JSON?request=runevent&id=6220

                        change homeseer IP and Port , also change the event ID

                        You can find more commands here

                        http://www.homeseer.com/support/home..._with_json.htm

                        Comment


                          Originally posted by rmohsen View Post
                          Yes , you can do that using JSON commands

                          create a custom device this use this in the ON Button

                          http://HOMESEERIP:PORT/JSON?request=runevent&id=6220

                          change homeseer IP and Port , also change the event ID

                          You can find more commands here

                          http://www.homeseer.com/support/home..._with_json.htm

                          Thanks! Now I just need to read up on how to implement the JSON commands into the device.

                          Andy

                          Comment


                            Originally posted by ando1 View Post
                            Thanks! Now I just need to read up on how to implement the JSON commands into the device.

                            Andy
                            Sorry , i'm using HA Bridge and not Echo Plugin , i found it easier to use

                            Comment


                              Originally posted by rmohsen View Post
                              Sorry , i'm using HA Bridge and not Echo Plugin , i found it easier to use

                              Hmm, now I am confused. I am also using the HA-Bridge. No plugin or skill. Can you explain to me how to create the custom device and make it run the JSON?

                              Ah, I think I may now know what you are talking about when you say create a "custom" device. You mean to do this in the HA-Bridge interface right? If so, that is where I was getting confused. I was creating a virtual device in the HS3 interface.

                              Comment


                                Originally posted by ando1 View Post
                                Hmm, now I am confused. I am also using the HA-Bridge. No plugin or skill. Can you explain to me how to create the custom device and make it run the JSON?
                                use this as a guide


                                Manual add your device , name it and then put the URLs in the ON and Off buttons .
                                once done scan your devices again from Echo
                                Attached Files

                                Comment

                                Working...
                                X