[Edge drivers] MCO Home switch MH-S311, MH-S312 & MH-S314

You could try it with the stock zwave switch driver.

Here is a tutorial on how to modify the basics of a driver and what tools you need to install on your PC.

  • download the drivers to your pc from this github link
  • In the zwave-switch folder open the file fingerprints.yml
  • write # in front of the productId of the three devices of yours.
- id: 015F/3111/5102
    deviceLabel: WYFY Switch 1
    manufacturerId: 0x015F
    productType: 0x3111
    #productId: 0x3111
    deviceProfileName: switch-binary
  - id: 015F/3121/5102
    deviceLabel: WYFY Switch 1
    manufacturerId: 0x015F
    productType: 0x3121
    #productId: 0x5102
    deviceProfileName: switch-binary
  - id: 015F/3141/5102
    deviceLabel: WYFY Switch 1
    manufacturerId: 0x015F
    productType: 0x3141
    #productId: 0x5102
    deviceProfileName: switch-binary
  • This will allow devices to pair with the controller

  • open the scr folder

  • open the “multichannel-device” subdriver folder and open the init.lua file

  • on line 35 replace if src_channel == 0 then with if src_channel == 1 then

  • save the changes.

  • Open the config.yml file and change the name Z-Wave Switch to something different for you.

  • following the steps described in the tutorial:

  • with the CLI pack the modified driver.

  • Create your own channel

  • Assign the new driver to your channel

  • Install the new driver on your hub

  • Install the device.

This driver creates the child devices when it receives a report command from the device, so if they are not created by themselves, then turns the physical switches on or off and when the driver receives the status report they should be created in the same room as the hub.

Don’t be afraid to try, nothing will break
If you need more help, tell me

3 Likes