Announcement

Collapse
No announcement yet.

Connecting Imperihome to Zee S2

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

    Connecting Imperihome to Zee S2

    I need instructions on how to configure to connect to a Zee S2 Linux box. I think the issue is with the local firewall. Your instructions address opening local port on a Windows box. How is it done on the Zee S2?

    (Plug-in installed on HS3 and enabled with no errors)

    #2
    I don't think there is any firewall by default on the Zee2. Do you get any error when trying to connect the imperihome app?

    From a browser try to enter http://XXX.YYY.ZZZ.WWW:8072/issapi/system
    where XXX.YYY.ZZZ.WWW is the local IP of your Zee2. What do you get?

    Comment


      #3
      Connecting Imperihome to Zee S2

      I have that setup, spud is right.
      For remote access I just opened up a port on the router.


      Http://xxx.yyy.www.zzzz/Issapi

      You don't need /system

      Sent from my iPhone using Tapatalk

      Comment


        #4
        Still no luck connecting Imperihome

        Tried your suggestion, no luck. See attachment for complete details.

        Addendum: I missed the www in your suggested address. Forgot your plug-in has its own browser. Tried again with Chrome using both http and https. Now got a different error: "96.241.229.137.www's server DNS address could not be found".

        Additional info: Imperihome does connect to an IP camera - both via internet and local network, so I am sure the app works.
        Attached Files
        Last edited by rjh2; May 17, 2016, 11:19 AM.

        Comment


          #5
          Originally posted by rjh2 View Post
          Tried your suggestion, no luck. See attachment for complete details.

          Addendum: I missed the www in your suggested address. Forgot your plug-in has its own browser. Tried again with Chrome using both http and https. Now got a different error: "96.241.229.137.www's server DNS address could not be found".

          Additional info: Imperihome does connect to an IP camera - both via internet and local network, so I am sure the app works.
          First, forget about connecting from an external network if you can't connect locally. So, for now, forget about port forwarding and external IP.

          When you will be home, try to connect from a browser using the internal IP of your Zee2. Most of the time it should look something like 192.168.1.10, you can see this internal IP from the "TOOLS > About HomeSeer" page as the LAN IP address.

          Don't use https the plugin does not support it.

          http://192.168.1.10:8072/issapi/system
          if this url works from a browser the url you need to set in Imperihome is
          http://192.168.1.10:8072/issapi
          i.e. the one you should see as "Local API Base URL" in the config page of the plugin

          Also when you start the plug-in do you see this line in the logs:
          Code:
          ImperiHome     DEBUG ISS server started: http://*:8072/issapi/

          Comment


            #6
            More info on not connecting

            I do not see the "ISS Server Started" line in the log. I even disabled and re-enabled it (see attached file)

            Also, the address I used is exactly what is listed in the plugin config page.

            Next step?
            Attached Files

            Comment


              #7
              please set the log level to Trace, and restart the plug-in

              the "ISS Server Started" line is logged at debug level

              Comment


                #8
                Debug mode?

                I don't see an option in "Log Settings"

                Do I change this with a script in the control panel? or is there a configuration setting somewhere else?

                Sub Main ()
                hs.DebugMode = <what number>
                End Sub

                Comment


                  #9
                  Originally posted by rjh2 View Post
                  I don't see an option in "Log Settings"

                  Do I change this with a script in the control panel? or is there a configuration setting somewhere else?

                  Sub Main ()
                  hs.DebugMode = <what number>
                  End Sub
                  no it's the log level setting on the Imperihome plug-in config page, yours is set to Info as from your screenshot.

                  Comment


                    #10
                    ISS Started

                    ISS Server started.

                    May-17 3:32:40 PM ImperiHome DEBUG ISS server started: http://*:8072/issapi/

                    However, during the start sequence, there was an error message in orange that flashed, something about not finding an interface. It was about 3 lines long and lasted about a half a second.

                    Comment


                      #11
                      Originally posted by rjh2 View Post
                      However, during the start sequence, there was an error message in orange that flashed, something about not finding an interface. It was about 3 lines long and lasted about a half a second.
                      you can ignore this orange message, it happens frequently with a lot of plug-ins.

                      do you know how to ssh to your Zee2? If so please run these 2 commands and post the results:

                      Code:
                      sudo ps -aux | grep mono
                      Code:
                      sudo netstat -tanpu
                      also have you tried to simply reboot the Zee2?

                      FYI, I just tested again on my Zee2, and it worked.

                      Comment


                        #12
                        if you don't know how to ssh, you can run the commands from the web interface: Tools > System > Linux tools

                        Comment


                          #13
                          Tried rebooting - no luck.
                          Ran your commands from Linux tools
                          (the tools didn't like the pipe command so you got everything, not just lines with mono. I highlighted them for you)
                          I pasted into Excel (attached - had to change extension to doc so it would upload)

                          Also, tried ssh from terminal on my Mac. Connected, but could not log in.
                          Tried the name and password from HS3 (rjhhome), no go.
                          Tried pi and raspberry, no go
                          Tried root and the password I used to log in to linux tools (the password from HS3)
                          Attached Files

                          Comment


                            #14
                            everything looks ok, could you run this one too:

                            sudo iptables -L -n

                            this should show some rules if you have a firewall running on the Zee2, but that would be surprising.

                            the username for ssh is homeseer

                            could you also try to change the port on the config page to 8073 for example and then try to access http://192.168.1.23:8073/issapi/system from a browser. What error do you get?

                            Comment


                              #15
                              Results
                              Chain INPUT (policy ACCEPT)
                              target prot opt source destination

                              Chain FORWARD (policy ACCEPT)
                              target prot opt source destination

                              Chain OUTPUT (policy ACCEPT)
                              target prot opt source destination

                              Changed port to 8073. Same error 0 Invalid response from API

                              Comment

                              Working...
                              X