This is an adaptation of my app from SmartThings. It allows you to easily create virtual switches for multi-channel devices that can be used in Apps and automations:
It creates virtual devices for each endpoint, and keeps them in sync with what the real device is doing.
It creates the virtual devices for you.
It allows you to use a few different types of switches. Dimmer, Energy, and Standard.
It supports the SmartLife RGBW controller as well as the Fibaro RGBW controller. It creates a dimmer switch for each color channel (R,G,B,W1,W2 for the SmartLife - R,G,B,W for the Fibaro). These probably need to be ported over to Hubitat still.
when the App updates the virtual device’s state to match that of the real device, it does not leave a bunch of messages in the “Recently” section for the virtual device.
It should work with the following devices (Many of these still need to be ported):
This is the error that I get when I attempt to use Virtual Device Sync with H801 loaded with SmartLIfe RGBW. It is as if the dimmer driver isn't being found. Is this the correct driver that I loaded? I was trying to see what dev handlers I used in ST to see if it gives me a clue
I was having "weird" issues and lots of performance issues with the HE hub that it appears to be caused with the way I used the Virtual Device Sync and related simulated dimmer driver. @ericm FYI: The HE system on the surface works perfectly fast when I just use the physical switch and watch the simulated dimmer channels get triggered and the errors are logged. It only shows up as a real weird issue when I use this in my routine mode to shut down a bunch of my lighting at night when things get so slow and bogged down that it appearslike the nothing triggered when it fact it seems hung up in a bunch of all my 5 H801 devices.
I was going to copy the thread over here but here is the link with the log errors.
Basically the device errors are the simulated dimmer switches and the app:353 is the Virtual Device Sync associated with those specific 5 channels of the H801 RGBWW Controller.
@dcoffing I haven't yet tested the Virtual Device Sync app when used with the H801s separate channels in Hubitat so it may need some work. Since Rule Machine can control the channels by itself using custom commands have you thought about using that instead of creating virtual devices for all the channels?
Edit: I think I am going to create child devices for the separate channels. The device sync app was created before child devices were a thing. Now that child devices exist, they are a better way of doing it.
@ericm thanks for that.
I updated my hub firmware to 18.104.22.168 yesterday.
When I look at the list of Device Types available, via Device Information on existing switch, I see Fibaro Switch and Generic Z-Wave switch listed but no Dual switches. Are you saying the hub will identify it as a dual switch and create the child devices for me, as part of the Inclusion process?