Skip to content

Commit

Permalink
Copy DDF from DE/deconz-rest-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehir committed Dec 2, 2023
1 parent 506fb48 commit 05786bf
Show file tree
Hide file tree
Showing 420 changed files with 67,606 additions and 667 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
coverage
.turbo

# Editor directories and files
.history/*
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Database files
*.db

*.typegen.ts
uploads
134 changes: 134 additions & 0 deletions devices/3A-Nue/Lxn59-2s7lX1.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"schema":"devcap1.schema.json",
"manufacturername":"3A Smart Home DE",
"modelid":"LXN59-2S7LX1.0",
"product":"2 gang switch",
"sleeper":false,
"status":"Gold",
"subdevices":[
{
"type":"$TYPE_ON_OFF_LIGHT",
"restapi":"/lights",
"uuid":[
"$address.ext",
"0x01"
],
"items":[
{
"name":"attr/id"
},
{
"name":"attr/lastannounced"
},
{
"name":"attr/lastseen"
},
{
"name":"attr/manufacturername"
},
{
"name":"attr/modelid"
},
{
"name":"attr/name"
},
{
"name":"attr/swversion"
},
{
"name":"attr/type"
},
{
"name":"attr/uniqueid"
},
{
"name":"state/alert",
"default":"none"
},
{
"name":"state/on"
},
{
"name":"state/reachable"
}
]
},
{
"type":"$TYPE_ON_OFF_LIGHT",
"restapi":"/lights",
"uuid":[
"$address.ext",
"0x02"
],
"items":[
{
"name":"attr/id"
},
{
"name":"attr/lastannounced"
},
{
"name":"attr/lastseen"
},
{
"name":"attr/manufacturername"
},
{
"name":"attr/modelid"
},
{
"name":"attr/name"
},
{
"name":"attr/swversion"
},
{
"name":"attr/type"
},
{
"name":"attr/uniqueid"
},
{
"name":"state/alert",
"default":"none"
},
{
"name":"state/on"
},
{
"name":"state/reachable"
}
]
}
],
"bindings":[
{
"bind":"unicast",
"src.ep":1,
"dst.ep":1,
"cl":"0x0006",
"report":[
{
"at":"0x0000",
"dt":"0x10",
"min":5,
"max":300
}
]
},
{
"bind":"unicast",
"src.ep":2,
"dst.ep":1,
"cl":"0x0006",
"report":[
{
"at":"0x0000",
"dt":"0x10",
"min":5,
"max":300
}
]
}
]
}
69 changes: 69 additions & 0 deletions devices/3A-Nue/lxn59-1s7lx1.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "3A Smart Home DE",
"modelid": "LXN59-1S7LX1.0",
"product": "Another Smart socket plug",
"sleeper": false,
"status": "Silver",
"subdevices": [
{
"type": "$TYPE_SMART_PLUG",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x01"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "state/on",
"refresh.interval": 5
},
{
"name": "state/reachable"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 5,
"max": 300
}
]
}
]
}
155 changes: 155 additions & 0 deletions devices/3A-Nue/lxt56-ls27lx1.7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"schema": "devcap1.schema.json",
"manufacturername": "3A Smart Home DE",
"modelid": "LXT56-LS27LX1.7",
"vendor": "Zemismart",
"product": "3A12S-15",
"sleeper": false,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_EXTENDED_COLOR_LIGHT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x01"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "cap/color/capabilities"
},
{
"name": "cap/color/ct/max"
},
{
"name": "cap/color/ct/min"
},
{
"name": "cap/color/xy/blue_x",
"static": 0
},
{
"name": "cap/color/xy/blue_y",
"static": 0
},
{
"name": "cap/color/xy/green_x",
"static": 0
},
{
"name": "cap/color/xy/green_y",
"static": 65279
},
{
"name": "cap/color/xy/red_x",
"static": 65279
},
{
"name": "cap/color/xy/red_y",
"static": 0
},
{
"name": "state/alert"
},
{
"name": "state/bri"
},
{
"name": "state/colormode"
},
{
"name": "state/ct"
},
{
"name": "state/effect"
},
{
"name": "state/hue"
},
{
"name": "state/on"
},
{
"name": "state/reachable"
},
{
"name": "state/sat"
},
{
"name": "state/x"
},
{
"name": "state/y"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0008",
"report": [
{
"at": "0x0000",
"dt": "0x20",
"min": 10,
"max": 360
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0300",
"report": [
{
"at": "0x0008",
"dt": "0x30",
"min": 10,
"max": 300
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0006",
"report": [
{
"at": "0x0000",
"dt": "0x10",
"min": 5,
"max": 300
}
]
}
]
}
Loading

0 comments on commit 05786bf

Please sign in to comment.