mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-24 00:14:26 +01:00
added page command to screensaver (add nextion2text)
This commit is contained in:
@@ -12,8 +12,8 @@ pageSerialTest
|
||||
43 Unique line(s) of event code
|
||||
screensaver
|
||||
25 Component(s)
|
||||
146 Line(s) of event code
|
||||
116 Unique line(s) of event code
|
||||
152 Line(s) of event code
|
||||
118 Unique line(s) of event code
|
||||
pageSwipeTest
|
||||
18 Component(s)
|
||||
62 Line(s) of event code
|
||||
@@ -58,5 +58,5 @@ cardAlarm
|
||||
Total
|
||||
13 Page(s)
|
||||
302 Component(s)
|
||||
2659 Line(s) of event code
|
||||
682 Unique line(s) of event code
|
||||
2665 Line(s) of event code
|
||||
684 Unique line(s) of event code
|
||||
|
||||
@@ -725,6 +725,14 @@ Timer tmSerial
|
||||
//tForecast2Val
|
||||
spstr strCommand.txt,tForecast2Val.txt,"?",10
|
||||
}
|
||||
if(tInstruction.txt=="page")
|
||||
{
|
||||
//pagenumber
|
||||
spstr strCommand.txt,tTmp.txt,"?",1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
substr pageIcons.tIcons.txt,nPage,sys0,1
|
||||
//don't send current page number, wake will do
|
||||
}
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
//command format pageType,specialPageName
|
||||
|
||||
Reference in New Issue
Block a user