Connect a Remote to a Virtual Device


(Morgan) #1

Is it possible to connect a Secondary Z-Wave controller to a Virtual Device? I have a GE remote that I’m using, and I wanted to configure it to control a virtual device within SmartThings, I can then type the Virtual Device to my Hue light bulbs, and now i’ll have a remote to my Hue light bulbs.

Is that possible? How would I do it?


Can you Emulate virtual Z-Wave device on ST Hub that is controlled by secondary Z-Wave controllers? (Duwi Remote Control)
(Huntb) #2

Good question! I will actually be getting an Aeon Minimote tomorrow and would like to use this to turn on and off my virtual night light switch. I’ll have to look into this and I’ll report back


(Morgan) #3

I was thinking about trying to set one up, if I have time. I’ll let you know where I get with it.


(Morgan) #4

@twack or @urman anyone any ideas on this?


(Chrisb) #5

@thrash99er,

Honestly, I’d be really shocked if something like this is possible. The problem is two-fold:

First, the remote is looking for a signal from the z-wave device when it tries to setup as a secondary controller. Just like when you pair a device with the ST hub, you need to do some sort of physical action on the device to tell it to try to pair with a controller. I suppose it would be theoretically possible for the hub to emulate a z-wave node device temporarily in order to set this signal, but I don’t know for 100% sure if this is possible.

Second, once you have this pairing setup, any commands being sent from the remote are going to be sent out as a controller trying to talk to a end device, not as a controller trying to talk to another controller. In otherwords, if the Hub is in it’s default ‘controller’ mode, it simply won’t listen to zwave broadcasts from another controller. And obviously it the Hub is in this hypothetical ‘end device’ mode theorized above, it wouldn’t be able to listen for activity from other devices on the network that are trying to talk to a controller.

So the Hub would either be acting like a end device, at which point it would be completely useless as there would be no communication from other devices, or it’s acting as a controller, in which case your remote can’t see/talk to that virtual device you tried to pair it with.

Possible theoretical solutions might be to have a hub with dual zwave radios… one is ‘controller mode’, one is ‘device’ mode. The problem here is I don’t know if one zwave radio can act as multiple virtual devices… so you might end up needing one radio for EACH virtual device. If that’s the case then it’s going to get expensive fast! Even adding one more zwave radio might be more expensive (given the software and hardware behind the scenes needed to support this) then just buying a cheap z-wave outlet, putting it somewhere that it will never get used and using it as a real world virtual device.

The other possibility is developing the firmware so that the hub switches rapidly between controller and (the hypothetical) device mode. But I really worry that there might be major communication issues with this idea.


(Morgan) #6

@chrisb Yeah, I wasn’t sure if it was possible. I do know that hub listen and polls the different Z-wave devices though, so I was thinking it might be able to listen for z-wave commands from the secondary controller.

I guess the only way, is to set up a physical z-wave device, ( a receptacle or switch or the jasco pluggable outlets) and control that individual switch, and just use SmartThings to trigger actions based off of that.

Or are there Zigbee remotes that are available? I’ve seen a few, but I don’t know if anyone has them working or how well they work.


(Andrew Urman) #7

@chrisb is mostly right.

The Aeon Minimote and Panic button are able to pair to SmartThings as a device. There are some specific instructions to follow in the manual on how to pair it to a controller. They should type correctly. Then tie a SmartApp (which is built, not sure if available yet) to do things when the buttons are pushed or held. It’s pretty neat.


(Huntb) #8

If you go back to the Connected Things main forum there is a topic called Z-Wave Controllers that has the example code for the minimote app. This should be able to control virtual switches, dimmers, garage doors, etc.

The code can be modified to do pretty much anything when a button is pressed or held


(Joe Geiger) #9

I used the Mode Button SmartApp I got from Duncan: https://gist.github.com/mckeed/8450028.

It allows you to assign several switches or lights to a single button press on the Aeon Minimote. You can also use a button to change modes. I use it to turn on/off the Hue lights in my bedroom and also to initiate Good Night mode that shuts off all the lights downstairs and outside.

Another possibility is to contact Twack, he has a Dim With Me virtual device type and a Dim With Me SmartApp that should allow you to assign the Minimote button press to control the virtual switch. I haven’t tried that since the Mode Button app works fine for my purposes.


(Todd Wackford) #10

Hey all,

Are you already using the remote as a secondary controller for a light or switch? Maybe a better question is, are you already controlling a light or switch with both the GE remote and SmartThings?

If you are, just have the existing light be a master and then have your other lights/switches be the slaves with my dim with me app. So what ever the master is commanded to do by either controller, the others should follow along.

As I understand the OP’s request, you shouldn’t need the virtual device, only the app and you can get it here:

HTH,
@Twack


(Rikard Lundqvist) #11

I have found the Minimotes to work reliably. Besides using the app @huntb refers to above, I have also use an app that allows easy reporting of “I am OK/I am up”, “I need help” as well as light control for an elderly care scenario.


(Martin P) #12

Tying additional, say, zigbee devices to a master z-wave device controlled by the GE remote sounds like a good solution unless you want to be able to control the zigbee devices separately. Thus, the desire for a virtual z-wave device to pair up with the GE remote and act as a virtual master to the zigbee slaves. My inclination now is to chalk up the GE remote to ST learning experience and get the minimote (still wish it had a few more buttons). If anyone gets the virtual device working or close, I’m happy to help test/refine.