mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-22 05:58:39 +01:00
fix navigation after PR (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
4afa570562
commit
535c3a761f
@@ -1015,7 +1015,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -1069,7 +1069,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -1237,14 +1237,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -1256,12 +1256,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -281,7 +281,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardChart,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -335,7 +335,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardChart,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -573,14 +573,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -592,12 +592,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -1056,7 +1056,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardEntities,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -1110,7 +1110,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardEntities,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -2189,14 +2189,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -2208,12 +2208,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -858,7 +858,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardGrid,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -912,7 +912,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardGrid,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -1109,14 +1109,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -1128,12 +1128,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -829,7 +829,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardMedia,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -883,7 +883,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardMedia,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -1043,14 +1043,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -1062,12 +1062,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -802,7 +802,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardPower,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -856,7 +856,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -1075,14 +1075,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -1094,12 +1094,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -339,7 +339,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardQR,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -393,7 +393,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -759,14 +759,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -778,12 +778,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -635,7 +635,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardThermo,"
|
||||
if(bNext.txt=="?")
|
||||
if(bNext.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -689,7 +689,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardThermo,"
|
||||
if(bPrev.txt=="?")
|
||||
if(bPrev.txt=="î¶")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -1628,14 +1628,14 @@ Timer tmSerial
|
||||
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")
|
||||
@@ -1647,12 +1647,12 @@ Timer tmSerial
|
||||
{
|
||||
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
|
||||
|
||||
@@ -6,77 +6,77 @@ pageIcons
|
||||
7 Component(s)
|
||||
0 Line(s) of event code
|
||||
0 Unique line(s) of event code
|
||||
popupShutter
|
||||
25 Component(s)
|
||||
394 Line(s) of event code
|
||||
216 Unique line(s) of event code
|
||||
popupLight
|
||||
28 Component(s)
|
||||
408 Line(s) of event code
|
||||
225 Unique line(s) of event code
|
||||
cardGrid
|
||||
42 Component(s)
|
||||
494 Line(s) of event code
|
||||
286 Unique line(s) of event code
|
||||
404 Line(s) of event code
|
||||
223 Unique line(s) of event code
|
||||
pageTest
|
||||
22 Component(s)
|
||||
67 Line(s) of event code
|
||||
64 Unique line(s) of event code
|
||||
21 Component(s)
|
||||
66 Line(s) of event code
|
||||
63 Unique line(s) of event code
|
||||
popupNotify
|
||||
19 Component(s)
|
||||
253 Line(s) of event code
|
||||
164 Unique line(s) of event code
|
||||
pageStartup
|
||||
19 Component(s)
|
||||
181 Line(s) of event code
|
||||
129 Unique line(s) of event code
|
||||
popupNotify
|
||||
19 Component(s)
|
||||
257 Line(s) of event code
|
||||
166 Unique line(s) of event code
|
||||
cardChart
|
||||
31 Component(s)
|
||||
452 Line(s) of event code
|
||||
293 Unique line(s) of event code
|
||||
popupInSel
|
||||
34 Component(s)
|
||||
533 Line(s) of event code
|
||||
259 Unique line(s) of event code
|
||||
popupFan
|
||||
27 Component(s)
|
||||
351 Line(s) of event code
|
||||
204 Unique line(s) of event code
|
||||
popupShutter
|
||||
25 Component(s)
|
||||
398 Line(s) of event code
|
||||
218 Unique line(s) of event code
|
||||
296 Unique line(s) of event code
|
||||
cardGrid
|
||||
42 Component(s)
|
||||
494 Line(s) of event code
|
||||
288 Unique line(s) of event code
|
||||
cardEntities
|
||||
65 Component(s)
|
||||
1169 Line(s) of event code
|
||||
532 Unique line(s) of event code
|
||||
cardPower
|
||||
43 Component(s)
|
||||
439 Line(s) of event code
|
||||
297 Unique line(s) of event code
|
||||
299 Unique line(s) of event code
|
||||
popupFan
|
||||
27 Component(s)
|
||||
347 Line(s) of event code
|
||||
202 Unique line(s) of event code
|
||||
cardQR
|
||||
32 Component(s)
|
||||
425 Line(s) of event code
|
||||
244 Unique line(s) of event code
|
||||
cardAlarm
|
||||
40 Component(s)
|
||||
443 Line(s) of event code
|
||||
263 Unique line(s) of event code
|
||||
cardMedia
|
||||
34 Component(s)
|
||||
425 Line(s) of event code
|
||||
224 Unique line(s) of event code
|
||||
popupThermo
|
||||
44 Component(s)
|
||||
515 Line(s) of event code
|
||||
272 Unique line(s) of event code
|
||||
popupInSel
|
||||
34 Component(s)
|
||||
529 Line(s) of event code
|
||||
257 Unique line(s) of event code
|
||||
cardThermo
|
||||
53 Component(s)
|
||||
612 Line(s) of event code
|
||||
318 Unique line(s) of event code
|
||||
screensaver
|
||||
45 Component(s)
|
||||
400 Line(s) of event code
|
||||
296 Unique line(s) of event code
|
||||
cardQR
|
||||
32 Component(s)
|
||||
425 Line(s) of event code
|
||||
242 Unique line(s) of event code
|
||||
cardAlarm
|
||||
40 Component(s)
|
||||
443 Line(s) of event code
|
||||
261 Unique line(s) of event code
|
||||
cardMedia
|
||||
34 Component(s)
|
||||
425 Line(s) of event code
|
||||
222 Unique line(s) of event code
|
||||
popupThermo
|
||||
44 Component(s)
|
||||
519 Line(s) of event code
|
||||
274 Unique line(s) of event code
|
||||
cardThermo
|
||||
53 Component(s)
|
||||
612 Line(s) of event code
|
||||
316 Unique line(s) of event code
|
||||
cardEntities
|
||||
65 Component(s)
|
||||
1169 Line(s) of event code
|
||||
530 Unique line(s) of event code
|
||||
|
||||
Total
|
||||
18 Page(s)
|
||||
610 Component(s)
|
||||
7586 Line(s) of event code
|
||||
1952 Unique line(s) of event code
|
||||
609 Component(s)
|
||||
7561 Line(s) of event code
|
||||
1954 Unique line(s) of event code
|
||||
|
||||
@@ -280,8 +280,8 @@ Button b13
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 215
|
||||
y coordinate : 243
|
||||
x coordinate : 129
|
||||
y coordinate : 216
|
||||
Width : 100
|
||||
Height : 50
|
||||
Effect : load
|
||||
@@ -308,42 +308,6 @@ Button b13
|
||||
Touch Press Event
|
||||
page popupThermo
|
||||
|
||||
Button b14
|
||||
Attributes
|
||||
ID : 21
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 100
|
||||
y coordinate : 193
|
||||
Width : 100
|
||||
Height : 50
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : 3D auto
|
||||
Font ID : 1
|
||||
Back. Color : 50712
|
||||
Back. Picture ID (Pressed) : 65535
|
||||
Back. Color (Pressed) : 1024
|
||||
Font Color (Unpressed) : 0
|
||||
Font Color (Pressed) : 65535
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
State : unpressed
|
||||
Text : chart
|
||||
Max. Text Size : 10
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
page cardChart
|
||||
|
||||
Button b2
|
||||
Attributes
|
||||
ID : 13
|
||||
|
||||
@@ -914,10 +914,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -1277,10 +1277,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -1035,10 +1035,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -670,10 +670,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -984,10 +984,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
@@ -1372,10 +1372,6 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
Reference in New Issue
Block a user