diff --git a/devices/tuya-generic-fh-pir-400a-pir-and-lux-sensor.json b/devices/tuya-generic-fh-pir-400a-pir-and-lux-sensor.json new file mode 100644 index 00000000..1e014ed9 --- /dev/null +++ b/devices/tuya-generic-fh-pir-400a-pir-and-lux-sensor.json @@ -0,0 +1,54 @@ +{ + "manufacturer": "Tuya Generic", + "name": "FH-PIR-400A PIR and Lux Sensor", + "key": "lokl35ptqxauik7x", + "ap_ssid": "SmartLife", + "github_issues": [], + "image_urls": [ + "tuya-generic-fh-pir-400a-pir-and-lux-sensor.jpg" + ], + "profiles": [ + "dy-fh-pir-400a-cbu-1.0.0-sdk-2.3.1-40.00" + ], + "schemas": { + "e2wbz8": [ + { + "type": "obj", + "mode": "ro", + "property": { + "range": [ + "pir", + "none" + ], + "type": "enum" + }, + "id": 1 + }, + { + "trigger": "direct", + "type": "obj", + "mode": "ro", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 4 + }, + { + "type": "obj", + "mode": "ro", + "property": { + "min": 0, + "max": 10000, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 11 + } + ] + } +} diff --git a/images/tuya-generic-fh-pir-400a-pir-and-lux-sensor.jpg b/images/tuya-generic-fh-pir-400a-pir-and-lux-sensor.jpg new file mode 100644 index 00000000..7a9de815 Binary files /dev/null and b/images/tuya-generic-fh-pir-400a-pir-and-lux-sensor.jpg differ diff --git a/profiles/dy-fh-pir-400a-cbu-1.0.0-sdk-2.3.1-40.00.json b/profiles/dy-fh-pir-400a-cbu-1.0.0-sdk-2.3.1-40.00.json new file mode 100644 index 00000000..ce358327 --- /dev/null +++ b/profiles/dy-fh-pir-400a-cbu-1.0.0-sdk-2.3.1-40.00.json @@ -0,0 +1,17 @@ +{ + "name": "1.0.0 - BK7231N", + "sub_name": "dy_fh_pir_400a_cbu", + "type": "CLASSIC", + "icon": "memory", + "firmware": { + "chip": "BK7231N", + "name": "dy_fh_pir_400a_cbu", + "version": "1.0.0", + "sdk": "2.3.1-40.00" + }, + "data": { + "address_finish": "0x1B52F", + "address_ssid": "0xC537D", + "address_ssid_padding": 4 + } +}