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

You would have to know which Attributes are created/managed by the ST DTH (driver) that you're using. Which ST DTH are you using?

I'm using the one that is built in to ST (under Samsung -> Dryer). I'm guessing since it doesn't appear in the list of devices I would need a custom driver?

I tried to create a fake one, but it doesn't let me, so I can't use my App to find out what Attributes are in use / available.

Do you have a list of Attributes? The IDE has it under My Devices, select the device and Current States is, for the most part, an OK list.

This is what I got from the IDE. And the latest event list.

[dryer] Samsung Device Dryer

Name [dryer] Samsung
Label Dryer
Type Samsung OCF Dryer
Version Published
Device Network Id 42f67fc0-d0f2-4592-bd14-6a906bd4f615
Status ONLINE
Group Laundry
Last Activity At 2020-11-14 8:16 AM AWST
Date Created 2020-04-06 5:07 PM AWST
Last Updated 2020-04-06 5:08 PM AWST
Data No data found for device
Current States * disabledCapabilities:

[ ]

{ "payload": { "x.com.samsung.da.options": [ "AvailableDelayTime_188" ], "if": [ "oic.if.baseline", "oic.if.a" ], "rt": [ "x.com.samsung.da.mode" ] } }

[ "none", "1", "2", "3" ]

[ "9A", "CA", "DB", "E8", "93", "B5", "D7", "A5", "97", "7F", "98", "99", "EB", "B6" ]

{ "deltaEnergy": 100, "power": 0, "energy": 97800 }

Event List:

Date Source Type Name Value User Displayed Text
[2020-11-14 8:14:29.000 AM AWST
13 hours ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/5cebb246-260e-11eb-8bb1-c345ed531cf1?all=&source=&max=25) DEVICE switch off Dryer switch is off
[2020-11-14 8:14:29.000 AM AWST
13 hours ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/5cd67c73-260e-11eb-ae31-e7c92f45b943?all=&source=&max=25) DEVICE machineState stop Dryer machine state is stop
[2020-11-14 7:39:20.000 AM AWST
13 hours ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/73c95f04-2609-11eb-8fb4-afa24dca7d63?all=&source=&max=25) DEVICE machineState run Dryer machine state is run
[2020-11-14 7:39:20.000 AM AWST
13 hours ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/73b31796-2609-11eb-8bb1-c345ed531cf1?all=&source=&max=25) DEVICE switch on Dryer switch is on
[2020-11-13 8:06:26.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/12a132f7-2544-11eb-b706-0988898cc07a?all=&source=&max=25) DEVICE machineState stop Dryer machine state is stop
[2020-11-13 8:06:26.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/129cc5f3-2544-11eb-8bb1-c345ed531cf1?all=&source=&max=25) DEVICE switch off Dryer switch is off
[2020-11-13 7:46:27.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/47fbfa88-2541-11eb-a9c5-7b8f8ecd9cc5?all=&source=&max=25) DEVICE switch on Dryer switch is on
[2020-11-13 7:46:27.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/47f6f225-2541-11eb-8fb4-afa24dca7d63?all=&source=&max=25) DEVICE machineState run Dryer machine state is run
[2020-11-13 7:20:57.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/b7e25c7f-253d-11eb-be0c-fbcca48b55b2?all=&source=&max=25) DEVICE machineState stop Dryer machine state is stop
[2020-11-13 7:20:57.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/b7d982f9-253d-11eb-a834-5f4eb3117f60?all=&source=&max=25) DEVICE switch off Dryer switch is off
[2020-11-13 7:08:01.000 AM AWST
2 days ago ](https://graph-ap02-apnortheast2.api.smartthings.com/device/5e5b22da-a3bc-4047-1511-089168211ea1/event/e965e814-253b-11eb-b706-0988898cc07a?all=&source=&max=25) DEVICE machineState run Dryer machine state is run

If all you are after is a notification when the dryer is done, you could create a virtual switch that is toggled by a SmartThings automation. Then just link that virtual switch through HubConnect.

For example:
If dryer cycle complete, turn on "Dryer Complete VS", Auto turn off after 10 seconds

I am try to connect my Smartthings V2 hub to hubitat and I get this message every time. Can someone point me in the right direction as to what may be wrong.

What do the logs tell you?

It probably indicates you didn't install the Remote Hub driver (DTH) in the ST IDE.

@csteele I will try to give as much info as possible. These are the error logs after I verify connection,

This is what I have set up in Smartthings.

This is in Hubitat

Hope someone can point me in the correct direction as I am at a loss!

Missing the driver on the Hubitat side:

Your screen cap shows only the RM Connector driver.

Two Apps, one Driver for Hubitat Server hub. One App, One driver for each Remote Hub. (ST or HE)

THANK YOU!!!!! That was it!

Hopefully linking devices will be a smoother process!!!

Mirroring devices is different because it's bi-directional. You have a device, a real/virtual device, already created on one of your hubs. You select it in that Hub's HubConnect app (either Remote, or Server Instance) and on the way out, as you click done, a message appears to tell you what HubConnect drivers need to exist on the OTHER hub before the last click of Done:

Screen Shot 2020-11-15 at 11.43.06 AM

If you miss it, don't fret BUT the other hub can't create the mirrored device without it's matching driver. Just add in the HubConnect Universal driver, and then go back and dive into the HubConnect menu as if you were selecting the device again.. you don't need to deselect reselect, just dive deep enough into the menus. Done all the way out and again, HubConnect will try and mirror all the devices... successfully if the driver exists.

If you are using Hubitat Package Manager (HPM), then all the HubConnect Universal drivers for Hubitat can be installed. Obviously, HPM is a Hubitat only App and it can't help with installing drivers (DTH) on the ST side.

Hopefully someone can help...I am having issues trying to setup the global variable connector. I have the driver on both the coordinator and remote hub. I have chosen 1 variable to sync to the remote hub. the device does show up on the remote, but the variable never updates on the remote. the device on the remote shows nothing under both current state and state variables.

If the driver needs to be modified to reflect a variable, can anyone suggest the changes?

Thank You
Chris

have a look here HubConnect passing global variables

1 Like

This tripped me up as well. Shouldn't it say ",,, are installed on the Remote hub", not "Server"?

The label next to the Remove unused devices control refers to the OTHER hub as "remote".

Question: On HubConnect v1.5 I was able to connect my EcoSmart remote through smartthings and have it work, but in v2 I lost that functionality. Is this expected? I am using the HubConnect Button Driver. Thanks!

ST and Hubitat have different button implementations. HubConnect v2.0 added a transformation layer for Buttons. But I've never heard of a problem with it...

Unfortunately I don't have an EcoSmart remote to use to attempt to duplicate this.

So additional question on the TV integration. I also added an attribute called tvChannelName (that displays the app currently running). The issue I have is that it doesn't update in realtime. I have to hit the refresh button to get it to update. The volume also doesn't update in realtime.

In the ST app, it updates in realtime.

Please is there any way to make this update in realtime? Seems I need to subscribe to this but HE doesn't automatically subscribe? Wonder why it worked fine with inputSource but not this.

Any other thing you might suggest if not possible? I can possibly add a command in RM to run the refresh() command every 30s but don't want to put more strain on the hub.

Will this still work with SmartThings after their migration is complete?

Things that make you go hmmmm....

I'm using HC to connect my ST and HE hubs. In the config for each, it wants the IP address of the other hub. Fine, except that my ST hub is on a different subnet than my HE hub. Yet, it works.

Does HC somehow work through the cloud if the hubs can't directly talk to each other, or do I need to start looking at my network switch config?

Yes.
ST or if you have a Summer Palace with another Internet and Hubitat Hub.

1 Like