mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-17 10:27:00 +01:00
fix navigation after PR (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
4afa570562
commit
535c3a761f
@@ -12,85 +12,6 @@
|
||||
│ - // fix touch offset
|
||||
│ - lcd_dev fffb 0002 0000 0020
|
||||
│ - page pageStartup
|
||||
├── cardAlarm.txt
|
||||
│ @@ -479,15 +479,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -511,15 +511,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -650,39 +650,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //text arm1
|
||||
│ spstr strCommand.txt,arm1.txt,"~",3
|
||||
│ if(arm1.txt!="")
|
||||
│ {
|
||||
│ vis arm1,1
|
||||
│ }
|
||||
├── cardChart.txt
|
||||
│ @@ -175,16 +175,16 @@
|
||||
│ Send Component ID : disabled
|
||||
@@ -101,7 +22,7 @@
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ - tSend.txt="event,buttonPress2,cardChart,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ - if(bPrev.txt=="î")
|
||||
│ + tSend.txt="event,buttonPress2,cardPower,"
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
@@ -111,7 +32,7 @@
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -207,16 +207,16 @@
|
||||
│ @@ -207,15 +207,15 @@
|
||||
│ Send Component ID : disabled
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
@@ -120,534 +41,14 @@
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ - tSend.txt="event,buttonPress2,cardChart,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -409,39 +409,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // extract color
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
│ covx tTmp.txt,vaColorL.val,0,0
|
||||
│ // prepare dark color
|
||||
│ sys0=vaColorL.val>>11 // red
|
||||
│ vaColorD.val=sys0*8/10<<11 // store and shift
|
||||
├── cardEntities.txt
|
||||
│ @@ -530,15 +530,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardEntities,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -562,15 +562,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardEntities,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -1232,39 +1232,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // get Type
|
||||
│ spstr strCommand.txt,type1.txt,"~",3
|
||||
│ // get internal name
|
||||
│ spstr strCommand.txt,entn1.txt,"~",4
|
||||
│ if(type1.txt=="delete"||type1.txt=="")
|
||||
│ {
|
||||
├── cardGrid.txt
|
||||
│ @@ -468,15 +468,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardGrid,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -500,15 +500,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardGrid,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -659,39 +659,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // get Type
|
||||
│ spstr strCommand.txt,type1.txt,"~",3
|
||||
│ // get internal name
|
||||
│ spstr strCommand.txt,entn1.txt,"~",4
|
||||
│ if(type1.txt=="delete"||type1.txt=="")
|
||||
│ {
|
||||
├── cardMedia.txt
|
||||
│ @@ -444,15 +444,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardMedia,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -476,15 +476,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardMedia,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -607,39 +607,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //entity name
|
||||
│ spstr strCommand.txt,entn.txt,"~",3
|
||||
│ //icon
|
||||
│ spstr strCommand.txt,tIcon.txt,"~",4
|
||||
│ //icon farbe
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",5
|
||||
├── cardPower.txt
|
||||
│ @@ -343,15 +343,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardPower,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -375,15 +375,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -565,39 +565,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // icon color home
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
│ covx tTmp.txt,t1.pco,0,0
|
||||
│ // icon home
|
||||
│ spstr strCommand.txt,t1.txt,"~",4
|
||||
│ // text home
|
||||
├── cardQR.txt
|
||||
│ @@ -184,15 +184,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardQR,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -216,15 +216,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -456,39 +456,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //text qrcode
|
||||
│ spstr strCommand.txt,vaQR.txt,"~",3
|
||||
│ // get Type
|
||||
│ spstr strCommand.txt,type1.txt,"~",4
|
||||
│ // get internal name
|
||||
│ spstr strCommand.txt,entn1.txt,"~",5
|
||||
├── cardThermo.txt
|
||||
│ @@ -291,15 +291,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardThermo,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -323,15 +323,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardThermo,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -904,39 +904,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //entity name
|
||||
│ spstr strCommand.txt,entn.txt,"~",3
|
||||
│ //currentTemp
|
||||
│ spstr strCommand.txt,tCurTemp.txt,"~",4
|
||||
│ //dstTemp
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",5
|
||||
├── pageStartup.txt
|
||||
│ @@ -173,15 +173,15 @@
|
||||
│ Max. Text Size : 10
|
||||
@@ -666,6 +67,126 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
├── popupFan.txt
|
||||
│ @@ -619,14 +619,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupInSel.txt
|
||||
│ @@ -893,14 +893,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupLight.txt
|
||||
│ @@ -682,14 +682,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupNotify.txt
|
||||
│ @@ -437,14 +437,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupShutter.txt
|
||||
│ @@ -671,14 +671,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupThermo.txt
|
||||
│ @@ -942,14 +942,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── screensaver.txt
|
||||
│ @@ -351,15 +351,15 @@
|
||||
│ Text tTime
|
||||
|
||||
@@ -14,85 +14,6 @@
|
||||
│ + // fix touch offset (Removed for US version)
|
||||
│ + //lcd_dev fffb 0002 0000 0020
|
||||
│ page pageStartup
|
||||
├── cardAlarm.txt
|
||||
│ @@ -479,15 +479,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -511,15 +511,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -650,39 +650,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //text arm1
|
||||
│ spstr strCommand.txt,arm1.txt,"~",3
|
||||
│ if(arm1.txt!="")
|
||||
│ {
|
||||
│ vis arm1,1
|
||||
│ }
|
||||
├── cardChart.txt
|
||||
│ @@ -175,16 +175,16 @@
|
||||
│ Send Component ID : disabled
|
||||
@@ -103,7 +24,7 @@
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ - tSend.txt="event,buttonPress2,cardChart,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ - if(bPrev.txt=="î")
|
||||
│ + tSend.txt="event,buttonPress2,cardPower,"
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
@@ -113,7 +34,7 @@
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -207,16 +207,16 @@
|
||||
│ @@ -207,15 +207,15 @@
|
||||
│ Send Component ID : disabled
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
@@ -122,16 +43,14 @@
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ - tSend.txt="event,buttonPress2,cardChart,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -309,14 +309,25 @@
|
||||
│ }
|
||||
│ }else
|
||||
@@ -157,51 +76,6 @@
|
||||
│ Dragging : 0
|
||||
│ Disable release event after dragging: 0
|
||||
│ Send Component ID : disabled
|
||||
│
|
||||
│ @@ -409,39 +420,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // extract color
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
│ covx tTmp.txt,vaColorL.val,0,0
|
||||
│ // prepare dark color
|
||||
│ sys0=vaColorL.val>>11 // red
|
||||
│ vaColorD.val=sys0*8/10<<11 // store and shift
|
||||
├── cardEntities.txt
|
||||
│ @@ -61,14 +61,24 @@
|
||||
│ vis tIcon4,0
|
||||
@@ -387,7 +261,7 @@
|
||||
│ Disable release event after dragging: 0
|
||||
│ Send Component ID : disabled
|
||||
│ State : unpressed
|
||||
│ @@ -517,28 +596,53 @@
|
||||
│ @@ -517,14 +596,39 @@
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
│ printh 55 bb
|
||||
@@ -427,38 +301,6 @@
|
||||
│ Disable release event after dragging: 0
|
||||
│ Send Component ID : disabled
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardEntities,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -562,15 +666,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardEntities,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -681,14 +785,39 @@
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
@@ -667,50 +509,6 @@
|
||||
│ Disable release event after dragging: 0
|
||||
│ Send Component ID : disabled
|
||||
│
|
||||
│ @@ -1232,39 +1469,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // get Type
|
||||
│ spstr strCommand.txt,type1.txt,"~",3
|
||||
│ // get internal name
|
||||
│ spstr strCommand.txt,entn1.txt,"~",4
|
||||
│ if(type1.txt=="delete"||type1.txt=="")
|
||||
│ {
|
||||
│ @@ -1854,14 +2091,163 @@
|
||||
│ covx tTmp.txt,sys0,0,0
|
||||
│ hSlider4.minval=sys0
|
||||
@@ -875,401 +673,6 @@
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
├── cardGrid.txt
|
||||
│ @@ -468,15 +468,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardGrid,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -500,15 +500,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardGrid,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -659,39 +659,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // get Type
|
||||
│ spstr strCommand.txt,type1.txt,"~",3
|
||||
│ // get internal name
|
||||
│ spstr strCommand.txt,entn1.txt,"~",4
|
||||
│ if(type1.txt=="delete"||type1.txt=="")
|
||||
│ {
|
||||
├── cardMedia.txt
|
||||
│ @@ -444,15 +444,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardMedia,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -476,15 +476,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardMedia,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -607,39 +607,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //entity name
|
||||
│ spstr strCommand.txt,entn.txt,"~",3
|
||||
│ //icon
|
||||
│ spstr strCommand.txt,tIcon.txt,"~",4
|
||||
│ //icon farbe
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",5
|
||||
├── cardPower.txt
|
||||
│ @@ -343,15 +343,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardPower,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -375,15 +375,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -565,39 +565,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ // icon color home
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
│ covx tTmp.txt,t1.pco,0,0
|
||||
│ // icon home
|
||||
│ spstr strCommand.txt,t1.txt,"~",4
|
||||
│ // text home
|
||||
├── cardQR.txt
|
||||
│ @@ -184,15 +184,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardQR,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -216,15 +216,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -456,39 +456,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //text qrcode
|
||||
│ spstr strCommand.txt,vaQR.txt,"~",3
|
||||
│ // get Type
|
||||
│ spstr strCommand.txt,type1.txt,"~",4
|
||||
│ // get internal name
|
||||
│ spstr strCommand.txt,entn1.txt,"~",5
|
||||
├── cardThermo.txt
|
||||
│ @@ -291,15 +291,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î³
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardThermo,"
|
||||
│ - if(bNext.txt=="?")
|
||||
│ + if(bNext.txt=="î")
|
||||
│ {
|
||||
│ tSend.txt+="bHome"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bNext"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -323,15 +323,15 @@
|
||||
│ State : unpressed
|
||||
│ Text : î°
|
||||
│ Max. Text Size : 10
|
||||
│
|
||||
│ Events
|
||||
│ Touch Press Event
|
||||
│ tSend.txt="event,buttonPress2,cardThermo,"
|
||||
│ - if(bPrev.txt=="?")
|
||||
│ + if(bPrev.txt=="î¶")
|
||||
│ {
|
||||
│ tSend.txt+="bUp"
|
||||
│ }else
|
||||
│ {
|
||||
│ tSend.txt+="bPrev"
|
||||
│ }
|
||||
│ //send calc crc
|
||||
│ @@ -904,39 +904,39 @@
|
||||
│ tsw mSwipeUp,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,1
|
||||
│ tsw mSwipeUp,0
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î°"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bPrev,1
|
||||
│ tsw mSwipePrev,0
|
||||
│ tsw mSwipeUp,1
|
||||
│ - bPrev.txt="?"
|
||||
│ + bPrev.txt="î¶"
|
||||
│ }
|
||||
│ spstr tId.txt,tTmp.txt,"|",1
|
||||
│ if(tTmp.txt=="0")
|
||||
│ {
|
||||
│ vis bNext,0
|
||||
│ tsw mSwipeNext,0
|
||||
│ }
|
||||
│ if(tTmp.txt=="1")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ tsw mSwipeNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î³"
|
||||
│ }
|
||||
│ if(tTmp.txt=="2")
|
||||
│ {
|
||||
│ vis bNext,1
|
||||
│ - bNext.txt="?"
|
||||
│ + bNext.txt="î"
|
||||
│ }
|
||||
│ //entity name
|
||||
│ spstr strCommand.txt,entn.txt,"~",3
|
||||
│ //currentTemp
|
||||
│ spstr strCommand.txt,tCurTemp.txt,"~",4
|
||||
│ //dstTemp
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",5
|
||||
├── pageStartup.txt
|
||||
│ @@ -118,15 +118,15 @@
|
||||
│ Text tMsg3
|
||||
@@ -1305,3 +708,123 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
├── popupFan.txt
|
||||
│ @@ -619,14 +619,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupInSel.txt
|
||||
│ @@ -893,14 +893,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupLight.txt
|
||||
│ @@ -682,14 +682,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupNotify.txt
|
||||
│ @@ -437,14 +437,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupShutter.txt
|
||||
│ @@ -671,14 +671,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupThermo.txt
|
||||
│ @@ -942,14 +942,18 @@
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ if(tId.txt=="cardPower")
|
||||
│ {
|
||||
│ page cardPower
|
||||
│ }
|
||||
│ + if(tId.txt=="cardChart")
|
||||
│ + {
|
||||
│ + page cardChart
|
||||
│ + }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
|
||||
@@ -1,83 +1,4 @@
|
||||
+++ /dev/fd/62 2022-11-23 21:49:00.416099064 +0000
|
||||
+rdAlarm.txt
|
||||
+15 +479,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +511,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+39 +650,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ }
|
||||
+ //text arm1
|
||||
+ spstr strCommand.txt,arm1.txt,"~",3
|
||||
+ if(arm1.txt!="")
|
||||
+ {
|
||||
+ vis arm1,1
|
||||
+ }
|
||||
+++ /dev/fd/62 2022-11-26 21:54:17.076103274 +0000
|
||||
+rdChart.txt
|
||||
+16 +175,16 @@
|
||||
+ Send Component ID : disabled
|
||||
@@ -88,7 +9,7 @@
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardChart,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î")
|
||||
+ tSend.txt="event,buttonPress2,cardPower,"
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
@@ -98,7 +19,7 @@
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+16 +207,16 @@
|
||||
+15 +207,15 @@
|
||||
+ Send Component ID : disabled
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
@@ -107,7 +28,6 @@
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardChart,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
@@ -116,7 +36,6 @@
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+14 +309,25 @@
|
||||
+ }
|
||||
+ }else
|
||||
@@ -142,520 +61,123 @@
|
||||
+ Dragging : 0
|
||||
+ Disable release event after dragging: 0
|
||||
+ Send Component ID : disabled
|
||||
+
|
||||
+39 +420,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+pupFan.txt
|
||||
+14 +619,18 @@
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+pupInSel.txt
|
||||
+14 +893,18 @@
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ // extract color
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
+ covx tTmp.txt,vaColorL.val,0,0
|
||||
+ // prepare dark color
|
||||
+ sys0=vaColorL.val>>11 // red
|
||||
+ vaColorD.val=sys0*8/10<<11 // store and shift
|
||||
+28 +596,53 @@
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardEntities,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +666,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardEntities,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+,39 +1469,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+pupLight.txt
|
||||
+14 +682,18 @@
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+pupNotify.txt
|
||||
+14 +437,18 @@
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ // get Type
|
||||
+ spstr strCommand.txt,type1.txt,"~",3
|
||||
+ // get internal name
|
||||
+ spstr strCommand.txt,entn1.txt,"~",4
|
||||
+ if(type1.txt=="delete"||type1.txt=="")
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+rdGrid.txt
|
||||
+15 +468,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardGrid,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +500,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardGrid,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+39 +659,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+pupShutter.txt
|
||||
+14 +671,18 @@
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+pupThermo.txt
|
||||
+14 +942,18 @@
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ page cardQR
|
||||
+ }
|
||||
+ // get Type
|
||||
+ spstr strCommand.txt,type1.txt,"~",3
|
||||
+ // get internal name
|
||||
+ spstr strCommand.txt,entn1.txt,"~",4
|
||||
+ if(type1.txt=="delete"||type1.txt=="")
|
||||
+ if(tId.txt=="cardPower")
|
||||
+ {
|
||||
+rdMedia.txt
|
||||
+15 +444,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardMedia,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +476,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardMedia,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+39 +607,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ page cardPower
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ if(tId.txt=="cardChart")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ page cardChart
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ }
|
||||
+ //entity name
|
||||
+ spstr strCommand.txt,entn.txt,"~",3
|
||||
+ //icon
|
||||
+ spstr strCommand.txt,tIcon.txt,"~",4
|
||||
+ //icon farbe
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",5
|
||||
+rdPower.txt
|
||||
+15 +343,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardPower,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +375,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+39 +565,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ }
|
||||
+ // icon color home
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",3
|
||||
+ covx tTmp.txt,t1.pco,0,0
|
||||
+ // icon home
|
||||
+ spstr strCommand.txt,t1.txt,"~",4
|
||||
+ // text home
|
||||
+rdQR.txt
|
||||
+15 +184,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardQR,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +216,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+39 +456,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ }
|
||||
+ //text qrcode
|
||||
+ spstr strCommand.txt,vaQR.txt,"~",3
|
||||
+ // get Type
|
||||
+ spstr strCommand.txt,type1.txt,"~",4
|
||||
+ // get internal name
|
||||
+ spstr strCommand.txt,entn1.txt,"~",5
|
||||
+rdThermo.txt
|
||||
+15 +291,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î³
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardThermo,"
|
||||
+ if(bNext.txt=="?")
|
||||
+ if(bNext.txt=="î")
|
||||
+ {
|
||||
+ tSend.txt+="bHome"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bNext"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+15 +323,15 @@
|
||||
+ State : unpressed
|
||||
+ Text : î°
|
||||
+ Max. Text Size : 10
|
||||
+
|
||||
+nts
|
||||
+ Touch Press Event
|
||||
+ tSend.txt="event,buttonPress2,cardThermo,"
|
||||
+ if(bPrev.txt=="?")
|
||||
+ if(bPrev.txt=="î¶")
|
||||
+ {
|
||||
+ tSend.txt+="bUp"
|
||||
+ }else
|
||||
+ {
|
||||
+ tSend.txt+="bPrev"
|
||||
+ }
|
||||
+ //send calc crc
|
||||
+39 +904,39 @@
|
||||
+ tsw mSwipeUp,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,1
|
||||
+ tsw mSwipeUp,0
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î°"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bPrev,1
|
||||
+ tsw mSwipePrev,0
|
||||
+ tsw mSwipeUp,1
|
||||
+ bPrev.txt="?"
|
||||
+ bPrev.txt="î¶"
|
||||
+ }
|
||||
+ spstr tId.txt,tTmp.txt,"|",1
|
||||
+ if(tTmp.txt=="0")
|
||||
+ {
|
||||
+ vis bNext,0
|
||||
+ tsw mSwipeNext,0
|
||||
+ }
|
||||
+ if(tTmp.txt=="1")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ tsw mSwipeNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î³"
|
||||
+ }
|
||||
+ if(tTmp.txt=="2")
|
||||
+ {
|
||||
+ vis bNext,1
|
||||
+ bNext.txt="?"
|
||||
+ bNext.txt="î"
|
||||
+ }
|
||||
+ //entity name
|
||||
+ spstr strCommand.txt,entn.txt,"~",3
|
||||
+ //currentTemp
|
||||
+ spstr strCommand.txt,tCurTemp.txt,"~",4
|
||||
+ //dstTemp
|
||||
+ spstr strCommand.txt,tTmp.txt,"~",5
|
||||
+ }
|
||||
+ // end of user code
|
||||
+ udelete payloadLength-1
|
||||
+ bufferPos=0
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user