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

**URL:** <https://community.smartthings.com/t/edge-drivers-mco-home-switch-mh-s311-mh-s312-mh-s314/266289>\
**Category:** Support\
**Created:** [July 6, 2023, 4:20am UTC](https://community.smartthings.com/t/edge-drivers-mco-home-switch-mh-s311-mh-s312-mh-s314/266289 "2023-07-06T04:20:10Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Mariano\_Colmenarejo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mariano_colmenarejo/32/220132_2.png) [@Mariano\_Colmenarejo](https://community.smartthings.com/u/Mariano_Colmenarejo)\
**Post date:** [July 14, 2023, 10:32am UTC](https://community.smartthings.com/t/edge-drivers-mco-home-switch-mh-s311-mh-s312-mh-s314/266289/15 "2023-07-14T10:32:46Z")

</div>

> [@zamir\_amran](#):
>
> I am not that knowledgeable in coding or anything but at this point I am willing to try.

You could try it with the stock zwave switch driver.

[Here is a tutorial](https://community.smartthings.com/t/setting-up-edge-development-environment/238462/9) 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](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/tree/main/drivers/SmartThings)
- In the **zwave-switch** folder open the file fingerprints.yml
- write # in front of the productId of the three devices of yours.

```auto
- 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

---

_[View the full topic](https://community.smartthings.com/t/edge-drivers-mco-home-switch-mh-s311-mh-s312-mh-s314/266289)._
