mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-23 07:54:25 +01:00
sync (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
a186a39a30
commit
e516a7fa05
@@ -58,31 +58,3 @@
|
|||||||
│ crcputs sys0,2
|
│ crcputs sys0,2
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
├── screensaver.txt
|
|
||||||
│ @@ -620,26 +620,14 @@
|
|
||||||
│ vis tNotifyHead,1
|
|
||||||
│ vis tNotifyText,1
|
|
||||||
│ }else
|
|
||||||
│ {
|
|
||||||
│ vis tNotifyHead,0
|
|
||||||
│ vis tNotifyText,0
|
|
||||||
│ }
|
|
||||||
│ - tNotifyHead.bco=tTime.bco
|
|
||||||
│ - tNotifyText.bco=tTime.bco
|
|
||||||
│ - spstr strCommand.txt,tTmp.txt,"~",3
|
|
||||||
│ - if(tTmp.txt!="")
|
|
||||||
│ - {
|
|
||||||
│ - covx tTmp.txt,tNotifyHead.pco,0,0
|
|
||||||
│ - }
|
|
||||||
│ - spstr strCommand.txt,tTmp.txt,"~",4
|
|
||||||
│ - if(tTmp.txt!="")
|
|
||||||
│ - {
|
|
||||||
│ - covx tTmp.txt,tNotifyText.pco,0,0
|
|
||||||
│ - }
|
|
||||||
│ }
|
|
||||||
│ if(tInstruction.txt=="pageType")
|
|
||||||
│ {
|
|
||||||
│ dim=100
|
|
||||||
│ //command format pageType,specialPageName
|
|
||||||
│ //write name of speical page to tId
|
|
||||||
│ spstr strCommand.txt,tId.txt,"~",1
|
|
||||||
|
|||||||
@@ -42,18 +42,18 @@ cardAlarm
|
|||||||
40 Component(s)
|
40 Component(s)
|
||||||
427 Line(s) of event code
|
427 Line(s) of event code
|
||||||
258 Unique line(s) of event code
|
258 Unique line(s) of event code
|
||||||
cardPower
|
screensaver
|
||||||
43 Component(s)
|
38 Component(s)
|
||||||
420 Line(s) of event code
|
350 Line(s) of event code
|
||||||
292 Unique line(s) of event code
|
266 Unique line(s) of event code
|
||||||
cardQR
|
cardQR
|
||||||
32 Component(s)
|
32 Component(s)
|
||||||
409 Line(s) of event code
|
409 Line(s) of event code
|
||||||
238 Unique line(s) of event code
|
238 Unique line(s) of event code
|
||||||
screensaver
|
cardPower
|
||||||
38 Component(s)
|
43 Component(s)
|
||||||
338 Line(s) of event code
|
420 Line(s) of event code
|
||||||
262 Unique line(s) of event code
|
292 Unique line(s) of event code
|
||||||
popupThermo
|
popupThermo
|
||||||
44 Component(s)
|
44 Component(s)
|
||||||
515 Line(s) of event code
|
515 Line(s) of event code
|
||||||
@@ -70,5 +70,5 @@ cardEntities
|
|||||||
Total
|
Total
|
||||||
16 Page(s)
|
16 Page(s)
|
||||||
529 Component(s)
|
529 Component(s)
|
||||||
6292 Line(s) of event code
|
6304 Line(s) of event code
|
||||||
1670 Unique line(s) of event code
|
1674 Unique line(s) of event code
|
||||||
|
|||||||
@@ -1189,6 +1189,18 @@ Timer tmSerial
|
|||||||
vis tNotifyHead,0
|
vis tNotifyHead,0
|
||||||
vis tNotifyText,0
|
vis tNotifyText,0
|
||||||
}
|
}
|
||||||
|
tNotifyHead.bco=tTime.bco
|
||||||
|
tNotifyText.bco=tTime.bco
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",3
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,tNotifyHead.pco,0,0
|
||||||
|
}
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",4
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,tNotifyText.pco,0,0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="pageType")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -624,6 +624,18 @@ Timer tmSerial
|
|||||||
vis tNotifyHead,0
|
vis tNotifyHead,0
|
||||||
vis tNotifyText,0
|
vis tNotifyText,0
|
||||||
}
|
}
|
||||||
|
tNotifyHead.bco=tTime.bco
|
||||||
|
tNotifyText.bco=tTime.bco
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",3
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,tNotifyHead.pco,0,0
|
||||||
|
}
|
||||||
|
spstr strCommand.txt,tTmp.txt,"~",4
|
||||||
|
if(tTmp.txt!="")
|
||||||
|
{
|
||||||
|
covx tTmp.txt,tNotifyText.pco,0,0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="pageType")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -568,6 +568,7 @@
|
|||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
├── popupFan.txt
|
├── popupFan.txt
|
||||||
|
│┄ ordering differences only
|
||||||
│ @@ -78,31 +78,31 @@
|
│ @@ -78,31 +78,31 @@
|
||||||
│ Value: 1
|
│ Value: 1
|
||||||
│
|
│
|
||||||
@@ -607,21 +608,7 @@
|
|||||||
│ Max. Text Size: 200
|
│ Max. Text Size: 200
|
||||||
│
|
│
|
||||||
│ Text tEntity
|
│ Text tEntity
|
||||||
│ @@ -240,75 +240,75 @@
|
│ @@ -253,60 +253,60 @@
|
||||||
│ Events
|
|
||||||
│ Touch Press Event
|
|
||||||
│ //craft command
|
|
||||||
│ tSend.txt="event,buttonPress2,"
|
|
||||||
│ tSend.txt+=entn.txt+","
|
|
||||||
│ sys2=vaModePos.val-3
|
|
||||||
│ covx sys2,tTmp.txt,0,0
|
|
||||||
│ - tSend.txt+="mode-preset_modes,"+tTmp.txt
|
|
||||||
│ + tSend.txt+="mode-sel,"+tTmp.txt
|
|
||||||
│ //send calc crc
|
|
||||||
│ btlen tSend.txt,sys0
|
|
||||||
│ crcrest 1,0xffff // reset CRC
|
|
||||||
│ crcputh 55 bb
|
|
||||||
│ crcputs sys0,2
|
|
||||||
│ crcputs tSend.txt,0
|
│ crcputs tSend.txt,0
|
||||||
│ //send cmd
|
│ //send cmd
|
||||||
│ printh 55 bb
|
│ printh 55 bb
|
||||||
@@ -648,8 +635,7 @@
|
|||||||
│ - sys2=vaModePos.val-1
|
│ - sys2=vaModePos.val-1
|
||||||
│ + sys2=vaModePos.val-2
|
│ + sys2=vaModePos.val-2
|
||||||
│ covx sys2,tTmp.txt,0,0
|
│ covx sys2,tTmp.txt,0,0
|
||||||
│ - tSend.txt+="mode-preset_modes,"+tTmp.txt
|
│ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
│ + tSend.txt+="mode-sel,"+tTmp.txt
|
|
||||||
│ //send calc crc
|
│ //send calc crc
|
||||||
│ btlen tSend.txt,sys0
|
│ btlen tSend.txt,sys0
|
||||||
│ crcrest 1,0xffff // reset CRC
|
│ crcrest 1,0xffff // reset CRC
|
||||||
@@ -681,15 +667,12 @@
|
|||||||
│ - sys2=vaModePos.val-2
|
│ - sys2=vaModePos.val-2
|
||||||
│ + sys2=vaModePos.val-1
|
│ + sys2=vaModePos.val-1
|
||||||
│ covx sys2,tTmp.txt,0,0
|
│ covx sys2,tTmp.txt,0,0
|
||||||
│ - tSend.txt+="mode-preset_modes,"+tTmp.txt
|
│ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
│ + tSend.txt+="mode-sel,"+tTmp.txt
|
|
||||||
│ //send calc crc
|
│ //send calc crc
|
||||||
│ btlen tSend.txt,sys0
|
│ btlen tSend.txt,sys0
|
||||||
│ crcrest 1,0xffff // reset CRC
|
│ crcrest 1,0xffff // reset CRC
|
||||||
│ crcputh 55 bb
|
│ crcputh 55 bb
|
||||||
│ crcputs sys0,2
|
│ crcputs sys0,2
|
||||||
│ crcputs tSend.txt,0
|
|
||||||
│ //send cmd
|
|
||||||
├── screensaver.txt
|
├── screensaver.txt
|
||||||
│ @@ -71,15 +71,15 @@
|
│ @@ -71,15 +71,15 @@
|
||||||
│ Text tTime
|
│ Text tTime
|
||||||
|
|||||||
@@ -1,23 +1,6 @@
|
|||||||
+++ /dev/fd/62 2022-10-23 21:26:32.359041592 +0000
|
+++ /dev/fd/62 2022-10-23 21:42:24.358169322 +0000
|
||||||
+75 +240,75 @@
|
|
||||||
+nts
|
|
||||||
+ Touch Press Event
|
|
||||||
+ //craft command
|
|
||||||
+ tSend.txt="event,buttonPress2,"
|
|
||||||
+ tSend.txt+=entn.txt+","
|
|
||||||
+ sys2=vaModePos.val-3
|
|
||||||
+ covx sys2,tTmp.txt,0,0
|
|
||||||
+ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
|
||||||
+ tSend.txt+="mode-sel,"+tTmp.txt
|
|
||||||
+ //send calc crc
|
|
||||||
+ btlen tSend.txt,sys0
|
|
||||||
+ crcrest 1,0xffff // reset CRC
|
|
||||||
+ crcputh 55 bb
|
|
||||||
+ crcputs sys0,2
|
|
||||||
+ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
+ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
+ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
+ tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
+ crcputs tSend.txt,0
|
|
||||||
+ //send cmd
|
|
||||||
+reensaver.txt
|
+reensaver.txt
|
||||||
+5 +71,15 @@
|
+5 +71,15 @@
|
||||||
+ime
|
+ime
|
||||||
|
|||||||
@@ -10,10 +10,6 @@ pageTest
|
|||||||
14 Component(s)
|
14 Component(s)
|
||||||
14 Line(s) of event code
|
14 Line(s) of event code
|
||||||
14 Unique line(s) of event code
|
14 Unique line(s) of event code
|
||||||
popupFan
|
|
||||||
27 Component(s)
|
|
||||||
347 Line(s) of event code
|
|
||||||
202 Unique line(s) of event code
|
|
||||||
cardPower
|
cardPower
|
||||||
43 Component(s)
|
43 Component(s)
|
||||||
423 Line(s) of event code
|
423 Line(s) of event code
|
||||||
@@ -50,6 +46,10 @@ screensaver
|
|||||||
38 Component(s)
|
38 Component(s)
|
||||||
350 Line(s) of event code
|
350 Line(s) of event code
|
||||||
266 Unique line(s) of event code
|
266 Unique line(s) of event code
|
||||||
|
popupFan
|
||||||
|
27 Component(s)
|
||||||
|
347 Line(s) of event code
|
||||||
|
202 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
40 Component(s)
|
40 Component(s)
|
||||||
427 Line(s) of event code
|
427 Line(s) of event code
|
||||||
|
|||||||
@@ -449,7 +449,7 @@ Button bMode1
|
|||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
sys2=vaModePos.val-3
|
sys2=vaModePos.val-3
|
||||||
covx sys2,tTmp.txt,0,0
|
covx sys2,tTmp.txt,0,0
|
||||||
tSend.txt+="mode-sel,"+tTmp.txt
|
tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
@@ -501,7 +501,7 @@ Button bMode2
|
|||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
sys2=vaModePos.val-2
|
sys2=vaModePos.val-2
|
||||||
covx sys2,tTmp.txt,0,0
|
covx sys2,tTmp.txt,0,0
|
||||||
tSend.txt+="mode-sel,"+tTmp.txt
|
tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
@@ -553,7 +553,7 @@ Button bMode3
|
|||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
sys2=vaModePos.val-1
|
sys2=vaModePos.val-1
|
||||||
covx sys2,tTmp.txt,0,0
|
covx sys2,tTmp.txt,0,0
|
||||||
tSend.txt+="mode-sel,"+tTmp.txt
|
tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ Button bMode1
|
|||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
sys2=vaModePos.val-3
|
sys2=vaModePos.val-3
|
||||||
covx sys2,tTmp.txt,0,0
|
covx sys2,tTmp.txt,0,0
|
||||||
tSend.txt+="mode-sel,"+tTmp.txt
|
tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
@@ -274,7 +274,7 @@ Button bMode2
|
|||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
sys2=vaModePos.val-2
|
sys2=vaModePos.val-2
|
||||||
covx sys2,tTmp.txt,0,0
|
covx sys2,tTmp.txt,0,0
|
||||||
tSend.txt+="mode-sel,"+tTmp.txt
|
tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
@@ -304,7 +304,7 @@ Button bMode3
|
|||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
sys2=vaModePos.val-1
|
sys2=vaModePos.val-1
|
||||||
covx sys2,tTmp.txt,0,0
|
covx sys2,tTmp.txt,0,0
|
||||||
tSend.txt+="mode-sel,"+tTmp.txt
|
tSend.txt+="mode-preset_modes,"+tTmp.txt
|
||||||
//send calc crc
|
//send calc crc
|
||||||
btlen tSend.txt,sys0
|
btlen tSend.txt,sys0
|
||||||
crcrest 1,0xffff // reset CRC
|
crcrest 1,0xffff // reset CRC
|
||||||
|
|||||||
Reference in New Issue
Block a user