I tried all 3 different device types. Monoprice, philio and emerwave.
If you have the Enerwave switch, you have to make sure parameter 3 is set to 1 I believe. You can do this with the Philio device type if you go into the device preferences of the device.
So things are mostly working. Trying to pin down a weird issue. If I only use the physical switches, the app and IDE update properly consistently. If I turn off a device via the virtual switch for it, it will indeed toggle the device off, back on, etc, but the realy then shows either on or off (last state before virtual toggle) and I canât get the relay device to do anything on or off until I get the virtual switch state synced with what the relay device seeâs. Then things seem to work again. Itâs almost as if the virtual switch state isnât actually updating the relay device in the system even though itâs toggling it fine. Iâll try to step by step reproduce this, but Iâm not sure Iâm 100% on it yet even.
Ray, all I did was like Eric said, put the param to 3 with value of 1, after setting the relay device type to the Philio.
Ok, going to need some logs again. Can you post me the logs of when you press the virtual switch on, then wait a few seconds, then turn it off?
Ok, tried this in steps, hereâs from the Relay itself, followed by the virtual switches, then the full dump of both.
Relay Log
Part 1: Works as expected when switching the virtual switches.
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:19:06 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:18:59 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:18:55 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:18:46 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
Part 2: Relay Turns on and off the switches, but sticks ON, virtual switches show existing condidion, nothing changes for them.
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:31 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:23 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:16 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:09 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
Part 3: Physically turning switches on with stuck relay, virtual switches update.
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:20 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 32, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [[ânameâ:switch1, âvalueâ:âonâ, âisStateChangeâ:true, âdisplayedâ:true, âlinkTextâ:âLiving Room Fan & Light Relayâ, âdescriptionTextâ:Living Room Fan & Light Relay switch1 is on]]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:19 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 32, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [[ânameâ:switch2, âvalueâ:âonâ, âisStateChangeâ:true, âdisplayedâ:true, âlinkTextâ:âLiving Room Fan & Light Relayâ, âdescriptionTextâ:Living Room Fan & Light Relay switch2 is on]]
Part 4: Turn off via relay in app, both turn off but nothing updates.
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:24:39 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:24:38 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:22 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:21 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
Virtual Switch Log
Part 1: Log from virtual device "Living Room Relay"
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:19:05 PM: debug switch 2 off
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:18:58 PM: debug switch 2 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:18:53 PM: debug switch 1 off
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:18:45 PM: debug switch 1 on
Part 2: Nothing logged from Relay ONLY control.
Part 3: Physical switch to ON for both logs correctly, twice for some reason.
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:20 PM: debug switch 1 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:20 PM: debug switch1 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:19 PM: debug switch 2 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:19 PM: debug switch2 on
Part 4: Turn off relay in app and nothing updates
Raw Dump
Virtual Switches:
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:20 PM: debug switch 1 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:20 PM: debug switch1 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:19 PM: debug switch 2 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:23:19 PM: debug switch2 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:19:05 PM: debug switch 2 off
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:18:58 PM: debug switch 2 on
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:18:53 PM: debug switch 1 off
b793f980-b5f1-4a00-90f8-1a39f3a9b383 5:18:45 PM: debug switch 1 on
Relay
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:24:39 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:24:38 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:22 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:21 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:20 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 32, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [[ânameâ:switch1, âvalueâ:âonâ, âisStateChangeâ:true, âdisplayedâ:true, âlinkTextâ:âLiving Room Fan & Light Relayâ, âdescriptionTextâ:Living Room Fan & Light Relay switch1 is on]]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:23:19 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 32, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [[ânameâ:switch2, âvalueâ:âonâ, âisStateChangeâ:true, âdisplayedâ:true, âlinkTextâ:âLiving Room Fan & Light Relayâ, âdescriptionTextâ:Living Room Fan & Light Relay switch2 is on]]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:31 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:23 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:16 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:20:09 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:19:06 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:18:59 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:18:55 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [0], sourceEndPoint: 1) to [null]
025d88fd-e5fb-461b-b6cc-7538c154cc07 5:18:46 PM: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
Sorry about the delay. Ok, I think I got it figured out. Can you try the latest code?
Eric, I can confirm itâs working perfect. Physical switches and virtual switches status update instantly and in sync. Thank you so much for making this work.
Everything appears to be working perfect for me as well, thank you so much!
Does the Enerwave device first have to be associated with the Z-Wave Device Multichannel smartapp for this to work?
@erocm1231,
I physically installed the Enerwave ZWN-RSM2 into a bathroom.
When it first detected I selected Z-Wave Device Multichannel and I think the MultiChannel App initially and it was working but when switching off and on had a 3-second delay before the app reflected the status.
So I decided to look here to see what progress had been made on getting a more compatible device type / app and Iâm trying to now switch it overâŠ
How would I go about doing that?
Iâm familiar with the developer site and how to get around it. Iâve added custom devices before and stuff.
Just curious how to get this existing device unlinked from the existing type and app in a way that will make it work with your setup as you describe above.
Any help you can offer is greatly appreciated! Thank you for all you do for the community and the help you have already given many.
I was having trouble selecting the virtual devices within the setup of your smartapp because I had uninstalled the MultiChannel app which was what created the virtual types to begin with⊠do I need that still?
In the IDE you add the code from Eric, then go to the device itself, change it to the new device type, so not Enerwave but the Philio one you just added.
For the smartapp, in the phone app, go to smartapps, select the old one, go to the bottom and hit remove. Then add the new smartapp in the IDE and then add in the store where youâll associate one instance of the app with each relay you install.
Kinda the cliff-notes version, let me know if I need to clarify anything.
It seems when I do this, that when I go to select the Virtual Device 1 and 2 it doesnât have individual devices for the two switch endpoints? I canât seem to get that to work.
In the new smartapp from Eric, youâll see âWhich RSM2 Module?â select the one you installed, then it should give you two entries âFirst Switch?â and âSecond Switch?â which is were you specify the virtual switches. Both of mine are just of type âOn/Off Button Tile.â
So Devices:
2 Virtual On/Off Button Tiles
1 Relay device of type Philio PAN04 Dual Relay
Smartapp:
Dual Relay Adapter
Okay, so how do I get the 2 Virtual On/Off Button Tiles to show up in âThingsâ list? or âDevicesâ list for that matter.
When I go to select Switch 1 or whatever, no option for the virtual device is found�
Ah, in the IDE, devices, click the add button on the right. Type a random network id, xxjsldf for example, and set the type and name.
Okay! I think I got it working perfectly⊠Thanks!
FYI, if you use the latest version of my Philio device type and Dual Relay adapter SmartApp (that I posted yesterday), use the âSimulated Switchâ device type for your virtual switches instead of âOn/Off Button Tileâ. This should prevent the SmartApp from having issues if you flip the physical switches quickly on the wall (this has been a problem with all the Dual Relay SmartApps and was recently fixed by @justintime) .
Thank you! That does seem to work more precisely.
Awesome! Iâve had that issue a few times but it was minor and didnât think of it when Iâd get on the forums.
Eric,
Just got home to test if it updates when I switch manually on the wall and itâs not reflecting unless I hit refresh.
Any tips?