mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 23:44:25 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
@@ -30,6 +30,10 @@ cardAlarm
|
||||
35 Component(s)
|
||||
253 Line(s) of event code
|
||||
160 Unique line(s) of event code
|
||||
popupLight
|
||||
27 Component(s)
|
||||
323 Line(s) of event code
|
||||
173 Unique line(s) of event code
|
||||
cardGrid
|
||||
39 Component(s)
|
||||
378 Line(s) of event code
|
||||
@@ -46,10 +50,6 @@ cardEntities
|
||||
54 Component(s)
|
||||
752 Line(s) of event code
|
||||
330 Unique line(s) of event code
|
||||
popupLight
|
||||
26 Component(s)
|
||||
306 Line(s) of event code
|
||||
167 Unique line(s) of event code
|
||||
screensaver
|
||||
26 Component(s)
|
||||
176 Line(s) of event code
|
||||
@@ -57,6 +57,6 @@ screensaver
|
||||
|
||||
Total
|
||||
13 Page(s)
|
||||
330 Component(s)
|
||||
3043 Line(s) of event code
|
||||
808 Unique line(s) of event code
|
||||
331 Component(s)
|
||||
3060 Line(s) of event code
|
||||
814 Unique line(s) of event code
|
||||
|
||||
@@ -500,6 +500,8 @@ Slider hBrightness
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
tmCooldown.en=1
|
||||
tmCooldown.tim=100
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt+",brightnessSlider,"
|
||||
covx hBrightness.val,tTmp.txt,0,0
|
||||
@@ -543,6 +545,8 @@ Slider hTempSlider
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
tmCooldown.en=1
|
||||
tmCooldown.tim=100
|
||||
//craft command
|
||||
tSend.txt="event,buttonPress2,"+entn.txt+",colorTempSlider,"
|
||||
covx hTempSlider.val,tTmp.txt,0,0
|
||||
@@ -810,7 +814,10 @@ Timer tmSerial
|
||||
vis t2,1
|
||||
vis hBrightness,1
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hBrightness.val=sys0
|
||||
if(tmCooldown.en==0)
|
||||
{
|
||||
hBrightness.val=sys0
|
||||
}
|
||||
}
|
||||
// get ColorTemp value
|
||||
spstr strCommand.txt,tTmp.txt,",",5
|
||||
@@ -843,6 +850,11 @@ Timer tmSerial
|
||||
vis hTempSlider,1
|
||||
vis t3,1
|
||||
vis t4,1
|
||||
if(tmCooldown.en==0)
|
||||
{
|
||||
covx tTmp.txt,sys0,0,0
|
||||
hTempSlider.val=sys0
|
||||
}
|
||||
// mode == 0 is rgb controls currently shown
|
||||
if(mode.val==0)
|
||||
{
|
||||
@@ -944,6 +956,17 @@ Timer tmSerial
|
||||
}
|
||||
}
|
||||
|
||||
Timer tmCooldown
|
||||
Attributes
|
||||
ID : 26
|
||||
Scope : local
|
||||
Period (ms): 100
|
||||
Enabled : no
|
||||
|
||||
Events
|
||||
Timer Event
|
||||
tmCooldown.en=0
|
||||
|
||||
TouchCap tc0
|
||||
Attributes
|
||||
ID : 14
|
||||
|
||||
Reference in New Issue
Block a user