mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-14 00:48:17 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
d21d929444
commit
2968776a22
@@ -13,7 +13,23 @@
|
||||
│ - lcd_dev fffb 0002 0000 0020
|
||||
│ - page pageStartup
|
||||
├── cardAlarm.txt
|
||||
│ @@ -833,18 +833,14 @@
|
||||
│ @@ -784,15 +784,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
|
||||
│ }
|
||||
│ @@ -834,18 +833,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -101,7 +117,23 @@
|
||||
│ //send calc crc
|
||||
│ btlen tSend.txt,sys0
|
||||
│ crcrest 1,0xffff // reset CRC
|
||||
│ @@ -1886,18 +1886,14 @@
|
||||
│ @@ -1837,15 +1837,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
|
||||
│ }
|
||||
│ @@ -1887,18 +1886,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -121,7 +153,23 @@
|
||||
│ }
|
||||
│ if(tInstruction.txt=="date")
|
||||
├── cardGrid.txt
|
||||
│ @@ -838,18 +838,14 @@
|
||||
│ @@ -789,15 +789,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
|
||||
│ }
|
||||
│ @@ -839,18 +838,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -141,7 +189,23 @@
|
||||
│ }
|
||||
│ if(tInstruction.txt=="date")
|
||||
├── cardMedia.txt
|
||||
│ @@ -751,18 +751,14 @@
|
||||
│ @@ -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
|
||||
│ }
|
||||
@@ -197,7 +261,23 @@
|
||||
│ }
|
||||
│ }
|
||||
├── cardThermo.txt
|
||||
│ @@ -1138,18 +1138,14 @@
|
||||
│ @@ -1089,15 +1089,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
|
||||
│ }
|
||||
│ @@ -1139,18 +1138,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -234,8 +314,59 @@
|
||||
│ crcputs sys0,2
|
||||
│ crcputs tSend.txt,0
|
||||
│ //send cmd
|
||||
│ @@ -302,15 +302,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=="cardThermo")
|
||||
│ {
|
||||
│ page cardThermo
|
||||
│ }
|
||||
│ @@ -347,18 +346,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
│ if(tId.txt=="cardQR")
|
||||
│ {
|
||||
│ page cardQR
|
||||
│ }
|
||||
│ - if(tId.txt=="cardPower")
|
||||
│ - {
|
||||
│ - page cardPower
|
||||
│ - }
|
||||
│ }
|
||||
│ // end of user code
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ }
|
||||
│ }
|
||||
│ }
|
||||
├── popupFan.txt
|
||||
│ @@ -623,18 +623,14 @@
|
||||
│ @@ -574,15 +574,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
|
||||
│ }
|
||||
│ @@ -624,18 +623,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -255,7 +386,23 @@
|
||||
│ }
|
||||
│ }
|
||||
├── popupLight.txt
|
||||
│ @@ -659,18 +659,14 @@
|
||||
│ @@ -610,15 +610,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
|
||||
│ }
|
||||
│ @@ -660,18 +659,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -275,7 +422,23 @@
|
||||
│ }
|
||||
│ }
|
||||
├── popupNotify.txt
|
||||
│ @@ -406,18 +406,14 @@
|
||||
│ @@ -352,15 +352,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=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ @@ -407,18 +406,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -295,7 +458,23 @@
|
||||
│ }
|
||||
│ }
|
||||
├── popupShutter.txt
|
||||
│ @@ -685,18 +685,14 @@
|
||||
│ @@ -636,15 +636,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
|
||||
│ }
|
||||
│ @@ -686,18 +685,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -315,7 +494,23 @@
|
||||
│ }
|
||||
│ }
|
||||
├── screensaver.txt
|
||||
│ @@ -675,18 +675,14 @@
|
||||
│ @@ -631,15 +631,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 u[2]+3
|
||||
│ bufferPos=0
|
||||
│ if(tId.txt=="popupLight")
|
||||
│ {
|
||||
│ pageIcons.tTmp1.txt=tTmp.txt
|
||||
│ page popupLight
|
||||
│ @@ -676,18 +675,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
|
||||
Reference in New Issue
Block a user