Sonoff SV device handler?

You don’t just need a DTH, you also have to flash custom firmware to the device. I believe the firmware for the sonoff basic should work but I it won’t allow you to use the reed switch also.

For that you’d have to use the Tasmota firmware and I’ve never had much luck with that. But it does look like there’s a new DTH for Tasmota.