Skip to content

Commit

Permalink
New device - Tuya Generic TYTE-D1 Temperature Switch v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Jun 28, 2024
1 parent 67dbdec commit 4c6886e
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 0 deletions.
336 changes: 336 additions & 0 deletions devices/tuya-generic-tyte-d1-temperature-switch-v1.2.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,336 @@
{
"manufacturer": "Tuya Generic",
"name": "TYTE-D1 Temperature Switch v1.2.2",
"key": "key7rucurh5teh9w",
"ap_ssid": "SmartLife",
"github_issues": [],
"image_urls": [
"tuya-generic-tyte-d1-temperature-switch-v1.2.2.jpg"
],
"profiles": [
"oem-bk7231n-temp-hum-plug-1.2.2-sdk-2.3.1-40.00"
],
"schemas": {
"000004jok8": [
{
"type": "obj",
"mode": "rw",
"property": {
"type": "bool"
},
"id": 2
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 4
},
{
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 7,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"hot",
"dehumidify",
"colding",
"wet"
],
"type": "enum"
},
"id": 8,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 9,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 50000,
"scale": 3,
"step": 100,
"type": "value"
},
"id": 10,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 30000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 11,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 80000,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 12,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 5000,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 13,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 2147483647,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 14,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 2147483647,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 15,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 2147483647,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 16,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 2147483647,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 17,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 80000,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 18,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 5,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 19,
"type": "obj"
},
{
"mode": "rw",
"property": {
"range": [
"c",
"f"
],
"type": "enum"
},
"id": 20,
"type": "obj"
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": -40,
"max": 2210,
"scale": 1,
"step": 5,
"type": "value"
},
"id": 21
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": -200,
"max": 1050,
"scale": 1,
"step": 5,
"type": "value"
},
"id": 22
},
{
"type": "obj",
"mode": "ro",
"property": {
"min": -200,
"max": 1050,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 27
},
{
"mode": "ro",
"property": {
"min": -40,
"max": 2210,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 28,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 10,
"max": 90,
"scale": 1,
"step": 5,
"type": "value"
},
"id": 29,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": -9,
"max": 9,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 30,
"type": "obj"
},
{
"mode": "ro",
"property": {
"type": "bitmap",
"maxlen": 6
},
"id": 50,
"type": "obj"
},
{
"mode": "rw",
"property": {
"min": 0,
"max": 10,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 55,
"type": "obj"
},
{
"mode": "rw",
"property": {
"type": "bool"
},
"id": 56,
"type": "obj"
}
]
},
"device_configuration": {
"bt1_lv": 0,
"bt1_pin": 7,
"bt_type": 0,
"ch_cddpid1": 4,
"ch_dpid1": 2,
"ch_flag1": 1,
"ch_num": 1,
"chip_type": 0,
"crc": 85,
"ele_fun_en": 1,
"ele_pin": 24,
"jv": "1.0.3",
"lose_vol": 70,
"module": "CB3S",
"net_trig": 4,
"netled_lv": 0,
"netled_pin": 14,
"one_wire_pin": 26,
"over_cur": 17600,
"over_pow": 3872,
"over_vol": 265,
"reset_t": 7,
"resistor": 1,
"reuse_led_m": 1,
"rl1_lv": 1,
"rl1_pin": 8,
"sel_pin_lv": 1,
"sel_pin_pin": 9,
"sensor_type": 2,
"temp_unit": 0,
"total_stat": 2,
"vi_pin": 6,
"vol_def": 0
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions profiles/oem-bk7231n-temp-hum-plug-1.2.2-sdk-2.3.1-40.00.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "1.2.2 - BK7231N",
"sub_name": "oem_bk7231n_temp_hum_plug",
"type": "CLASSIC",
"icon": "power-plug",
"firmware": {
"chip": "BK7231N",
"name": "oem_bk7231n_temp_hum_plug",
"version": "1.2.2",
"sdk": "2.3.1-40.00",
"key": "key7rucurh5teh9w"
},
"data": {
"address_finish": "0x1B60B",
"address_ssid": "0xC926D",
"address_ssid_padding": 4
}
}

0 comments on commit 4c6886e

Please sign in to comment.