Skip to content

Commit 8308205

Browse files
committed
feat: Add manuSpecificPhilips3 cluster definition.
The Philips Hue ecosystem uses cluster 0xFC01 for "entertainment mode" packets. This is a manufacturer-specific extension, that allows high-frequency updates (tested up to 90 *per second*, but typically 10-50) for up to 10 lights. Unfortunately, `manuSpecificLegrandDevices` already "owns" 0xFC01, making it impossible to send the required commands to make this work, even with the necessary patch to enable full control in `zcl_command`: Koenkk/zigbee-herdsman-converters#8867 With this change, the `.cluster` field in `zcl_command` can be specified as `manuSpecificPhilips3`, and will be correctly identified by zigbee-herdsman. These changes (this PR and the one mentioned above) is sufficient to allow Entertainment Mode control over Zigbee2MQTT! The upcoming beta version of [Bifrost](https://github.com/chrivers/bifrost) will have rudimentary support for this.
1 parent 76d3de1 commit 8308205

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

src/zspec/zcl/definition/cluster.ts

+28
Original file line numberDiff line numberDiff line change
@@ -4161,6 +4161,34 @@ export const Clusters: Readonly<Record<ClusterName, Readonly<ClusterDefinition>>
41614161
},
41624162
commandsResponse: {},
41634163
},
4164+
manuSpecificPhilips3: {
4165+
ID: 0xfc01,
4166+
manufacturerCode: ManufacturerCode.SIGNIFY_NETHERLANDS_B_V,
4167+
attributes: {},
4168+
commands: {
4169+
command1: {
4170+
ID: 1,
4171+
parameters: [{name: 'data', type: BuffaloZclDataType.BUFFER}],
4172+
},
4173+
command2: {
4174+
ID: 2,
4175+
parameters: [{name: 'data', type: BuffaloZclDataType.BUFFER}],
4176+
},
4177+
command3: {
4178+
ID: 3,
4179+
parameters: [{name: 'data', type: BuffaloZclDataType.BUFFER}],
4180+
},
4181+
command4: {
4182+
ID: 4,
4183+
parameters: [{name: 'data', type: BuffaloZclDataType.BUFFER}],
4184+
},
4185+
command7: {
4186+
ID: 7,
4187+
parameters: [{name: 'data', type: BuffaloZclDataType.BUFFER}],
4188+
},
4189+
},
4190+
commandsResponse: {},
4191+
},
41644192
manuSpecificSinope: {
41654193
ID: 65281,
41664194
manufacturerCode: ManufacturerCode.SINOPE_TECHNOLOGIES,

src/zspec/zcl/definition/tstype.ts

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ export type ClusterName =
200200
| 'manuSpecificOsram'
201201
| 'manuSpecificPhilips'
202202
| 'manuSpecificPhilips2'
203+
| 'manuSpecificPhilips3'
203204
| 'manuSpecificSinope'
204205
| 'manuSpecificLegrandDevices'
205206
| 'manuSpecificLegrandDevices2'

0 commit comments

Comments
 (0)