mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-06 14:45:46 +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
fad845f2a7
commit
e6f2894172
@@ -15,7 +15,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
|
||||
│ }
|
||||
@@ -388,7 +404,7 @@
|
||||
│ Disable release event after dragging: 0
|
||||
│ Send Component ID : disabled
|
||||
│
|
||||
│ @@ -1826,14 +2059,163 @@
|
||||
│ @@ -1826,26 +2059,174 @@
|
||||
│ covx tTmp.txt,sys0,0,0
|
||||
│ hSlider4.minval=sys0
|
||||
│ //third value is max value
|
||||
@@ -552,7 +568,19 @@
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
│ @@ -1886,18 +2268,14 @@
|
||||
│ //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 +2268,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
@@ -572,7 +600,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
|
||||
│ }
|
||||
@@ -592,7 +636,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
|
||||
│ }
|
||||
@@ -648,7 +708,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
|
||||
│ }
|
||||
@@ -720,6 +796,41 @@
|
||||
│ 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
|
||||
│ @@ -78,31 +78,31 @@
|
||||
│ Value: 1
|
||||
@@ -825,7 +936,23 @@
|
||||
│ crcrest 1,0xffff // reset CRC
|
||||
│ crcputh 55 bb
|
||||
│ crcputs sys0,2
|
||||
│ @@ -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
|
||||
│ }
|
||||
@@ -845,7 +972,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
|
||||
│ }
|
||||
@@ -865,7 +1008,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
|
||||
│ }
|
||||
@@ -885,7 +1044,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
|
||||
│ }
|
||||
@@ -922,7 +1097,23 @@
|
||||
│ Scope : local
|
||||
│ Dragging : 0
|
||||
│ Disable release event after dragging: 0
|
||||
│ @@ -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