Why of course the driver was created by none other than the infamous @kkossev Thank You
Summary
/**
- Tuya ZigBee Vibration Sensor
- Device Driver for Hubitat Elevation hub
- Tuya vibration sensor
- Based on Mikhail Diatchenko (muxa) 'Konke ZigBee Motion Sensor' Version 1.0.2, based on code from Robert Morris and ssalahi.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at:
-
http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
- on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
- for the specific language governing permissions and limitations under the License.
- ver 1.0.3 2022-02-28 kkossev - inital version
- ver 1.0.4 2022-03-02 kkossev - 'acceleration' misspelled bug fix
- ver 1.0.5 2022-03-03 kkossev - Battery reporting
- ver 1.0.6 2022-03-03 kkossev - Vibration Sensitivity
- ver 1.0.7 2022-05-12 kkossev - TS0210 _TYZB01_pbgpvhgx Smart Vibration Sensor HS1VS
- ver 1.0.8 2022-11-08 kkossev - TS0210 _TZ3000_bmfw9ykl
- ver 1.1.0 2023-03-07 kkossev - added Import URL; IAS enroll response is sent w/ 1 second delay; added _TYZB01_cc3jzhlj ; IAS is initialized on configure();
-
TODO: healthStatus
-
TODO: Publish a new HE forum thread
-
TODO: minimum time filter : https://community.hubitat.com/t/tuya-vibration-sensor-better-laundry-monitor/113296/9?u=kkossev
-
TODO: handle tamper: (zoneStatus & 1<<2); handle battery_low: (zoneStatus & 1<<3); TODO: check const sens = {'high': 0, 'medium': 2, 'low': 6}[value];
*/
def version() { "1.1.0" }
def timeStamp() {"2023/03/07 2:10 PM"}