diff --git a/devices/tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.json b/devices/tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.json new file mode 100644 index 00000000..5e6fe689 --- /dev/null +++ b/devices/tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.json @@ -0,0 +1,167 @@ +{ + "manufacturer": "Tuya Generic", + "name": "TH08 Temperature and Humdity Sensor v1.0.0", + "key": "xflodz7oja0pndk3", + "ap_ssid": "SmartLife", + "github_issues": [ + 591 + ], + "image_urls": [ + "tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.jpg" + ], + "profiles": [ + "th08-cbu-7231nl-1.0.0-sdk-2.3.1-40.00" + ], + "schemas": { + "ey2ha0": [ + { + "trigger": "direct", + "type": "obj", + "mode": "ro", + "property": { + "min": -200, + "max": 600, + "scale": 1, + "step": 1, + "type": "value" + }, + "id": 1 + }, + { + "trigger": "direct", + "type": "obj", + "mode": "ro", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 2 + }, + { + "type": "obj", + "mode": "ro", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 4 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "range": [ + "c", + "f" + ], + "type": "enum" + }, + "id": 9 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": -200, + "max": 600, + "scale": 1, + "step": 1, + "type": "value" + }, + "id": 10 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": -200, + "max": 600, + "scale": 1, + "step": 1, + "type": "value" + }, + "id": 11 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 12 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": 0, + "max": 100, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 13 + }, + { + "type": "obj", + "mode": "ro", + "property": { + "range": [ + "loweralarm", + "upperalarm", + "cancel" + ], + "type": "enum" + }, + "id": 14 + }, + { + "type": "obj", + "mode": "ro", + "property": { + "range": [ + "loweralarm", + "upperalarm", + "cancel" + ], + "type": "enum" + }, + "id": 15 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": 3, + "max": 20, + "scale": 1, + "step": 1, + "type": "value" + }, + "id": 19 + }, + { + "type": "obj", + "mode": "rw", + "property": { + "min": 3, + "max": 20, + "scale": 0, + "step": 1, + "type": "value" + }, + "id": 20 + } + ] + } +} diff --git a/images/tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.jpg b/images/tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.jpg new file mode 100644 index 00000000..8b79a5a2 Binary files /dev/null and b/images/tuya-generic-th08-temperature-and-humdity-sensor-v1.0.0.jpg differ diff --git a/profiles/th08-cbu-7231nl-1.0.0-sdk-2.3.1-40.00.json b/profiles/th08-cbu-7231nl-1.0.0-sdk-2.3.1-40.00.json new file mode 100644 index 00000000..7f5eee97 --- /dev/null +++ b/profiles/th08-cbu-7231nl-1.0.0-sdk-2.3.1-40.00.json @@ -0,0 +1,17 @@ +{ + "name": "1.0.0 - BK7231N", + "sub_name": "TH08_CBU_7231NL", + "type": "CLASSIC", + "icon": "memory", + "firmware": { + "chip": "BK7231N", + "name": "TH08_CBU_7231NL", + "version": "1.0.0", + "sdk": "2.3.1-40.00" + }, + "data": { + "address_finish": "0x1B597", + "address_ssid": "0xC5ACD", + "address_ssid_padding": 4 + } +}