RELEASE] MCOHome / SFire MH-S511 & MH-S512 Z-Wave touch switch drivers

Hi everyone,

I'm sharing two drivers for the MCOHome MH-S510 series of Z-Wave Plus touch panel switches. In Mexico and Latin America these are sold as SFire MHS511 / MHS511SL / MHS512 / MHS512SL.

Problems with the built-in generic drivers:

  • The state flips back to off 1โ€“2 seconds after you turn the switch on from Hubitat, while the light stays on. The firmware sends a correct SwitchBinaryReport and then a bogus one with the opposite value.
  • Physical presses on the panel never show up in Hubitat. The firmware doesn't report local presses through the lifeline. It only sends them as Basic frames to association group 2 (and group 3 for the second gang).
  • On the 2-gang model, on turns both gangs on together, because the device is multi channel.

What the drivers do:

  • After any change, they ignore contradicting SwitchBinaryReports for a few seconds (configurable, 5 s by default).
  • Configure adds the hub to association group 2 (and group 3 on the MH-S512), so physical presses are reported.
  • MH-S512: a child switch is created for each gang, so each one can be controlled independently.

Status:

  • MH-S511 driver: stable, tested on an MHS511SL (no-neutral).
  • MH-S512 driver: beta. Feedback and logs are welcome.

Install:

GitHub: GitHub - lalotij/hubitat-mcohome-drivers ยท GitHub

  1. Go to Drivers Code โ†’ New Driver โ†’ Import, paste the raw URL from the README and click Save.
  2. On the device page, choose the driver under Device Info โ†’ Type and click Save.
  3. On the Commands tab, click Configure.

If you have one of these switches and something doesn't work, please post your logs with debug logging enabled.

1 Like