mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-10 23:36:34 +01:00
sync (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
f712b55111
commit
ee6bc988d0
@@ -188,78 +188,6 @@
|
||||
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
|
||||
│ }
|
||||
│ if(tInstruction.txt=="date")
|
||||
├── cardMedia.txt
|
||||
│ @@ -702,15 +702,14 @@
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
│ //save second arg if there's one
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",2
|
||||
│ //save third arg if there's one
|
||||
│ spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||
│ - spstr strCommand.txt,pageIcons.tTmp3.txt,"~",4
|
||||
│ //we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ if(tId.txt=="pageStartup")
|
||||
│ {
|
||||
│ page pageStartup
|
||||
│ }
|
||||
│ @@ -752,18 +751,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
│ if(tId.txt=="cardQR")
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ - if(tId.txt=="cardPower")
|
||||
│ - {
|
||||
│ - page cardPower
|
||||
│ - }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── cardQR.txt
|
||||
│ @@ -653,15 +653,14 @@
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
│ //save second arg if there's one
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",2
|
||||
│ //save third arg if there's one
|
||||
│ spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||
│ - spstr strCommand.txt,pageIcons.tTmp3.txt,"~",4
|
||||
│ //we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ if(tId.txt=="pageStartup")
|
||||
│ {
|
||||
│ page pageStartup
|
||||
│ }
|
||||
│ @@ -703,18 +702,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
│ if(tId.txt=="cardQR")
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ - if(tId.txt=="cardPower")
|
||||
│ - {
|
||||
│ - page cardPower
|
||||
│ - }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── cardThermo.txt
|
||||
│ @@ -1089,15 +1089,14 @@
|
||||
│ //command format pageType,specialPageName
|
||||
|
||||
Reference in New Issue
Block a user