Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2022-06-19 14:21:02 +00:00
committed by github-actions[bot]
parent 67bba7b519
commit 16b56fea02
6 changed files with 279 additions and 39 deletions

View File

@@ -20,8 +20,8 @@ popupNotify
128 Unique line(s) of event code
popupShutter
25 Component(s)
331 Line(s) of event code
163 Unique line(s) of event code
341 Line(s) of event code
175 Unique line(s) of event code
cardMedia
34 Component(s)
363 Line(s) of event code
@@ -58,5 +58,5 @@ cardEntities
Total
13 Page(s)
412 Component(s)
4645 Line(s) of event code
1236 Unique line(s) of event code
4655 Line(s) of event code
1245 Unique line(s) of event code

View File

@@ -354,7 +354,7 @@ Slider hTilt
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
tSend.txt="event,buttonPress2,"+entn.txt+",tiltSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -591,7 +591,7 @@ Button bTLeft
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
tSend.txt="event,buttonPress2,"+entn.txt+",tiltOpen"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -638,7 +638,7 @@ Button bTStop
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
tSend.txt="event,buttonPress2,"+entn.txt+",tiltStop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -685,7 +685,7 @@ Button bTRight
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
tSend.txt="event,buttonPress2,"+entn.txt+",tiltClose"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -849,6 +849,7 @@ Timer tmSerial
spstr strCommand.txt,bTLeft.txt,"~",13
tsw bTLeft,1
bTLeft.pco=65535
vis bTLeft,1
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",17
@@ -862,9 +863,10 @@ Timer tmSerial
spstr strCommand.txt,bTStop.txt,"~",14
tsw bTStop,1
bTStop.pco=65535
vis bTStop,1
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",10
spstr strCommand.txt,tTmp.txt,"~",18
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",15
@@ -875,6 +877,15 @@ Timer tmSerial
spstr strCommand.txt,bTRight.txt,"~",15
tsw bTRight,1
bTRight.pco=65535
vis bTRight,1
}
// set tilt slider
spstr strCommand.txt,tTmp.txt,"~",19
if(tTmp.txt!="disable")
{
vis hTilt,1
covx tTmp.txt,sys0,0,0
hTilt.val=sys0
}
}
if(tInstruction.txt=="dimmode")