I read this last night but didn’t install the apps or anything. I’m not sure if you could have a virtual dimmer switch that actually functions but based on this it looks like you can make one.
I’m looking to add an outside motion light that will connect to smartthings. I don’t need dimming capability but I am having a hard time getting info from people that have done it. Mainly how well it works.
Update: Here is a great step by step on how use this SmartApp with multi-relay devices. It was written with the Enerwave RSM2 in mind, but most of it is applicable to other devices as well. Thanks @Mike_Rolle
This is really just an upgraded version of my Virtual / Physical Switch Sync SmartApp. SmartThings currently doesn’t support using anything other than the first switch in a multi-switch (multi-channel) device in automations, routines, etc. This SmartApp solves that problem. It creates virtual devices for each endpoint, and keeps them in sync with what the real device is doing. This app improves on my other app in these ways:
It creates the virtual devices for you. This greatly speeds up the process.
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).
Like my other sync app, when the SmartApp 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. Let me know if it doesn’t:
Monoprice Dual Relay
Enerwave Dual Relay
Aeon SmartStrip
zOOZ Power Strip
Aeon Dual Micro Switch
SmartLife RGBW Controller
Fibaro RGBW Controller (with this handler )
Philio PAN04
Probably most other Dual Relay Switches
There are multiple things to install, so make sure you don’t miss something. There are
1x SmartApp
3x Device Handlers
Install this SmartApp:
https://github.com/erocm123/SmartThingsPublic/blob/master/smartapps/erocm123/virtual-device-sync.src/virtual-device-sync.groovy
Install these three device handlers. (Technically you only need to install the ones you need, but while you are doing it you might as well):
https://github.com/erocm123/SmartThingsPublic/blob/master/devicetypes/erocm123/simulated-dimmer.src/simulated-dimmer.groovy
https://github.com/erocm123/SmartThingsPublic/blob/master/devicetypes/erocm123/simulated-switch.src/simulated-switch.groovy
https://github.com/erocm123/SmartThingsPublic/blob/master/devicetypes/erocm123/simulated-energy-switch.src/simulated-energy-switch.groovy