diff --git a/devices/tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.json b/devices/tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.json new file mode 100644 index 00000000..d4bc9164 --- /dev/null +++ b/devices/tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.json @@ -0,0 +1,67 @@ +{ + "manufacturer": "Tuya Generic", + "name": "DY-SQ400B Water Leak Sensor v1.1.6", + "key": "key4cngfa3qtqsk7", + "ap_ssid": "SmartLife", + "github_issues": [], + "image_urls": [ + "tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.jpg" + ], + "profiles": [ + "oem-bk7231n-water-sensor-plus-1.1.6-sdk-2.3.1-40.00" + ], + "schemas": { + "000003hxnw": [ + { + "mode": "ro", + "property": { + "range": [ + "alarm", + "normal" + ], + "type": "enum" + }, + "id": 1, + "trigger": "direct", + "type": "obj" + }, + { + "mode": "ro", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 4, + "trigger": "direct", + "type": "obj" + } + ] + }, + "device_configuration": { + "alarm_type": 0, + "basic_pin_lv": 1, + "basic_pin_pin": 8, + "basic_st": 1, + "beep_t": 10, + "bt_lv": 0, + "bt_pin": 24, + "bz_pin_lv": 1, + "bz_pin_pin": 7, + "crc": 66, + "max_V": 3000, + "min_V": 2600, + "net_t": 180, + "nxtalm_t": 5, + "rstcnt": 3, + "samp_pin": 23, + "samp_sw_lv": 1, + "samp_sw_pin": 14, + "samp_type": 1, + "sound_pin": 6, + "status_led_lv": 1, + "status_led_pin": 26 + } +} diff --git a/images/tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.jpg b/images/tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.jpg new file mode 100644 index 00000000..8bd9d287 Binary files /dev/null and b/images/tuya-generic-dy-sq400b-water-leak-sensor-v1.1.6.jpg differ