mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-11 15:47:42 +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
|
43 Unique line(s) of event code
|
||||||
screensaver
|
screensaver
|
||||||
25 Component(s)
|
25 Component(s)
|
||||||
146 Line(s) of event code
|
152 Line(s) of event code
|
||||||
116 Unique line(s) of event code
|
118 Unique line(s) of event code
|
||||||
pageSwipeTest
|
pageSwipeTest
|
||||||
18 Component(s)
|
18 Component(s)
|
||||||
62 Line(s) of event code
|
62 Line(s) of event code
|
||||||
@@ -58,5 +58,5 @@ cardAlarm
|
|||||||
Total
|
Total
|
||||||
13 Page(s)
|
13 Page(s)
|
||||||
302 Component(s)
|
302 Component(s)
|
||||||
2659 Line(s) of event code
|
2665 Line(s) of event code
|
||||||
682 Unique line(s) of event code
|
684 Unique line(s) of event code
|
||||||
|
|||||||
@@ -725,6 +725,14 @@ Timer tmSerial
|
|||||||
//tForecast2Val
|
//tForecast2Val
|
||||||
spstr strCommand.txt,tForecast2Val.txt,"?",10
|
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")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
//command format pageType,specialPageName
|
//command format pageType,specialPageName
|
||||||
|
|||||||
Reference in New Issue
Block a user