-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
420 changed files
with
67,606 additions
and
667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.