-
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
253 changed files
with
4,422 additions
and
2,293 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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/id", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"managed": true, | ||
"description": "Identifier of the resource, unique within an endpoint." | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/id", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"managed": true, | ||
"description": "Identifier of the resource, unique within an endpoint." | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/lastannounced", | ||
"datatype": "ISO 8601 timestamp", | ||
"access": "R", | ||
"public": true, | ||
"implicit" : true, | ||
"managed": true, | ||
"description": "Timestamp of the last power-cyle or rejoin." | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/lastannounced", | ||
"datatype": "ISO 8601 timestamp", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"managed": true, | ||
"description": "Timestamp of the last power-cyle or rejoin." | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/lastseen", | ||
"datatype": "ISO 8601 timestamp", | ||
"access": "R", | ||
"public": true, | ||
"implicit" : true, | ||
"managed": true, | ||
"description": "Timestamp of the last communication." | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/lastseen", | ||
"datatype": "ISO 8601 timestamp", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"managed": true, | ||
"description": "Timestamp of the last communication." | ||
} |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/manufacturername", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit" : true, | ||
"description": "Manufacturer name of the device." | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/manufacturername", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"description": "Manufacturer name of the device." | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/mode", | ||
"datatype": "UInt32", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Operational mode." | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/mode", | ||
"datatype": "UInt32", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Operational mode." | ||
} |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/modelid", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit" : true, | ||
"description": "Model identifier of the device." | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/modelid", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"description": "Model identifier of the device." | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/name", | ||
"datatype": "String", | ||
"access": "RW", | ||
"public": true, | ||
"implicit" : true, | ||
"managed": true, | ||
"description": "Name of the resource." | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/name", | ||
"datatype": "String", | ||
"access": "RW", | ||
"public": true, | ||
"implicit": true, | ||
"managed": true, | ||
"description": "Name of the resource." | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/poweronct", | ||
"datatype": "UInt16", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Ct value set when powered on." | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/poweronct", | ||
"datatype": "UInt16", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Ct value set when powered on." | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/poweronlevel", | ||
"datatype": "UInt8", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Brightness set when powered on." | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/poweronlevel", | ||
"datatype": "UInt8", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Brightness set when powered on." | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/powerup", | ||
"datatype": "UInt32", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Powerup mode of a device." | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/powerup", | ||
"datatype": "UInt32", | ||
"access": "RW", | ||
"public": true, | ||
"description": "Powerup mode of a device." | ||
} |
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 |
---|---|---|
@@ -1,16 +1,24 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/productid", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"description": "Product identifier of the device.", | ||
"parse": { | ||
"fn": "zcl", "ep": "0x0b", "cl": "0x0000", "mf": "0x100b", "at": "0x0040", | ||
"eval": "Item.val = Attr.val" | ||
}, | ||
"read": { | ||
"fn": "zcl", "ep": "0x0b", "cl": "0x0000", "mf": "0x100b", "at": "0x0040" | ||
}, | ||
"refresh.interval": 86400 | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/productid", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"description": "Product identifier of the device.", | ||
"parse": { | ||
"fn": "zcl", | ||
"ep": "0x0b", | ||
"cl": "0x0000", | ||
"mf": "0x100b", | ||
"at": "0x0040", | ||
"eval": "Item.val = Attr.val" | ||
}, | ||
"read": { | ||
"fn": "zcl", | ||
"ep": "0x0b", | ||
"cl": "0x0000", | ||
"mf": "0x100b", | ||
"at": "0x0040" | ||
}, | ||
"refresh.interval": 86400 | ||
} |
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 |
---|---|---|
@@ -1,16 +1,24 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/swconfigid", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"description": "Software config identifier of the device.", | ||
"parse": { | ||
"fn": "zcl", "ep": "0x0b", "cl": "0x0000", "mf": "0x100b", "at": "0x0041", | ||
"eval": "Item.val = ('00000000' + Attr.val.toString(16)).slice(-8).toUpperCase()" | ||
}, | ||
"read": { | ||
"fn": "zcl", "ep": "0x0b", "cl": "0x0000", "mf": "0x100b", "at": "0x0041" | ||
}, | ||
"refresh.interval": 86400 | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/swconfigid", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"description": "Software config identifier of the device.", | ||
"parse": { | ||
"fn": "zcl", | ||
"ep": "0x0b", | ||
"cl": "0x0000", | ||
"mf": "0x100b", | ||
"at": "0x0041", | ||
"eval": "Item.val = ('00000000' + Attr.val.toString(16)).slice(-8).toUpperCase()" | ||
}, | ||
"read": { | ||
"fn": "zcl", | ||
"ep": "0x0b", | ||
"cl": "0x0000", | ||
"mf": "0x100b", | ||
"at": "0x0041" | ||
}, | ||
"refresh.interval": 86400 | ||
} |
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,9 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/swversion_bis", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"description": "Firmware version of the device." | ||
} |
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 |
---|---|---|
@@ -1,12 +1,23 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/swversion", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit" : true, | ||
"description": "Firmware version of the device.", | ||
"parse": {"fn": "zcl", "ep": 255, "cl": "0x0000", "at": "0x4000", "eval": "Item.val = Attr.val"}, | ||
"read": {"fn": "zcl", "ep": 0, "cl": "0x0000", "at": "0x4000"}, | ||
"refresh.interval": 86400 | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/swversion", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"description": "Firmware version of the device.", | ||
"parse": { | ||
"fn": "zcl", | ||
"ep": 255, | ||
"cl": "0x0000", | ||
"at": "0x4000", | ||
"eval": "Item.val = Attr.val" | ||
}, | ||
"read": { | ||
"fn": "zcl", | ||
"ep": 0, | ||
"cl": "0x0000", | ||
"at": "0x4000" | ||
}, | ||
"refresh.interval": 86400 | ||
} |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/type", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit" : true, | ||
"managed": true, | ||
"description": "Type of the resource." | ||
} | ||
"schema": "resourceitem1.schema.json", | ||
"id": "attr/type", | ||
"datatype": "String", | ||
"access": "R", | ||
"public": true, | ||
"implicit": true, | ||
"managed": true, | ||
"description": "Type of the resource." | ||
} |
Oops, something went wrong.