mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-25 04:02:14 +01:00
sync (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
964cfc1289
commit
f5d1a93eb2
@@ -1014,7 +1014,14 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardAlarm,bNext"
|
||||
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -1251,6 +1258,11 @@ Timer tmSerial
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
}
|
||||
//text arm1
|
||||
spstr strCommand.txt,arm1.txt,"~",3
|
||||
if(arm1.txt!="")
|
||||
|
||||
@@ -1259,7 +1259,14 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardEntities,bNext"
|
||||
tSend.txt="event,buttonPress2,cardEntities,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -2633,6 +2640,11 @@ Timer tmSerial
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
}
|
||||
// get Type
|
||||
spstr strCommand.txt,type1.txt,"~",3
|
||||
// get internal name
|
||||
|
||||
@@ -634,7 +634,14 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardThermo,bNext"
|
||||
tSend.txt="event,buttonPress2,cardThermo,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -1642,6 +1649,11 @@ Timer tmSerial
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
}
|
||||
//entity name
|
||||
spstr strCommand.txt,entn.txt,"~",3
|
||||
//currentTemp
|
||||
|
||||
@@ -857,7 +857,14 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardGrid,bNext"
|
||||
tSend.txt="event,buttonPress2,cardGrid,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -1123,6 +1130,11 @@ Timer tmSerial
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
}
|
||||
// get Type
|
||||
spstr strCommand.txt,type1.txt,"~",3
|
||||
// get internal name
|
||||
|
||||
@@ -828,7 +828,14 @@ Button bNext
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardMedia,bNext"
|
||||
tSend.txt="event,buttonPress2,cardMedia,"
|
||||
if(bPrev.txt=="î")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
{
|
||||
tSend.txt+="bNext"
|
||||
}
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
@@ -1057,6 +1064,11 @@ Timer tmSerial
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
}
|
||||
//entity name
|
||||
spstr strCommand.txt,entn.txt,"~",3
|
||||
//icon
|
||||
|
||||
@@ -12,31 +12,31 @@ b0
|
||||
202 Unique line(s) of event code
|
||||
bNext
|
||||
34 Component(s)
|
||||
394 Line(s) of event code
|
||||
213 Unique line(s) of event code
|
||||
406 Line(s) of event code
|
||||
216 Unique line(s) of event code
|
||||
arm1
|
||||
40 Component(s)
|
||||
439 Line(s) of event code
|
||||
261 Unique line(s) of event code
|
||||
bSendStartup
|
||||
19 Component(s)
|
||||
172 Line(s) of event code
|
||||
125 Unique line(s) of event code
|
||||
bEntity1
|
||||
42 Component(s)
|
||||
478 Line(s) of event code
|
||||
283 Unique line(s) of event code
|
||||
arm1
|
||||
40 Component(s)
|
||||
427 Line(s) of event code
|
||||
258 Unique line(s) of event code
|
||||
490 Line(s) of event code
|
||||
286 Unique line(s) of event code
|
||||
bDown2
|
||||
53 Component(s)
|
||||
596 Line(s) of event code
|
||||
313 Unique line(s) of event code
|
||||
608 Line(s) of event code
|
||||
316 Unique line(s) of event code
|
||||
bDown1
|
||||
77 Component(s)
|
||||
1379 Line(s) of event code
|
||||
614 Unique line(s) of event code
|
||||
1391 Line(s) of event code
|
||||
617 Unique line(s) of event code
|
||||
|
||||
Total
|
||||
17 Page(s)
|
||||
337 Component(s)
|
||||
4194 Line(s) of event code
|
||||
1292 Unique line(s) of event code
|
||||
4254 Line(s) of event code
|
||||
1291 Unique line(s) of event code
|
||||
|
||||
Reference in New Issue
Block a user