I won’t be converting the HomeSeer Perimeter Water Sensor DTH into an Edge Driver so it will stop working once the Groovy platform is retired, but it probably doesn’t need a custom driver.
This is a device handler for the HomeSeer Perimeter Water Sensor (HS-FS100-W).
This handler includes some workarounds that make it fully functional with Automations and all the built-in SmartApps, but they shouldn’t be needed once Custom Capabilities are fully supported. The handler also has some quirks that were unavoidable at the time of writing this handler because Custom Capabilities still have a lot of broken features.
Supports all the settings that are meant to be used with this model.
Shows if it was joined as a DC powered repeater or sleeping battery device
Makes device beep, but only works if the device was joined on DC power and is still on DC power. The ability to conditionally show tiles is currently broken so it’s displayed even when you can’t use it. The built-in Tone capability is missing from Automations and gets displayed as “find my device” on the device details screen so using the Alarm capability was the best workaround I could think of
If the device was joined on DC power it’s not possible to get the battery level or conditionally hide it at the moment so it will always be 100%
This device shares a fingerprint with the HS-FS100-L so if you have both handlers installed you need to put // in front of the fingerprint line in the other handler before joining the device. If you don’t do that it might get assigned the wrong handler and due to platform caching issues it could still show the wrong UI after changing the type field.
When the device is powered by batteries and you change a setting the device won’t receive it until the next time it wakes up which could take 24 hours. You can manually wake the device up by pushing the physical button, but it doesn’t notify the hub that it’s awake so you need to refresh the device details a moment after waking it up. Swiping down when you’re at the top of the device details screen executes the refresh command.