Skip to content

Commit

Permalink
feat(ignore): Add NodOn Manuf Code and Manufacturer Cluster (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisPolegato authored Nov 3, 2023
1 parent e54db7a commit fd5bf6c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/zcl/definition/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ const Cluster: {
elkoPreWarningTime: {ID: 0xE000, type: DataType.uint16, manufacturerCode: ManufacturerCode.ELKO},
elkoOnTimeReload: {ID: 0xE001, type: DataType.uint32, manufacturerCode: ManufacturerCode.ELKO},
elkoOnTimeReloadOptions: {ID: 0xE002, type: DataType.bitmap8, manufacturerCode: ManufacturerCode.ELKO},
nodonTransitionTime: {ID: 0x0001, type: DataType.uint16, manufacturerCode: ManufacturerCode.NODON},
},
commands: {
off: {
Expand Down Expand Up @@ -5594,6 +5595,23 @@ const Cluster: {
},
commandsResponse: {},
},
manuSpecificNodOnFilPilote: {
ID: 0xFC00,
manufacturerCode: ManufacturerCode.NodOn,
attributes: {
mode: {ID: 0x0000, type: DataType.uint8}
},
commands: {
setMode: {
ID: 0x0000,
parameters: [
{name: 'mode', type: DataType.uint8},
],
},
},
commandsResponse: {
},
},
};

export default Cluster;
3 changes: 3 additions & 0 deletions src/zcl/definition/manufacturerCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,8 @@ const knownManufacturerCodes = {
ELKO: 0x1277,
/** Sprut.device */
SPRUT_DEVICE: 0x6666,
/** NodOn */
NODON: 0x128B,
};

export default {
Expand All @@ -1075,4 +1077,5 @@ export default {
Develco: knownManufacturerCodes.DEVELCO,
SprutDevice: knownManufacturerCodes.SPRUT_DEVICE,
Bosch: knownManufacturerCodes.ROBERT_BOSCH_GMBH,
NodOn: knownManufacturerCodes.NODON,
};

0 comments on commit fd5bf6c

Please sign in to comment.