diff --git a/patchsource/www/webui/webui.js b/patchsource/www/webui/webui.js index 2588cf46..ccf8c309 100755 --- a/patchsource/www/webui/webui.js +++ b/patchsource/www/webui/webui.js @@ -370,6 +370,12 @@ DEV_DESCRIPTION['HB-LC-Sw4-TP']='radio-controlled switch actuator 4-channel, wit DEV_PATHS['HB-LC-Sw4-TP'] = new Object(); DEV_PATHS['HB-LC-Sw4-TP']['50'] = '/config/img/devices/50/hb-lc-sw4-tp_thumb.png'; DEV_PATHS['HB-LC-Sw4-TP']['250'] = '/config/img/devices/250/hb-lc-sw4-tp.png'; +DEV_HIGHLIGHT['HB-LC-Sw3-LIDL'] = new Object(); +DEV_LIST.push('HB-LC-Sw3-LIDL'); +DEV_DESCRIPTION['HB-LC-Sw3-LIDL']='radio-controlled switch actuator 3-channel'; +DEV_PATHS['HB-LC-Sw3-LIDL'] = new Object(); +DEV_PATHS['HB-LC-Sw3-LIDL']['50'] = '/config/img/devices/50/hb-lc-sw3-lidl_thumb.png'; +DEV_PATHS['HB-LC-Sw3-LIDL']['250'] = '/config/img/devices/250/hb-lc-sw3-lidl.png'; DEV_HIGHLIGHT['HB-Sec-RHS-3'] = new Object(); DEV_LIST.push('HB-Sec-RHS-3'); DEV_DESCRIPTION['HB-Sec-RHS-3']='HB Rotary Handle Sensor with battery state'; diff --git a/src/addon/devdb.csv b/src/addon/devdb.csv index ba6107f1..0d8a992a 100644 --- a/src/addon/devdb.csv +++ b/src/addon/devdb.csv @@ -22,6 +22,7 @@ HB-LC-SwX-TP;hb-lc-swx-tp HB-LC-Sw1-TP;hb-lc-sw1-tp HB-LC-Sw2-TP;hb-lc-sw2-tp HB-LC-Sw4-TP;hb-lc-sw4-tp +HB-LC-Sw3-LIDL;hb-lc-sw3-lidl HB-OU-AF-SEN-TEMP;hb-ou-af-sen-temp HB-OU-MOT-FAN;hb-ou-mot-fan HB-OU-MOT-FAN-RPM;hb-ou-mot-fan diff --git a/src/addon/firmware/rftypes/hb-lc-sw3-lidl.xml b/src/addon/firmware/rftypes/hb-lc-sw3-lidl.xml new file mode 100644 index 00000000..17213e4e --- /dev/null +++ b/src/addon/firmware/rftypes/hb-lc-sw3-lidl.xml @@ -0,0 +1,557 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/addon/patch/common/webui.js.patch b/src/addon/patch/common/webui.js.patch index 816fabf7..a968d8a9 100644 --- a/src/addon/patch/common/webui.js.patch +++ b/src/addon/patch/common/webui.js.patch @@ -1,6 +1,6 @@ --- ./patchsource/www/webui/webui.js.orig +++ ./patchsource/www/webui/webui.js -@@ -88,6 +88,540 @@ +@@ -88,6 +88,546 @@ DEV_PATHS["HM-RC-4-3"] = new Object(); DEV_PATHS["HM-RC-4-3"]["50"] = "/config/img/devices/50/84_hm-rc-4-x_thumb.png"; DEV_PATHS["HM-RC-4-3"]["250"] = "/config/img/devices/250/84_hm-rc-4-3.png"; @@ -286,6 +286,12 @@ +DEV_PATHS['HB-LC-Sw4-TP'] = new Object(); +DEV_PATHS['HB-LC-Sw4-TP']['50'] = '/config/img/devices/50/hb-lc-sw4-tp_thumb.png'; +DEV_PATHS['HB-LC-Sw4-TP']['250'] = '/config/img/devices/250/hb-lc-sw4-tp.png'; ++DEV_HIGHLIGHT['HB-LC-Sw3-LIDL'] = new Object(); ++DEV_LIST.push('HB-LC-Sw3-LIDL'); ++DEV_DESCRIPTION['HB-LC-Sw3-LIDL']='radio-controlled switch actuator 3-channel'; ++DEV_PATHS['HB-LC-Sw3-LIDL'] = new Object(); ++DEV_PATHS['HB-LC-Sw3-LIDL']['50'] = '/config/img/devices/50/hb-lc-sw3-lidl_thumb.png'; ++DEV_PATHS['HB-LC-Sw3-LIDL']['250'] = '/config/img/devices/250/hb-lc-sw3-lidl.png'; +DEV_HIGHLIGHT['HB-Sec-RHS-3'] = new Object(); +DEV_LIST.push('HB-Sec-RHS-3'); +DEV_DESCRIPTION['HB-Sec-RHS-3']='HB Rotary Handle Sensor with battery state'; @@ -541,7 +547,7 @@ DEV_HIGHLIGHT["HM-RC-4-3"] = new Object(); DEV_HIGHLIGHT["HM-RC-4-3"]["arrow_part1"] = [6, 0.312, 0.288, 0.416, 0.288, 0.012]; DEV_HIGHLIGHT["HM-RC-4-3"]["arrow_part2"] = [6, 0.312, 0.288, 0.352, 0.248, 0.012]; -@@ -3843,6 +4377,224 @@ +@@ -3843,6 +4383,224 @@ elvST['CAPACITIVE_FILLING_LEVEL_SENSOR|CASE_HIGH'] = '${stringTableCapacitiveFillingSensorCaseHeight}'; elvST['CAPACITIVE_FILLING_LEVEL_SENSOR|CASE_LENGTH'] = '${stringTableCapacitiveFillingSensorCaseLength}'; elvST['CAPACITIVE_FILLING_LEVEL_SENSOR|CASE_WIDTH'] = '${stringTableCapacitiveFillingSensorCaseWidth}'; @@ -766,7 +772,7 @@ elvST['CAPACITIVE_FILLING_LEVEL_SENSOR|CONTROLTEXT_CALC_FILLINGLEVEL'] = '${stringTableCapacitiveFillingSensorTextCalcFillingLevel}'; elvST['CAPACITIVE_FILLING_LEVEL_SENSOR|CONTROLTEXT_FILLINGLEVEL'] = '${stringTableCapacitiveFillingSensorTextFillingLevel}'; elvST['CAPACITIVE_FILLING_LEVEL_SENSOR|FILLING_LEVEL'] = '${stringTableCapacitiveFillingSensorFillingLevel}'; -@@ -13664,7 +14416,7 @@ +@@ -13664,7 +14422,7 @@ // Check each line if the free text mode is active. // If yes switch on the appropriate text input field // and set the variable freeTextActive to true @@ -775,7 +781,7 @@ var jLine = jQuery("#textSelect_" + line), jCellFreeText = jQuery("#cellFreeText_"+line); -@@ -13680,7 +14432,7 @@ +@@ -13680,7 +14438,7 @@ // If at least one line has an active free text mode // we have to activate the placeholder for the other lines and the header (color and icon are moving up) if (freeTextActive) { @@ -784,7 +790,7 @@ var jLine = jQuery("#textSelect_" + line), jPlaceHolder = jQuery("#placeHolder_"+line); -@@ -13692,7 +14444,7 @@ +@@ -13692,7 +14450,7 @@ } } else { jHeadFreeText.hide().css("display", "none"); @@ -793,7 +799,7 @@ jQuery("#placeHolder_"+line).hide().css("display", "none"); } } -@@ -23560,6 +24312,24 @@ +@@ -23560,6 +24318,24 @@ this.setWidth(400); this.setFile( "/pages/msg/setOUCFMMode.htm" ); break; @@ -818,7 +824,7 @@ case ID_SET_STATUS_DISPLAY: this.setTitle( translateKey("dialogEnterValue") /*"Wert eingeben" */); this.addToPostBody( 'string type = "'+this.type+'";' ); -@@ -24363,6 +25133,9 @@ +@@ -24363,6 +25139,9 @@ ID_AUTO_LOGIN_CONFIG = 1018; ID_PROGRAM_CHOOSER = 1019; ID_EDIT_SYSVAR = 1021; @@ -828,7 +834,7 @@ ID_CHOOSE_LED = 1022; ID_SET_OUCFM_MODE = 1023; ID_SET_STATUS_DISPLAY = 1024; -@@ -36863,7 +37636,15 @@ +@@ -36863,7 +37642,15 @@ SetParameters ($F('global_iface'), channel_address, 'CHANNEL_'+i); actions++; } diff --git a/src/addon/www/config/img/devices/250/hb-lc-sw3-lidl.png b/src/addon/www/config/img/devices/250/hb-lc-sw3-lidl.png new file mode 100644 index 00000000..a382a48d Binary files /dev/null and b/src/addon/www/config/img/devices/250/hb-lc-sw3-lidl.png differ diff --git a/src/addon/www/config/img/devices/50/hb-lc-sw3-lidl_thumb.png b/src/addon/www/config/img/devices/50/hb-lc-sw3-lidl_thumb.png new file mode 100644 index 00000000..b5b59913 Binary files /dev/null and b/src/addon/www/config/img/devices/50/hb-lc-sw3-lidl_thumb.png differ