mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
untested fix for #768
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -33,6 +33,10 @@ for i in range(0,6):
|
|||||||
// speed
|
// speed
|
||||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+7}
|
spstr strCommand.txt,tTmp.txt,"~",{idxstart+7}
|
||||||
covx tTmp.txt,t{i}Speed.val,0,0
|
covx tTmp.txt,t{i}Speed.val,0,0
|
||||||
|
if(p0.h==320)
|
||||||
|
{{
|
||||||
|
t{i}Speed.val=t{i}Speed.val*-1
|
||||||
|
}}
|
||||||
if(t{i}Speed.val>120)
|
if(t{i}Speed.val>120)
|
||||||
{{
|
{{
|
||||||
t{i}Speed.val=120
|
t{i}Speed.val=120
|
||||||
|
|||||||
@@ -155,12 +155,6 @@ sharedfoot = """
|
|||||||
//set timeout to global var
|
//set timeout to global var
|
||||||
spstr strCommand.txt,tTmp.txt,"~",1
|
spstr strCommand.txt,tTmp.txt,"~",1
|
||||||
covx tTmp.txt,sleepTimeout,0,0
|
covx tTmp.txt,sleepTimeout,0,0
|
||||||
//temporary disable sleep timer
|
|
||||||
spstr strCommand.txt,tTmp.txt,"~",2
|
|
||||||
if(tTmp.txt=="disable")
|
|
||||||
{
|
|
||||||
tmSleep.en=0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// end of user code
|
// end of user code
|
||||||
udelete payloadLength-1
|
udelete payloadLength-1
|
||||||
|
|||||||
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
Reference in New Issue
Block a user