Skip to content

Commit

Permalink
New device - Tuya Generic HWGY004 Cabinet Lamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Jan 28, 2024
1 parent 80ac444 commit 54e2b24
Show file tree
Hide file tree
Showing 2 changed files with 237 additions and 0 deletions.
237 changes: 237 additions & 0 deletions devices/tuya-generic-hwgy004-cabinet-lamp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
{
"manufacturer": "Tuya Generic",
"name": "HWGY004 Cabinet Lamp",
"key": "keyvkfcucn7xnenx",
"ap_ssid": "SmartLife",
"github_issues": [],
"image_urls": [
"tuya-generic-hwgy004-cabinet-lamp.jpg"
],
"profiles": [
"oem-bk7231n-light-pir-ty-1.0.10-sdk-2.3.1-40.00"
],
"schemas": {
"000004vfir": [
{
"type": "obj",
"mode": "rw",
"property": {
"type": "bool"
},
"id": 20
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"white"
],
"type": "enum"
},
"id": 21
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 10,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 22
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 26
},
{
"type": "obj",
"mode": "wr",
"property": {
"type": "string",
"maxlen": 255
},
"id": 28
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"auto",
"manual"
],
"type": "enum"
},
"id": 51
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"pir",
"none"
],
"type": "enum"
},
"id": 52
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"2000lux",
"300lux",
"50lux",
"10lux",
"5lux",
"now"
],
"type": "enum"
},
"id": 53
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"low",
"middle",
"high"
],
"type": "enum"
},
"id": 54
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 5,
"max": 3600,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 55
},
{
"type": "obj",
"mode": "rw",
"property": {
"type": "bool"
},
"id": 56
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 1,
"max": 480,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 58
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 0,
"max": 1000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 59
}
]
},
"device_configuration": {
"Jsonver": "1.0.8",
"brightmax": 100,
"brightmin": 10,
"c_lv": 1,
"c_pin": 24,
"cagt": 20,
"category": "0501",
"cdsval": 2,
"cmod": "c",
"colormax": 100,
"colormaxp": 100,
"colormin": 10,
"colorpfun": 0,
"crc": 46,
"ctrl_lv": 1,
"ctrl_pin": 26,
"cwmaxp": 100,
"cwtype": 0,
"day": 0,
"defbright": 100,
"defcolor": "c",
"deftemp": 100,
"dimmod": 1,
"dimt": 1,
"dimval": 0,
"dmod": 0,
"dusk": 265,
"evenfall": 460,
"evening": 1400,
"gmkb": 60,
"gmkg": 60,
"gmkr": 80,
"gmwb": 75,
"gmwg": 70,
"gmwr": 100,
"keyfunc": 0,
"lockt": 7,
"module": "CBU",
"night": 2180,
"notdisturb": 0,
"onoffmode": 1,
"pirfreq": 20000,
"pirhduty": 0,
"pirin_lv": 1,
"pirin_pin": 6,
"pirir": 7,
"pirlduty": 16,
"pirmduty": 7,
"pirmod": 0,
"pirrange": 0,
"pirsense_lv": 1,
"pirsense_pin": 8,
"pirwarn": 0,
"pmemory": 1,
"preheatt": 20,
"prodagain": 1,
"pwmhz": 1000,
"remdmode": 0,
"rgbt": 0,
"rstbr": 10,
"rstcor": "c",
"rstnum": 5,
"rsttemp": 100,
"title20": 0,
"trigdelay": 10,
"trigmod": 0,
"wfcfg": "spcl",
"wfct": 3,
"wt": 0
}
}
Binary file added images/tuya-generic-hwgy004-cabinet-lamp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 54e2b24

Please sign in to comment.