At the end of 2022 D-Link will
brick our perfectly good, fully functional water sensors. Here are a few options that might help you keep them out of the landfill:
Home Assistant - If you're into this app, there are
custom component and
yaml files that appear to allow you to integrate your D-Link DCH-S160 Water Sensor into your Home Assistant setup. I'm not into Home Assistant, so have no idea if this works. See
https://community.home-assistant.io/t/d-link-water-sensor-dch-s160 and
https://github.com/postlund/dlink_hnap.
HomeKit - If you're into integrating smart home devices into your HomeKit setup using Homebridge, there's a plugin that appears to allow you to use your D-Link DCH-S160 Water Sensor. Again, I'm not into HomeKit, so have no idea if this works. See
https://github.com/bman46/homebridge-DCH-S160.
Python Script - If you have any sort of computer hardware/software skills, there's a stand-alone Python 3 script that you can run on a Raspberry Pi computer. This script monitors your DCH-S160 Water Sensor and sends e-mail and/or push notifications when water has been detected. This is the solution I settled on. See
https://github.com/lwbeam/water_sensors.
I'm certain there are other options out there, but these should get you started. Good luck.
Larry ....