[RELEASE] HubConnect - Share Devices across Multiple Hubs (no longer SmartThings!)

I'm having some issues loading the universal drivers. When I paste the URL from the instructions, nothing populates. What am I missing?

Are you clicking on the 'Import' button and then pasting in the 'Raw Code' url?
Then clicking import, save.

First off, this is a fantastic app. Kudos to @srwhite and @csteele. Many thanks and Happy Holidays

I see the same errors also.
app:12222019-12-28 03:13:26.901 pm errorgroovy.lang.MissingMethodException: No signature of method: user_app_shackrat_HubConnect_Server_Instance_555.getSelectedDeviceIds() is applicable for argument types: () values: [] on line 191 (getSelectedDeviceIds)

app:15752019-12-28 03:13:26.739 pm errorgroovy.lang.MissingMethodException: No signature of method: user_app_shackrat_HubConnect_Server_Instance_555.getSelectedDeviceIds() is applicable for argument types: () values: [] on line 191 (getSelectedDeviceIds)

everything updated properly, going to try a reboot

2 Likes

I'm hitting import, then using this URL from the instructions _https://github.com/HubitatCommunity/HubConnect/tree/master/UniversalDrivers

Then clicking import and nothing populates in the window to save.

Visit this page for a complete list of the URLs to use with an Import. you must import each HubConnect Driver individually.

HubConnect Import URLs

1 Like

Ahh. I see. Thanks.

@Bago @Rxich

that line 191 is the loop that pulls the data from each Remote Hub... Do you have non-Hubitat hubs, such as Homebridge or SmartThings? If SmartThings, did you update it's Remote Client? I have both and am not seeing the problem. :frowning:

No, I don’t (just HE). The error is generated for each HE hub.

Are there any logs or anything that I can provide to help track down the issue?

I have a number of devices I've mis-categorized as switches when they should be dimmers, and other similar issues. Is it okay to simply swap drivers on the server-side without going back to the remote hubs and changing them in the app?

Will you remember you did that next year? :smiley:

Try reselecting correctly. When you "Done" out, the full list will be sent again and I presume they will all get skipped (not rebuilt). Then you can swap HubConnect driver X for HubConnect driver Y and it should work.

I remember testing driver swapping a very long time ago.. from the pre-EventSocket days. I'm dredging up some pretty antique memories.. accuracy is a question :slight_smile:

1 Like

Thanks for replying. Yes I have 2 remote hubs, ST & a C5, updated drivers on all and driver report shows latest version of everything. Updated all drivers/apps and rebooted after applying all updates

There's a thread on the Heiman Zigbee Gas Detector here.. or were you referring to using them via HubConnect ??

Yes specifically with HubConnect, as it's an entirely new attribute and now supported by Hubitat.

1 Like

I am also seeing this same error:

[app:1959](http://192.168.1.77/logs#app1959)2019-12-29 09:01:12.844 am [error](http://192.168.1.77/installedapp/configure/1959)groovy.lang.MissingMethodException: No signature of method: user_app_shackrat_HubConnect_Server_Instance_66.getSelectedDeviceIds() is applicable for argument types: () values: [] on line 191 (getSelectedDeviceIds)
1 Like

HubConnect 1.6.4 has been released!

I have been having issues with git hub messing up my local repos on my home laptop when switching branches which has caused a some code to randomly disappear at times.. Hopefully I've got that issue fixed.

I'm also giving a sneak peak at a new feature that's going to be part of HubConnect 2; DeviceMatch. DeviceMatch is a concept where a user can select devices based on a physcial driver, a HubConnect driver, or a primary attribute.

  • Physical Driver: Select devices based on the actual driver assigned to the physical device.
  • HubConnect Driver: Select devices based on the name of the synthetic HubConnect driver. This is useful for selecting virtual HubConnect devices on the server to another remote hub. (i.e. Remote A -> Server -> Remote B)
  • Primary Attribute: Selecting based on the main device attribute.. (The way devices are selected now)

What's New?

  • Support to Netatmo Weather Stations

  • Sneak preview of HubConnect 2.0 DeviceMatch feature for Netatmo weather stations.

What's Changed?

No other changes.

What's Fixed?

Hubitat: Fixed error missing method "getSelectedDeviceIds()" due to bad git commit.

SmartThings: Fixed potential error when saving devices to server.

New Drivers (Hubitat):

  • Netatmo Basestation - A virtual driver for the Netatmo weather base station.

  • Netatmo Additional Module - A virtual driver for additional Netatmo indoor sensors.

  • Netatmo Outdoor Module - A virtual driver for the Netatmo outdoor sensor.

  • Netatmo Rain - A virtual driver for the Netatmo outdoor rain gauge.

  • Netatmo Wind - A virtual driver for the Netatmo outdoor wind gauge.

New Drivers (SmartThings):

  • Netatmo Basestation - A virtual driver for the Netatmo weather base station.

  • Netatmo Additional Module - A virtual driver for additional Netatmo indoor sensors.

  • Netatmo Outdoor Module - A virtual driver for the Netatmo outdoor sensor.

  • Netatmo Rain - A virtual driver for the Netatmo outdoor rain gauge.

  • Netatmo Wind - A virtual driver for the Netatmo outdoor wind gauge.

Note: With this release, the HubConnect server code did not change, so that version remains at 1.6.3

Simply import the code for all files and save. There is no need to visit each app and click Done with this release.

Files Changed: Server Instance, Remote Client (ST & HE)

2 Likes

Upgrade to 1.6.4 went fine for me.

One comment on the device report... It would be cool if it listed the devices based on Device Label, not Device Name...

Otherwise for some compound/parent-child devices you get this, which isn't as useful:

2 Likes

Glad the upgrade went well.

Using label when available is coming in the next release as is support for running the report on hubs that have security enabled.

And of course normalizing the color codes (i.e un-decorating the Christmas theme).

1 Like

I have not upgraded to the 1.6.4 version. Would this give me the Christmas effect?? So far it only reports Red, not Red and Green.
And thank you for an incredable add on to Hubitat.

Yes, this one fixes cases where the remote devices do not show in the report. You’ll get both Christmas colors. For now. :blush:

1 Like