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

This commit is contained in:
joBr99
2022-10-15 12:20:57 +00:00
committed by github-actions[bot]
parent 3344e18efc
commit 73f00522f8
6 changed files with 391 additions and 8 deletions

View File

@@ -30,3 +30,92 @@
│ crcputs sys0,2
│ crcputs tSend.txt,0
│ //send cmd
├── popupNotify.txt
│ @@ -21,25 +21,19 @@
│ vis tId,0
│ popupNotify.bco=defaultBcoColor
│ tHeading.bco=defaultBcoColor
│ b0.bco=defaultBcoColor
│ tText.bco=defaultBcoColor
│ b1.bco=defaultBcoColor
│ b2.bco=defaultBcoColor
│ - tIcon.bco=defaultBcoColor
│ - tTextAlt.bco=defaultBcoColor
│ tHeading.pco=defaultFontColor
│ b0.pco=defaultFontColor
│ tText.pco=defaultFontColor
│ b1.pco=defaultFontColor
│ b2.pco=defaultFontColor
│ - vis tIcon,0
│ - vis tTextAlt,0
│ - tIcon.bco=defaultFontColor
│ - tTextAlt.bco=defaultFontColor
│ Variable (string) strCommand
│ Attributes
│ Scope : local
│ Text :
│ Max. Text Size: 1000
│ @@ -106,34 +100,14 @@
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ Associated Keyboard : none
│ Text :
│ Max. Text Size : 500
│ -Text tTextAlt
│ - Attributes
│ - Scope : local
│ - Dragging : 0
│ - Disable release event after dragging: 0
│ - Send Component ID : disabled
│ - Associated Keyboard : none
│ - Text :
│ - Max. Text Size : 500
│ -
│ -Text tIcon
│ - Attributes
│ - Scope : local
│ - Dragging : 0
│ - Disable release event after dragging: 0
│ - Send Component ID : disabled
│ - Associated Keyboard : none
│ - Text :
│ - Max. Text Size : 250
│ -
│ Picture p0
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -325,26 +299,14 @@
│ tText.pco=sys0
│ //preserve old sleepTimeout
│ vaOldSleepT.val=sleepTimeout
│ // sleep timeout
│ spstr strCommand.txt,tTmp.txt,"~",10
│ covx tTmp.txt,sys0,0,0
│ sleepTimeout=sys0
│ - spstr strCommand.txt,tTmp.txt,"~",11
│ - covx tTmp.txt,sys0,0,0
│ - tTextAlt.font=sys0
│ - tText.font=sys0
│ - spstr strCommand.txt,tIcon.txt,"~",12
│ - if(tIcon.txt!="")
│ - {
│ - vis tIcon,1
│ - vis tTextAlt,1
│ - vis tText,0
│ - tTextAlt.txt=tText.txt
│ - }
│ }
│ if(tInstruction.txt=="time")
│ {
│ // get set time to global variable
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ }
│ if(tInstruction.txt=="date")

View File

@@ -691,6 +691,95 @@
│ crcrest 1,0xffff // reset CRC
│ crcputh 55 bb
│ crcputs sys0,2
├── popupNotify.txt
│ @@ -21,25 +21,19 @@
│ vis tId,0
│ popupNotify.bco=defaultBcoColor
│ tHeading.bco=defaultBcoColor
│ b0.bco=defaultBcoColor
│ tText.bco=defaultBcoColor
│ b1.bco=defaultBcoColor
│ b2.bco=defaultBcoColor
│ - tIcon.bco=defaultBcoColor
│ - tTextAlt.bco=defaultBcoColor
│ tHeading.pco=defaultFontColor
│ b0.pco=defaultFontColor
│ tText.pco=defaultFontColor
│ b1.pco=defaultFontColor
│ b2.pco=defaultFontColor
│ - vis tIcon,0
│ - vis tTextAlt,0
│ - tIcon.bco=defaultFontColor
│ - tTextAlt.bco=defaultFontColor
│ Variable (string) strCommand
│ Attributes
│ Scope : local
│ Text :
│ Max. Text Size: 1000
│ @@ -106,34 +100,14 @@
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ Associated Keyboard : none
│ Text :
│ Max. Text Size : 500
│ -Text tTextAlt
│ - Attributes
│ - Scope : local
│ - Dragging : 0
│ - Disable release event after dragging: 0
│ - Send Component ID : disabled
│ - Associated Keyboard : none
│ - Text :
│ - Max. Text Size : 500
│ -
│ -Text tIcon
│ - Attributes
│ - Scope : local
│ - Dragging : 0
│ - Disable release event after dragging: 0
│ - Send Component ID : disabled
│ - Associated Keyboard : none
│ - Text :
│ - Max. Text Size : 250
│ -
│ Picture p0
│ Attributes
│ Scope : local
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -325,26 +299,14 @@
│ tText.pco=sys0
│ //preserve old sleepTimeout
│ vaOldSleepT.val=sleepTimeout
│ // sleep timeout
│ spstr strCommand.txt,tTmp.txt,"~",10
│ covx tTmp.txt,sys0,0,0
│ sleepTimeout=sys0
│ - spstr strCommand.txt,tTmp.txt,"~",11
│ - covx tTmp.txt,sys0,0,0
│ - tTextAlt.font=sys0
│ - tText.font=sys0
│ - spstr strCommand.txt,tIcon.txt,"~",12
│ - if(tIcon.txt!="")
│ - {
│ - vis tIcon,1
│ - vis tTextAlt,1
│ - vis tText,0
│ - tTextAlt.txt=tText.txt
│ - }
│ }
│ if(tInstruction.txt=="time")
│ {
│ // get set time to global variable
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ }
│ if(tInstruction.txt=="date")
├── screensaver.txt
│ @@ -71,15 +71,15 @@
│ Text tTime

View File

@@ -1,4 +1,4 @@
+++ /dev/fd/62 2022-10-09 16:56:54.880530529 +0000
+++ /dev/fd/62 2022-10-15 12:20:50.585699560 +0000
+geIcons.txt
+5 +15,15 @@
+ Scope : global
@@ -17,6 +17,95 @@
+ Scope : global
+ Dragging : 0
+ Disable release event after dragging: 0
+pupNotify.txt
+5 +21,19 @@
+ vis tId,0
+ popupNotify.bco=defaultBcoColor
+ tHeading.bco=defaultBcoColor
+ b0.bco=defaultBcoColor
+ tText.bco=defaultBcoColor
+ b1.bco=defaultBcoColor
+ b2.bco=defaultBcoColor
+ tIcon.bco=defaultBcoColor
+ tTextAlt.bco=defaultBcoColor
+ tHeading.pco=defaultFontColor
+ b0.pco=defaultFontColor
+ tText.pco=defaultFontColor
+ b1.pco=defaultFontColor
+ b2.pco=defaultFontColor
+ vis tIcon,0
+ vis tTextAlt,0
+ tIcon.bco=defaultFontColor
+ tTextAlt.bco=defaultFontColor
+
+e (string) strCommand
+ributes
+ Scope : local
+ Text :
+ Max. Text Size: 1000
+
+34 +100,14 @@
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+ Associated Keyboard : none
+ Text :
+ Max. Text Size : 500
+
+extAlt
+ributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+ Associated Keyboard : none
+ Text :
+ Max. Text Size : 500
+
+con
+ributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+ Associated Keyboard : none
+ Text :
+ Max. Text Size : 250
+
+ p0
+ributes
+ Scope : local
+ Dragging : 0
+ Disable release event after dragging: 0
+ Send Component ID : disabled
+
+26 +299,14 @@
+ tText.pco=sys0
+ //preserve old sleepTimeout
+ vaOldSleepT.val=sleepTimeout
+ // sleep timeout
+ spstr strCommand.txt,tTmp.txt,"~",10
+ covx tTmp.txt,sys0,0,0
+ sleepTimeout=sys0
+ spstr strCommand.txt,tTmp.txt,"~",11
+ covx tTmp.txt,sys0,0,0
+ tTextAlt.font=sys0
+ tText.font=sys0
+ spstr strCommand.txt,tIcon.txt,"~",12
+ if(tIcon.txt!="")
+ {
+ vis tIcon,1
+ vis tTextAlt,1
+ vis tText,0
+ tTextAlt.txt=tText.txt
+ }
+ }
+ if(tInstruction.txt=="time")
+ {
+ // get set time to global variable
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
+ }
+ if(tInstruction.txt=="date")
+reensaver.txt
+5 +71,15 @@
+ime