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
off1โ2 seconds after you turn the switch on from Hubitat, while the light stays on. The firmware sends a correctSwitchBinaryReportand 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,
onturns 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
- Go to Drivers Code โ New Driver โ Import, paste the raw URL from the README and click Save.
- On the device page, choose the driver under Device Info โ Type and click Save.
- 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.