Files
gateway/components/knx_dali_gw/knxprod/DALI-GW.common.xml
T
Tony 1342ab6aaf Add KNX Secure configuration for DALI-GW
- Introduced DALI-GW.security.xml to define security settings including enabling security and maximum entries for individual addresses and group keys.
- Updated DALI-GW.xml to reference the new security configuration file.
- Enhanced README.md to document the purpose of DALI-GW.security.xml and clarify the organization of XML fragments in the project.

Signed-off-by: Tony <tonylu@tony-cloud.com>
2026-06-01 18:18:38 +08:00

1523 lines
103 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<KNX xmlns="http://knx.org/xml/project/23">
<ManufacturerData>
<Manufacturer RefId="M-00FA">
<ApplicationPrograms>
<ApplicationProgram Id="%AID%">
<Static>
<Code>
<RelativeSegment Id="%AID%_RS-04-00000" Name="parameter" Offset="0" Size="1796" LoadStateMachine="4" />
</Code>
<ParameterTypes>
<ParameterType Id="%AID%_PT-deviceType" Name="deviceType">
<TypeRestriction Base="Value" SizeInBit="4">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-deviceType_EN-0" />
<Enumeration Text="DT0 - Fluorescent" Value="1" Id="%AID%_PT-deviceType_EN-1" />
<Enumeration Text="DT1 - Self-contained emergency lighting" Value="2" Id="%AID%_PT-deviceType_EN-2" />
<Enumeration Text="DT2 - Discharge lamp" Value="3" Id="%AID%_PT-deviceType_EN-3" />
<Enumeration Text="DT3 - Low-voltage halogen" Value="4" Id="%AID%_PT-deviceType_EN-4" />
<Enumeration Text="DT4 - Incandescent lamp" Value="5" Id="%AID%_PT-deviceType_EN-5" />
<Enumeration Text="DT5 - DC converter (1-10V, 0-10V)" Value="6" Id="%AID%_PT-deviceType_EN-6" />
<Enumeration Text="DT6 - LED" Value="7" Id="%AID%_PT-deviceType_EN-7" />
<Enumeration Text="DT7 - switching relay" Value="8" Id="%AID%_PT-deviceType_EN-8" />
<Enumeration Text="DT8 - color" Value="9" Id="%AID%_PT-deviceType_EN-9" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-name30" Name="name30">
<TypeText SizeInBit="240" />
</ParameterType>
<ParameterType Id="%AID%_PT-noyes" Name="noyes">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="No" Value="0" Id="%AID%_PT-noyes_EN-0" />
<Enumeration Text="Yes" Value="1" Id="%AID%_PT-noyes_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-runType" Name="runType">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="Normal operation" Value="0" Id="%AID%_PT-runType_EN-0" />
<Enumeration Text="Staircase lighting" Value="1" Id="%AID%_PT-runType_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-percent" Name="percent">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="100" SizeInBit="7" />
</ParameterType>
<ParameterType Id="%AID%_PT-checkbox" Name="checkbox">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="1" UIHint="CheckBox" SizeInBit="1" />
</ParameterType>
<ParameterType Id="%AID%_PT-time" Name="time">
<TypeTime Unit="Seconds" UIHint="Time_hhmmss" minInclusive="0" maxInclusive="14400" SizeInBit="14" />
</ParameterType>
<ParameterType Id="%AID%_PT-lock" Name="lock">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="No change" Value="0" Id="%AID%_PT-lock_EN-0" />
<Enumeration Text="Switch on" Value="1" Id="%AID%_PT-lock_EN-1" />
<Enumeration Text="Switch off" Value="2" Id="%AID%_PT-lock_EN-2" />
<Enumeration Text="Fixed value in %" Value="3" Id="%AID%_PT-lock_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-name14" Name="name14">
<TypeText SizeInBit="112" />
</ParameterType>
<ParameterType Id="%AID%_PT-text6" Name="text6">
<TypeText SizeInBit="48" />
</ParameterType>
<ParameterType Id="%AID%_PT-number63" Name="number63">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="63" SizeInBit="6" />
</ParameterType>
<ParameterType Id="%AID%_PT-daynight" Name="daynight">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="0=Day / 1=Night" Value="0" Id="%AID%_PT-daynight_EN-0" />
<Enumeration Text="0=Night / 1=Day" Value="1" Id="%AID%_PT-daynight_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-groupType" Name="groupType">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-groupType_EN-0" />
<Enumeration Text="Switch" Value="1" Id="%AID%_PT-groupType_EN-1" />
<Enumeration Text="Dimming" Value="2" Id="%AID%_PT-groupType_EN-2" />
<Enumeration Text="Colored" Value="3" Id="%AID%_PT-groupType_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-lockNegate" Name="lockNegate">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="0=Unlocked / 1=Locked" Value="0" Id="%AID%_PT-lockNegate_EN-0" />
<Enumeration Text="0=Locked / 1=Unlocked" Value="1" Id="%AID%_PT-lockNegate_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-number15" Name="number15">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="15" SizeInBit="4" />
</ParameterType>
<ParameterType Id="%AID%_PT-scenetype" Name="scenetype">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-scenetype_EN-0" />
<Enumeration Text="Address" Value="1" Id="%AID%_PT-scenetype_EN-1" />
<Enumeration Text="Group" Value="2" Id="%AID%_PT-scenetype_EN-2" />
<Enumeration Text="Broadcast" Value="3" Id="%AID%_PT-scenetype_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-number64" Name="number64">
<TypeNumber Type="unsignedInt" minInclusive="1" maxInclusive="64" SizeInBit="7" />
</ParameterType>
<ParameterType Id="%AID%_PT-colorType" Name="colorType">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="HSV" Value="0" Id="%AID%_PT-colorType_EN-0" />
<Enumeration Text="RGB" Value="1" Id="%AID%_PT-colorType_EN-1" />
<Enumeration Text="TW" Value="2" Id="%AID%_PT-colorType_EN-2" />
<Enumeration Text="xyY / xy" Value="3" Id="%AID%_PT-colorType_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-colorSpace" Name="colorSpace">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="RGB values" Value="1" Id="%AID%_PT-colorSpace_EN-1" />
<Enumeration Text="X/Y coordinates" Value="0" Id="%AID%_PT-colorSpace_EN-0" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-fadeTimes" Name="fadeTimes">
<TypeRestriction Base="Value" SizeInBit="4">
<Enumeration Text="None" Value="0" Id="%AID%_PT-fadeTimes_EN-0" />
<Enumeration Text="700 ms" Value="1" Id="%AID%_PT-fadeTimes_EN-1" />
<Enumeration Text="1.0 s" Value="2" Id="%AID%_PT-fadeTimes_EN-2" />
<Enumeration Text="1.4 s" Value="3" Id="%AID%_PT-fadeTimes_EN-3" />
<Enumeration Text="2.0 s" Value="4" Id="%AID%_PT-fadeTimes_EN-4" />
<Enumeration Text="2.8 s" Value="5" Id="%AID%_PT-fadeTimes_EN-5" />
<Enumeration Text="4.0 s" Value="6" Id="%AID%_PT-fadeTimes_EN-6" />
<Enumeration Text="5.7 s" Value="7" Id="%AID%_PT-fadeTimes_EN-7" />
<Enumeration Text="8.0 s" Value="8" Id="%AID%_PT-fadeTimes_EN-8" />
<Enumeration Text="11.3 s" Value="9" Id="%AID%_PT-fadeTimes_EN-9" />
<Enumeration Text="16.0 s" Value="10" Id="%AID%_PT-fadeTimes_EN-10" />
<Enumeration Text="22.6 s" Value="11" Id="%AID%_PT-fadeTimes_EN-11" />
<Enumeration Text="32.0 s" Value="12" Id="%AID%_PT-fadeTimes_EN-12" />
<Enumeration Text="45.3 s" Value="13" Id="%AID%_PT-fadeTimes_EN-13" />
<Enumeration Text="64.0 s" Value="14" Id="%AID%_PT-fadeTimes_EN-14" />
<Enumeration Text="90.5 s" Value="15" Id="%AID%_PT-fadeTimes_EN-15" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-fadeTimeExtendedBase" Name="fadeTimeExtendedBase">
<TypeRestriction Base="Value" SizeInBit="4">
<Enumeration Text="1" Value="0" Id="%AID%_PT-fadeTimeExtendedBase_EN-0" />
<Enumeration Text="2" Value="1" Id="%AID%_PT-fadeTimeExtendedBase_EN-1" />
<Enumeration Text="3" Value="2" Id="%AID%_PT-fadeTimeExtendedBase_EN-2" />
<Enumeration Text="4" Value="3" Id="%AID%_PT-fadeTimeExtendedBase_EN-3" />
<Enumeration Text="5" Value="4" Id="%AID%_PT-fadeTimeExtendedBase_EN-4" />
<Enumeration Text="6" Value="5" Id="%AID%_PT-fadeTimeExtendedBase_EN-5" />
<Enumeration Text="7" Value="6" Id="%AID%_PT-fadeTimeExtendedBase_EN-6" />
<Enumeration Text="8" Value="7" Id="%AID%_PT-fadeTimeExtendedBase_EN-7" />
<Enumeration Text="9" Value="8" Id="%AID%_PT-fadeTimeExtendedBase_EN-8" />
<Enumeration Text="10" Value="9" Id="%AID%_PT-fadeTimeExtendedBase_EN-9" />
<Enumeration Text="11" Value="10" Id="%AID%_PT-fadeTimeExtendedBase_EN-10" />
<Enumeration Text="12" Value="11" Id="%AID%_PT-fadeTimeExtendedBase_EN-11" />
<Enumeration Text="13" Value="12" Id="%AID%_PT-fadeTimeExtendedBase_EN-12" />
<Enumeration Text="14" Value="13" Id="%AID%_PT-fadeTimeExtendedBase_EN-13" />
<Enumeration Text="15" Value="14" Id="%AID%_PT-fadeTimeExtendedBase_EN-14" />
<Enumeration Text="16" Value="15" Id="%AID%_PT-fadeTimeExtendedBase_EN-15" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-fadeTimeExtenedMultiplier" Name="fadeTimeExtenedMultiplier">
<TypeRestriction Base="Value" SizeInBit="3">
<Enumeration Text="* 0 ms (disabled)" Value="0" Id="%AID%_PT-fadeTimeExtenedMultiplier_EN-0" />
<Enumeration Text="* 100 ms" Value="1" Id="%AID%_PT-fadeTimeExtenedMultiplier_EN-1" />
<Enumeration Text="* 1 s" Value="2" Id="%AID%_PT-fadeTimeExtenedMultiplier_EN-2" />
<Enumeration Text="* 10 s" Value="3" Id="%AID%_PT-fadeTimeExtenedMultiplier_EN-3" />
<Enumeration Text="* 1 min" Value="4" Id="%AID%_PT-fadeTimeExtenedMultiplier_EN-4" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-number16b" Name="number16b">
<TypeNumber Type="unsignedInt" minInclusive="1500" maxInclusive="65535" SizeInBit="16" />
</ParameterType>
<ParameterType Id="%AID%_PT-fadeRate" Name="fadeRate">
<TypeRestriction Base="Value" SizeInBit="4">
<Enumeration Text="358 steps/s" Value="1" Id="%AID%_PT-fadeRate_EN-1" />
<Enumeration Text="253 steps/s" Value="2" Id="%AID%_PT-fadeRate_EN-2" />
<Enumeration Text="179 steps/s" Value="3" Id="%AID%_PT-fadeRate_EN-3" />
<Enumeration Text="127 steps/s" Value="4" Id="%AID%_PT-fadeRate_EN-4" />
<Enumeration Text="89.4 steps/s" Value="5" Id="%AID%_PT-fadeRate_EN-5" />
<Enumeration Text="63.3 steps/s" Value="6" Id="%AID%_PT-fadeRate_EN-6" />
<Enumeration Text="44.7 steps/s" Value="7" Id="%AID%_PT-fadeRate_EN-7" />
<Enumeration Text="31.6 steps/s" Value="8" Id="%AID%_PT-fadeRate_EN-8" />
<Enumeration Text="22.4 steps/s" Value="9" Id="%AID%_PT-fadeRate_EN-9" />
<Enumeration Text="15.8 steps/s" Value="10" Id="%AID%_PT-fadeRate_EN-10" />
<Enumeration Text="11.2 steps/s" Value="11" Id="%AID%_PT-fadeRate_EN-11" />
<Enumeration Text="7.9 steps/s" Value="12" Id="%AID%_PT-fadeRate_EN-12" />
<Enumeration Text="5.6 steps/s" Value="13" Id="%AID%_PT-fadeRate_EN-13" />
<Enumeration Text="4.0 steps/s" Value="14" Id="%AID%_PT-fadeRate_EN-14" />
<Enumeration Text="2.8 steps/s" Value="15" Id="%AID%_PT-fadeRate_EN-15" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-timeSpan" Name="timeSpan">
<TypeTime Unit="Seconds" UIHint="Time_hhmmss" minInclusive="0" maxInclusive="65000" SizeInBit="16" />
</ParameterType>
<ParameterType Id="%AID%_PT-clickAction" Name="clickAction">
<TypeRestriction Base="Value" SizeInBit="3">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-clickAction_EN-0" />
<Enumeration Text="Switch all on" Value="1" Id="%AID%_PT-clickAction_EN-1" />
<Enumeration Text="Switch all off" Value="2" Id="%AID%_PT-clickAction_EN-2" />
<Enumeration Text="Toggle all" Value="3" Id="%AID%_PT-clickAction_EN-3" />
<Enumeration Text="Lock" Value="4" Id="%AID%_PT-clickAction_EN-4" />
<Enumeration Text="Unlock" Value="5" Id="%AID%_PT-clickAction_EN-5" />
<Enumeration Text="Toggle lock" Value="6" Id="%AID%_PT-clickAction_EN-6" />
<Enumeration Text="Identify device (LED blink - 1 = address)" Value="7" Id="%AID%_PT-clickAction_EN-7" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-colorRGB" Name="colorRGB">
<TypeColor Space="RGB" />
</ParameterType>
<ParameterType Id="%AID%_PT-temperature" Name="temperature">
<TypeNumber Type="unsignedInt" minInclusive="1000" maxInclusive="65535" SizeInBit="16" />
</ParameterType>
<ParameterType Id="%AID%_PT-interval" Name="interval">
<TypeRestriction Base="Value" SizeInBit="4">
<Enumeration Text="Disabled (only at end)" Value="0" Id="%AID%_PT-interval_EN-0" />
<Enumeration Text="300 ms" Value="3" Id="%AID%_PT-interval_EN-3" />
<Enumeration Text="400 ms" Value="4" Id="%AID%_PT-interval_EN-4" />
<Enumeration Text="500 ms" Value="5" Id="%AID%_PT-interval_EN-5" />
<Enumeration Text="600 ms" Value="6" Id="%AID%_PT-interval_EN-6" />
<Enumeration Text="700 ms" Value="7" Id="%AID%_PT-interval_EN-7" />
<Enumeration Text="800 ms" Value="8" Id="%AID%_PT-interval_EN-8" />
<Enumeration Text="900 ms" Value="9" Id="%AID%_PT-interval_EN-9" />
<Enumeration Text="1 s" Value="10" Id="%AID%_PT-interval_EN-10" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-durationms" Name="durationms">
<TypeTime Unit="HundredMilliseconds" UIHint="Time_ssf" minInclusive="30" maxInclusive="255" SizeInBit="8" />
</ParameterType>
<ParameterType Id="%AID%_PT-hclType" Name="hclType">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Inactive" Value="0" Id="%AID%_PT-hclType_EN-0" />
<Enumeration Text="Sunrise/sunset" Value="1" Id="%AID%_PT-hclType_EN-1" />
<Enumeration Text="Fixed times" Value="2" Id="%AID%_PT-hclType_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-hclCurves" Name="hclCurves">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Curve 1" Value="0" Id="%AID%_PT-hclCurves_EN-0" />
<Enumeration Text="Curve 2" Value="1" Id="%AID%_PT-hclCurves_EN-1" />
<Enumeration Text="Curve 3" Value="2" Id="%AID%_PT-hclCurves_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-hclStart" Name="hclStart">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="Only when switching on" Value="0" Id="%AID%_PT-hclStart_EN-0" />
<Enumeration Text="Also when switched on" Value="1" Id="%AID%_PT-hclStart_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-picHclSonne" Name="picHclSonne">
<TypePicture RefId="M-00FA_BG-A4.2F01.2F08.2Fopenknxapp-hcl.5Fsonne.2Epng" HorizontalAlignment="Right" />
</ParameterType>
<ParameterType Id="%AID%_PT-dimmLock" Name="dimmLock">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Lock nothing" Value="0" Id="%AID%_PT-dimmLock_EN-0" />
<Enumeration Text="No switching on with relative dimming" Value="1" Id="%AID%_PT-dimmLock_EN-1" />
<Enumeration Text="No switching off with relative dimming" Value="2" Id="%AID%_PT-dimmLock_EN-2" />
<Enumeration Text="No on/off switching with relative dimming" Value="3" Id="%AID%_PT-dimmLock_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-ETS" Name="ETS">
<TypePicture RefId="M-00FA_BG-A4.2F01.2F08.2Froot-ets.2Epng" HorizontalAlignment="Right" />
</ParameterType>
<ParameterType Id="%AID%_PT-Text40Byte" Name="Text40Byte">
<TypeText SizeInBit="320" />
</ParameterType>
<ParameterType Id="%AID%_PT-Text512Byte" Name="Text512Byte">
<TypeText SizeInBit="4096" />
</ParameterType>
<ParameterType Id="%AID%_PT-DelayBase" Name="DelayBase">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Second(s)" Value="0" Id="%AID%_PT-DelayBase_EN-0" />
<Enumeration Text="Minute(s)" Value="1" Id="%AID%_PT-DelayBase_EN-1" />
<Enumeration Text="Hour(s)" Value="2" Id="%AID%_PT-DelayBase_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-DelayBase10" Name="DelayBase10">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="1/10 second(s)" Value="3" Id="%AID%_PT-DelayBase10_EN-3" />
<Enumeration Text="Second(s)" Value="0" Id="%AID%_PT-DelayBase10_EN-0" />
<Enumeration Text="Minute(s)" Value="1" Id="%AID%_PT-DelayBase10_EN-1" />
<Enumeration Text="Hour(s)" Value="2" Id="%AID%_PT-DelayBase10_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-DelayTime" Name="DelayTime">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="16000" SizeInBit="14" />
</ParameterType>
<ParameterType Id="%AID%_PT-DelayTimeMin1" Name="DelayTimeMin1">
<TypeNumber Type="unsignedInt" minInclusive="1" maxInclusive="16000" SizeInBit="14" />
</ParameterType>
<ParameterType Id="%AID%_PT-CheckBox" Name="CheckBox">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="1" UIHint="CheckBox" SizeInBit="1" />
</ParameterType>
<ParameterType Id="%AID%_PT-OnOffYesNo" Name="OnOffYesNo">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="No" Value="0" Id="%AID%_PT-OnOffYesNo_EN-0" />
<Enumeration Text="Yes" Value="1" Id="%AID%_PT-OnOffYesNo_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-OnOffYesNoInverted" Name="OnOffYesNoInverted">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="No" Value="1" Id="%AID%_PT-OnOffYesNoInverted_EN-1" />
<Enumeration Text="Yes" Value="0" Id="%AID%_PT-OnOffYesNoInverted_EN-0" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-KONumber" Name="KONumber">
<TypeNumber Type="unsignedInt" minInclusive="1" maxInclusive="9999" SizeInBit="15" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt1" Name="ValueDpt1">
<TypeRestriction Base="Value" SizeInBit="8">
<Enumeration Text="OFF (0)" Value="0" Id="%AID%_PT-ValueDpt1_EN-0" />
<Enumeration Text="ON (1)" Value="1" Id="%AID%_PT-ValueDpt1_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt2" Name="ValueDpt2">
<TypeRestriction Base="Value" SizeInBit="8">
<Enumeration Text="not used" Value="4" Id="%AID%_PT-ValueDpt2_EN-4" />
<Enumeration Text="normal OFF (00)" Value="0" Id="%AID%_PT-ValueDpt2_EN-0" />
<Enumeration Text="normal ON (01)" Value="1" Id="%AID%_PT-ValueDpt2_EN-1" />
<Enumeration Text="priority OFF (10)" Value="2" Id="%AID%_PT-ValueDpt2_EN-2" />
<Enumeration Text="priority ON (11)" Value="3" Id="%AID%_PT-ValueDpt2_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt2Out" Name="ValueDpt2Out">
<TypeRestriction Base="Value" SizeInBit="8">
<Enumeration Text="normal OFF (00)" Value="0" Id="%AID%_PT-ValueDpt2Out_EN-0" />
<Enumeration Text="normal ON (01)" Value="1" Id="%AID%_PT-ValueDpt2Out_EN-1" />
<Enumeration Text="priority OFF (10)" Value="2" Id="%AID%_PT-ValueDpt2Out_EN-2" />
<Enumeration Text="priority ON (11)" Value="3" Id="%AID%_PT-ValueDpt2Out_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt5" Name="ValueDpt5">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="255" SizeInBit="8" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt5001" Name="ValueDpt5001">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="100" SizeInBit="8" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt6" Name="ValueDpt6">
<TypeNumber Type="signedInt" minInclusive="-128" maxInclusive="127" SizeInBit="8" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt7" Name="ValueDpt7">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="65535" SizeInBit="16" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt8" Name="ValueDpt8">
<TypeNumber Type="signedInt" minInclusive="-32768" maxInclusive="32767" SizeInBit="16" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt9" Name="ValueDpt9">
<TypeFloat Encoding="IEEE-754 Single" minInclusive="-671088" maxInclusive="670760" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt12" Name="ValueDpt12">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="4294967295" SizeInBit="32" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt13" Name="ValueDpt13">
<TypeNumber Type="signedInt" minInclusive="-2147483648" maxInclusive="2147483647" SizeInBit="32" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueDpt14" Name="ValueDpt14">
<TypeFloat Encoding="IEEE-754 Single" minInclusive="-1000000000000" maxInclusive="1000000000000" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueRGB" Name="ValueRGB">
<TypeNumber Type="signedInt" minInclusive="0" maxInclusive="16777216" SizeInBit="32" />
</ParameterType>
<ParameterType Id="%AID%_PT-ValueColor" Name="ValueColor">
<TypeColor Space="RGB" />
</ParameterType>
<ParameterType Id="%AID%_PT-CombinedTimeDate" Name="CombinedTimeDate">
<TypeRestriction Base="Value" SizeInBit="1">
<Enumeration Text="two separate COs" Value="0" Id="%AID%_PT-CombinedTimeDate_EN-0" />
<Enumeration Text="one combined CO" Value="1" Id="%AID%_PT-CombinedTimeDate_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-SummertimeAll" Name="SummertimeAll">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Communication object 'summer time active'" Value="0" Id="%AID%_PT-SummertimeAll_EN-0" />
<Enumeration Text="Combined date/time CO (DPT 19)" Value="1" Id="%AID%_PT-SummertimeAll_EN-1" />
<Enumeration Text="Internal calculation (Germany only)" Value="2" Id="%AID%_PT-SummertimeAll_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-SummertimeDE" Name="SummertimeDE">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Communication object 'summer time active'" Value="0" Id="%AID%_PT-SummertimeDE_EN-0" />
<Enumeration Text="Internal calculation (Germany only)" Value="2" Id="%AID%_PT-SummertimeDE_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-SummertimeWorld" Name="SummertimeWorld">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Communication object 'summer time active'" Value="0" Id="%AID%_PT-SummertimeWorld_EN-0" />
<Enumeration Text="Combined date/time CO (DPT 19)" Value="1" Id="%AID%_PT-SummertimeWorld_EN-1" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-SummertimeKO" Name="SummertimeKO">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Communication object 'summer time active'" Value="0" Id="%AID%_PT-SummertimeKO_EN-0" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-Timezone" Name="Timezone">
<TypeRestriction Base="Value" SizeInBit="5">
<Enumeration Text="Midway Islands (-11 hours)" Value="27" Id="%AID%_PT-Timezone_EN-27" />
<Enumeration Text="Honolulu (-10 hours)" Value="26" Id="%AID%_PT-Timezone_EN-26" />
<Enumeration Text="Anchorage (-9 hours)" Value="25" Id="%AID%_PT-Timezone_EN-25" />
<Enumeration Text="Los Angeles (-8 hours)" Value="24" Id="%AID%_PT-Timezone_EN-24" />
<Enumeration Text="Denver (-7 hours)" Value="23" Id="%AID%_PT-Timezone_EN-23" />
<Enumeration Text="Chicago (-6 hours)" Value="22" Id="%AID%_PT-Timezone_EN-22" />
<Enumeration Text="New York (-5 hours)" Value="21" Id="%AID%_PT-Timezone_EN-21" />
<Enumeration Text="Santo Domingo (-4 hours)" Value="20" Id="%AID%_PT-Timezone_EN-20" />
<Enumeration Text="Rio de Janeiro (-3 hours)" Value="19" Id="%AID%_PT-Timezone_EN-19" />
<Enumeration Text="(-2 hours)" Value="18" Id="%AID%_PT-Timezone_EN-18" />
<Enumeration Text="Azores (-1 hours)" Value="17" Id="%AID%_PT-Timezone_EN-17" />
<Enumeration Text="London (+0 hours)" Value="0" Id="%AID%_PT-Timezone_EN-0" />
<Enumeration Text="Berlin (+1 hours)" Value="1" Id="%AID%_PT-Timezone_EN-1" />
<Enumeration Text="Athens (+2 hours)" Value="2" Id="%AID%_PT-Timezone_EN-2" />
<Enumeration Text="Moscow (+3 hours)" Value="3" Id="%AID%_PT-Timezone_EN-3" />
<Enumeration Text="Dubai (+4 hours)" Value="4" Id="%AID%_PT-Timezone_EN-4" />
<Enumeration Text="Karachi (+5 hours)" Value="5" Id="%AID%_PT-Timezone_EN-5" />
<Enumeration Text="Dhaka (+6 hours)" Value="6" Id="%AID%_PT-Timezone_EN-6" />
<Enumeration Text="Bangkok (+7 hours)" Value="7" Id="%AID%_PT-Timezone_EN-7" />
<Enumeration Text="Beijing (+8 hours)" Value="8" Id="%AID%_PT-Timezone_EN-8" />
<Enumeration Text="Tokyo (+9 hours)" Value="9" Id="%AID%_PT-Timezone_EN-9" />
<Enumeration Text="Sydney (+10 hours)" Value="10" Id="%AID%_PT-Timezone_EN-10" />
<Enumeration Text="Noumea (+11 hours)" Value="11" Id="%AID%_PT-Timezone_EN-11" />
<Enumeration Text="Wellington (+12 hours)" Value="12" Id="%AID%_PT-Timezone_EN-12" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-TimezoneValue" Name="TimezoneValue">
<TypeNumber Type="unsignedInt" minInclusive="0" maxInclusive="15" SizeInBit="4" />
</ParameterType>
<ParameterType Id="%AID%_PT-Latitude" Name="Latitude">
<TypeFloat Encoding="IEEE-754 Single" minInclusive="-90" maxInclusive="90" />
</ParameterType>
<ParameterType Id="%AID%_PT-Longitude" Name="Longitude">
<TypeFloat Encoding="IEEE-754 Single" minInclusive="-180" maxInclusive="180" />
</ParameterType>
<ParameterType Id="%AID%_PT-PeriodicSave" Name="PeriodicSave">
<TypeRestriction Base="Value" SizeInBit="8">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-PeriodicSave_EN-0" />
<Enumeration Text="Every hour" Value="1" Id="%AID%_PT-PeriodicSave_EN-1" />
<Enumeration Text="Every 2 hours" Value="2" Id="%AID%_PT-PeriodicSave_EN-2" />
<Enumeration Text="Every 4 hours" Value="4" Id="%AID%_PT-PeriodicSave_EN-4" />
<Enumeration Text="Every 6 hours" Value="6" Id="%AID%_PT-PeriodicSave_EN-6" />
<Enumeration Text="Daily" Value="24" Id="%AID%_PT-PeriodicSave_EN-24" />
<Enumeration Text="Weekly" Value="168" Id="%AID%_PT-PeriodicSave_EN-168" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-ManualSave" Name="ManualSave">
<TypeRestriction Base="Value" SizeInBit="3">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-ManualSave_EN-0" />
<Enumeration Text="Active with 5 min write protection" Value="1" Id="%AID%_PT-ManualSave_EN-1" />
<Enumeration Text="Active with 15 min write protection" Value="2" Id="%AID%_PT-ManualSave_EN-2" />
<Enumeration Text="Active with 60 min write protection" Value="3" Id="%AID%_PT-ManualSave_EN-3" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-offset" Name="offset">
<TypeRestriction Base="Value" SizeInBit="2">
<Enumeration Text="Disabled" Value="0" Id="%AID%_PT-offset_EN-0" />
<Enumeration Text="Later" Value="1" Id="%AID%_PT-offset_EN-1" />
<Enumeration Text="Earlier" Value="2" Id="%AID%_PT-offset_EN-2" />
</TypeRestriction>
</ParameterType>
<ParameterType Id="%AID%_PT-durationMin" Name="durationMin">
<TypeTime Unit="Minutes" UIHint="Time_hhmm" minInclusive="0" maxInclusive="180" SizeInBit="8" />
</ParameterType>
</ParameterTypes>
<Parameters>
<Parameter Id="%AID%_P-0000074" Name="onValueKO" ParameterType="%AID%_PT-noyes" Text="Set day switch-on value via CO" Value="0" />
<Parameter Id="%AID%_P-0000004" Name="ballast0" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000005" Name="ballast1" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000006" Name="ballast2" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000007" Name="ballast3" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000008" Name="ballast4" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000009" Name="ballast5" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000011" Name="ballast6" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000012" Name="ballast7" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000013" Name="ballast8" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000014" Name="ballast9" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000015" Name="ballast10" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000016" Name="ballast11" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000017" Name="ballast12" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000018" Name="ballast13" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000019" Name="ballast14" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000020" Name="ballast15" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000021" Name="ballast16" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000022" Name="ballast17" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000023" Name="ballast18" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000024" Name="ballast19" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000025" Name="ballast20" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000026" Name="ballast21" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000027" Name="ballast22" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000028" Name="ballast23" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000029" Name="ballast24" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000030" Name="ballast25" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000031" Name="ballast26" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000032" Name="ballast27" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000033" Name="ballast28" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000034" Name="ballast29" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000035" Name="ballast30" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000036" Name="ballast31" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000037" Name="ballast32" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000038" Name="ballast33" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000039" Name="ballast34" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000040" Name="ballast35" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000041" Name="ballast36" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000042" Name="ballast37" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000043" Name="ballast38" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000044" Name="ballast39" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000045" Name="ballast40" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000046" Name="ballast41" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000047" Name="ballast42" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000048" Name="ballast43" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000049" Name="ballast44" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000050" Name="ballast45" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000051" Name="ballast46" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000052" Name="ballast47" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000053" Name="ballast48" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000054" Name="ballast49" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000055" Name="ballast50" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000056" Name="ballast51" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000057" Name="ballast52" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000058" Name="ballast53" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000059" Name="ballast54" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000060" Name="ballast55" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000061" Name="ballast56" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000062" Name="ballast57" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000063" Name="ballast58" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000064" Name="ballast59" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000065" Name="ballast60" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000066" Name="ballast61" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000067" Name="ballast62" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000068" Name="ballast63" ParameterType="%AID%_PT-name14" Text="" Access="Read" Value="" />
<Parameter Id="%AID%_P-0000069" Name="onlyUnaddressed" ParameterType="%AID%_PT-checkbox" Text="" SuffixText="Only without address" Value="1" />
<Parameter Id="%AID%_P-0000070" Name="longAddr" ParameterType="%AID%_PT-text6" Text="Long address (as hex)" Value="FFFFFF" />
<Parameter Id="%AID%_P-0000071" Name="shortAddr" ParameterType="%AID%_PT-number63" Text="New short address" Value="0" />
<Parameter Id="%AID%_P-0000072" Name="dontRandomize" ParameterType="%AID%_PT-checkbox" Text="" SuffixText="Regenerate addr." Value="1" />
<Parameter Id="%AID%_P-0000073" Name="daynight" ParameterType="%AID%_PT-daynight" Text="Day/night object" Value="0">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="0" BitOffset="0" />
</Parameter>
<Parameter Id="%AID%_P-0000078" Name="isEtsFix" ParameterType="%AID%_PT-noyes" Text="ETS version &gt;= 6.1.1" Value="0" />
<Parameter Id="%AID%_P-0000079" Name="funcBtn" ParameterType="%AID%_PT-clickAction" Text="Func click action" Value="0">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="0" BitOffset="1" />
</Parameter>
<Parameter Id="%AID%_P-0000080" Name="funcBtnDbl" ParameterType="%AID%_PT-clickAction" Text="Func double-click action" Value="0">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="0" BitOffset="4" />
</Parameter>
<Parameter Id="%AID%_P-0000081" Name="funcBtnLong" ParameterType="%AID%_PT-clickAction" Text="Func long-click action" Value="0">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="1" BitOffset="0" />
</Parameter>
<Parameter Id="%AID%_P-0000082" Name="deleteAll" ParameterType="%AID%_PT-checkbox" Text="" SuffixText="Delete short address" Value="0" />
<Parameter Id="%AID%_P-0000083" Name="assignNew" ParameterType="%AID%_PT-checkbox" Text="" SuffixText="Set short addresses" Value="0" />
</Parameters>
<ParameterRefs>
<ParameterRef RefId="%AID%_P-0000004" Id="%AID%_P-0000004_R-000000404" Name="ballast0" />
<ParameterRef RefId="%AID%_P-0000005" Id="%AID%_P-0000005_R-000000505" Name="ballast1" />
<ParameterRef RefId="%AID%_P-0000006" Id="%AID%_P-0000006_R-000000606" Name="ballast2" />
<ParameterRef RefId="%AID%_P-0000007" Id="%AID%_P-0000007_R-000000707" Name="ballast3" />
<ParameterRef RefId="%AID%_P-0000008" Id="%AID%_P-0000008_R-000000808" Name="ballast4" />
<ParameterRef RefId="%AID%_P-0000009" Id="%AID%_P-0000009_R-000000909" Name="ballast5" />
<ParameterRef RefId="%AID%_P-0000011" Id="%AID%_P-0000011_R-000001111" Name="ballast6" />
<ParameterRef RefId="%AID%_P-0000012" Id="%AID%_P-0000012_R-000001212" Name="ballast7" />
<ParameterRef RefId="%AID%_P-0000013" Id="%AID%_P-0000013_R-000001313" Name="ballast8" />
<ParameterRef RefId="%AID%_P-0000014" Id="%AID%_P-0000014_R-000001414" Name="ballast9" />
<ParameterRef RefId="%AID%_P-0000015" Id="%AID%_P-0000015_R-000001515" Name="ballast10" />
<ParameterRef RefId="%AID%_P-0000016" Id="%AID%_P-0000016_R-000001616" Name="ballast11" />
<ParameterRef RefId="%AID%_P-0000017" Id="%AID%_P-0000017_R-000001717" Name="ballast12" />
<ParameterRef RefId="%AID%_P-0000018" Id="%AID%_P-0000018_R-000001818" Name="ballast13" />
<ParameterRef RefId="%AID%_P-0000019" Id="%AID%_P-0000019_R-000001919" Name="ballast14" />
<ParameterRef RefId="%AID%_P-0000020" Id="%AID%_P-0000020_R-000002020" Name="ballast15" />
<ParameterRef RefId="%AID%_P-0000021" Id="%AID%_P-0000021_R-000002121" Name="ballast16" />
<ParameterRef RefId="%AID%_P-0000022" Id="%AID%_P-0000022_R-000002222" Name="ballast17" />
<ParameterRef RefId="%AID%_P-0000023" Id="%AID%_P-0000023_R-000002323" Name="ballast18" />
<ParameterRef RefId="%AID%_P-0000024" Id="%AID%_P-0000024_R-000002424" Name="ballast19" />
<ParameterRef RefId="%AID%_P-0000025" Id="%AID%_P-0000025_R-000002525" Name="ballast20" />
<ParameterRef RefId="%AID%_P-0000027" Id="%AID%_P-0000027_R-000002726" Name="ballast22" />
<ParameterRef RefId="%AID%_P-0000028" Id="%AID%_P-0000028_R-000002827" Name="ballast23" />
<ParameterRef RefId="%AID%_P-0000029" Id="%AID%_P-0000029_R-000002928" Name="ballast24" />
<ParameterRef RefId="%AID%_P-0000030" Id="%AID%_P-0000030_R-000003029" Name="ballast25" />
<ParameterRef RefId="%AID%_P-0000031" Id="%AID%_P-0000031_R-000003130" Name="ballast26" />
<ParameterRef RefId="%AID%_P-0000032" Id="%AID%_P-0000032_R-000003231" Name="ballast27" />
<ParameterRef RefId="%AID%_P-0000033" Id="%AID%_P-0000033_R-000003332" Name="ballast28" />
<ParameterRef RefId="%AID%_P-0000034" Id="%AID%_P-0000034_R-000003433" Name="ballast29" />
<ParameterRef RefId="%AID%_P-0000026" Id="%AID%_P-0000026_R-000002634" Name="ballast21" />
<ParameterRef RefId="%AID%_P-0000035" Id="%AID%_P-0000035_R-000003535" Name="ballast30" />
<ParameterRef RefId="%AID%_P-0000036" Id="%AID%_P-0000036_R-000003636" Name="ballast31" />
<ParameterRef RefId="%AID%_P-0000037" Id="%AID%_P-0000037_R-000003737" Name="ballast32" />
<ParameterRef RefId="%AID%_P-0000038" Id="%AID%_P-0000038_R-000003838" Name="ballast33" />
<ParameterRef RefId="%AID%_P-0000039" Id="%AID%_P-0000039_R-000003939" Name="ballast34" />
<ParameterRef RefId="%AID%_P-0000040" Id="%AID%_P-0000040_R-000004040" Name="ballast35" />
<ParameterRef RefId="%AID%_P-0000041" Id="%AID%_P-0000041_R-000004141" Name="ballast36" />
<ParameterRef RefId="%AID%_P-0000042" Id="%AID%_P-0000042_R-000004242" Name="ballast37" />
<ParameterRef RefId="%AID%_P-0000043" Id="%AID%_P-0000043_R-000004343" Name="ballast38" />
<ParameterRef RefId="%AID%_P-0000044" Id="%AID%_P-0000044_R-000004444" Name="ballast39" />
<ParameterRef RefId="%AID%_P-0000045" Id="%AID%_P-0000045_R-000004545" Name="ballast40" />
<ParameterRef RefId="%AID%_P-0000046" Id="%AID%_P-0000046_R-000004646" Name="ballast41" />
<ParameterRef RefId="%AID%_P-0000047" Id="%AID%_P-0000047_R-000004747" Name="ballast42" />
<ParameterRef RefId="%AID%_P-0000048" Id="%AID%_P-0000048_R-000004848" Name="ballast43" />
<ParameterRef RefId="%AID%_P-0000049" Id="%AID%_P-0000049_R-000004949" Name="ballast44" />
<ParameterRef RefId="%AID%_P-0000050" Id="%AID%_P-0000050_R-000005050" Name="ballast45" />
<ParameterRef RefId="%AID%_P-0000051" Id="%AID%_P-0000051_R-000005151" Name="ballast46" />
<ParameterRef RefId="%AID%_P-0000052" Id="%AID%_P-0000052_R-000005252" Name="ballast47" />
<ParameterRef RefId="%AID%_P-0000053" Id="%AID%_P-0000053_R-000005353" Name="ballast48" />
<ParameterRef RefId="%AID%_P-0000054" Id="%AID%_P-0000054_R-000005454" Name="ballast49" />
<ParameterRef RefId="%AID%_P-0000055" Id="%AID%_P-0000055_R-000005555" Name="ballast50" />
<ParameterRef RefId="%AID%_P-0000056" Id="%AID%_P-0000056_R-000005656" Name="ballast51" />
<ParameterRef RefId="%AID%_P-0000057" Id="%AID%_P-0000057_R-000005757" Name="ballast52" />
<ParameterRef RefId="%AID%_P-0000058" Id="%AID%_P-0000058_R-000005858" Name="ballast53" />
<ParameterRef RefId="%AID%_P-0000059" Id="%AID%_P-0000059_R-000005959" Name="ballast54" />
<ParameterRef RefId="%AID%_P-0000060" Id="%AID%_P-0000060_R-000006060" Name="ballast55" />
<ParameterRef RefId="%AID%_P-0000061" Id="%AID%_P-0000061_R-000006161" Name="ballast56" />
<ParameterRef RefId="%AID%_P-0000062" Id="%AID%_P-0000062_R-000006262" Name="ballast57" />
<ParameterRef RefId="%AID%_P-0000063" Id="%AID%_P-0000063_R-000006363" Name="ballast58" />
<ParameterRef RefId="%AID%_P-0000064" Id="%AID%_P-0000064_R-000006464" Name="ballast59" />
<ParameterRef RefId="%AID%_P-0000065" Id="%AID%_P-0000065_R-000006565" Name="ballast60" />
<ParameterRef RefId="%AID%_P-0000066" Id="%AID%_P-0000066_R-000006666" Name="ballast61" />
<ParameterRef RefId="%AID%_P-0000067" Id="%AID%_P-0000067_R-000006767" Name="ballast62" />
<ParameterRef RefId="%AID%_P-0000068" Id="%AID%_P-0000068_R-000006868" Name="ballast63" />
<ParameterRef RefId="%AID%_P-0000069" Id="%AID%_P-0000069_R-000006969" Name="onlyUnaddressed" />
<ParameterRef RefId="%AID%_P-0000070" Id="%AID%_P-0000070_R-000007070" Name="longAddr" />
<ParameterRef RefId="%AID%_P-0000071" Id="%AID%_P-0000071_R-000007171" Name="shortAddr" />
<ParameterRef RefId="%AID%_P-0000072" Id="%AID%_P-0000072_R-000007272" Name="dontRandomize" />
<ParameterRef RefId="%AID%_P-0000073" Id="%AID%_P-0000073_R-000007373" Name="daynight" />
<ParameterRef RefId="%AID%_P-0000074" Id="%AID%_P-0000074_R-000007474" Name="onValueKO" />
<ParameterRef RefId="%AID%_P-0000078" Id="%AID%_P-0000078_R-000007878" Name="isEtsFix" />
<ParameterRef RefId="%AID%_P-0000079" Id="%AID%_P-0000079_R-000007979" Name="funcBtn" />
<ParameterRef RefId="%AID%_P-0000080" Id="%AID%_P-0000080_R-000008080" Name="funcBtnDbl" />
<ParameterRef RefId="%AID%_P-0000081" Id="%AID%_P-0000081_R-000008181" Name="funcBtnLong" />
<ParameterRef RefId="%AID%_P-0000082" Id="%AID%_P-0000082_R-000008282" Name="deleteAll" />
<ParameterRef RefId="%AID%_P-0000083" Id="%AID%_P-0000083_R-000008383" Name="assignNew" />
</ParameterRefs>
<ComObjectTable>
<ComObject Id="%AID%_O-0000001" Name="broadcast_switch" Text="Broadcast" Number="1" FunctionText="Switch" ObjectSize="1 Bit" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-0000002" Name="broadcast_dimm" Text="Broadcast" Number="2" FunctionText="Absolute dimming" ObjectSize="1 Byte" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-5-1" />
<ComObject Id="%AID%_O-0000003" Name="daynight" Text="General" Number="3" FunctionText="Day/night" ObjectSize="1 Bit" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" />
<ComObject Id="%AID%_O-0000004" Name="onValue" Text="General" Number="4" FunctionText="Day switch-on value" ObjectSize="1 Byte" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-5-1" />
<ComObject Id="%AID%_O-0000005" Name="scene" Text="General" Number="5" FunctionText="Scene" ObjectSize="1 Byte" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-17-1" />
</ComObjectTable>
<ComObjectRefs>
<ComObjectRef RefId="%AID%_O-0000001" Id="%AID%_O-0000001_R-000000100" />
<ComObjectRef RefId="%AID%_O-0000002" Id="%AID%_O-0000002_R-000000201" />
<ComObjectRef RefId="%AID%_O-0000003" Id="%AID%_O-0000003_R-000000302" />
<ComObjectRef RefId="%AID%_O-0000004" Id="%AID%_O-0000004_R-000000403" />
<ComObjectRef RefId="%AID%_O-0000005" Id="%AID%_O-0000005_R-000000504" />
</ComObjectRefs>
<AddressTable MaxEntries="65535" />
<AssociationTable MaxEntries="65535" />
<LoadProcedures>
<LoadProcedure MergeId="1">
<LdCtrlCompareProp InlineData="01E5" ObjIdx="0" PropId="12">
<OnError Cause="CompareMismatch" MessageRef="%AID%_M-19" />
</LdCtrlCompareProp>
<LdCtrlCompareProp InlineData="0000A4010800" ObjIdx="0" PropId="78">
<OnError Cause="CompareMismatch" MessageRef="%AID%_M-20" />
</LdCtrlCompareProp>
</LoadProcedure>
<LoadProcedure MergeId="2">
<LdCtrlRelSegment LsmIdx="4" Size="1796" Mode="1" Fill="0" AppliesTo="full" />
<LdCtrlRelSegment LsmIdx="4" Size="1796" Mode="0" Fill="0" AppliesTo="par" />
</LoadProcedure>
<LoadProcedure MergeId="4">
<LdCtrlWriteRelMem ObjIdx="4" Offset="0" Size="1796" Verify="true" AppliesTo="full,par" />
</LoadProcedure>
<LoadProcedure MergeId="7">
<LdCtrlLoadImageProp ObjIdx="1" PropId="27" />
<LdCtrlLoadImageProp ObjIdx="2" PropId="27" />
<LdCtrlLoadImageProp ObjIdx="3" PropId="27" />
<LdCtrlLoadImageProp ObjIdx="4" PropId="27" />
</LoadProcedure>
</LoadProcedures>
<Extension>
<Baggage RefId="M-00FA_BG--HelpFile.5Fde.2DDE.2Ezip" />
<Baggage RefId="M-00FA_BG--HelpFile.5Fen.2DUS.2Ezip" />
<Baggage RefId="M-00FA_BG--HelpFile.5Fzh.2DCN.2Ezip" />
<Baggage RefId="M-00FA_BG-A4.2F01.2F08.2Fopenknxapp-hcl.5Fsonne.2Epng" />
<Baggage RefId="M-00FA_BG-A4.2F01.2F08.2Froot-ets.2Epng" />
<Baggage RefId="M-00FA_BG--Icons.5F6e5dae.2Ezip" />
</Extension>
<Messages>
<Message Id="%AID%_M-1" Name="dali_error" Text="Dali Error: " />
<Message Id="%AID%_M-2" Name="devicetype_read" Text="Reading DeviceType now..." />
<Message Id="%AID%_M-3" Name="devicetype_success" Text="Reading was successful" />
<Message Id="%AID%_M-4" Name="response_timeout" Text="No response received" />
<Message Id="%AID%_M-5" Name="addr_start" Text="Setting address for device" />
<Message Id="%AID%_M-6" Name="addr_double" Text="Address is already in use" />
<Message Id="%AID%_M-7" Name="addr_success" Text="Address was set successfully" />
<Message Id="%AID%_M-8" Name="addr_long_dont_exists" Text="Long address does not exist" />
<Message Id="%AID%_M-9" Name="addr_confirm_failed" Text="Short address was not applied" />
<Message Id="%AID%_M-10" Name="evgReadStart" Text="Reading data from control gear" />
<Message Id="%AID%_M-11" Name="evgReadParse" Text="Processing received data" />
<Message Id="%AID%_M-12" Name="evgReadFin" Text="Control gear was read successfully" />
<Message Id="%AID%_M-13" Name="evgReadError" Text="The following could not be read: " />
<Message Id="%AID%_M-14" Name="devicetype_unknown" Text="Unknown device type" />
<Message Id="%AID%_M-15" Name="evgWriteStart" Text="Collecting data" />
<Message Id="%AID%_M-16" Name="evgWriteTransmit" Text="Transferring data" />
<Message Id="%AID%_M-17" Name="evgWriteFin" Text="Data transferred successfully" />
<Message Id="%AID%_M-18" Name="evgWriteErrorFade" Text="FadeTime and FadeTimeExtended must not be active at the same time" />
<Message Id="%AID%_M-19" Name="loadErrorManu" Text="Manufacturer ID incompatible!" />
<Message Id="%AID%_M-20" Name="loadErrorApp" Text="Hardware type or firmware version incompatible!" />
<Message Id="%AID%_M-21" Name="scan_start" Text="Searching devices" />
<Message Id="%AID%_M-22" Name="devices_found_suffix" Text=" devices found" />
</Messages>
<Script>function getFloat(data, offset)
{
var level = (data[offset] &lt;&lt; 8 | data[offset + 1]);
return level / 65534;
}
function getBytes(data)
{
return data * 65534;
}
function getParaInt(device, paraName)
{
return parseInt(device.getParameterByName(paraName).value, 10);
}
function getParaFloat(device, paraName)
{
var value_out = device.getParameterByName(paraName).value;
if (typeof value_out === 'number')
return value_out;
return parseFloat(value_out.replace(",", "."));
}
function getParaBool(device, paraName)
{
return device.getParameterByName(paraName).value == "1";
}
function setPara(device, paraName, value)
{
device.getParameterByName(paraName).value = value;
}
function arcToPercent(arc)
{
if(arc == 0) return 0;
return Math.pow(10, ((arc-1)/(253/3))-1);
}function buttonread(device, online, progress, context)
{
// Start read devicetype
progress.setText(device.getMessage(2));
var data = [2, context.Channel];
online.connect();
var resp = online.invokeFunctionProperty(160, 1, data); //invoke readdevicetype
if (resp[0] != 0) {
// Dali Error:
throw new Error(device.getMessage(1) + String(resp[0]));
}
var para = device.getParameterByName("deviceType");
if(resp[1] == 255)
{
para.value = 0;
throw new Error(device.getMessage(14)) // Unknown DeviceType
}
para.value = (resp[1]+1).toString();
if(resp[1] == 6 || resp[1] == 8)
{
var byte = resp[2];
para = device.getParameterByName("colorSpace");
para.value = (byte &amp; 1) ? "1" : "0";
para = device.getParameterByName("colorType");
para.value = (byte &amp; 2) ? "2" : "1";
}
// Read Successfully devicetype
progress.setText(device.getMessage(3));
}
function buttonsettingsRead(device, online, progress, context)
{
progress.setText(device.getMessage(10)); // Start readeing Data from EVG
online.connect();
var data = online.invokeFunctionProperty(160, 1, [11, context.Channel]);
progress.setProgress(10);
progress.setText(device.getMessage(11)); // Parsing data
if(data[0] != 0)
throw new Error("Dali Error: " + data[0]);
var errors = "";
if(data[25] &amp; 1) errors += "Min Level, ";
else device.getParameterByName("min").value = data[1].toString();
if(data[25] &amp; 2) errors += "Max Level, ";
else device.getParameterByName("max").value = data[2].toString();
if(data[25] &amp; 4) errors += "Power On, ";
else {
device.getParameterByName("poweron").value = (data[3] == 255) ? "1" : "0";
if (data[3] &lt; 255) device.getParameterByName("poweronlevel").value = data[3].toString();
}
if(data[25] &amp; 8) errors += "Failure On, ";
else {
device.getParameterByName("failureon").value = (data[4] == 255) ? "1" : "0";
if (data[4] &lt; 255) device.getParameterByName("failureonlevel").value = data[4].toString();
}
if(data[25] &amp; 16) errors += "FadeTime/Rate, ";
else {
device.getParameterByName("fadeTime").value = (data[5] &gt;&gt; 4).toString();
device.getParameterByName("fadeRate").value = (data[5] &amp; 15).toString();
}
if(data[25] &amp; 64) errors += "Groups 0-7, ";
else {
device.getParameterByName("g0").value = (data[7] &amp; 1) ?"1" : "0";
device.getParameterByName("g1").value = (data[7] &amp; 2) ?"1" : "0";
device.getParameterByName("g2").value = (data[7] &amp; 4) ?"1" : "0";
device.getParameterByName("g3").value = (data[7] &amp; 8) ?"1" : "0";
device.getParameterByName("g4").value = (data[7] &amp; 16) ?"1" : "0";
device.getParameterByName("g5").value = (data[7] &amp; 32) ?"1" : "0";
device.getParameterByName("g6").value = (data[7] &amp; 64) ?"1" : "0";
device.getParameterByName("g7").value = (data[7] &amp; 128) ?"1" : "0";
}
if(data[25] &amp; 128) errors += "Groups 8-15, ";
else {
device.getParameterByName("g8").value = (data[8] &amp; 1) ?"1" : "0";
device.getParameterByName("g9").value = (data[8] &amp; 2) ?"1" : "0";
device.getParameterByName("g10").value = (data[8] &amp; 4) ?"1" : "0";
device.getParameterByName("g11").value = (data[8] &amp; 8) ?"1" : "0";
device.getParameterByName("g12").value = (data[8] &amp; 16) ?"1" : "0";
device.getParameterByName("g13").value = (data[8] &amp; 32) ?"1" : "0";
device.getParameterByName("g14").value = (data[8] &amp; 64) ?"1" : "0";
device.getParameterByName("g15").value = (data[8] &amp; 128) ?"1" : "0";
}
device.getParameterByName("s0t").value = (data[9] == 255) ? "0" : "1";
if (data[9] &lt; 255) device.getParameterByName("s0v").value = data[9].toString();
device.getParameterByName("s1t").value = (data[10] == 255) ? "0" : "1";
if (data[10] &lt; 255) device.getParameterByName("s1v").value = data[10].toString();
device.getParameterByName("s2t").value = (data[11] == 255) ? "0" : "1";
if (data[11] &lt; 255) device.getParameterByName("s2v").value = data[11].toString();
device.getParameterByName("s3t").value = (data[12] == 255) ? "0" : "1";
if (data[12] &lt; 255) device.getParameterByName("s3v").value = data[12].toString();
device.getParameterByName("s4t").value = (data[13] == 255) ? "0" : "1";
if (data[13] &lt; 255) device.getParameterByName("s4v").value = data[13].toString();
device.getParameterByName("s5t").value = (data[14] == 255) ? "0" : "1";
if (data[14] &lt; 255) device.getParameterByName("s5v").value = data[14].toString();
device.getParameterByName("s6t").value = (data[15] == 255) ? "0" : "1";
if (data[15] &lt; 255) device.getParameterByName("s6v").value = data[15].toString();
device.getParameterByName("s7t").value = (data[16] == 255) ? "0" : "1";
if (data[16] &lt; 255) device.getParameterByName("s7v").value = data[16].toString();
device.getParameterByName("s8t").value = (data[17] == 255) ? "0" : "1";
if (data[17] &lt; 255) device.getParameterByName("s8v").value = data[17].toString();
device.getParameterByName("s9t").value = (data[18] == 255) ? "0" : "1";
if (data[18] &lt; 255) device.getParameterByName("s9v").value = data[18].toString();
device.getParameterByName("s10t").value = (data[19] == 255) ? "0" : "1";
if (data[19] &lt; 255) device.getParameterByName("s10v").value = data[19].toString();
device.getParameterByName("s11t").value = (data[20] == 255) ? "0" : "1";
if (data[20] &lt; 255) device.getParameterByName("s11v").value = data[20].toString();
device.getParameterByName("s12t").value = (data[21] == 255) ? "0" : "1";
if (data[21] &lt; 255) device.getParameterByName("s12v").value = data[21].toString();
device.getParameterByName("s13t").value = (data[22] == 255) ? "0" : "1";
if (data[22] &lt; 255) device.getParameterByName("s13v").value = data[22].toString();
device.getParameterByName("s14t").value = (data[23] == 255) ? "0" : "1";
if (data[23] &lt; 255) device.getParameterByName("s14v").value = data[23].toString();
device.getParameterByName("s15t").value = (data[24] == 255) ? "0" : "1";
if (data[24] &lt; 255) device.getParameterByName("s15v").value = data[24].toString();
progress.setProgress(20);
data = [
13,
context.Channel,
0, //scene number
parseInt(device.getParameterByName("deviceType").value)-1,
parseInt(device.getParameterByName("colorType").value)
];
for(var i = 0; i &lt; 16; i++)
{
data[2] = i;
resp = online.invokeFunctionProperty(160, 1, data);
device.getParameterByName("s" + i + "t").value = resp[0] &lt; 200;
//deviceType is Color
if(resp[0] &lt; 200)
{
device.getParameterByName("s" + i + "v").value = resp[0];
if(data[3] == 8)
{
//colorType is TunableWhite
if(data[4] == 2)
{
var kelvin = (resp[1] &lt;&lt; 8) | resp[2];
device.getParameterByName("s" + i + "ct").value = kelvin;
// var kelvin = parseInt(device.getParameterByName("s" + i + "ct").value);
// data[7] = kelvin &gt;&gt; 8;
// data[8] = kelvin &amp; 256;
} else { //it is RGB
var color = resp[3];
color = (resp[2] &lt;&lt; 8) | color;
color = (resp[1] &lt;&lt; 16) | color;
device.getParameterByName("s" + i + "cc").value = color.toString();
}
}
}
progress.setProgress(i*5 + 25);
}
if(errors != "")
progress.setText(device.getMessage(13) + errors); // following couldnt be read
else
progress.setText(device.getMessage(12)); // reading successfull
}
function buttonsettingsWrite(device, online, progress, context)
{
if(device.getParameterByName("fadeTime").value != "0" &amp;&amp; device.getParameterByName("fadeTimeExtendedMultiplier").value != "0")
throw new Error(device.getMessage(18)); // error
progress.setText(device.getMessage(15)); // start
var data = [];
data.push(10);
data.push(context.Channel);
data.push(parseInt(device.getParameterByName("min").value, 10));
data.push(parseInt(device.getParameterByName("max").value, 10));
data.push((device.getParameterByName("poweron").value == "0") ? parseInt(device.getParameterByName("poweronlevel").value, 10) : 255);
data.push((device.getParameterByName("failureon").value == "0") ? parseInt(device.getParameterByName("failureonlevel").value, 10) : 255);
var fade = parseInt(device.getParameterByName("fadeTime").value);
fade = fade &lt;&lt; 4;
fade |= parseInt(device.getParameterByName("fadeRate").value)
data.push(fade);
data.push(0);//faderate
var groups = parseInt(device.getParameterByName("g0").value, 10);
groups |= parseInt(device.getParameterByName("g1").value, 10) &lt;&lt; 1;
groups |= parseInt(device.getParameterByName("g2").value, 10) &lt;&lt; 2;
groups |= parseInt(device.getParameterByName("g3").value, 10) &lt;&lt; 3;
groups |= parseInt(device.getParameterByName("g4").value, 10) &lt;&lt; 4;
groups |= parseInt(device.getParameterByName("g5").value, 10) &lt;&lt; 5;
groups |= parseInt(device.getParameterByName("g6").value, 10) &lt;&lt; 6;
groups |= parseInt(device.getParameterByName("g7").value, 10) &lt;&lt; 7;
data.push(groups);
groups = parseInt(device.getParameterByName("g8").value, 10);
groups |= parseInt(device.getParameterByName("g9").value, 10) &lt;&lt; 1;
groups |= parseInt(device.getParameterByName("g10").value, 10) &lt;&lt; 2;
groups |= parseInt(device.getParameterByName("g11").value, 10) &lt;&lt; 3;
groups |= parseInt(device.getParameterByName("g12").value, 10) &lt;&lt; 4;
groups |= parseInt(device.getParameterByName("g13").value, 10) &lt;&lt; 5;
groups |= parseInt(device.getParameterByName("g14").value, 10) &lt;&lt; 6;
groups |= parseInt(device.getParameterByName("g15").value, 10) &lt;&lt; 7;
data.push(groups);
progress.setText(device.getMessage(16)); // transmit
online.connect();
var resp = online.invokeFunctionProperty(160, 1, data);
progress.setProgress(20);
data = [
12,
context.Channel, // + 128; only for group!
0, //scene number
0, //enabled
parseInt(device.getParameterByName("deviceType").value)-1,
parseInt(device.getParameterByName("colorType").value),
0, 0, 0, 0 //will be filled later
];
for(var i = 0; i &lt; 16; i++)
{
data[2] = i;
var isEnabled = device.getParameterByName("s" + i + "t").value == "1";
data[3] = isEnabled;
data[6] = isEnabled ? parseInt(device.getParameterByName("s" + i + "v").value, 10) : 255;
//deviceType is Color
if(isEnabled &amp;&amp; data[4] == 8)
{
//colorType is TunableWhite
if(data[5] == 2)
{
var kelvin = parseInt(device.getParameterByName("s" + i + "ct").value);
data[7] = kelvin &gt;&gt; 8;
data[8] = kelvin &amp; 256;
} else { //it is RGB
var etsval = device.getParameterByName("s" + i + "cc").value;
if(etsval &lt; 0)
etsval = etsval + 4294967296;
data[7] = (etsval &gt;&gt; 16) &amp; 255;
data[8] = (etsval &gt;&gt; 8) &amp; 255;
data[9] = etsval &amp; 255;
}
}
resp = online.invokeFunctionProperty(160, 1, data);
progress.setProgress(i*5 + 25);
}
online.disconnect();
progress.setText(device.getMessage(17)); // fin
}
function buttonassingAddr(device, online, progress, context)
{
var along = device.getParameterByName("longAddr");
var ashort = device.getParameterByName("shortAddr");
//assign address to device
progress.setText(device.getMessage(5));
var bytes = [4, parseInt(ashort.value)];
for (var c = 0; c &lt; along.value.length; c += 2)
bytes.push(parseInt(along.value.substr(c, 2), 16));
online.connect();
online.invokeFunctionProperty(160, 1, bytes);
bytes = [];
while(true)
{
if(progress.isCanceled())
{
online.readFunctionProperty(160, 1, [4, 255]);
return;
}
var resp = online.readFunctionProperty(160, 1, [4]);
switch(resp[0])
{
case 2:
//address set successfully
progress.setText(device.getMessage(7));
return;
case 10:
//dali error
progress.setText(device.getMessage(1));
return;
case 11:
//address is already in use
throw new Error(device.getMessage(6));
case 12:
//long address dont exists
throw new Error(device.getMessage(8));
case 13:
//short address confirm failed
throw new Error(device.getMessage(9));
case 14:
//device wont answer
throw new Error(device.getMessage(4));
}
}
}
function buttonscan(device, online, progress, context)
{
online.connect();
var data = [3];
var para2 = device.getParameterByName("onlyUnaddressed");
data.push(parseInt(para2.value));
para2 = device.getParameterByName("dontRandomize");
data.push(parseInt(para2.value));
para2 = device.getParameterByName("deleteAll");
data.push(parseInt(para2.value));
para2 = device.getParameterByName("assignNew");
data.push(parseInt(para2.value));
//start addressing
online.invokeFunctionProperty(160, 1, data);
progress.setText(device.getMessage(21));
for(var i = 0; i &lt; 64; i++)
{
var para = device.getParameterByName("ballast" + i);
para.value = "";
}
var counter = 0;
while(true)
{
if(progress.isCanceled())
{
//get State with max devicecount so device will stop and delete variables
online.readFunctionProperty(160, 1, [7, 254]);
return;
}
var resp = online.readFunctionProperty(160, 1, [3]);
if(resp[0]) break;
progress.setText(resp[1] + device.getMessage(22));
//just skip some time so we dont overkill the
//~2s depends on device
var start = new Date();
var count = 0;
var millis = 3000;
// busy waiting, as there is no other known possibility in ETS
while (new Date() - start &lt; millis) {
count++;
}
}
while(true)
{
if(progress.isCanceled())
{
//get State with max devicecount so device will stop and delete variables
online.readFunctionProperty(160, 1, [7, 254]);
return;
}
var resp = online.readFunctionProperty(160, 1, [7, counter]);
if(resp[0])
{
//found ballast
var high = "";
if(resp[1] &lt; 16) high = "0";
high += resp[1].toString(16);
if(resp[2] &lt; 16) high += "0";
high += resp[2].toString(16);
if(resp[3] &lt; 16) high += "0";
high += resp[3].toString(16);
var para = device.getParameterByName("ballast" + counter);
high = "0x" + high;
if(resp[4] &lt; 99)
high += " -&gt; " + resp[4];
para.value = high;
counter++;
} else {
break;
}
}
progress.setText(counter + device.getMessage(22));
}
</Script>
<Allocators>
<Allocator Id="%AID%_L-1" Name="paraAddr" Start="303" maxInclusive="1519" />
<Allocator Id="%AID%_L-2" Name="comAddr" Start="12" maxInclusive="1164" />
<Allocator Id="%AID%_L-3" Name="chanAddr" Start="0" maxInclusive="64" />
<Allocator Id="%AID%_L-4" Name="paraGrp" Start="1519" maxInclusive="1775" />
<Allocator Id="%AID%_L-5" Name="comGrp" Start="1164" maxInclusive="1436" />
<Allocator Id="%AID%_L-6" Name="chanGrp" Start="0" maxInclusive="16" />
<Allocator Id="%AID%_L-7" Name="paraScene" Start="47" maxInclusive="303" />
<Allocator Id="%AID%_L-8" Name="comScene" Start="12" maxInclusive="12" />
<Allocator Id="%AID%_L-9" Name="chanScene" Start="1" maxInclusive="65" />
<Allocator Id="%AID%_L-10" Name="paraHCL" Start="1775" maxInclusive="1796" />
<Allocator Id="%AID%_L-11" Name="comHCL" Start="1436" maxInclusive="1439" />
<Allocator Id="%AID%_L-12" Name="chanHCL" Start="1" maxInclusive="5" />
<Allocator Id="%AID%_L-13" Name="paraCommon" Start="2" maxInclusive="47" />
<Allocator Id="%AID%_L-14" Name="comCommon" Start="6" maxInclusive="12" />
</Allocators>
<Options SupportsExtendedMemoryServices="true" SupportsExtendedPropertyServices="true" />
</Static>
<ModuleDefs>
<ModuleDef Name="Common Share" Id="%AID%_MD-5000001">
<Arguments>
<Argument Id="%AID%_MD-5000001_A-1" Name="argParas" Allocates="45" />
<Argument Id="%AID%_MD-5000001_A-2" Name="argComs" Allocates="6" />
</Arguments>
<Static>
<Parameters>
<Parameter Id="%AID%_MD-5000001_P-5000001" Name="m5_ETS" ParameterType="%AID%_PT-ETS" Text="ETS" Access="Read" Value="" />
<Parameter Id="%AID%_MD-5000001_P-5000099" Name="m5_SelectHelper" ParameterType="%AID%_PT-CheckBox" Text="" Access="None" Value="0" />
<Parameter Id="%AID%_MD-5000001_P-5000010" Name="m5_InternalTime" ParameterType="%AID%_PT-OnOffYesNo" Text="Internal time" Access="None" Value="0" />
<Parameter Id="%AID%_MD-5000001_P-5000011" Name="m5_ExtendedSave" ParameterType="%AID%_PT-OnOffYesNo" Text="Extended saving" Value="0" />
<Union SizeInBit="32">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="0" BitOffset="0" BaseOffset="%AID%_MD-5000001_A-1" />
<Parameter Id="%AID%_MD-5000001_UP-5000002" Name="m5_StartupDelayBase" ParameterType="%AID%_PT-DelayBase" Offset="0" BitOffset="0" Text="Time base" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000003" Name="m5_StartupDelayTime" ParameterType="%AID%_PT-DelayTimeMin1" Offset="0" BitOffset="2" Text="Time" Value="1" />
<Parameter Id="%AID%_MD-5000001_UP-5000004" Name="m5_HeartbeatDelayBase" ParameterType="%AID%_PT-DelayBase" Offset="2" BitOffset="0" Text="Time base" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000005" Name="m5_HeartbeatDelayTime" ParameterType="%AID%_PT-DelayTime" Offset="2" BitOffset="2" Text="Time" Value="300" />
</Union>
<Union SizeInBit="8">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="4" BitOffset="0" BaseOffset="%AID%_MD-5000001_A-1" />
<Parameter Id="%AID%_MD-5000001_UP-5000144" Name="m5_Timezone" ParameterType="%AID%_PT-Timezone" Offset="0" BitOffset="0" Text="Time zone" Value="1" />
<Parameter Id="%AID%_MD-5000001_UP-5000156" Name="m5_CombinedTimeDate" ParameterType="%AID%_PT-CombinedTimeDate" Offset="0" BitOffset="5" Text="Receive via" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000159" Name="m5_SummertimeAll" ParameterType="%AID%_PT-SummertimeAll" Offset="0" BitOffset="6" Text="Determine summer time by" Value="2" />
<Parameter Id="%AID%_MD-5000001_UP-5000160" Name="m5_SummertimeDE" ParameterType="%AID%_PT-SummertimeDE" Offset="0" BitOffset="6" Text="Determine summer time by" Value="2" />
<Parameter Id="%AID%_MD-5000001_UP-5000161" Name="m5_SummertimeWorld" ParameterType="%AID%_PT-SummertimeWorld" Offset="0" BitOffset="6" Text="Determine summer time by" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000162" Name="m5_SummertimeKO" ParameterType="%AID%_PT-SummertimeKO" Offset="0" BitOffset="6" Text="Determine summer time by" Value="0" />
</Union>
<Union SizeInBit="64">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="5" BitOffset="0" BaseOffset="%AID%_MD-5000001_A-1" />
<Parameter Id="%AID%_MD-5000001_UP-5000142" Name="m5_Latitude" ParameterType="%AID%_PT-Latitude" Offset="0" BitOffset="0" Text="Latitude" Value="5.000000000000000E+001" />
<Parameter Id="%AID%_MD-5000001_UP-5000143" Name="m5_Longitude" ParameterType="%AID%_PT-Longitude" Offset="4" BitOffset="0" Text="Longitude" Value="8.000000000000000E+000" />
</Union>
<Union SizeInBit="256">
<Memory CodeSegment="%AID%_RS-04-00000" Offset="13" BitOffset="0" BaseOffset="%AID%_MD-5000001_A-1" />
<Parameter Id="%AID%_MD-5000001_UP-5000146" Name="m5_Diagnose" ParameterType="%AID%_PT-OnOffYesNo" Offset="0" BitOffset="0" Text="Show diagnostic object" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000147" Name="m5_Watchdog" ParameterType="%AID%_PT-OnOffYesNo" Offset="0" BitOffset="1" Text="Enable watchdog" Value="1" />
<Parameter Id="%AID%_MD-5000001_UP-5000034" Name="m5_ReadTimeDate" ParameterType="%AID%_PT-OnOffYesNo" Offset="0" BitOffset="2" Text="Read from bus on restart" Value="1" />
<Parameter Id="%AID%_MD-5000001_UP-5000037" Name="m5_HeartbeatExtended" ParameterType="%AID%_PT-OnOffYesNo" Offset="0" BitOffset="3" Text="Extended &quot;In operation&quot;" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000091" Name="m5_ManualSave" ParameterType="%AID%_PT-ManualSave" Offset="0" BitOffset="5" Text="Manual save" Value="0" />
<Parameter Id="%AID%_MD-5000001_UP-5000090" Name="m5_PeriodicSave" ParameterType="%AID%_PT-PeriodicSave" Offset="1" BitOffset="0" Text="Cyclic saving" Value="0" />
</Union>
</Parameters>
<ParameterRefs>
<ParameterRef RefId="%AID%_MD-5000001_P-5000001" Id="%AID%_MD-5000001_P-5000001_R-500000101" Name="ETS" />
<ParameterRef RefId="%AID%_MD-5000001_P-5000010" Id="%AID%_MD-5000001_P-5000010_R-500001001" Name="InternalTime" />
<ParameterRef RefId="%AID%_MD-5000001_P-5000011" Id="%AID%_MD-5000001_P-5000011_R-500001101" Name="ExtendedSave" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000002" Id="%AID%_MD-5000001_UP-5000002_R-500000201" Name="StartupDelayBase" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000003" Id="%AID%_MD-5000001_UP-5000003_R-500000301" Name="StartupDelayTime" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000004" Id="%AID%_MD-5000001_UP-5000004_R-500000401" Name="HeartbeatDelayBase" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000005" Id="%AID%_MD-5000001_UP-5000005_R-500000501" Name="HeartbeatDelayTime" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000034" Id="%AID%_MD-5000001_UP-5000034_R-500003401" Name="ReadTimeDate" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000037" Id="%AID%_MD-5000001_UP-5000037_R-500003701" Name="HeartbeatExtended" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000142" Id="%AID%_MD-5000001_UP-5000142_R-500014201" Name="Latitude" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000143" Id="%AID%_MD-5000001_UP-5000143_R-500014301" Name="Longitude" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000144" Id="%AID%_MD-5000001_UP-5000144_R-500014401" Name="Timezone" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000146" Id="%AID%_MD-5000001_UP-5000146_R-500014601" Name="Diagnose" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000147" Id="%AID%_MD-5000001_UP-5000147_R-500014701" Name="Watchdog" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000156" Id="%AID%_MD-5000001_UP-5000156_R-500015601" Name="CombinedTimeDate" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000159" Id="%AID%_MD-5000001_UP-5000159_R-500015901" Name="SummertimeAll" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000160" Id="%AID%_MD-5000001_UP-5000160_R-500016001" Name="SummertimeDE" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000161" Id="%AID%_MD-5000001_UP-5000161_R-500016101" Name="SummertimeWorld" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000162" Id="%AID%_MD-5000001_UP-5000162_R-500016201" Name="SummertimeKO" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000090" Id="%AID%_MD-5000001_UP-5000090_R-500009001" Name="PeriodicSave" />
<ParameterRef RefId="%AID%_MD-5000001_UP-5000091" Id="%AID%_MD-5000001_UP-5000091_R-500009101" Name="ManualSave" />
<ParameterRef RefId="%AID%_MD-5000001_P-5000099" Id="%AID%_MD-5000001_P-5000099_R-500009901" Name="SelectHelper" />
</ParameterRefs>
<ComObjects>
<ComObject Id="%AID%_MD-5000001_O-5000000" Name="m5_Heartbeat" Text="In operation" Number="42" FunctionText="Cyclic" ObjectSize="1 Byte" ReadFlag="Enabled" WriteFlag="Disabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-5-5" BaseNumber="%AID%_MD-5000001_A-2" />
<ComObject Id="%AID%_MD-5000001_O-5000001" Name="m5_Time" Text="Time/date" Number="43" FunctionText="Input" ObjectSize="8 Bytes" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-19-1" BaseNumber="%AID%_MD-5000001_A-2" />
<ComObject Id="%AID%_MD-5000001_O-5000002" Name="m5_Date" Text="Date" Number="44" FunctionText="Input" ObjectSize="3 Bytes" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-11-1" BaseNumber="%AID%_MD-5000001_A-2" />
<ComObject Id="%AID%_MD-5000001_O-5000003" Name="m5_Diagnose" Text="Diagnostics" Number="45" FunctionText="Diagnostic object" ObjectSize="14 Bytes" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Enabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-16-1" BaseNumber="%AID%_MD-5000001_A-2" />
<ComObject Id="%AID%_MD-5000001_O-5000004" Name="m5_IsSummertime" Text="Summer time active" Number="46" FunctionText="Input" ObjectSize="1 Bit" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Enabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-1" BaseNumber="%AID%_MD-5000001_A-2" />
<ComObject Id="%AID%_MD-5000001_O-5000005" Name="m5_ManualSave" Text="Save" Number="47" FunctionText="Input" ObjectSize="1 Bit" ReadFlag="Disabled" WriteFlag="Enabled" CommunicationFlag="Enabled" TransmitFlag="Disabled" UpdateFlag="Disabled" ReadOnInitFlag="Disabled" DatapointType="DPST-1-17" BaseNumber="%AID%_MD-5000001_A-2" />
</ComObjects>
<ComObjectRefs>
<ComObjectRef RefId="%AID%_MD-5000001_O-5000000" Id="%AID%_MD-5000001_O-5000000_R-500000001" DatapointType="DPST-1-2" ObjectSize="1 Bit" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000000" Id="%AID%_MD-5000001_O-5000000_R-500000002" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000001" Id="%AID%_MD-5000001_O-5000001_R-500000101" Text="Time" DatapointType="DPST-10-1" ObjectSize="3 Bytes" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000001" Id="%AID%_MD-5000001_O-5000001_R-500000102" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000002" Id="%AID%_MD-5000001_O-5000002_R-500000201" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000003" Id="%AID%_MD-5000001_O-5000003_R-500000301" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000004" Id="%AID%_MD-5000001_O-5000004_R-500000401" />
<ComObjectRef RefId="%AID%_MD-5000001_O-5000005" Id="%AID%_MD-5000001_O-5000005_R-500000501" />
</ComObjectRefs>
</Static>
<Dynamic>
<ParameterBlock Id="%AID%_MD-5000001_PB-11" Inline="true" Name="General">
<ParameterRefRef RefId="%AID%_MD-5000001_P-5000010_R-500001001" />
<ParameterRefRef RefId="%AID%_MD-5000001_P-5000099_R-500009901" />
<ParameterSeparator Id="%AID%_MD-5000001_PS-77" Text="General" UIHint="Headline" />
<ParameterBlock Id="%AID%_MD-5000001_PB-12" Inline="true" Layout="Grid" Name="StartupDelayCycle">
<Rows>
<Row Id="%AID%_MD-5000001_PB-12_R-1" Name="Row1" />
</Rows>
<Columns>
<Column Id="%AID%_MD-5000001_PB-12_C-1" Name="Col1" Width="45%" />
<Column Id="%AID%_MD-5000001_PB-12_C-2" Name="Col2" Width="15%" />
<Column Id="%AID%_MD-5000001_PB-12_C-3" Name="Col3" Width="20%" />
</Columns>
<ParameterSeparator Id="%AID%_MD-5000001_PS-78" Text=" Startup delay" Cell="1,1" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000003_R-500000301" Cell="1,2" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000002_R-500000201" Cell="1,3" />
</ParameterBlock>
<ParameterBlock Id="%AID%_MD-5000001_PB-13" Inline="true" Layout="Grid" Name="HeartbeatSendCycle">
<Rows>
<Row Id="%AID%_MD-5000001_PB-13_R-1" Name="Row1" />
</Rows>
<Columns>
<Column Id="%AID%_MD-5000001_PB-13_C-1" Name="Col1" Width="45%" />
<Column Id="%AID%_MD-5000001_PB-13_C-2" Name="Col2" Width="15%" />
<Column Id="%AID%_MD-5000001_PB-13_C-3" Name="Col3" Width="20%" />
</Columns>
<ParameterSeparator Id="%AID%_MD-5000001_PS-79" Text=" Send in operation every" Cell="1,1" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000005_R-500000501" Cell="1,2" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000004_R-500000401" Cell="1,3" />
</ParameterBlock>
<choose ParamRefId="%AID%_MD-5000001_UP-5000005_R-500000501">
<when test="!=0">
<choose ParamRefId="%AID%_MD-5000001_UP-5000037_R-500003701">
<when test="0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000000_R-500000001" />
</when>
<when test="1">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000000_R-500000002" />
</when>
</choose>
</when>
</choose>
<ParameterSeparator Id="%AID%_MD-5000001_PS-80" Text="Time &amp; date" UIHint="Headline" />
<choose ParamRefId="%AID%_MD-5000001_P-5000010_R-500001001">
<when test="0">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000156_R-500015601" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000156_R-500015601">
<when test="0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000001_R-500000101" />
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000002_R-500000201" />
</when>
<when test="1">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000001_R-500000102" />
</when>
</choose>
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000034_R-500003401" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000144_R-500014401" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000144_R-500014401">
<when test="!=1">
<choose ParamRefId="%AID%_MD-5000001_UP-5000156_R-500015601">
<when test="0">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000162_R-500016201" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000162_R-500016201">
<when test="0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000004_R-500000401" />
</when>
</choose>
</when>
<when test="1">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000161_R-500016101" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000161_R-500016101">
<when test="0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000004_R-500000401" />
</when>
</choose>
</when>
</choose>
</when>
<when test="1">
<choose ParamRefId="%AID%_MD-5000001_UP-5000156_R-500015601">
<when test="0">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000160_R-500016001" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000160_R-500016001">
<when test="0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000004_R-500000401" />
</when>
</choose>
</when>
<when test="1">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000159_R-500015901" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000159_R-500015901">
<when test="0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000004_R-500000401" />
</when>
</choose>
</when>
</choose>
</when>
</choose>
</when>
<when test="1">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000144_R-500014401" />
<ParameterSeparator Id="%AID%_MD-5000001_PS-81" Text="The time is managed by an internal timer!" UIHint="Information" />
</when>
</choose>
<ParameterSeparator Id="%AID%_MD-5000001_PS-82" Text="Device location" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000142_R-500014201" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000143_R-500014301" />
<ParameterSeparator Id="%AID%_MD-5000001_PS-83" Text="Advanced" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000147_R-500014701" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000146_R-500014601" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000146_R-500014601">
<when test="1">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000003_R-500000301" />
</when>
</choose>
<choose ParamRefId="%AID%_MD-5000001_UP-5000005_R-500000501">
<when test="!=0">
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000037_R-500003701" />
</when>
</choose>
<choose ParamRefId="%AID%_MD-5000001_P-5000099_R-500009901">
<when test="!=1">
<ParameterRefRef RefId="%AID%_MD-5000001_P-5000011_R-500001101" />
<choose ParamRefId="%AID%_MD-5000001_P-5000011_R-500001101">
<when test="1">
<ParameterSeparator Id="%AID%_MD-5000001_PS-84" Text="Extended saving" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000090_R-500009001" />
<ParameterRefRef RefId="%AID%_MD-5000001_UP-5000091_R-500009101" />
<choose ParamRefId="%AID%_MD-5000001_UP-5000091_R-500009101">
<when test="&gt;0">
<ComObjectRefRef RefId="%AID%_MD-5000001_O-5000005_R-500000501" />
</when>
</choose>
<ParameterSeparator Id="%AID%_MD-5000001_PS-85" Text="Important: Before using the extended saving options, the help should be consulted. It is stored context-sensitively on the respective fields. " UIHint="Information" />
</when>
</choose>
</when>
</choose>
<ParameterSeparator Id="%AID%_MD-5000001_PS-86" Text=" " />
<ParameterBlock Id="%AID%_MD-5000001_PB-14" Inline="true" Layout="Grid" Name="OpenKNX">
<Rows>
<Row Id="%AID%_MD-5000001_PB-14_R-1" Name="Row1" />
<Row Id="%AID%_MD-5000001_PB-14_R-2" Name="Row2" />
</Rows>
<Columns>
<Column Id="%AID%_MD-5000001_PB-14_C-1" Name="Col1" Width="100%" />
</Columns>
<ParameterRefRef RefId="%AID%_MD-5000001_P-5000001_R-500000101" Cell="1,1" />
</ParameterBlock>
</ParameterBlock>
</Dynamic>
</ModuleDef>
</ModuleDefs>
<Dynamic>
<ChannelIndependentBlock>
<ParameterBlock Id="%AID%_PB-15" Text="General" Name="gen">
<ComObjectRefRef RefId="%AID%_O-0000001_R-000000100" />
<ComObjectRefRef RefId="%AID%_O-0000002_R-000000201" />
<ComObjectRefRef RefId="%AID%_O-0000003_R-000000302" />
<ComObjectRefRef RefId="%AID%_O-0000005_R-000000504" />
<ParameterRefRef RefId="%AID%_P-0000078_R-000007878" />
<ParameterRefRef RefId="%AID%_P-0000073_R-000007373" />
<ParameterRefRef RefId="%AID%_P-0000074_R-000007474" />
<choose ParamRefId="%AID%_P-0000074_R-000007474">
<when test="1">
<ComObjectRefRef RefId="%AID%_O-0000004_R-000000403" />
</when>
</choose>
<ParameterRefRef RefId="%AID%_P-0000079_R-000007979" />
<ParameterRefRef RefId="%AID%_P-0000081_R-000008181" />
<ParameterRefRef RefId="%AID%_P-0000080_R-000008080" />
<Repeat Id="%AID%_X-1" Name="" Count="1">
<Module Id="%AID%_MD-5000001_M-5000001" RefId="%AID%_MD-5000001">
<NumericArg RefId="%AID%_MD-5000001_A-1" AllocatorRefId="%AID%_L-13" />
<NumericArg RefId="%AID%_MD-5000001_A-2" AllocatorRefId="%AID%_L-14" />
</Module>
</Repeat>
</ParameterBlock>
<ParameterBlock Id="%AID%_PB-16" Text="Addressing" Name="scan">
<ParameterSeparator Id="%AID%_PS-87" Text="Assign address manually" UIHint="Headline" />
<ParameterRefRef RefId="%AID%_P-0000070_R-000007070" />
<ParameterRefRef RefId="%AID%_P-0000071_R-000007171" />
<Button Id="%AID%_B-4" Text="Set address" Name="assingAddr" EventHandler="buttonassingAddr" EventHandlerOnline="ConnectionOriented" />
<ParameterSeparator Id="%AID%_PS-88" Text="Please note that many devices recreate the long address after every restart and after every scan." UIHint="Information" />
<ParameterSeparator Id="%AID%_PS-89" Text="" />
<Button Id="%AID%_B-5" Text="Scan" Name="scan" EventHandler="buttonscan" EventHandlerOnline="ConnectionOriented" />
<ParameterRefRef RefId="%AID%_P-0000069_R-000006969" />
<ParameterRefRef RefId="%AID%_P-0000072_R-000007272" />
<ParameterRefRef RefId="%AID%_P-0000082_R-000008282" />
<ParameterRefRef RefId="%AID%_P-0000083_R-000008383" />
<ParameterSeparator Id="%AID%_PS-90" Text="" />
<ParameterSeparator Id="%AID%_PS-91" Text="Found devices" UIHint="Headline" />
<ParameterBlock Id="%AID%_PB-17" Inline="true" Layout="Grid">
<Rows>
<Row Id="%AID%_PB-17_R-1" Name="r0" />
<Row Id="%AID%_PB-17_R-2" Name="r1" />
<Row Id="%AID%_PB-17_R-3" Name="r2" />
<Row Id="%AID%_PB-17_R-4" Name="r3" />
<Row Id="%AID%_PB-17_R-5" Name="r4" />
<Row Id="%AID%_PB-17_R-6" Name="r5" />
<Row Id="%AID%_PB-17_R-7" Name="r6" />
<Row Id="%AID%_PB-17_R-8" Name="r7" />
<Row Id="%AID%_PB-17_R-9" Name="r8" />
<Row Id="%AID%_PB-17_R-10" Name="r9" />
<Row Id="%AID%_PB-17_R-11" Name="r10" />
<Row Id="%AID%_PB-17_R-12" Name="r11" />
<Row Id="%AID%_PB-17_R-13" Name="r12" />
</Rows>
<Columns>
<Column Id="%AID%_PB-17_C-1" Name="col1" Width="20%" />
<Column Id="%AID%_PB-17_C-2" Name="col2" Width="20%" />
<Column Id="%AID%_PB-17_C-3" Name="col3" Width="20%" />
<Column Id="%AID%_PB-17_C-4" Name="col4" Width="20%" />
<Column Id="%AID%_PB-17_C-5" Name="col5" Width="20%" />
</Columns>
<ParameterRefRef RefId="%AID%_P-0000004_R-000000404" Cell="1,1" />
<ParameterRefRef RefId="%AID%_P-0000005_R-000000505" Cell="1,2" />
<ParameterRefRef RefId="%AID%_P-0000006_R-000000606" Cell="1,3" />
<ParameterRefRef RefId="%AID%_P-0000007_R-000000707" Cell="1,4" />
<ParameterRefRef RefId="%AID%_P-0000008_R-000000808" Cell="1,5" />
<ParameterRefRef RefId="%AID%_P-0000009_R-000000909" Cell="2,1" />
<ParameterRefRef RefId="%AID%_P-0000011_R-000001111" Cell="2,2" />
<ParameterRefRef RefId="%AID%_P-0000012_R-000001212" Cell="2,3" />
<ParameterRefRef RefId="%AID%_P-0000013_R-000001313" Cell="2,4" />
<ParameterRefRef RefId="%AID%_P-0000014_R-000001414" Cell="2,5" />
<ParameterRefRef RefId="%AID%_P-0000015_R-000001515" Cell="3,1" />
<ParameterRefRef RefId="%AID%_P-0000016_R-000001616" Cell="3,2" />
<ParameterRefRef RefId="%AID%_P-0000017_R-000001717" Cell="3,3" />
<ParameterRefRef RefId="%AID%_P-0000018_R-000001818" Cell="3,4" />
<ParameterRefRef RefId="%AID%_P-0000019_R-000001919" Cell="3,5" />
<ParameterRefRef RefId="%AID%_P-0000020_R-000002020" Cell="4,1" />
<ParameterRefRef RefId="%AID%_P-0000021_R-000002121" Cell="4,2" />
<ParameterRefRef RefId="%AID%_P-0000022_R-000002222" Cell="4,3" />
<ParameterRefRef RefId="%AID%_P-0000023_R-000002323" Cell="4,4" />
<ParameterRefRef RefId="%AID%_P-0000024_R-000002424" Cell="4,5" />
<ParameterRefRef RefId="%AID%_P-0000025_R-000002525" Cell="5,1" />
<ParameterRefRef RefId="%AID%_P-0000026_R-000002634" Cell="5,2" />
<ParameterRefRef RefId="%AID%_P-0000027_R-000002726" Cell="5,3" />
<ParameterRefRef RefId="%AID%_P-0000028_R-000002827" Cell="5,4" />
<ParameterRefRef RefId="%AID%_P-0000029_R-000002928" Cell="5,5" />
<ParameterRefRef RefId="%AID%_P-0000030_R-000003029" Cell="6,1" />
<ParameterRefRef RefId="%AID%_P-0000031_R-000003130" Cell="6,2" />
<ParameterRefRef RefId="%AID%_P-0000032_R-000003231" Cell="6,3" />
<ParameterRefRef RefId="%AID%_P-0000033_R-000003332" Cell="6,4" />
<ParameterRefRef RefId="%AID%_P-0000034_R-000003433" Cell="6,5" />
<ParameterRefRef RefId="%AID%_P-0000035_R-000003535" Cell="7,1" />
<ParameterRefRef RefId="%AID%_P-0000036_R-000003636" Cell="7,2" />
<ParameterRefRef RefId="%AID%_P-0000037_R-000003737" Cell="7,3" />
<ParameterRefRef RefId="%AID%_P-0000038_R-000003838" Cell="7,4" />
<ParameterRefRef RefId="%AID%_P-0000039_R-000003939" Cell="7,5" />
<ParameterRefRef RefId="%AID%_P-0000040_R-000004040" Cell="8,1" />
<ParameterRefRef RefId="%AID%_P-0000041_R-000004141" Cell="8,2" />
<ParameterRefRef RefId="%AID%_P-0000042_R-000004242" Cell="8,3" />
<ParameterRefRef RefId="%AID%_P-0000043_R-000004343" Cell="8,4" />
<ParameterRefRef RefId="%AID%_P-0000044_R-000004444" Cell="8,5" />
<ParameterRefRef RefId="%AID%_P-0000045_R-000004545" Cell="9,1" />
<ParameterRefRef RefId="%AID%_P-0000046_R-000004646" Cell="9,2" />
<ParameterRefRef RefId="%AID%_P-0000047_R-000004747" Cell="9,3" />
<ParameterRefRef RefId="%AID%_P-0000048_R-000004848" Cell="9,4" />
<ParameterRefRef RefId="%AID%_P-0000049_R-000004949" Cell="9,5" />
<ParameterRefRef RefId="%AID%_P-0000050_R-000005050" Cell="10,1" />
<ParameterRefRef RefId="%AID%_P-0000051_R-000005151" Cell="10,2" />
<ParameterRefRef RefId="%AID%_P-0000052_R-000005252" Cell="10,3" />
<ParameterRefRef RefId="%AID%_P-0000053_R-000005353" Cell="10,4" />
<ParameterRefRef RefId="%AID%_P-0000054_R-000005454" Cell="10,5" />
<ParameterRefRef RefId="%AID%_P-0000055_R-000005555" Cell="11,1" />
<ParameterRefRef RefId="%AID%_P-0000056_R-000005656" Cell="11,2" />
<ParameterRefRef RefId="%AID%_P-0000057_R-000005757" Cell="11,3" />
<ParameterRefRef RefId="%AID%_P-0000058_R-000005858" Cell="11,4" />
<ParameterRefRef RefId="%AID%_P-0000059_R-000005959" Cell="11,5" />
<ParameterRefRef RefId="%AID%_P-0000060_R-000006060" Cell="12,1" />
<ParameterRefRef RefId="%AID%_P-0000061_R-000006161" Cell="12,2" />
<ParameterRefRef RefId="%AID%_P-0000062_R-000006262" Cell="12,3" />
<ParameterRefRef RefId="%AID%_P-0000063_R-000006363" Cell="12,4" />
<ParameterRefRef RefId="%AID%_P-0000064_R-000006464" Cell="12,5" />
<ParameterRefRef RefId="%AID%_P-0000065_R-000006565" Cell="13,1" />
<ParameterRefRef RefId="%AID%_P-0000066_R-000006666" Cell="13,2" />
<ParameterRefRef RefId="%AID%_P-0000067_R-000006767" Cell="13,3" />
<ParameterRefRef RefId="%AID%_P-0000068_R-000006868" Cell="13,4" />
</ParameterBlock>
</ParameterBlock>
</ChannelIndependentBlock>
</Dynamic>
</ApplicationProgram>
</ApplicationPrograms>
</Manufacturer>
</ManufacturerData>
</KNX>