Announcement

Collapse
No announcement yet.

No device found at the IP Address

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

    No device found at the IP Address

    I downloaded the plug-in from the Beta section based on recent posts I've read and when I attempt to configure my Harmony hub I get a message indicating there are no devices found at the IP Address.

    The hub is configured with a static IP and works with an Alexa skill. I just can't seem to get it configured with the plug-in.

    I'm running HS3 Pro Edition 3.0.0.435

    Not sure what I'm missing....

    #2
    I would check maybe your firewall. That message is returned when it can't establish a connection to the hub or it fails to connect. The plug-in uses port 5222 to communicate with the hub in case that helps.

    Also try pinging the hub from your he machine.

    What OS are you running HS on?

    Sent from my Pixel 2 XL using Tapatalk

    Comment


      #3
      Thanks for the quick reply. I'll check the port on the router.

      I'm running HS on Windows 10 Pro

      Comment


        #4
        I checked the network and it appears all ports are open to internal network traffic. I was able to ping the hub from the HS computer so at this point I'm not sure why the plug-in isn't able to find the hub on the network.

        Comment


          #5
          Originally posted by DavidLiles View Post
          I checked the network and it appears all ports are open to internal network traffic. I was able to ping the hub from the HS computer so at this point I'm not sure why the plug-in isn't able to find the hub on the network.
          Can you get a screenshot of the general settings?

          Sent from my Pixel 2 XL using Tapatalk

          Comment


            #6
            Here are the settings... I didn't make any changes from the defaults.
            Attached Files

            Comment


              #7
              I am having the same issue.


              Code:
              Current Date/Time: 5/27/2018 8:29:40 PM
              HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.435
              Linux version: Linux HomeTrollerZeeS2 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux System Uptime: 0 Days 1 Hour 17 Minutes 37 Seconds
              IP Address: 10.0.10.230
              Number of Devices: 91
              Number of Events: 15
              Available Threads: 399
              HSTouch Enabled: True
              Event Threads: 0
              Event Trigger Eval Queue: 0
              Event Trigger Priority Eval Queue: 0
              Device Exec Queue: 0
              HSTouch Event Queue: 0
              Email Send Queue: 0
              Anti Virus Installed: 
              
              Enabled Plug-Ins
              2.0.2.3: JowiHue
              3.0.3.12: MeiHarmonyHub
              3.0.1.190: Z-Wave
              I have 4 Harmony Hubs, They are all assigned static (dhcp reservations) IP's via router. Currently the only Hub I want joined is the Movie room. (10.0.10.233), however I've tried all of them just to see if there is a difference. They all respond the same.

              I've tried the 3.0.2.0 and 3.0.3.12 releases of MeiHarmonyHub. They all return the same "No device found at the IP address"

              Hub version: 4.15.105.

              They (the hubs) respond correctly via phone app, alexa, and Rien du Pre's Harmony Hub plugin. However I want to be able to build events based on when activities run.


              I can ping the hub from the hometroller console, as well as connect via telnet on port 5222

              Code:
              root@HomeTrollerZeeS2:~# ping 10.0.10.230
              PING 10.0.10.230 (10.0.10.230) 56(84) bytes of data.
              64 bytes from 10.0.10.230: icmp_req=1 ttl=64 time=0.131 ms
              64 bytes from 10.0.10.230: icmp_req=2 ttl=64 time=0.124 ms
              ^C
              --- 10.0.10.230 ping statistics ---
              2 packets transmitted, 2 received, 0% packet loss, time 999ms
              rtt min/avg/max/mdev = 0.124/0.127/0.131/0.011 ms
              root@HomeTrollerZeeS2:~# telnet 10.0.10.233 5222
              Trying 10.0.10.233...
              Connected to 10.0.10.233.
              Escape character is '^]'.
              ^]
              telnet> quit
              Connection closed.
              root@HomeTrollerZeeS2:~#
              Error logs show

              Code:
              May-27 8:31:48 PM	 	MeiHarmonyHub: Debug	Was a new hub found at IP? False
              May-27 8:31:48 PM	 	MeiHarmonyHub: Debug	new Hub with IP address (10.0.10.233) provided. Is it valid?
              May-27 8:31:48 PM	 	MeiHarmonyHub: Debug	Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=10.0.10.233&id=hub_device_add&hub_device_add=Submit
              May-27 8:31:25 PM	 	MeiHarmonyHub: Debug	Was a new hub found at IP? False
              May-27 8:31:25 PM	 	MeiHarmonyHub: Debug	new Hub with IP address (10.0.10.233) provided. Is it valid?
              May-27 8:31:25 PM	 	MeiHarmonyHub: Debug	Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=10.0.10.233&id=hub_device_add&hub_device_add=Submit
              May-27 8:31:23 PM	 	MeiHarmonyHub: Debug	Was a new hub found at IP? False
              May-27 8:31:23 PM	 	MeiHarmonyHub: Debug	new Hub with IP address (10.0.10.233) provided. Is it valid?
              May-27 8:31:23 PM	 	MeiHarmonyHub: Debug	Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=10.0.10.233&id=hub_device_add&hub_device_add=Submit
              Any Insight would be appreciated.

              Comment


                #8
                Sorry to both of you, It was a crazy weekend and I wasn't able to be on the computer as much as I wanted.

                I've only ever been able to reproduce this by pointing to an IP that is not a hub, but obviously that is not what you are experiencing.

                I will add more debug logging around that area to see if I can capture anything. The method I'm using to open the connection currently doesn't allow me to set a timeout, so if it's takes longer than normal to connect, it might think there is no hub there. It could be there is some other issue with the connection which I will attempt to track (It actually tries to connect to the hub to see if one is there, so I should be able ot track it).

                IN the mean time, turning on Debug Logging in the settings might offer more insights (it writes to a file in the Logs directory). Also, I will respond in a few with a way to add the hubs manually in the settings file (if you are running the most recent beta). This will get the hubs at least added and you can try a connect from there and see if that works. At the very least the connection logging would be better there.

                Comment


                  #9
                  To try to add a hub manually, go to [homeseerInstallDirectory]/Config/MeiHarmonyHub/HSPI_MeiHarmonyHubs_KnownHubs.json and add a hub (this would be a complete file).

                  You should just have {} if you have 0 (zero) hubs now. You would want to add another hub inside those {}:

                  Code:
                  {
                    "[UniqueID]": {
                      "UniqueId": "[UniqueId]",
                      "Location": "[IPAddress]",
                      "Name": "[NameOfHub]",
                      "Devices": {},
                      "HubRootDeviceReference": 0,
                      "ActivityDeviceReference": 0,
                      "SleepTimerDeviceReference": 0,
                      "Enabled": false,
                      "CreateActivityDevice": false,
                      "CreateDeviceDevices": false,
                      "CreateSleepDevice": false
                    }
                  }
                  • UniqueId - This is the Hubs native ID of the hub. I created one and just used "ManuallyCreatedHub1" and it worked (I don't use the ID except for a unique identifier in the code anyways).
                  • IPAddress - This is the IP address of the hub (no http:// or anything, just the IP. I.E. 192.168.1.20)
                  • NameOfHub - This is the name of the hub from the hub itself. It shouldn't matter what you name it. When you enable the hub in the plugin, it will use this to name the devices though.


                  You should make those changes WITH THE PLUGIN OFF, then turn it on. If you want to PM me the settings file before you turn it on, I will look at it and make sure it looks ok. The important part is that the above is in the existing {}. There should be 2 { at the beginning of the file.

                  Also, if this works and you want to add more than 1 hub, you can add multiple of those blocks separated by a comma. For now, start with 1 hub though.

                  Comment


                    #10
                    I created a the device as follows.

                    My Device for testing is "Theater" at "10.0.10.233"

                    Stopped the MeiHarmonyHub Plugin

                    Edited HSPI_MeiHarmonyHubs_KnonwHubs.json

                    Code:
                    {
                      "[BasementTheater0]": {
                        "UniqueId": "[BasementTheater0]",
                        "Location": "[10.0.10.233]",
                        "Name": "[Theater]",
                        "Devices": {},
                        "HubRootDeviceReference": 0,
                        "ActivityDeviceReference": 0,
                        "SleepTimerDeviceReference": 0,
                        "Enabled": true,
                        "CreateActivityDevice": true,
                        "CreateDeviceDevices": true,
                        "CreateSleepDevice": true
                      }
                    }
                    Restarted the MeiHarmoneyHub Plugin, the hub DOES show up in the interface, however I can not communicate. The following is repeated in logs

                    Code:
                    Jun-03 9:23:15 AM	 	MeiHarmonyHub: Debug	Hub: [BasementTheater0] Connection Attempt 608
                    Jun-03 9:23:14 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with stack trace: at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in :0 at System.Net.Dns.hostent_to_IPHostEntry (System.String originalHostName, System.String h_name, System.String[] h_aliases, System.String[] h_addrlist) [0x00000] in :0 at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] in :0 at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000] in :0 at System.Net.Dns.GetHostAddresses (System.String hostNameOrAddress) [0x00000] in :0 at System.Net.Sockets.TcpClient.Connect (System.String hostname, Int32 port) [0x00000] in :0 at System.Net.Sockets.TcpClient..ctor (System.String hostname, Int32 port) [0x00000] in :0 at HarmonyHub.Client.Connect (Int32 heartbeatInterval) [0x00000] in :0
                    Jun-03 9:23:14 AM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with message: Could not resolve host '[10.0.10.233]'
                    Jun-03 9:23:14 AM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Attempting to connect to IP: [10.0.10.233] on port 5222
                    Jun-03 9:23:14 AM	 	MeiHarmonyHub: Debug	Hub: [BasementTheater0] Connection Attempt 607

                    I then added all of the hubs, to see if any of them would catch. I tried changing the IP, to each in a single entry. They all responded with the same errors (with different uniqueID's).

                    I then for S&G I added all of them, however it appears to hang on the first entry and never process the extras.

                    Code:
                      GNU nano 2.2.6                                  File: HSPI_MeiHarmonyHubs_KnonwHubs.json                                                                          
                    
                    {
                      "[BasementTheater0]": {
                        "UniqueId": "[BasementTheater0]",
                        "Location": "[10.0.10.233]",
                        "Name": "[Theater]",
                        "Devices": {},
                        "HubRootDeviceReference": 0,
                        "ActivityDeviceReference": 0,
                        "SleepTimerDeviceReference": 0,
                        "Enabled": true,
                        "CreateActivityDevice": true,
                        "CreateDeviceDevices": true,
                        "CreateSleepDevice": true
                      }
                    },
                    {
                      "[BasementCorner0]": {
                        "UniqueId": "[BasementCorner0]",
                        "Location": "[10.0.10.223]",
                        "Name": "[Corner]",
                        "Devices": {},
                        "HubRootDeviceReference": 0,
                        "ActivityDeviceReference": 0,
                        "SleepTimerDeviceReference": 0,
                        "Enabled": true,
                        "CreateActivityDevice": true,
                        "CreateDeviceDevices": true,
                        "CreateSleepDevice": true
                      }
                    },
                    {
                      "[FirstMaster0]": {
                        "UniqueId": "[FirstMaster0]",
                        "Location": "[10.0.10.218]",
                        "Name": "[Master]",
                        "Devices": {},
                        "HubRootDeviceReference": 0,
                        "ActivityDeviceReference": 0,
                        "SleepTimerDeviceReference": 0,
                        "Enabled": true,
                        "CreateActivityDevice": true,
                        "CreateDeviceDevices": true,
                        "CreateSleepDevice": true
                      }
                    },
                    {
                      "[FirstLiving0]": {
                        "UniqueId": "[FirstLiving0]",
                        "Location": "[10.0.10.229]",
                        "Name": "[Living]",
                        "Devices": {},
                        "HubRootDeviceReference": 0,
                        "ActivityDeviceReference": 0,
                        "SleepTimerDeviceReference": 0,
                        "Enabled": true,
                        "CreateActivityDevice": true,
                        "CreateDeviceDevices": true,
                        "CreateSleepDevice": true
                      }
                    }
                    If you need any more info, let me know.

                    Comment


                      #11
                      I see the issue. I should haev explained (and sorry for the late response).

                      Remove the [] from around the names and IP address. I should have mentioned that. I normally put [] around things when they are to be replaced so [ipAddress] would just be 10.0.0.233 and not [10.0.0.233]. Here is an updated version of your config (I kept the [] around your unique names as it won't hurt anything):

                      Code:
                      {
                        "[BasementTheater0]": {
                          "UniqueId": "[BasementTheater0]",
                          "Location": "10.0.10.233",
                          "Name": "Theater",
                          "Devices": {},
                          "HubRootDeviceReference": 0,
                          "ActivityDeviceReference": 0,
                          "SleepTimerDeviceReference": 0,
                          "Enabled": true,
                          "CreateActivityDevice": true,
                          "CreateDeviceDevices": true,
                          "CreateSleepDevice": true
                        }
                      },
                      {
                        "[BasementCorner0]": {
                          "UniqueId": "[BasementCorner0]",
                          "Location": "10.0.10.223",
                          "Name": "Corner",
                          "Devices": {},
                          "HubRootDeviceReference": 0,
                          "ActivityDeviceReference": 0,
                          "SleepTimerDeviceReference": 0,
                          "Enabled": true,
                          "CreateActivityDevice": true,
                          "CreateDeviceDevices": true,
                          "CreateSleepDevice": true
                        }
                      },
                      {
                        "[FirstMaster0]": {
                          "UniqueId": "[FirstMaster0]",
                          "Location": "10.0.10.218",
                          "Name": "Master",
                          "Devices": {},
                          "HubRootDeviceReference": 0,
                          "ActivityDeviceReference": 0,
                          "SleepTimerDeviceReference": 0,
                          "Enabled": true,
                          "CreateActivityDevice": true,
                          "CreateDeviceDevices": true,
                          "CreateSleepDevice": true
                        }
                      },
                      {
                        "[FirstLiving0]": {
                          "UniqueId": "[FirstLiving0]",
                          "Location": "10.0.10.229",
                          "Name": "Living",
                          "Devices": {},
                          "HubRootDeviceReference": 0,
                          "ActivityDeviceReference": 0,
                          "SleepTimerDeviceReference": 0,
                          "Enabled": true,
                          "CreateActivityDevice": true,
                          "CreateDeviceDevices": true,
                          "CreateSleepDevice": true
                        }
                      }

                      Comment


                        #12
                        updated, and this is now what I'm getting.

                        Code:
                        Jun-10 9:52:46 PM	 	Info	Plugin MeiHarmonyHub with instance: has disconnected
                        Jun-10 9:52:46 PM	 	MeiHarmonyHub: Debug	Connection status: ForcefullyDisconnected
                        Jun-10 9:52:46 PM	 	MeiHarmonyHub: Debug	Connection status: ForcefullyDisconnected
                        Jun-10 9:52:46 PM	 	MeiHarmonyHub: Debug	Connection Closed to Hub: [BasementTheater0]; with guid: 9703ab9f-b27f-424e-ae01-3a7db65b9cbb; Unexpectedly disconnected?: True
                        Jun-10 9:52:37 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with stack trace: at Mono.Xml2.XmlTextReader.Read () [0x00000] in :0 at System.Xml.XmlTextReader.Read () [0x00000] in :0 at Mono.Xml.XmlFilterReader.Read () [0x00000] in :0 at HarmonyHub.StreamParser.ReadRootElement () [0x00000] in :0 at HarmonyHub.StreamParser..ctor (System.IO.Stream stream, Boolean leaveOpen) [0x00000] in :0 at HarmonyHub.Client.OpenStream (Int32 heartbeatInterval) [0x00000] in :0 at HarmonyHub.Client.Connect (Int32 heartbeatInterval) [0x00000] in :0
                        Jun-10 9:52:37 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with message: Document element did not appear. Line 1, position 1.
                        Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Opening stream on IP: 10.0.10.233 on port 5222.
                        Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Attempting to get stream on IP: 10.0.10.233 on port 5222.
                        Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Attempting to connect to IP: 10.0.10.233 on port 5222
                        Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Hub: [BasementTheater0] Connection Attempt 3
                        Jun-10 9:52:27 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with stack trace: at Mono.Xml2.XmlTextReader.Read () [0x00000] in :0 at System.Xml.XmlTextReader.Read () [0x00000] in :0 at Mono.Xml.XmlFilterReader.Read () [0x00000] in :0 at HarmonyHub.StreamParser.ReadRootElement () [0x00000] in :0 at HarmonyHub.StreamParser..ctor (System.IO.Stream stream, Boolean leaveOpen) [0x00000] in :0 at HarmonyHub.Client.OpenStream (Int32 heartbeatInterval) [0x00000] in :0 at HarmonyHub.Client.Connect (Int32 heartbeatInterval) [0x00000] in :0
                        Jun-10 9:52:27 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with message: Document element did not appear. Line 1, position 1.

                        Comment


                          #13
                          Originally posted by dotelpenguin View Post
                          updated, and this is now what I'm getting.

                          Code:
                          Jun-10 9:52:46 PM	 	Info	Plugin MeiHarmonyHub with instance: has disconnected
                          Jun-10 9:52:46 PM	 	MeiHarmonyHub: Debug	Connection status: ForcefullyDisconnected
                          Jun-10 9:52:46 PM	 	MeiHarmonyHub: Debug	Connection status: ForcefullyDisconnected
                          Jun-10 9:52:46 PM	 	MeiHarmonyHub: Debug	Connection Closed to Hub: [BasementTheater0]; with guid: 9703ab9f-b27f-424e-ae01-3a7db65b9cbb; Unexpectedly disconnected?: True
                          Jun-10 9:52:37 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with stack trace: at Mono.Xml2.XmlTextReader.Read () [0x00000] in :0 at System.Xml.XmlTextReader.Read () [0x00000] in :0 at Mono.Xml.XmlFilterReader.Read () [0x00000] in :0 at HarmonyHub.StreamParser.ReadRootElement () [0x00000] in :0 at HarmonyHub.StreamParser..ctor (System.IO.Stream stream, Boolean leaveOpen) [0x00000] in :0 at HarmonyHub.Client.OpenStream (Int32 heartbeatInterval) [0x00000] in :0 at HarmonyHub.Client.Connect (Int32 heartbeatInterval) [0x00000] in :0
                          Jun-10 9:52:37 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with message: Document element did not appear. Line 1, position 1.
                          Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Opening stream on IP: 10.0.10.233 on port 5222.
                          Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Attempting to get stream on IP: 10.0.10.233 on port 5222.
                          Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Debug Message for Hub [BasementTheater0]: Attempting to connect to IP: 10.0.10.233 on port 5222
                          Jun-10 9:52:37 PM	 	MeiHarmonyHub: Debug	Hub: [BasementTheater0] Connection Attempt 3
                          Jun-10 9:52:27 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with stack trace: at Mono.Xml2.XmlTextReader.Read () [0x00000] in :0 at System.Xml.XmlTextReader.Read () [0x00000] in :0 at Mono.Xml.XmlFilterReader.Read () [0x00000] in :0 at HarmonyHub.StreamParser.ReadRootElement () [0x00000] in :0 at HarmonyHub.StreamParser..ctor (System.IO.Stream stream, Boolean leaveOpen) [0x00000] in :0 at HarmonyHub.Client.OpenStream (Int32 heartbeatInterval) [0x00000] in :0 at HarmonyHub.Client.Connect (Int32 heartbeatInterval) [0x00000] in :0
                          Jun-10 9:52:27 PM	 	MeiHarmonyHub: Error	The Conection to Hub with ID [BasementTheater0] failed with message: Document element did not appear. Line 1, position 1.
                          Can you turn on Debug Logging in the general settings tab of the plugin and try again? Then, once you've done it, can you get the log file? It will be in [HS_install_directory]/Logs/MeiHarmonyHub.log

                          This should hopefully include more information.

                          Comment


                            #14
                            See attached Log.
                            Attached Files

                            Comment


                              #15
                              Originally posted by dotelpenguin View Post
                              See attached Log.
                              I will look into your logs tonight.

                              Comment

                              Working...
                              X