This is a device handler for the Vision Shock Sensor (Model: ZS 5101).
The Vision Shock Sensor detects vibration and it also has terminals inside that allow you to attach an external sensor.
Choose between Motion or Acceleration for the primary Capability which is shown in the main tile.
The primary capability will switch to active on vibration and switch back to inactive 10 seconds after vibration stops.
Choose between Tamper, Water, Motion or Contact for the secondary Capability which is shown as the secondary status of the main tile.
The secondary capability will switch to its active state (detected/wet/active/open) when the device is opened or the attached external sensor changes from closed to open.
The device doesn’t send a clear event for the secondary capability so once it becomes active you need to manually tap the refresh tile to reset it.
Sump Pump Monitoring
I can think of a lot of ways to use this device, but I think its the perfect device for monitoring a sump pump because you can use the vibration to detect when the sump pump turns on and you can attach an external sensor and use it as a water sensor.
I’ve attached the vibration sensor to the PVC pipe with a cable tie and I have a cheap dump contact sensor connected to the terminals. The magnet is attached to the float of my backup pump and the contact is positioned next to it so that the circuit is closed.
If my primary sump pump fails, the water will reach the backup pump’s float causing the external sensor to change to open and the device handler to report water wet.
Dangling the wires and allowing the water to close the circuit won’t cause the device to send a notification to SmartThings. If you want to use the external contact to detect high water, you need to use either an external sensor or rig something to pull the wires apart because the device only sends a notification when the circuit changes from closed to open.