Skip to content

Commit

Permalink
New device - Tuya Generic CS01 Carbon Monoxide Detector v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Jul 4, 2024
1 parent 7e2ab4e commit 93ee243
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
86 changes: 86 additions & 0 deletions devices/tuya-generic-cs01-carbon-monoxide-detector-v1.0.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"manufacturer": "Tuya Generic",
"name": "CS01 Carbon Monoxide Detector v1.0.2",
"key": "uade6fhqmx2hbyna",
"ap_ssid": "SmartLife",
"github_issues": [],
"image_urls": [],
"profiles": [
"dy-co-400a-cbu-1.0.2-sdk-2.3.1-40.00"
],
"schemas": {
"edcbuw": [
{
"trigger": "direct",
"type": "obj",
"mode": "ro",
"property": {
"range": [
"normal",
"alarm"
],
"type": "enum"
},
"id": 1
},
{
"trigger": "direct",
"type": "obj",
"mode": "ro",
"property": {
"min": 0,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 2
},
{
"trigger": "direct",
"type": "obj",
"mode": "ro",
"property": {
"type": "bitmap",
"maxlen": 5
},
"id": 11
},
{
"trigger": "direct",
"type": "obj",
"mode": "ro",
"property": {
"min": 0,
"max": 100,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 15
}
]
},
"device_configuration": {
"basic_pin_lv": 0,
"basic_pin_pin": 26,
"basic_st": 1,
"bt_pin": 24,
"crc": 55,
"jv": 1.0,
"max_V": 6130,
"min_V": 5435,
"module": "CBU",
"net_led_lv": 1,
"net_led_pin": 17,
"net_t": 180,
"rstcnt": 3,
"samp_pin": 23,
"samp_sw_lv": 1,
"samp_sw_pin": 20,
"samp_type": 1,
"status_led_lv": 1,
"status_led_pin": 6,
"tamper_st": 1
}
}
17 changes: 17 additions & 0 deletions profiles/dy-co-400a-cbu-1.0.2-sdk-2.3.1-40.00.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "1.0.2 - BK7231N",
"sub_name": "dy_co_400a_cbu",
"type": "CLASSIC",
"icon": "memory",
"firmware": {
"chip": "BK7231N",
"name": "dy_co_400a_cbu",
"version": "1.0.2",
"sdk": "2.3.1-40.00"
},
"data": {
"address_finish": "0x1B52F",
"address_ssid": "0xC6A09",
"address_ssid_padding": 4
}
}

0 comments on commit 93ee243

Please sign in to comment.