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

This commit is contained in:
joBr99
2022-03-31 07:32:24 +00:00
committed by GitHub Actions
parent 0fd2c961e7
commit e22f237a79
33 changed files with 327 additions and 750 deletions

View File

@@ -296,7 +296,7 @@ Text tMsg1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 42
x coordinate : 57
y coordinate : 223
Width : 375
Height : 30
@@ -326,9 +326,9 @@ Text tMsg2
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 25
x coordinate : 40
y coordinate : 256
Width : 423
Width : 408
Height : 25
Effect : load
Effect Priority : 0
@@ -356,9 +356,9 @@ Text tMsg3
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 25
x coordinate : 40
y coordinate : 278
Width : 423
Width : 408
Height : 25
Effect : load
Effect Priority : 0
@@ -402,7 +402,7 @@ Text tVersion
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text : 23
Text : 24
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
@@ -462,7 +462,7 @@ Button bSendStartup
recmod=1
bauds=115200
// startup event
tSend.txt="event,startup,"+tVersion.txt+",us-l"
tSend.txt="event,startup,"+tVersion.txt+",eu"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -556,12 +556,12 @@ Timer tmSerial
if(tInstruction.txt=="time")
{
// get set time to global variable
spstr strCommand.txt,screensaver.vaTime.txt,",",1
spstr strCommand.txt,pageIcons.vaTime.txt,",",1
}
if(tInstruction.txt=="date")
{
// get set date to global variable
spstr strCommand.txt,screensaver.vaDate.txt,"?",1
spstr strCommand.txt,pageIcons.vaDate.txt,"?",1
}
if(tInstruction.txt=="dimmode")
{