mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-25 17:04:25 +01:00
Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
@@ -63,4 +63,4 @@ Total
|
||||
14 Page(s)
|
||||
342 Component(s)
|
||||
3080 Line(s) of event code
|
||||
775 Unique line(s) of event code
|
||||
776 Unique line(s) of event code
|
||||
|
||||
@@ -459,41 +459,41 @@ Timer tmSerial
|
||||
if(tInstruction.txt=="entityUpdateDetail")
|
||||
{
|
||||
// get entn
|
||||
spstr strCommand.txt,entn.txt,",",1
|
||||
spstr strCommand.txt,entn.txt,"|",1
|
||||
// get Heading
|
||||
spstr strCommand.txt,tHeading.txt,",",2
|
||||
spstr strCommand.txt,tHeading.txt,"|",2
|
||||
// heading color
|
||||
spstr strCommand.txt,tTmp.txt,",",3
|
||||
spstr strCommand.txt,tTmp.txt,"|",3
|
||||
covx tTmp.txt,sys0,0,0
|
||||
tHeading.pco=sys0
|
||||
// get b1
|
||||
spstr strCommand.txt,b1.txt,",",4
|
||||
spstr strCommand.txt,b1.txt,"|",4
|
||||
if(b1.txt!="")
|
||||
{
|
||||
vis b1,1
|
||||
}
|
||||
// b1 color
|
||||
spstr strCommand.txt,tTmp.txt,",",5
|
||||
spstr strCommand.txt,tTmp.txt,"|",5
|
||||
covx tTmp.txt,sys0,0,0
|
||||
b1.pco=sys0
|
||||
// get b2
|
||||
spstr strCommand.txt,b2.txt,",",6
|
||||
spstr strCommand.txt,b2.txt,"|",6
|
||||
if(b2.txt!="")
|
||||
{
|
||||
vis b2,1
|
||||
}
|
||||
// b2 color
|
||||
spstr strCommand.txt,tTmp.txt,",",7
|
||||
spstr strCommand.txt,tTmp.txt,"|",7
|
||||
covx tTmp.txt,sys0,0,0
|
||||
b2.pco=sys0
|
||||
// get tText
|
||||
spstr strCommand.txt,tText.txt,",",8
|
||||
spstr strCommand.txt,tText.txt,"|",8
|
||||
// tText color
|
||||
spstr strCommand.txt,tTmp.txt,",",9
|
||||
spstr strCommand.txt,tTmp.txt,"|",9
|
||||
covx tTmp.txt,sys0,0,0
|
||||
tText.pco=sys0
|
||||
// sleep timeout
|
||||
spstr strCommand.txt,tTmp.txt,",",9
|
||||
spstr strCommand.txt,tTmp.txt,"|",9
|
||||
covx tTmp.txt,sys0,0,0
|
||||
sleepTimeout=sys0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user