diff --git a/devices/onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.json b/devices/onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.json new file mode 100644 index 00000000..638ddb34 --- /dev/null +++ b/devices/onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.json @@ -0,0 +1,79 @@ +{ + "manufacturer": "ONENUO", + "name": "898DT Water Leak Sensor with Alarm v1.0.0", + "key": "j77ofj5ddpmmipe4", + "ap_ssid": "SmartLife", + "github_issues": [], + "image_urls": [ + "onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.jpg" + ], + "profiles": [ + "898dt-cbu-7231n-low-1.0.0-sdk-2.3.1-40.00" + ], + "schemas": { + "f2flao": [ + { + "trigger": "direct", + "type": "obj", + "mode": "ro", + "property": { + "range": [ + "alarm", + "normal" + ], + "type": "enum" + }, + "id": 1 + }, + { + "type": "obj", + "mode": "ro", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 4 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "type": "bool" + }, + "id": 7 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "range": [ + "mute", + "low", + "high" + ], + "type": "enum" + }, + "id": 8 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "range": [ + "10_s", + "20_s", + "30_s", + "40_s", + "50_s", + "60_s" + ], + "type": "enum" + }, + "id": 9 + } + ] + } +} diff --git a/images/onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.jpg b/images/onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.jpg new file mode 100644 index 00000000..b95eb175 Binary files /dev/null and b/images/onenuo-898dt-water-leak-sensor-with-alarm-v1.0.0.jpg differ diff --git a/profiles/898dt-cbu-7231n-low-1.0.0-sdk-2.3.1-40.00.json b/profiles/898dt-cbu-7231n-low-1.0.0-sdk-2.3.1-40.00.json new file mode 100644 index 00000000..8948bb06 --- /dev/null +++ b/profiles/898dt-cbu-7231n-low-1.0.0-sdk-2.3.1-40.00.json @@ -0,0 +1,17 @@ +{ + "name": "1.0.0 - BK7231N", + "sub_name": "898DT_CBU_7231N_low", + "type": "CLASSIC", + "icon": "memory", + "firmware": { + "chip": "BK7231N", + "name": "898DT_CBU_7231N_low", + "version": "1.0.0", + "sdk": "2.3.1-40.00" + }, + "data": { + "address_finish": "0x1B53B", + "address_ssid": "0xC5409", + "address_ssid_padding": 4 + } +}