icepicknz
(Barry Murphy)
June 13, 2016, 7:58am
1
Hey guys,
I have a bunch of ZWN-RSM2S relays, the first relay is fine, I can automate the functions of my house interrior, the second relay on most are outdoor light switches; how do i call on the secondary function of a switch to use the second switch?
I.e. i want to set outdoor lights to turn on at sunset and off at sunrise, but i cant select my second switch only the primary
These devices have been around a long long time, Iām hoping someone has managed to get it working.
Cheers
Schro
(David S)
June 13, 2016, 12:04pm
2
On my phone so I dont have the relevant links at hand, but basically, youāll need a couple things -
Custom device type provided by the manufacturer (on their support site). Have fun copy pasting from a PDF! Sounds like you might have that.
Thereās a smart app I found here on the forums that takes the switch and creates two virtual switches, one representing each switch.
Use your favorite lighting control app to flip the virtual switches.
ā¦
Profit
gilh
(Gil)
June 13, 2016, 5:21pm
3
I believe you referring to -
Update (2016-09-10): I have created a new SmartApp that is an upgraded version of this one. It will create the virtual switches for you among some other things. Since it is significantly different from this app, I couldnāt just upgrade this one as it would cause problems. I definitely recommend using the new app with any new dual relays you may install, but if you are currently using this one, there is no big reason to switch over. Here is a link to the new app:
This is a small app to keep Physical and Virtual Switches in sync. Specifically for use with devices such as the Monoprice, Enerwave, Fibaro, and Philio Dual Relays. As well as the Aeon SmartStrip. For best results change your virtual device handler to a Simulated Switch. If your device supports energy reporting like the Philio ā¦
Gil
Schro
(David S)
June 13, 2016, 5:52pm
4
Same author, but Iām not actually using that smartapp, but instead a āgenericā one that he posted buried in a thread somewhere. My assumption is that your link is the v2 of this code that has the sync options for it (which Iām not looking at with interest).
@mmarlette I have tried to replicate your issue, but cannot no matter what I try. Just to be certain, you get the error when you go to the device in the IDE and try to change the device type it is using from the Philio to the Generic, right? Once you hit update the error is thrown?
[image]
The only thing I can think of is if it it wasnāt copied and pasted correctly. There really arenāt that many differences between the generic and the Philio at this point. Just an easier way to update the parameters. Try the raw link for easier copying and pasting:
https://raw.githubusercontent.com/erocm123/SmartThings/master/device_types/generic_dual_relay.groovy
You should really go to this post and scroll down to around thread #180 for the step to config. The parameters of the relay for instant status update between the physical switch and ST app. Also the device handler and smartapp are in there as well.
@mmarlette If you want to try the generic adapter, it may work better for you. I am not finished with it yet so you will still have the energy and power tiles. After changing to it in the IDE, go into the device preferences and choose āEnerwaveā. This should send the proper config parameters. If it doesnāt work on the first try, hit the little configure icon in the app.
Also, there is a device handler for that switch so you donāt have to use the generic one:
Iāve created a device handler for the new v2 Enerwave RSM2. I believe it will work with v1 as well if someone can test it. Verified that it does work with v1.
Features:
Master switch that turns both switches on/off
Instant status updates when state changed from physical switch
New large tile display to match other SmartThings v2 devices
Update: RSM2-Plus users. I have a device handler for this device that works without the Virtual Sync app listed below. It requires that you install the Parent Device Handler as well as the Child Handler .
Below is the device handler and SmartApp for the regular RSM2.
If you want to create virtual switches to control switch1 & switch2 with, I highly recommend using my Physical/Virtual Device Sync app with my custom Simulated Switch handler.
need help. I can not make the second relay apperar or work on the ST. Can you help me?