From 0f519505b495d2a496bec844e0b08d836e34fca1 Mon Sep 17 00:00:00 2001 From: jp112sdl Date: Tue, 12 Apr 2022 09:01:33 +0200 Subject: [PATCH] add device HB-LC-Sw3-LIDL --- patchsource/www/webui/webui.js | 6 + src/addon/devdb.csv | 1 + src/addon/firmware/rftypes/hb-lc-sw3-lidl.xml | 557 ++++++++++++++++++ src/addon/patch/common/webui.js.patch | 22 +- .../config/img/devices/250/hb-lc-sw3-lidl.png | Bin 0 -> 3853 bytes .../img/devices/50/hb-lc-sw3-lidl_thumb.png | Bin 0 -> 898 bytes 6 files changed, 578 insertions(+), 8 deletions(-) create mode 100644 src/addon/firmware/rftypes/hb-lc-sw3-lidl.xml create mode 100644 src/addon/www/config/img/devices/250/hb-lc-sw3-lidl.png create mode 100644 src/addon/www/config/img/devices/50/hb-lc-sw3-lidl_thumb.png 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 0000000000000000000000000000000000000000..a382a48d5d6b0ed3176a72d2b745957f6640e1e6 GIT binary patch literal 3853 zcmdT`S2r90w;jEY9wi6~5uFi)QNrkDbkUip(aSJ;i(aBduOaG0?<9sKh7dJI4Wf4@ zqSw#&a$oKrxc98J&t7}4v(A1w4<}9sszO1^ObP%1DAZIH_3nB3zaYlD?l1eJ}7Gdah=_@aNk~XYNlD4b z$jHgbDJUp_Kp-V0B^4DFH8nL24Gk?VEgc;lJw5${2M-t+7#JBDnV6WEnVBCxe8|GW z!ph3Z#>V#O(Ia+tb`B1X$B!RBdGdsllaq^!>*>>{+}zyHo;~B?;o;@w<>TYy=jRs? z5D*j;6cQ2=78Vu}5dncfqN1YDpFbB96B8E~mynQn@#2M~q@B>f zm$$b!91i#K@$vQbMIaDua&mHWbMy1_3knJf3k!>iii(SiOG`^Xe*9QgR#skKURhaLRaI48 zU5!K{KYjXCQ&Ur0TU%FGS6^S>(9qD>*x1z6)ZEIWtH(bB(csj8xAJB^AViBq}$`n;% z;%xK}Y3D0N*bKivF?Drz`i@5HmFglD#FU>~k~ngr=|8*x z8kLVtYe3$Zcchq{tpDSiR9lYPxB#a zX4@o>)!3#n@eU1RABKf*-q!viC5re4-He}#?nyBM6-*P5gNyh~%?5|-4_r>;m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H zEirkOygWZXBTdD-+?Up>6r`^?dQx8aOyc80oOGzjaH9X$#-0>ry6*~M9G*LsB>2&j z#q1Ao$>a1@wAh6|5)w2}S*zwtIpKzLh&}s%6LBr{l~71FT_gX$UpGKa394ADU>)%v DKb1-Z literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..b5b599135d754a03fda13548b353d77040c3e6da GIT binary patch literal 898 zcmV-|1AY97P)Px#1ZP1_K>z@;j|==^1poj5AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy32;bRa{vGi!vFvd!vV){sAK>D02*{fSaefwW^{L9a%BKeVQFr3 zE>1;MAa*k@H7+qRNAp5A0008TNkl6@t7gJP(m zp`say7Yr|yn76zIsg;>nc+LA|YSzpd&WH|EXPSYJ;hcx~zJ2!Dd+oK>`EvK|?QKVZ z3$O&Zb_9s&n}8e^0|T5b2C}%fSjggRakiKkU`giREzTAT11z}$_EszwI}yyvX0tzj zZ$+a~7J~n6E;wR?_4@jn&*urP<#HLX6yRd9z?7(1tJT)y%jGheOrD;eo}Hcb`~8m$ z#0CouWHMQ)RQmFL6^lii%|;NU(`mEWe0O)(>-7N6YPAlBL&P5+AC*dFqtRHcR)fL7 z=kp~JiFc80!otbx>ud72*=*k5-#WU=T?d9mwd_MCx=p4Fm$){38eLx8v=0TP~N+X0z?Bby$!^rBY=w8H>e2`QC(u z4ZU6;3WfIf_dylxf)b#Oiiigc2PxM%AZ)?ZI-QQjbGckR9>2J_05XwC1YeS^$z%eD z(KJ{S9VHTpMx!Bi`~_RvldVTmsT8c;YPH7WG2$;TFJiG6o`AzV9#5y!d3bmr`38dl zBjEwkz^S;KBn}<+_V#FdS{!CrZ^U*JaT3T-8bU)*hr@Aobw$d-77!hm6x!hvXfzrL zbYec367%2`Y>J!o`{9|{qU9h2thQYp;Lgv_fox+73gR0v8jaos^d};Iu;}O0eu{W` zc`2BGi6^+8m`%XHAU@ChU$4N~Vxg3?#o1zEfF+lEi?hYT081|S7H5lv0hV0ut^a_n YugO=xgw{t6q5uE@07*qoM6N<$f(3kvod5s; literal 0 HcmV?d00001