diff --git a/HMI/README.md b/HMI/README.md index 31a642f8..4801898a 100644 --- a/HMI/README.md +++ b/HMI/README.md @@ -154,6 +154,17 @@ The following message can be used to update the content on the cardEntities Page options are ? seperated +### popupTimer + +editable is 0 or 1 + +action fields are in the answer on the button press + +in case action is empty the button will be hidden + +`entityUpdateDetail~{entity_id}~~{icon_color}~{entity_id}~{min_remaining}~{sec_remaining}~{editable}~{action1}~{action2}~{action3}~{label1}~{label2}~{label3}` + + ### cardThermo Page `entityUpd~*heading*~*navigation*~*internalNameEntiy*~*currentTemp*~*destTemp*~*status*~*minTemp*~*maxTemp*~*stepTemp*[[~*iconId*~*activeColor*~*state*~*hvac_action*]]~tCurTempLbl~tStateLbl~tALbl~iconTemperature~dstTempTwoTempMode~btDetail` diff --git a/HMI/code_gen/pages/cardEntitiesSerial.py b/HMI/code_gen/pages/cardEntitiesSerial.py index d79ca13a..f5019910 100644 --- a/HMI/code_gen/pages/cardEntitiesSerial.py +++ b/HMI/code_gen/pages/cardEntitiesSerial.py @@ -125,7 +125,7 @@ for i in range(1,5): // get Text (optional Value) spstr strCommand.txt,bText{i}.txt,"~",{idxstart+5} }} - if(type{i}.txt=="button"||type{i}.txt=="input_sel") + if(type{i}.txt=="button"||type{i}.txt=="input_sel"||type{i}.txt=="timer") {{ vis bUp{i},0 vis bStop{i},0 diff --git a/HMI/nspanel.HMI b/HMI/nspanel.HMI index 3e572e91..1e36354f 100644 Binary files a/HMI/nspanel.HMI and b/HMI/nspanel.HMI differ diff --git a/HMI/nspanel.tft b/HMI/nspanel.tft index 5f851fee..7c5e4e8f 100644 Binary files a/HMI/nspanel.tft and b/HMI/nspanel.tft differ