Trouble with virtual devices; How to group lamps

Hey guys, I need your help. Two things that are related.

One, Iā€™m dipping my toes in the water of Virtual Devices and am not feeling any water. Either I donā€™t understand them or theyā€™re not working.

I created a Virtual Device and give it the type ā€˜Singled Element Classicā€™ (I have a few of these). I hit ā€œSave Preferencesā€ and ā€œSave Deviceā€. I now think I can click the On or Off button for that device under Devices and see (in the Current States and/or State Variables) that the virtual device is ā€˜onā€™ or ā€˜offā€™. Ditto that I could key in a level of (e.g.) 65 and click Set Level and see that level reflected in the Current States and/or State Variables. No Joy. What am I missing? Maybe thereā€™s something wrong with the driver for Singled Element Classic. So I try the same test with type = Generic Z-Wave Dimmer. Same result (or lack thereof).

[By the wayā€¦ my Hub is a C-5, if that makes a difference.]

[By the way, part II - I have a C-7 to swap in for the C-5. I donā€™t want to try to swap it in and lose everything. If Iā€™m going to have to invest a ton of time doing this I want to plan when I do that. So I reached out to Hubitat Support to ask where the official answer is to ā€œwhatā€™s the best/recommended way to migrate from a C-5 to a C-7ā€. Alas, crickets.]

Two, Iā€™m doing this (virtual device stuff) because I have two of these bulbs (Singled) in two different lamps and it would be convenient if I could just have them behave as a single lamp. I want the ability to control ON and OFF, of course, but also level. Iā€™ve tried a number of different ways to make this happen. Iā€™ve used the Mirror app. I tried rules. Iā€™ve tried the Virtual Device (per above) with a rule or mirror. I have a switch (sadly a switch and not a dimmer, for now) with a rule. Iā€™ve had varying degrees of success but not complete. Whatā€™s the recommended way to do this?

Thanks!

Scott

As it is a virtual device it needs to use a virtual device driver.
So for a switch you would pick
Virtual switch
Dimmer - virtual dimmer
Motion - virtual motion sensor
etc

Awesome! Thanks. That makes good sense. Appreciate it!

Yep, works a dream. Thanks!!

[That having been said... would it make sense, when someone is creating a new Virtual Device, to NOT offer them a gadzillion drivers guaranteed not to work? Not directing this @bobbles, just sayin']

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.