send screensaver on sleepReached (add nextion2text)

This commit is contained in:
joBr99
2022-03-30 21:36:50 +00:00
committed by GitHub Actions
parent 10b0d75a15
commit aa83e955f0
15 changed files with 168 additions and 110 deletions

View File

@@ -672,7 +672,7 @@ Timer tmSleep
{
sleepValue=0
dim=dimValue
tSend.txt="event,buttonPress2,cardAlarm,sleepReached"
tSend.txt="event,sleepReached,cardAlarm"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -1721,7 +1721,7 @@ Timer tmSleep
{
sleepValue=0
dim=dimValue
tSend.txt="event,buttonPress2,cardEntities,sleepReached"
tSend.txt="event,sleepReached,cardEntities"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -811,7 +811,7 @@ Timer tmSleep
{
sleepValue=0
dim=dimValue
tSend.txt="event,buttonPress2,cardGrid,sleepReached"
tSend.txt="event,sleepReached,cardGrid"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -649,7 +649,7 @@ Timer tmSleep
{
sleepValue=0
dim=dimValue
tSend.txt="event,buttonPress2,cardMedia,sleepReached"
tSend.txt="event,sleepReached,cardMedia"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -923,7 +923,7 @@ Timer tmSleep
{
sleepValue=0
dim=dimValue
tSend.txt="event,buttonPress2,cardThermo,sleepReached"
tSend.txt="event,sleepReached,cardThermo"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -38,18 +38,18 @@ Page screensaver
tForecast2.txt=""
tF2Icon.txt=""
tForecast2Val.txt=""
tSend.txt="event,screensaverOpen"
//tSend.txt="event,screensaverOpen"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,1
crcputs tSend.txt,0
//btlen tSend.txt,sys0
//crcrest 1,0xffff // reset CRC
//crcputh 55 bb
//crcputs sys0,1
//crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
//printh 55 bb
//prints sys0,2
//prints tSend.txt,0
//prints crcval,2
Variable (string) strCommand
Attributes