feat: Enhance DALI Gateway with RGBW and RGBCW support
- Added support for RGBW and RGBCW color modes in the DALI Gateway. - Updated JSON color mode parsing to handle new color types. - Extended the StoreDt8SceneSnapshot function to include white, amber, and free color parameters. - Introduced new methods in DaliGatewayBridge for setting RGBW, RGBCW, and RGBWAF colors. - Modified KnxDaliChannel to send RGBW and RGBCW colors based on the color type. - Updated parameter types and definitions in the KNX product XML files to accommodate new color modes. - Enhanced README with migration details and validation instructions. Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<KNX xmlns="http://knx.org/xml/project/20" xmlns:op="http://github.com/OpenKNX/OpenKNXproducer">
|
||||
<ManufacturerData>
|
||||
<Manufacturer RefId="M-00FA">
|
||||
<ApplicationPrograms>
|
||||
<ApplicationProgram>
|
||||
<Static>
|
||||
<ParameterTypes>
|
||||
<ParameterType Id="%AID%_PT-ColorType" Name="ColorType">
|
||||
<TypeRestriction Base="Value" SizeInBit="%DALI_ColorTypeBits%">
|
||||
<Enumeration Id="%AID%_PT-ColorType_EN-0" Text="HSV" Value="0" />
|
||||
<Enumeration Id="%AID%_PT-ColorType_EN-1" Text="RGB" Value="1" />
|
||||
<Enumeration Id="%AID%_PT-ColorType_EN-2" Text="Tunable white" Value="2" />
|
||||
<Enumeration Id="%AID%_PT-ColorType_EN-3" Text="xyY" Value="3" />
|
||||
<Enumeration Id="%AID%_PT-ColorType_EN-4" Text="RGBW" Value="4" />
|
||||
<Enumeration Id="%AID%_PT-ColorType_EN-5" Text="RGBCW" Value="5" />
|
||||
</TypeRestriction>
|
||||
</ParameterType>
|
||||
</ParameterTypes>
|
||||
</Static>
|
||||
</ApplicationProgram>
|
||||
</ApplicationPrograms>
|
||||
</Manufacturer>
|
||||
</ManufacturerData>
|
||||
</KNX>
|
||||
Reference in New Issue
Block a user