This commit is contained in:
DESKTOP-E17406D\boonkerz 2026-02-10 21:41:34 +01:00
parent 4a2e2dcf63
commit 24707890cf
3 changed files with 3475 additions and 15347 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,8 +13,8 @@
#define MAIN_ApplicationNumber 206
#define MAIN_ApplicationVersion 4
#define MAIN_ApplicationEncoding iso-8859-15
#define MAIN_ParameterSize 4861
#define MAIN_MaxKoNumber 20069
#define MAIN_ParameterSize 2548
#define MAIN_MaxKoNumber 9069
#define MAIN_OrderNumber "IA4313"
// Parameter with single occurrence
@ -24,11 +24,11 @@
// Anzahl Bereiche
#define ParamSC_Section_Count (knx.paramByte(SC_Section_Count))
#define SC_ChannelCount 20
#define SC_ChannelCount 9
// Parameter per channel
#define SC_ParamBlockOffset 1
#define SC_ParamBlockSize 243
#define SC_ParamBlockSize 283
#define SC_ParamCalcIndex(index) (index + SC_ParamBlockOffset + _channelIndex * SC_ParamBlockSize)
#define SC_pChkTemperatur 59 // 1 Bit, Bit 7
@ -82,46 +82,46 @@
#define SC_pChkSzene 61 // 1 Bit, Bit 7
#define SC_pChkSzeneMask 0x80
#define SC_pChkSzeneShift 7
#define SC_fAFunctionType 62 // 1 Bit, Bit 7
#define SC_fAFunctionType 102 // 1 Bit, Bit 7
#define SC_fAFunctionTypeMask 0x80
#define SC_fAFunctionTypeShift 7
#define SC_fAOOnKODpt 63 // 8 Bits, Bit 7-0
#define SC_fBFunctionType 82 // 1 Bit, Bit 7
#define SC_fAOOnKODpt 103 // 8 Bits, Bit 7-0
#define SC_fBFunctionType 122 // 1 Bit, Bit 7
#define SC_fBFunctionTypeMask 0x80
#define SC_fBFunctionTypeShift 7
#define SC_fBOOnKODpt 83 // 8 Bits, Bit 7-0
#define SC_fCFunctionType 102 // 1 Bit, Bit 7
#define SC_fBOOnKODpt 123 // 8 Bits, Bit 7-0
#define SC_fCFunctionType 142 // 1 Bit, Bit 7
#define SC_fCFunctionTypeMask 0x80
#define SC_fCFunctionTypeShift 7
#define SC_fCOOnKODpt 103 // 8 Bits, Bit 7-0
#define SC_fDFunctionType 122 // 1 Bit, Bit 7
#define SC_fCOOnKODpt 143 // 8 Bits, Bit 7-0
#define SC_fDFunctionType 162 // 1 Bit, Bit 7
#define SC_fDFunctionTypeMask 0x80
#define SC_fDFunctionTypeShift 7
#define SC_fDOOnKODpt 123 // 8 Bits, Bit 7-0
#define SC_fEFunctionType 142 // 1 Bit, Bit 7
#define SC_fDOOnKODpt 163 // 8 Bits, Bit 7-0
#define SC_fEFunctionType 182 // 1 Bit, Bit 7
#define SC_fEFunctionTypeMask 0x80
#define SC_fEFunctionTypeShift 7
#define SC_fEOOnKODpt 143 // 8 Bits, Bit 7-0
#define SC_fFFunctionType 162 // 1 Bit, Bit 7
#define SC_fEOOnKODpt 183 // 8 Bits, Bit 7-0
#define SC_fFFunctionType 202 // 1 Bit, Bit 7
#define SC_fFFunctionTypeMask 0x80
#define SC_fFFunctionTypeShift 7
#define SC_fFOOnKODpt 163 // 8 Bits, Bit 7-0
#define SC_fGFunctionType 182 // 1 Bit, Bit 7
#define SC_fFOOnKODpt 203 // 8 Bits, Bit 7-0
#define SC_fGFunctionType 222 // 1 Bit, Bit 7
#define SC_fGFunctionTypeMask 0x80
#define SC_fGFunctionTypeShift 7
#define SC_fGOOnKODpt 183 // 8 Bits, Bit 7-0
#define SC_fHFunctionType 202 // 1 Bit, Bit 7
#define SC_fGOOnKODpt 223 // 8 Bits, Bit 7-0
#define SC_fHFunctionType 242 // 1 Bit, Bit 7
#define SC_fHFunctionTypeMask 0x80
#define SC_fHFunctionTypeShift 7
#define SC_fHOOnKODpt 203 // 8 Bits, Bit 7-0
#define SC_fIFunctionType 222 // 1 Bit, Bit 7
#define SC_fHOOnKODpt 243 // 8 Bits, Bit 7-0
#define SC_fIFunctionType 262 // 1 Bit, Bit 7
#define SC_fIFunctionTypeMask 0x80
#define SC_fIFunctionTypeShift 7
#define SC_fIOOnKODpt 223 // 8 Bits, Bit 7-0
#define SC_fJFunctionType 242 // 1 Bit, Bit 7
#define SC_fIOOnKODpt 263 // 8 Bits, Bit 7-0
#define SC_fJFunctionType 282 // 1 Bit, Bit 7
#define SC_fJFunctionTypeMask 0x80
#define SC_fJFunctionTypeShift 7
#define SC_fJOOnKODpt 243 // 8 Bits, Bit 7-0
#define SC_fJOOnKODpt 283 // 8 Bits, Bit 7-0
// Temperatur
#define ParamSC_pChkTemperatur ((bool)(knx.paramByte(SC_ParamCalcIndex(SC_pChkTemperatur)) & SC_pChkTemperaturMask))
@ -203,7 +203,7 @@
// Communication objects per channel (multiple occurrence)
#define SC_KoBlockOffset 10
#define SC_KoBlockSize 49
#define SC_KoBlockSize 59
#define SC_KoCalcNumber(index) (index + SC_KoBlockOffset + _channelIndex * SC_KoBlockSize)
#define SC_KoCalcIndex(number) ((number >= SC_KoCalcNumber(0) && number < SC_KoCalcNumber(SC_KoBlockSize)) ? (number - SC_KoBlockOffset) % SC_KoBlockSize : -1)
@ -238,6 +238,16 @@
#define SC_KoKoS%CC%026 %CCC%26
#define SC_KoKoS%CC%027 %CCC%27
#define SC_KoKoS%CC%028 %CCC%28
#define SC_KoKoS%CC%029 %CCC%29
#define SC_KoKoS%CC%030 %CCC%30
#define SC_KoKoS%CC%031 %CCC%31
#define SC_KoKoS%CC%032 %CCC%32
#define SC_KoKoS%CC%033 %CCC%33
#define SC_KoKoS%CC%034 %CCC%34
#define SC_KoKoS%CC%035 %CCC%35
#define SC_KoKoS%CC%036 %CCC%36
#define SC_KoKoS%CC%037 %CCC%37
#define SC_KoKoS%CC%038 %CCC%38
#define SC_KoKOf-%TT%%CC%100__ %C%050
#define SC_KoKOf-%TT%%CC%101__ %C%051
#define SC_KoKOf-%TT%%CC%200__ %C%052
@ -317,6 +327,26 @@
#define KoSC_KoS%CC%027 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%027)))
// Szene
#define KoSC_KoS%CC%028 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%028)))
// Temperatur Ausgang
#define KoSC_KoS%CC%029 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%029)))
// Luftfeuchtigkeit Ausgang
#define KoSC_KoS%CC%030 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%030)))
// Heizungsventil Ausgang
#define KoSC_KoS%CC%031 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%031)))
// CO2 Ausgang
#define KoSC_KoS%CC%032 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%032)))
// Helligkeit Ausgang
#define KoSC_KoS%CC%033 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%033)))
// Solltemperatur Ausgang
#define KoSC_KoS%CC%034 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%034)))
// Dimmen 1 Ausgang
#define KoSC_KoS%CC%035 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%035)))
// Dimmen 2 Ausgang
#define KoSC_KoS%CC%036 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%036)))
// Jalousie 1 Ausgang
#define KoSC_KoS%CC%037 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%037)))
// Jalousie 2 Ausgang
#define KoSC_KoS%CC%038 (knx.getGroupObject(SC_KoCalcNumber(SC_KoKoS%CC%038)))
// Eingang %CC%050
#define KoSC_KOf-%TT%%CC%100__ (knx.getGroupObject(SC_KoCalcNumber(SC_KoKOf-%TT%%CC%100__)))
// Ausgang %CC%051