Multiple (two) hubs on one network?

I did read your wiki. Def gave me a lot of ideas, and squashed some of my other ones, lol! :slight_smile:

What about Wink hub in outbuilding? It has a IFTTT channel.
Then use IFTTT to control simulated switches on the main ST hub in the house, and also have those ST simulated switches control the actual switches in the outbuilding.

When you put a different hub in the outbuilding, there it is. It’s just a separate network. Could be wink, could be Vera, could be zipato, could be Homeseer, could be indigo on a PC with a USB stick-- could be a second smart things hub with its own SmartThings account and its own IFTTT account. Could be 1000 miles away from the primary building it’s all the same.

The only question is is there way for that network to communicate indirectly to SmartThings?

If the outbuilding’s hub can send a text or an email, you can use IFT TT as a man in the middle and connect to SmartThings that way.

Or, as you point out, if the outbuilding’s hub has its own IFTTT channel, as some do, then you just use that. :sunglasses:

Same issues as always: how much is the lag, how much work is it to maintain two sets of rules, and do you work do you want to put in to be able to track the status of devices on the other hub?

Once you’ve decided to just put a second hub in the outbuilding, to be honest, it might as will just be SmartThings. If you want to track status of the other hub’s devices it’s very easy to create shadow trackers with virtual devices on both sides. ( something that’s very hard to do with most other hubs.) You’ll be familiar with the devices and the logic. And while you can’t run both from the same smart app, you can manually cut and paste a smart app from one to the other if you want.

So certainly you could use Wink, but I’m not sure what advantages you get unless you think it’s going to be more reliable or happens to bring a protocol, like Lutron, which SmartThings doesn’t have, and that you specifically want for the outbuilding.

I would totally put in a second ST hub in there but was told that you can only have one ST hub per IFTTT account.

Correct. That’s why I said [quote=“JDRoberts, post:49, topic:18557”]
could be a second smart things hub with its own SmartThings account and its own IFTTT account
[/quote]

Two hubs. Two SmartThings accounts. Two IFTTT accounts. No problem. :sunglasses:

Hub A has its own SmartThings account and its own IFTTT account. Same for Hub B.

You can’t directly connect them through IFTTT, but you can have one send a text message or an email to the other’s IFTTT account and it will work.

http://thingsthataresmart.wiki/index.php?title=How_to_Automate_an_Outbuilding#Two_Separate_ST_Accounts.2C_two_separate_ST_networks.

Essentially what I would like to do is install a door sensor, 2 multi sensors (motion, light, temp, humidity), smoke sensor, several light switches, and a fan switch in my garage.

I would want to be able to control the light switches from inside the house with scene controllers or mini remotes and via the ST SmartApp, etc. I assume I can do this using simulated switches in ST, one for each real switch in the garage using IFTTT. Turning a switch on in the garage would trigger an IFTTT recipe to turn on the simulated switch on the ST hub in the house. ST could then turn off the simulated switches and then use IFTTT to actually turn off the real switches in the garage.

The door/motion/smoke sensors would be a little more difficult, but I think I could also use simulated switches in ST in order for ST to trigger some SHM type stuff. Again a custom Smart App that could take the value of a simulated switch to control the values of a simulated door/motion/smoke/CO/flood sensor value would be awesome!

Don’t think I can do temp/humidity/light sensor info into ST, but I actually don’t really care about that. The Wink hub would use that to control the fan by itself.

I don’t really understand what you are asking for here. I suspect you mean a custom device type handler, not a smart app?

If so, it already exists. Mike Maxwell has a universal virtual device type handler which allows any one device to report as a different kind of device. So you could take your virtual switch and have it report as a motion sensor or an open/close door sensor.

I’m not sure about the specialty sensors like a flood Sensor and a smoke sensor. You’d have to check with Mike about that.

1 Like

Pretty sure that’s exactly what I was looking for, thanks! Will take a look and play with it tonight.
Thanks man!

1 Like

Thanks @JDRoberts, that’s pretty much what I was looking for, and a lot simpler than I thought. Hopefully he can add smoke/CO and flood sensor capabilities to it.
If so I’m pretty sure I can make this work with a Wink hub in the garage (assuming Wink can send IFTTT updates on open/close, smoke, and motion).

1 Like

Older thread, but has anybody come out with a hardwired zwave extender that anyone knows about or is this whole thread as good as it gets? I’m building a finished shed on my property that is out of range of my home hub, but I’m going to want to automate elements of the shed. I’m pretty comfortable with the idea of a second hub, but it would be simpler to extend via a hardwired device as I have conduit run to the shed to bring the network and power out there.

The Z wave alliance has been emphasizing the fact that there is an available zwave over IP protocol, but I don’t know of any manufacturer that’s actually implemented it yet. :disappointed_relieved: Other than that, nothing new in this regard.

There is a how to article in the community – created wiki on automating an outbuilding that you might find of interest. It covers the current practical options:

http://thingsthataresmart.wiki/index.php?title=How_to_Automate_an_Outbuilding

Many thanks.

1 Like

I’m hoping for the same thing, I don’t get it why manufacturers think tat everything will be within line of sight or 50 feet. I live in a 1920 house and the walls don’t let anything pass through, heck in a 2000 square feet house i need 3 routers just to get a WiFi in every room and sometime that still weak. But yet I have wired Ethernet in every location

I was not able to get this to work. I have one account, two locations. Each location has a V2 hub. One location is the house, the other an outbuilding. I have ethernet (fiber) between the locations.

(Zigbee/Zwave repeaters are not an option. Distance is too far.)

I created a virtual switch in the Outbuilding location. I added an automation to control a physical switch in the Outbuilding. Works.

I then tried to edit the device to change the location to the House location.
I can only change the hub for the virtual switch to House Hub. There is no way to edit the location of the virtual device, only the hub.

After changing the virtual switch to House hub, I still cannot see the virtual switch in the House location.
The virtual switch is still only visible in the Outbuilding location.

I used to have two V1 hubs in one location, but ST removed that capability.

@jwalker2020

The shadow virtual device is created on the hub which doesn’t have the physical device. It’s not on both locations at once. Note, however, that my note was specific to each hub having its own account, not to having two locations on one account.

If they are two different SmartThings accounts, and each has its own IFTTT account, you can use IFTTT as a “man in the middle” between them, as my post detailed.

If they are two SmartThings hubs but on the same SmartThings account, you can’t do that. At the present time, SmartThings will only allow one location access to any third party systems, such as Alexa or IFTTT. They have said they want to change that, but they haven’t yet.

I’m planning on adding a feature to my lock app called ‘Big Mirror’ (working title) that will allow you to pair switches between locations using my new API service on lock manager.

I’m using it now on my own setup and it’s working great. If I ever get enough time to develop it further, I’d love to give it to you guys too.

1 Like

Erik,
Any chance of sharing your “Big Mirror”? Is it a two way mirror?

I have moisture sensors on two hubs and one water valve. I want to be able to detect leak from both hubs and shut off the water valve.

Two hubs will work on the same network. They can both see devices.
In Graph you will have two different objects for each Z-wave device (In theory you could make Zigbee work (despite popular belief/specs… Zigbee allows for multiple hubs (I can go into this upon request)). Each Smartthing Hub can see the other hub.
Smartthings database makes this slightly more useful then the average setup. You can just add stuff via graph directly (there is a disaster control you can have). Low-level Z-wave commands can reset the network key for S0 security. S2 appears to have similar ability ( you will need a non-samsung hub to pull this off ).
None of the above is supported by Samsung (or really embraced).

Really keen to hear the follow up to this last reply.
I am trying to get a z-wave door (gate essentially) sensor to connect. This is very far from the hub in my house. There is a power connection in between where I could connect a wifi Ap acting as a client and hook up a 2nd ST hub.

You are replying to a post which is more than a year old and a lot has changed in that time.

Please see the how-to article in the community – created wiki on automating an outbuilding and it will tell you what the current options are.

http://thingsthataresmart.wiki/index.php?title=How_to_Automate_an_Outbuilding

Hi JD,
Actually I did read it. However, I could not find the right solution.
The gate is far from the ST V2 hub. I plan to use the Sensitive Outdoor Strip. Z-wave right now does reach there. I tried a mains power z-wave repeater but that doesn’t seem to work.
Thanks.
Cedric