New to HE need help with Hub Connect

I'm finding dead ends in my searches. First tried Hub Link but when I tried to load Bravenel's Send Hub code I get an error message. Tried the links for Hub Connect and they were broken.

I'm moving from ST and would like to link the hubs if that is still possible.

First, welcome to the forums

How long term is the solution you need? There are two options as I see it, and neither of which is real easy.

Hubconnect is one of them, the other is using Node-Red with the Samsung Automation Studio, and Hubitat Pallet.

What are you tryint to accomplish?

What was the error?

I would like to use hubconnect to link HE to my Smartthings. Is there a doc that explains how to do that that doesn't take you to dead github pages?

Have you checked this document?

https://docs.hubitat.com/index.php?title=Send_Hub_Events

It's worth mentioning that SmartThings can remove their Groovy IDE based interface at any moment as they have been preparing for Groovy demise for a while now. Hub Connect also uses legacy SmartThings Groovy, as far as I know.

3 Likes

Thanks,
From what I'm reading Hubconnect is a better option.

Both have limited lifespan.

2 Likes

Where are you installing this code? That is SmartThings code, and there is nothing you need to install on Hubitat for Hub Link/Send Hub Events.

Along these lines, beyond the fact that ST will eventually (soon?) discontinue their classic Groovy IDE and thus both HubConnect and Send Hub Events will no longer work as-is, it should be noted that the latter is one-way: ST events to Hubitat. It doesn't "sync" devices in the other direction, just in case this matters for your use. Some people thus prefer HubConnect.

3 Likes

No need to bother with it if its going away
Thanks

1 Like

Node-Red with the Samsung Automation Studio pallet uses the new Smartthings API. If you need long term support this will be your best option. It takes a little to setup though.

The things your need just for polling Smartthings are:

  1. A always on computer to run Node-Red. This can even be a Raspberry pi.
  2. To load the hubitat pallet and Samsung Automation Studio Pallet into Node-Red
  3. A Samsung developer token for your Smartthings account.

If you need Smartthings to send immediate event changes you will also have some additional work

1 Like

Thanks, I think I'll look into this.