Multichannel Zwave (Dual Outlet) Device

I’m trying to port over a multichannel device and edited the code as best I could for hubitat but I get the following error

error No signature of method: hubitat.zwave.commands.multichannelv3.MultiChannelCmdEncap.encapsulate() is applicable for argument types: (hubitat.zwave.commands.switchbinaryv1.SwitchBinaryGet) values: [SwitchBinaryGet()] on line 206

I’m not very familiar with zwave dth’s so any advice is welcome. See entire method below.

private encap(cmd, endpoint) {
    if (endpoint) {
        zwave.multiChannelV3.multiChannelCmdEncap(destinationEndPoint: endpoint).encapsulate(cmd)
    } else {
        cmd
    }
}

For multichannel (dual relays) I’ve had very good luck with a modified monoprice DH or the enerwave… I think it was, well… it was “ener” something :slight_smile: DH that is posted here in the community.

1 Like

This is a for dual outlet (switch) device but I’ll look at those devices for clues. Thank you for the update.

Those are both behind the wall dual switch relay’s.