mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 15:34:26 +01:00
Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e28bf5765 | ||
|
|
ca8ecb09bb | ||
|
|
ce17f510db | ||
|
|
7223d5095d | ||
|
|
3262e8c3a5 | ||
|
|
7ef676a7d1 | ||
|
|
7295b43e57 | ||
|
|
0662671ee2 | ||
|
|
cb3d59a202 | ||
|
|
182b6bd023 | ||
|
|
b075029d47 | ||
|
|
cab139684e | ||
|
|
ac101b8243 | ||
|
|
258aa082d0 | ||
|
|
3f633222c4 | ||
|
|
44d78fbb7b | ||
|
|
2e762223e8 | ||
|
|
1abe6eed6b | ||
|
|
8940b7969f | ||
|
|
22c39e4c74 | ||
|
|
f3633498ad | ||
|
|
ec242a3c87 | ||
|
|
5538681a55 | ||
|
|
dc4c9517a4 | ||
|
|
c26ffc1a8e | ||
|
|
35e4819213 |
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
23
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: "[Bug] Create a report to help us improve"
|
||||
title: "[BUG] "
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add a picture to help explain your problem.
|
||||
|
||||
**AppDaemon Logs**
|
||||
Please check the appdaemon log for any errors add the log to this issue. (Settings > Add-ons > AppDaemon > Log)
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
17
.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/feature-request.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: "[Feature Request] Suggest an idea for this project"
|
||||
title: "[Feature Request] "
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
||||
**Panel / Firmware Version**
|
||||
Please add the Panel/Firmware Version you are using (EU, US-L or US-P)
|
||||
@@ -1,6 +1,6 @@
|
||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-27 14:55:08.183641171 +0000
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-28 05:04:50.360986275 +0000
|
||||
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-28 05:04:51.228984325 +0000
|
||||
@@ -11,6 +11,4 @@
|
||||
// dim value
|
||||
int dimValue=40
|
||||
@@ -9,8 +9,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
|
||||
- lcd_dev fffb 0002 0000 0020
|
||||
page pageStartup
|
||||
diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
|
||||
--- HMI/n2t-out/cardQR.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardQR.txt 2022-05-27 14:55:08.183641171 +0000
|
||||
--- HMI/n2t-out/cardQR.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/landscape/n2t-out/cardQR.txt 2022-05-28 05:04:51.232984331 +0000
|
||||
@@ -34,7 +34,7 @@
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -21,8 +21,8 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
|
||||
Variable (string) entn
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-27 14:55:08.183641171 +0000
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-28 05:04:51.228984325 +0000
|
||||
@@ -177,7 +177,7 @@
|
||||
recmod=1
|
||||
bauds=115200
|
||||
@@ -32,3 +32,100 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
|
||||
--- HMI/n2t-out/popupLight.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-05-28 05:04:51.228984325 +0000
|
||||
@@ -209,9 +209,6 @@
|
||||
sys0=sys0-pColorWheel.y
|
||||
covx sys0,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
- tSend.txt+="|"
|
||||
- covx pColorWheel.h,tTmp.txt,0,0
|
||||
- tSend.txt+=tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
|
||||
--- HMI/n2t-out/screensaver.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-05-28 05:04:51.232984331 +0000
|
||||
@@ -62,12 +62,6 @@
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
-Variable (string) tSend
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Text :
|
||||
- Max. Text Size: 50
|
||||
-
|
||||
Text tTime
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -88,6 +82,16 @@
|
||||
Text : Tuesday, 08. March 2022
|
||||
Max. Text Size : 35
|
||||
|
||||
+Text tSend
|
||||
+ Attributes
|
||||
+ Scope : local
|
||||
+ Dragging : 0
|
||||
+ Disable release event after dragging: 0
|
||||
+ Send Component ID : disabled
|
||||
+ Associated Keyboard : none
|
||||
+ Text :
|
||||
+ Max. Text Size : 50
|
||||
+
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -308,26 +312,6 @@
|
||||
Text :
|
||||
Max. Text Size : 35
|
||||
|
||||
-Text tIcon1
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Text :
|
||||
- Max. Text Size : 5
|
||||
-
|
||||
-Text tIcon2
|
||||
- Attributes
|
||||
- Scope : local
|
||||
- Dragging : 0
|
||||
- Disable release event after dragging: 0
|
||||
- Send Component ID : disabled
|
||||
- Associated Keyboard : none
|
||||
- Text :
|
||||
- Max. Text Size : 5
|
||||
-
|
||||
Picture p0
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -490,14 +474,6 @@
|
||||
}
|
||||
//tMR
|
||||
spstr strCommand.txt,tMR.txt,"~",16
|
||||
- //statusIcon1
|
||||
- spstr strCommand.txt,tIcon1.txt,"~",17
|
||||
- spstr strCommand.txt,tTmp.txt,"~",18
|
||||
- covx tTmp.txt,tIcon1.pco,0,0
|
||||
- //statusIcon2
|
||||
- spstr strCommand.txt,tIcon2.txt,"~",19
|
||||
- spstr strCommand.txt,tTmp.txt,"~",20
|
||||
- covx tTmp.txt,tIcon2.pco,0,0
|
||||
}
|
||||
if(tInstruction.txt=="color")
|
||||
{
|
||||
@@ -513,8 +489,6 @@
|
||||
tMRIcon.bco=tTime.bco
|
||||
tMR.bco=tTime.bco
|
||||
tMRIcon.bco=tTime.bco
|
||||
- tIcon1.bco=tTime.bco
|
||||
- tIcon2.bco=tTime.bco
|
||||
tForecast1.bco=tTime.bco
|
||||
tForecast1Val.bco=tTime.bco
|
||||
tF1Icon.bco=tTime.bco
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
--- HMI/n2t-out/Program.s.txt 2022-05-28 05:04:50.360986275 +0000
|
||||
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
@@ -11,6 +11,6 @@
|
||||
// dim value
|
||||
int dimValue=40
|
||||
@@ -11,8 +11,8 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
|
||||
+ //lcd_dev fffb 0002 0000 0020
|
||||
page pageStartup
|
||||
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-05-27 14:55:07.303628300 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
--- HMI/n2t-out/cardEntities.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
@@ -62,6 +62,16 @@
|
||||
vis bText4,0
|
||||
vis hSlider4,0
|
||||
@@ -468,8 +468,8 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
|
||||
if(tInstruction.txt=="pageType")
|
||||
{
|
||||
diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
||||
--- HMI/n2t-out/cardQR.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
--- HMI/n2t-out/cardQR.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
@@ -34,7 +34,7 @@
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -480,8 +480,8 @@ diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
|
||||
Variable (string) entn
|
||||
Attributes
|
||||
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
--- HMI/n2t-out/pageStartup.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
@@ -142,7 +142,7 @@
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
@@ -500,10 +500,23 @@ diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||
--- HMI/n2t-out/popupLight.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
@@ -209,9 +209,6 @@
|
||||
sys0=sys0-pColorWheel.y
|
||||
covx sys0,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
- tSend.txt+="|"
|
||||
- covx pColorWheel.h,tTmp.txt,0,0
|
||||
- tSend.txt+=tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
diff -bur HMI/n2t-out/screensaver.txt HMI/US/portrait/n2t-out/screensaver.txt
|
||||
--- HMI/n2t-out/screensaver.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
@@ -455,22 +455,6 @@
|
||||
--- HMI/n2t-out/screensaver.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
@@ -471,22 +471,6 @@
|
||||
vis tMainIconAlt,1
|
||||
vis tMRIcon,1
|
||||
vis tMR,1
|
||||
|
||||
@@ -1,11 +1,25 @@
|
||||
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-27 14:55:07.791635235 +0000
|
||||
+--- HMI/n2t-out/Program.s.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
+--- HMI/n2t-out/cardEntities.txt 2022-05-27 14:55:07.303628300 +0000
|
||||
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
+--- HMI/n2t-out/cardQR.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
+--- HMI/n2t-out/pageStartup.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
+--- HMI/n2t-out/screensaver.txt 2022-05-27 14:55:07.299628243 +0000
|
||||
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-27 14:55:07.731634352 +0000
|
||||
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-28 05:04:50.800983931 +0000
|
||||
+--- HMI/n2t-out/Program.s.txt 2022-05-28 05:04:50.360986275 +0000
|
||||
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
+--- HMI/n2t-out/cardEntities.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
+--- HMI/n2t-out/cardQR.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
+--- HMI/n2t-out/pageStartup.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
+diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
|
||||
+--- HMI/n2t-out/popupLight.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
+@@ -209,9 +209,6 @@
|
||||
+ sys0=sys0-pColorWheel.y
|
||||
+ covx sys0,tTmp.txt,0,0
|
||||
+ tSend.txt+=tTmp.txt
|
||||
+- tSend.txt+="|"
|
||||
+- covx pColorWheel.h,tTmp.txt,0,0
|
||||
+- tSend.txt+=tTmp.txt
|
||||
+ //send calc crc
|
||||
+ btlen tSend.txt,sys0
|
||||
+ crcrest 1,0xffff // reset CRC
|
||||
+--- HMI/n2t-out/screensaver.txt 2022-05-28 05:04:50.364986253 +0000
|
||||
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-28 05:04:50.784984016 +0000
|
||||
+@@ -471,22 +471,6 @@
|
||||
|
||||
@@ -38,10 +38,6 @@ cardMedia
|
||||
33 Component(s)
|
||||
350 Line(s) of event code
|
||||
179 Unique line(s) of event code
|
||||
screensaver
|
||||
35 Component(s)
|
||||
282 Line(s) of event code
|
||||
223 Unique line(s) of event code
|
||||
pageStartup
|
||||
19 Component(s)
|
||||
154 Line(s) of event code
|
||||
@@ -50,6 +46,10 @@ popupShutter
|
||||
20 Component(s)
|
||||
244 Line(s) of event code
|
||||
138 Unique line(s) of event code
|
||||
screensaver
|
||||
37 Component(s)
|
||||
290 Line(s) of event code
|
||||
229 Unique line(s) of event code
|
||||
cardEntities
|
||||
77 Component(s)
|
||||
1363 Line(s) of event code
|
||||
@@ -57,6 +57,6 @@ cardEntities
|
||||
|
||||
Total
|
||||
13 Page(s)
|
||||
414 Component(s)
|
||||
4674 Line(s) of event code
|
||||
1225 Unique line(s) of event code
|
||||
416 Component(s)
|
||||
4682 Line(s) of event code
|
||||
1231 Unique line(s) of event code
|
||||
|
||||
@@ -50,27 +50,34 @@ Variable (string) strCommand
|
||||
|
||||
Variable (string) tId
|
||||
Attributes
|
||||
ID : 17
|
||||
ID : 16
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 25
|
||||
|
||||
Variable (int32) vaTap
|
||||
Attributes
|
||||
ID : 25
|
||||
ID : 24
|
||||
Scope: local
|
||||
Value: 0
|
||||
|
||||
Variable (string) tInstruction
|
||||
Attributes
|
||||
ID : 31
|
||||
ID : 30
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Variable (string) tTmp
|
||||
Attributes
|
||||
ID : 32
|
||||
ID : 31
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Variable (string) tSend
|
||||
Attributes
|
||||
ID : 34
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
@@ -135,7 +142,7 @@ Text tDate
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tSend
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
ID : 7
|
||||
Scope : local
|
||||
@@ -143,38 +150,8 @@ Text tSend
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 19
|
||||
y coordinate : 450
|
||||
Width : 27
|
||||
Height : 30
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 0
|
||||
Back. Color : 65535
|
||||
Font Color : 0
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
ID : 8
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 125
|
||||
y coordinate : 241
|
||||
y coordinate : 254
|
||||
Width : 70
|
||||
Height : 65
|
||||
Effect : load
|
||||
@@ -197,14 +174,14 @@ Text tMainIcon
|
||||
|
||||
Text tMainText
|
||||
Attributes
|
||||
ID : 9
|
||||
ID : 8
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 111
|
||||
y coordinate : 305
|
||||
y coordinate : 318
|
||||
Width : 110
|
||||
Height : 42
|
||||
Effect : load
|
||||
@@ -227,14 +204,14 @@ Text tMainText
|
||||
|
||||
Text tForecast1
|
||||
Attributes
|
||||
ID : 10
|
||||
ID : 9
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 5
|
||||
y coordinate : 368
|
||||
y coordinate : 377
|
||||
Width : 71
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -257,14 +234,14 @@ Text tForecast1
|
||||
|
||||
Text tForecast1Val
|
||||
Attributes
|
||||
ID : 11
|
||||
ID : 10
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 2
|
||||
y coordinate : 434
|
||||
y coordinate : 443
|
||||
Width : 70
|
||||
Height : 24
|
||||
Effect : load
|
||||
@@ -287,14 +264,14 @@ Text tForecast1Val
|
||||
|
||||
Text tF1Icon
|
||||
Attributes
|
||||
ID : 12
|
||||
ID : 11
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 23
|
||||
y coordinate : 397
|
||||
y coordinate : 406
|
||||
Width : 40
|
||||
Height : 34
|
||||
Effect : load
|
||||
@@ -317,14 +294,14 @@ Text tF1Icon
|
||||
|
||||
Text tForecast2
|
||||
Attributes
|
||||
ID : 13
|
||||
ID : 12
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 86
|
||||
y coordinate : 369
|
||||
y coordinate : 378
|
||||
Width : 71
|
||||
Height : 24
|
||||
Effect : load
|
||||
@@ -347,14 +324,14 @@ Text tForecast2
|
||||
|
||||
Text tF2Icon
|
||||
Attributes
|
||||
ID : 14
|
||||
ID : 13
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 103
|
||||
y coordinate : 397
|
||||
y coordinate : 406
|
||||
Width : 40
|
||||
Height : 34
|
||||
Effect : load
|
||||
@@ -377,14 +354,14 @@ Text tF2Icon
|
||||
|
||||
Text tForecast2Val
|
||||
Attributes
|
||||
ID : 15
|
||||
ID : 14
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 83
|
||||
y coordinate : 434
|
||||
y coordinate : 443
|
||||
Width : 71
|
||||
Height : 24
|
||||
Effect : load
|
||||
@@ -407,14 +384,14 @@ Text tForecast2Val
|
||||
|
||||
Text t10
|
||||
Attributes
|
||||
ID : 16
|
||||
ID : 15
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 49
|
||||
y coordinate : 225
|
||||
y coordinate : 233
|
||||
Width : 225
|
||||
Height : 2
|
||||
Effect : load
|
||||
@@ -437,7 +414,7 @@ Text t10
|
||||
|
||||
Text tAMPM
|
||||
Attributes
|
||||
ID : 18
|
||||
ID : 17
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
@@ -467,14 +444,14 @@ Text tAMPM
|
||||
|
||||
Text tForecast3Val
|
||||
Attributes
|
||||
ID : 19
|
||||
ID : 18
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 165
|
||||
y coordinate : 435
|
||||
y coordinate : 444
|
||||
Width : 70
|
||||
Height : 23
|
||||
Effect : load
|
||||
@@ -497,14 +474,14 @@ Text tForecast3Val
|
||||
|
||||
Text tF3Icon
|
||||
Attributes
|
||||
ID : 20
|
||||
ID : 19
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 183
|
||||
y coordinate : 398
|
||||
y coordinate : 407
|
||||
Width : 40
|
||||
Height : 33
|
||||
Effect : load
|
||||
@@ -527,14 +504,14 @@ Text tF3Icon
|
||||
|
||||
Text tForecast3
|
||||
Attributes
|
||||
ID : 21
|
||||
ID : 20
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 167
|
||||
y coordinate : 370
|
||||
y coordinate : 379
|
||||
Width : 70
|
||||
Height : 23
|
||||
Effect : load
|
||||
@@ -557,14 +534,14 @@ Text tForecast3
|
||||
|
||||
Text tForecast4
|
||||
Attributes
|
||||
ID : 22
|
||||
ID : 21
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 247
|
||||
y coordinate : 370
|
||||
y coordinate : 379
|
||||
Width : 70
|
||||
Height : 23
|
||||
Effect : load
|
||||
@@ -587,14 +564,14 @@ Text tForecast4
|
||||
|
||||
Text tF4Icon
|
||||
Attributes
|
||||
ID : 23
|
||||
ID : 22
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 263
|
||||
y coordinate : 398
|
||||
y coordinate : 407
|
||||
Width : 40
|
||||
Height : 33
|
||||
Effect : load
|
||||
@@ -617,14 +594,14 @@ Text tF4Icon
|
||||
|
||||
Text tForecast4Val
|
||||
Attributes
|
||||
ID : 24
|
||||
ID : 23
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 246
|
||||
y coordinate : 435
|
||||
y coordinate : 444
|
||||
Width : 70
|
||||
Height : 23
|
||||
Effect : load
|
||||
@@ -647,14 +624,14 @@ Text tForecast4Val
|
||||
|
||||
Text tMainTextAlt
|
||||
Attributes
|
||||
ID : 27
|
||||
ID : 26
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 184
|
||||
y coordinate : 249
|
||||
y coordinate : 262
|
||||
Width : 105
|
||||
Height : 41
|
||||
Effect : load
|
||||
@@ -677,14 +654,14 @@ Text tMainTextAlt
|
||||
|
||||
Text tMainIconAlt
|
||||
Attributes
|
||||
ID : 28
|
||||
ID : 27
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 44
|
||||
y coordinate : 260
|
||||
y coordinate : 273
|
||||
Width : 100
|
||||
Height : 65
|
||||
Effect : load
|
||||
@@ -707,14 +684,14 @@ Text tMainIconAlt
|
||||
|
||||
Text tMRIcon
|
||||
Attributes
|
||||
ID : 29
|
||||
ID : 28
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 182
|
||||
y coordinate : 304
|
||||
y coordinate : 317
|
||||
Width : 40
|
||||
Height : 34
|
||||
Effect : load
|
||||
@@ -737,14 +714,14 @@ Text tMRIcon
|
||||
|
||||
Text tMR
|
||||
Attributes
|
||||
ID : 30
|
||||
ID : 29
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 224
|
||||
y coordinate : 309
|
||||
y coordinate : 322
|
||||
Width : 61
|
||||
Height : 20
|
||||
Effect : load
|
||||
@@ -767,14 +744,14 @@ Text tMR
|
||||
|
||||
Text tNotifyHead
|
||||
Attributes
|
||||
ID : 33
|
||||
ID : 32
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 236
|
||||
y coordinate : 253
|
||||
Width : 320
|
||||
Height : 58
|
||||
Effect : load
|
||||
@@ -797,14 +774,14 @@ Text tNotifyHead
|
||||
|
||||
Text tNotifyText
|
||||
Attributes
|
||||
ID : 34
|
||||
ID : 33
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 294
|
||||
y coordinate : 311
|
||||
Width : 320
|
||||
Height : 58
|
||||
Effect : load
|
||||
@@ -825,6 +802,66 @@ Text tNotifyText
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tIcon1
|
||||
Attributes
|
||||
ID : 35
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 8
|
||||
y coordinate : 220
|
||||
Width : 33
|
||||
Height : 30
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 1
|
||||
Back. Color : 6371
|
||||
Font Color : 17299
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tIcon2
|
||||
Attributes
|
||||
ID : 36
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 282
|
||||
y coordinate : 220
|
||||
Width : 33
|
||||
Height : 30
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 1
|
||||
Back. Color : 6371
|
||||
Font Color : 17299
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
ID : 1
|
||||
@@ -982,6 +1019,14 @@ Timer tmSerial
|
||||
}
|
||||
//tMR
|
||||
spstr strCommand.txt,tMR.txt,"~",16
|
||||
//statusIcon1
|
||||
spstr strCommand.txt,tIcon1.txt,"~",17
|
||||
spstr strCommand.txt,tTmp.txt,"~",18
|
||||
covx tTmp.txt,tIcon1.pco,0,0
|
||||
//statusIcon2
|
||||
spstr strCommand.txt,tIcon2.txt,"~",19
|
||||
spstr strCommand.txt,tTmp.txt,"~",20
|
||||
covx tTmp.txt,tIcon2.pco,0,0
|
||||
}
|
||||
if(tInstruction.txt=="color")
|
||||
{
|
||||
@@ -997,6 +1042,8 @@ Timer tmSerial
|
||||
tMRIcon.bco=tTime.bco
|
||||
tMR.bco=tTime.bco
|
||||
tMRIcon.bco=tTime.bco
|
||||
tIcon1.bco=tTime.bco
|
||||
tIcon2.bco=tTime.bco
|
||||
tForecast1.bco=tTime.bco
|
||||
tForecast1Val.bco=tTime.bco
|
||||
tF1Icon.bco=tTime.bco
|
||||
@@ -1135,7 +1182,7 @@ Timer tmSerial
|
||||
|
||||
Timer tmSleep
|
||||
Attributes
|
||||
ID : 26
|
||||
ID : 25
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : yes
|
||||
|
||||
@@ -62,6 +62,12 @@ Variable (string) tTmp
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Variable (string) tSend
|
||||
Attributes
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Text tTime
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -82,16 +88,6 @@ Text tDate
|
||||
Text : Tuesday, 08. March 2022
|
||||
Max. Text Size : 35
|
||||
|
||||
Text tSend
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -312,6 +308,26 @@ Text tNotifyText
|
||||
Text :
|
||||
Max. Text Size : 35
|
||||
|
||||
Text tIcon1
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Text tIcon2
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -458,6 +474,14 @@ Timer tmSerial
|
||||
}
|
||||
//tMR
|
||||
spstr strCommand.txt,tMR.txt,"~",16
|
||||
//statusIcon1
|
||||
spstr strCommand.txt,tIcon1.txt,"~",17
|
||||
spstr strCommand.txt,tTmp.txt,"~",18
|
||||
covx tTmp.txt,tIcon1.pco,0,0
|
||||
//statusIcon2
|
||||
spstr strCommand.txt,tIcon2.txt,"~",19
|
||||
spstr strCommand.txt,tTmp.txt,"~",20
|
||||
covx tTmp.txt,tIcon2.pco,0,0
|
||||
}
|
||||
if(tInstruction.txt=="color")
|
||||
{
|
||||
@@ -473,6 +497,8 @@ Timer tmSerial
|
||||
tMRIcon.bco=tTime.bco
|
||||
tMR.bco=tTime.bco
|
||||
tMRIcon.bco=tTime.bco
|
||||
tIcon1.bco=tTime.bco
|
||||
tIcon2.bco=tTime.bco
|
||||
tForecast1.bco=tTime.bco
|
||||
tForecast1Val.bco=tTime.bco
|
||||
tF1Icon.bco=tTime.bco
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
HMI/fonts - Kopie/(C) HMI NotoSans-Regular 24 (UTF_8).zi
Normal file
BIN
HMI/fonts - Kopie/(C) HMI NotoSans-Regular 24 (UTF_8).zi
Normal file
Binary file not shown.
BIN
HMI/fonts - Kopie/(C) HMI NotoSans-Regular 32 (UTF_8).zi
Normal file
BIN
HMI/fonts - Kopie/(C) HMI NotoSans-Regular 32 (UTF_8).zi
Normal file
Binary file not shown.
BIN
HMI/fonts - Kopie/(CJK) HMI NotoSans-Regular 24 (UTF_8).zi
Normal file
BIN
HMI/fonts - Kopie/(CJK) HMI NotoSans-Regular 24 (UTF_8).zi
Normal file
Binary file not shown.
BIN
HMI/fonts - Kopie/(CJK) HMI NotoSans-Regular 32 (UTF_8).zi
Normal file
BIN
HMI/fonts - Kopie/(CJK) HMI NotoSans-Regular 32 (UTF_8).zi
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
HMI/fonts/(CJK) HMI NotoSans-Regular 24 (UTF_8).zi
Normal file
BIN
HMI/fonts/(CJK) HMI NotoSans-Regular 24 (UTF_8).zi
Normal file
Binary file not shown.
BIN
HMI/fonts/(CJK) HMI NotoSans-Regular 32 (UTF_8).zi
Normal file
BIN
HMI/fonts/(CJK) HMI NotoSans-Regular 32 (UTF_8).zi
Normal file
Binary file not shown.
@@ -22,14 +22,14 @@ popupNotify
|
||||
17 Component(s)
|
||||
200 Line(s) of event code
|
||||
125 Unique line(s) of event code
|
||||
screensaver
|
||||
35 Component(s)
|
||||
297 Line(s) of event code
|
||||
238 Unique line(s) of event code
|
||||
popupLight
|
||||
27 Component(s)
|
||||
345 Line(s) of event code
|
||||
187 Unique line(s) of event code
|
||||
348 Line(s) of event code
|
||||
188 Unique line(s) of event code
|
||||
screensaver
|
||||
37 Component(s)
|
||||
305 Line(s) of event code
|
||||
244 Unique line(s) of event code
|
||||
cardQR
|
||||
30 Component(s)
|
||||
363 Line(s) of event code
|
||||
@@ -57,6 +57,6 @@ cardEntities
|
||||
|
||||
Total
|
||||
13 Page(s)
|
||||
402 Component(s)
|
||||
4460 Line(s) of event code
|
||||
1169 Unique line(s) of event code
|
||||
404 Component(s)
|
||||
4471 Line(s) of event code
|
||||
1176 Unique line(s) of event code
|
||||
|
||||
@@ -461,6 +461,9 @@ Picture pColorWheel
|
||||
sys0=sys0-pColorWheel.y
|
||||
covx sys0,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
tSend.txt+="|"
|
||||
covx pColorWheel.h,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
|
||||
@@ -50,27 +50,34 @@ Variable (string) strCommand
|
||||
|
||||
Variable (string) tId
|
||||
Attributes
|
||||
ID : 17
|
||||
ID : 16
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 25
|
||||
|
||||
Variable (int32) vaTap
|
||||
Attributes
|
||||
ID : 25
|
||||
ID : 24
|
||||
Scope: local
|
||||
Value: 0
|
||||
|
||||
Variable (string) tInstruction
|
||||
Attributes
|
||||
ID : 31
|
||||
ID : 30
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Variable (string) tTmp
|
||||
Attributes
|
||||
ID : 32
|
||||
ID : 31
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Variable (string) tSend
|
||||
Attributes
|
||||
ID : 34
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
@@ -84,7 +91,7 @@ Text tTime
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 0
|
||||
y coordinate : 4
|
||||
Width : 451
|
||||
Height : 150
|
||||
Effect : load
|
||||
@@ -113,9 +120,9 @@ Text tDate
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 150
|
||||
Width : 451
|
||||
x coordinate : 38
|
||||
y coordinate : 154
|
||||
Width : 375
|
||||
Height : 38
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
@@ -135,7 +142,7 @@ Text tDate
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tSend
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
ID : 7
|
||||
Scope : local
|
||||
@@ -143,38 +150,8 @@ Text tSend
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 405
|
||||
y coordinate : 2
|
||||
Width : 29
|
||||
Height : 30
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 0
|
||||
Back. Color : 65535
|
||||
Font Color : 0
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
ID : 8
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 26
|
||||
y coordinate : 202
|
||||
y coordinate : 206
|
||||
Width : 70
|
||||
Height : 66
|
||||
Effect : load
|
||||
@@ -197,14 +174,14 @@ Text tMainIcon
|
||||
|
||||
Text tMainText
|
||||
Attributes
|
||||
ID : 9
|
||||
ID : 8
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 7
|
||||
y coordinate : 267
|
||||
y coordinate : 271
|
||||
Width : 110
|
||||
Height : 43
|
||||
Effect : load
|
||||
@@ -227,14 +204,14 @@ Text tMainText
|
||||
|
||||
Text tForecast1
|
||||
Attributes
|
||||
ID : 10
|
||||
ID : 9
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 128
|
||||
y coordinate : 210
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 26
|
||||
Effect : load
|
||||
@@ -257,14 +234,14 @@ Text tForecast1
|
||||
|
||||
Text tForecast1Val
|
||||
Attributes
|
||||
ID : 11
|
||||
ID : 10
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 125
|
||||
y coordinate : 276
|
||||
y coordinate : 280
|
||||
Width : 71
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -287,14 +264,14 @@ Text tForecast1Val
|
||||
|
||||
Text tF1Icon
|
||||
Attributes
|
||||
ID : 12
|
||||
ID : 11
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 146
|
||||
y coordinate : 239
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
Effect : load
|
||||
@@ -317,14 +294,14 @@ Text tF1Icon
|
||||
|
||||
Text tForecast2
|
||||
Attributes
|
||||
ID : 13
|
||||
ID : 12
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 212
|
||||
y coordinate : 210
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -347,14 +324,14 @@ Text tForecast2
|
||||
|
||||
Text tF2Icon
|
||||
Attributes
|
||||
ID : 14
|
||||
ID : 13
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 228
|
||||
y coordinate : 239
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
Effect : load
|
||||
@@ -377,14 +354,14 @@ Text tF2Icon
|
||||
|
||||
Text tForecast2Val
|
||||
Attributes
|
||||
ID : 15
|
||||
ID : 14
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 212
|
||||
y coordinate : 277
|
||||
y coordinate : 281
|
||||
Width : 72
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -407,14 +384,14 @@ Text tForecast2Val
|
||||
|
||||
Text t10
|
||||
Attributes
|
||||
ID : 16
|
||||
ID : 15
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 46
|
||||
y coordinate : 195
|
||||
y coordinate : 199
|
||||
Width : 360
|
||||
Height : 2
|
||||
Effect : load
|
||||
@@ -437,14 +414,14 @@ Text t10
|
||||
|
||||
Text tAMPM
|
||||
Attributes
|
||||
ID : 18
|
||||
ID : 17
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 343
|
||||
y coordinate : 48
|
||||
y coordinate : 52
|
||||
Width : 104
|
||||
Height : 57
|
||||
Effect : load
|
||||
@@ -467,14 +444,14 @@ Text tAMPM
|
||||
|
||||
Text tForecast3Val
|
||||
Attributes
|
||||
ID : 19
|
||||
ID : 18
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 292
|
||||
y coordinate : 277
|
||||
y coordinate : 281
|
||||
Width : 71
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -497,14 +474,14 @@ Text tForecast3Val
|
||||
|
||||
Text tF3Icon
|
||||
Attributes
|
||||
ID : 20
|
||||
ID : 19
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 309
|
||||
y coordinate : 239
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
Effect : load
|
||||
@@ -527,14 +504,14 @@ Text tF3Icon
|
||||
|
||||
Text tForecast3
|
||||
Attributes
|
||||
ID : 21
|
||||
ID : 20
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 293
|
||||
y coordinate : 210
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -557,14 +534,14 @@ Text tForecast3
|
||||
|
||||
Text tForecast4
|
||||
Attributes
|
||||
ID : 22
|
||||
ID : 21
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 374
|
||||
y coordinate : 210
|
||||
y coordinate : 214
|
||||
Width : 72
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -587,14 +564,14 @@ Text tForecast4
|
||||
|
||||
Text tF4Icon
|
||||
Attributes
|
||||
ID : 23
|
||||
ID : 22
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 390
|
||||
y coordinate : 239
|
||||
y coordinate : 243
|
||||
Width : 40
|
||||
Height : 35
|
||||
Effect : load
|
||||
@@ -617,14 +594,14 @@ Text tF4Icon
|
||||
|
||||
Text tForecast4Val
|
||||
Attributes
|
||||
ID : 24
|
||||
ID : 23
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 374
|
||||
y coordinate : 277
|
||||
y coordinate : 281
|
||||
Width : 72
|
||||
Height : 25
|
||||
Effect : load
|
||||
@@ -647,14 +624,14 @@ Text tForecast4Val
|
||||
|
||||
Text tMainTextAlt
|
||||
Attributes
|
||||
ID : 27
|
||||
ID : 26
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 104
|
||||
y coordinate : 210
|
||||
y coordinate : 214
|
||||
Width : 106
|
||||
Height : 42
|
||||
Effect : load
|
||||
@@ -677,14 +654,14 @@ Text tMainTextAlt
|
||||
|
||||
Text tMainIconAlt
|
||||
Attributes
|
||||
ID : 28
|
||||
ID : 27
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 221
|
||||
y coordinate : 225
|
||||
Width : 100
|
||||
Height : 66
|
||||
Effect : load
|
||||
@@ -707,14 +684,14 @@ Text tMainIconAlt
|
||||
|
||||
Text tMRIcon
|
||||
Attributes
|
||||
ID : 29
|
||||
ID : 28
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 101
|
||||
y coordinate : 266
|
||||
y coordinate : 270
|
||||
Width : 40
|
||||
Height : 35
|
||||
Effect : load
|
||||
@@ -737,14 +714,14 @@ Text tMRIcon
|
||||
|
||||
Text tMR
|
||||
Attributes
|
||||
ID : 30
|
||||
ID : 29
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 144
|
||||
y coordinate : 270
|
||||
y coordinate : 274
|
||||
Width : 62
|
||||
Height : 21
|
||||
Effect : load
|
||||
@@ -767,14 +744,14 @@ Text tMR
|
||||
|
||||
Text tNotifyHead
|
||||
Attributes
|
||||
ID : 33
|
||||
ID : 32
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 201
|
||||
y coordinate : 205
|
||||
Width : 450
|
||||
Height : 58
|
||||
Effect : load
|
||||
@@ -797,14 +774,14 @@ Text tNotifyHead
|
||||
|
||||
Text tNotifyText
|
||||
Attributes
|
||||
ID : 34
|
||||
ID : 33
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 258
|
||||
y coordinate : 262
|
||||
Width : 450
|
||||
Height : 47
|
||||
Effect : load
|
||||
@@ -825,6 +802,66 @@ Text tNotifyText
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tIcon1
|
||||
Attributes
|
||||
ID : 35
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 0
|
||||
y coordinate : 154
|
||||
Width : 38
|
||||
Height : 38
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 1
|
||||
Back. Color : 0
|
||||
Font Color : 17299
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Text tIcon2
|
||||
Attributes
|
||||
ID : 36
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Opacity : 127
|
||||
x coordinate : 413
|
||||
y coordinate : 154
|
||||
Width : 38
|
||||
Height : 38
|
||||
Effect : load
|
||||
Effect Priority : 0
|
||||
Effect Time : 300
|
||||
Fill : solid color
|
||||
Style : flat
|
||||
Associated Keyboard : none
|
||||
Font ID : 1
|
||||
Back. Color : 0
|
||||
Font Color : 17299
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
Vertical Spacing : 0
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
ID : 1
|
||||
@@ -998,6 +1035,14 @@ Timer tmSerial
|
||||
}
|
||||
//tMR
|
||||
spstr strCommand.txt,tMR.txt,"~",16
|
||||
//statusIcon1
|
||||
spstr strCommand.txt,tIcon1.txt,"~",17
|
||||
spstr strCommand.txt,tTmp.txt,"~",18
|
||||
covx tTmp.txt,tIcon1.pco,0,0
|
||||
//statusIcon2
|
||||
spstr strCommand.txt,tIcon2.txt,"~",19
|
||||
spstr strCommand.txt,tTmp.txt,"~",20
|
||||
covx tTmp.txt,tIcon2.pco,0,0
|
||||
}
|
||||
if(tInstruction.txt=="color")
|
||||
{
|
||||
@@ -1013,6 +1058,8 @@ Timer tmSerial
|
||||
tMRIcon.bco=tTime.bco
|
||||
tMR.bco=tTime.bco
|
||||
tMRIcon.bco=tTime.bco
|
||||
tIcon1.bco=tTime.bco
|
||||
tIcon2.bco=tTime.bco
|
||||
tForecast1.bco=tTime.bco
|
||||
tForecast1Val.bco=tTime.bco
|
||||
tF1Icon.bco=tTime.bco
|
||||
@@ -1151,7 +1198,7 @@ Timer tmSerial
|
||||
|
||||
Timer tmSleep
|
||||
Attributes
|
||||
ID : 26
|
||||
ID : 25
|
||||
Scope : local
|
||||
Period (ms): 1000
|
||||
Enabled : yes
|
||||
|
||||
@@ -209,6 +209,9 @@ Picture pColorWheel
|
||||
sys0=sys0-pColorWheel.y
|
||||
covx sys0,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
tSend.txt+="|"
|
||||
covx pColorWheel.h,tTmp.txt,0,0
|
||||
tSend.txt+=tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
|
||||
@@ -62,6 +62,12 @@ Variable (string) tTmp
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Variable (string) tSend
|
||||
Attributes
|
||||
Scope : local
|
||||
Text :
|
||||
Max. Text Size: 50
|
||||
|
||||
Text tTime
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -82,16 +88,6 @@ Text tDate
|
||||
Text : Tuesday, 08. March 2022
|
||||
Max. Text Size : 35
|
||||
|
||||
Text tSend
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 50
|
||||
|
||||
Text tMainIcon
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -312,6 +308,26 @@ Text tNotifyText
|
||||
Text :
|
||||
Max. Text Size : 35
|
||||
|
||||
Text tIcon1
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Text tIcon2
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Disable release event after dragging: 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard : none
|
||||
Text :
|
||||
Max. Text Size : 5
|
||||
|
||||
Picture p0
|
||||
Attributes
|
||||
Scope : local
|
||||
@@ -474,6 +490,14 @@ Timer tmSerial
|
||||
}
|
||||
//tMR
|
||||
spstr strCommand.txt,tMR.txt,"~",16
|
||||
//statusIcon1
|
||||
spstr strCommand.txt,tIcon1.txt,"~",17
|
||||
spstr strCommand.txt,tTmp.txt,"~",18
|
||||
covx tTmp.txt,tIcon1.pco,0,0
|
||||
//statusIcon2
|
||||
spstr strCommand.txt,tIcon2.txt,"~",19
|
||||
spstr strCommand.txt,tTmp.txt,"~",20
|
||||
covx tTmp.txt,tIcon2.pco,0,0
|
||||
}
|
||||
if(tInstruction.txt=="color")
|
||||
{
|
||||
@@ -489,6 +513,8 @@ Timer tmSerial
|
||||
tMRIcon.bco=tTime.bco
|
||||
tMR.bco=tTime.bco
|
||||
tMRIcon.bco=tTime.bco
|
||||
tIcon1.bco=tTime.bco
|
||||
tIcon2.bco=tTime.bco
|
||||
tForecast1.bco=tTime.bco
|
||||
tForecast1Val.bco=tTime.bco
|
||||
tF1Icon.bco=tTime.bco
|
||||
|
||||
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
18
README.md
18
README.md
@@ -457,6 +457,8 @@ key | optional | type | default | description
|
||||
`weatherOverrideForecast2` | True | complex | `None` | sensor entity from home assistant here to override the second weather forecast item on the screensaver
|
||||
`weatherOverrideForecast3` | True | complex | `None` | sensor entity from home assistant here to override the third weather forecast item on the screensaver
|
||||
`weatherOverrideForecast4` | True | complex | `None` | sensor entity from home assistant here to override the forth weather forecast item on the screensaver
|
||||
`statusIcon1` | True | complex | `None` | status icon left to the date string, config similar to weatherOverride
|
||||
`statusIcon2` | True | complex | `None` | status icon right to the date string, config similar to weatherOverride
|
||||
`doubleTapToUnlock` | True | boolean | `False` | requires to tap screensaver two times
|
||||
`alternativeLayout` | True | boolean | `False` | alternative layout with humidity
|
||||
`theme` | True | complex | | configuration for theme
|
||||
@@ -498,13 +500,21 @@ key | option | type | default | description
|
||||
`tMainTextAlt` | True | list | White | `[R, G, B]`
|
||||
`tMRIcon` | True | list | White | `[R, G, B]`
|
||||
`tMR` | True | list | White | `[R, G, B]`
|
||||
`autoWeather` | True | string | None | Set to `true` to enable weather icons to change depending on state e.g. blue for rainy. Any custom colors in `tMainIcon` `tF1Icon` `tF2Icon` `tF3Icon` `tF4Icon` take precedence.
|
||||
`autoWeather` | True | boolean | false | Set to `true` to enable weather icons to change depending on state e.g. blue for rainy. Any custom colors in `tMainIcon` `tF1Icon` `tF2Icon` `tF3Icon` `tF4Icon` take precedence.
|
||||
|
||||
If `autoWeather: true` is set. You may also override the default color mapping for any valid weather state provided by homeassistant e.g. `rainy: [50, 50, 255]` or `sunny: [255, 255, 0]`
|
||||
|
||||
Specify colours as red green and blue values from 0-255 e.g. `[255, 0, 0]` for red or `[0, 0, 255]` for blue. These are translated internally to RGB565 (note that this has lower color depth so the colours may not appear the same). Also note that the screen has a low contrast ratio, so colors look sigificantly different at full display brightness and lowest brightness.
|
||||
|
||||
For complex theme setups, you may configure `theme: !include /config/appdaemon/apps/screensaver-theme.yaml` and download `screensaver-theme.yaml` from the appdaemon folder and place it in the same folder as `apps.yaml`. Note: this will cause AppDaemon to throw a warning that `screensaver-theme.yaml` is not a valid yaml file - this warning can be safely ignored or you can configure `invalid_yaml_warnings: 1` (see appdaemon.yaml in the appdaemon folder).
|
||||
Example for the theme config:
|
||||
|
||||
```yaml
|
||||
screensaver:
|
||||
theme:
|
||||
autoWeather: true
|
||||
```
|
||||
|
||||
For complex setups where you want to reuse the theme over multiple panels see the config exmaples in the appdaemon folder.
|
||||
|
||||
#### Schedule sleep brightness
|
||||
|
||||
@@ -730,9 +740,11 @@ Click redownload in the menu of the app in HACS.
|
||||
|
||||
Select main version.
|
||||
|
||||
**!!! Wait for it to load, dropdown needs to be selectable again, otherwise it will download the latest release !!!**
|
||||
|
||||

|
||||
|
||||
**Wait for it to load, dropdown needs to be selectable again**
|
||||
**!!! Wait for it to load, dropdown needs to be selectable again, otherwise it will download the latest release !!!**
|
||||
|
||||
Click download.
|
||||
|
||||
|
||||
@@ -6,10 +6,14 @@ This folder contains some example configs
|
||||
|
||||
Example config for appademon itself
|
||||
|
||||
## apps.yaml
|
||||
## apps-simple.yaml
|
||||
|
||||
"Simple" Example Config with all possible entity types
|
||||
|
||||
## screensaver-theme.yaml
|
||||
|
||||
Example screensaver theme configuration. All entries are commented out but you can uncomment as appropriate to enable.
|
||||
|
||||
## screensaver-theme-include
|
||||
|
||||
Exmaple for screensaver theme configuration in seperate file to reuse it on muliple nspanels
|
||||
56
appdaemon/apps-theme.yaml
Normal file
56
appdaemon/apps-theme.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
nspanel-1:
|
||||
module: nspanel-lovelace-ui
|
||||
class: NsPanelLovelaceUIManager
|
||||
config:
|
||||
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
|
||||
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
|
||||
screensaver:
|
||||
entity: weather.k3ll3r
|
||||
theme: !include /config/appdaemon/apps/screensaver-theme.yaml
|
||||
#background: [220, 0, 0]
|
||||
#time: [220, 0, 255]
|
||||
#timeAMPM: [220, 0, 255]
|
||||
#date: [220, 0, 255]
|
||||
#tMainIcon: [220, 0, 255]
|
||||
#tMainText: [220, 0, 255]
|
||||
#tForecast1: [220, 0, 255]
|
||||
#tForecast2: [220, 0, 255]
|
||||
#tForecast3: [220, 0, 255]
|
||||
#tForecast4: [220, 0, 255]
|
||||
#tF1Icon: [220, 0, 255]
|
||||
#tF2Icon: [220, 0, 255]
|
||||
#tF3Icon: [220, 0, 255]
|
||||
#tF4Icon: [220, 0, 255]
|
||||
#tForecast1Val: [220, 0, 255]
|
||||
#tForecast2Val: [220, 0, 255]
|
||||
#tForecast3Val: [220, 0, 255]
|
||||
#tForecast4Val: [220, 0, 255]
|
||||
#bar: [220, 0, 255]
|
||||
#tMRIcon: [220, 0, 255]
|
||||
#tMR: [220, 0, 255]
|
||||
|
||||
#autoWeather automatically colors the screensaver weather icons based upon weather. Uncomment the following line to enable.
|
||||
#autoWeather: true
|
||||
|
||||
#If you have enabled autoWeather, the following options allow you to customise the colors used for autoWeather.
|
||||
|
||||
#clear-night: [150, 150, 100]
|
||||
#cloudy: [75, 75, 75]
|
||||
#exceptional: [255, 50, 50]
|
||||
#fog: [150, 150, 150]
|
||||
#hail: [200, 200, 200]
|
||||
#lightning: [200, 200, 0]
|
||||
#lightning-rainy: [200, 200, 150]
|
||||
#partlycloudy: [150, 150, 150]
|
||||
#pouring: [50, 50, 255]
|
||||
#rainy: [100, 100, 255]
|
||||
#snowy: [150, 150, 150]
|
||||
#snowy-rainy: [150, 150, 255]
|
||||
#sunny: [255, 255, 0]
|
||||
#windy: [150, 150, 150]
|
||||
#windy-variant: [255, 125, 125]
|
||||
cards:
|
||||
- type: cardEntities
|
||||
entities:
|
||||
- entity: switch.example_item
|
||||
15
appdaemon/screensaver-theme-include/apps.yaml
Normal file
15
appdaemon/screensaver-theme-include/apps.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
nspanel-1:
|
||||
module: nspanel-lovelace-ui
|
||||
class: NsPanelLovelaceUIManager
|
||||
config:
|
||||
panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
|
||||
panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"
|
||||
updateMode: "auto-notify"
|
||||
screensaver:
|
||||
entity: weather.k3ll3r
|
||||
theme: !include /config/appdaemon/apps/screensaver-theme.yaml
|
||||
cards:
|
||||
- type: cardEntities
|
||||
entities:
|
||||
- entity: switch.example_item
|
||||
@@ -36,7 +36,7 @@ class Card(object):
|
||||
for e in self.entities:
|
||||
entityIds.append(e.entityId)
|
||||
# additional keys to check
|
||||
add_ent_keys = ['weatherOverrideForecast1', 'weatherOverrideForecast2', 'weatherOverrideForecast3', 'weatherOverrideForecast4']
|
||||
add_ent_keys = ['weatherOverrideForecast1', 'weatherOverrideForecast2', 'weatherOverrideForecast3', 'weatherOverrideForecast4', 'statusIcon1', 'statusIcon2']
|
||||
for ent_key in add_ent_keys:
|
||||
val = self.raw_config.get(ent_key)
|
||||
if val is not None:
|
||||
|
||||
@@ -20,6 +20,9 @@ translations = {
|
||||
'brightness': "Helderheid",
|
||||
'color_temperature': "Kleur temperatuur",
|
||||
'position': "Posisie",
|
||||
'state': "Toestand",
|
||||
'currently': "Tans",
|
||||
'operation': "Operasie",
|
||||
},
|
||||
'ar': {
|
||||
'ACTIVATE': "تفعيل",
|
||||
@@ -42,6 +45,9 @@ translations = {
|
||||
'brightness': "السطوع",
|
||||
'color_temperature': "درجة حرارة اللون",
|
||||
'position': "موضع",
|
||||
'state': "الحالة",
|
||||
'currently': "حاليا",
|
||||
'operation': "الوضع",
|
||||
},
|
||||
'bg': {
|
||||
'ACTIVATE': "Активирай",
|
||||
@@ -65,6 +71,9 @@ translations = {
|
||||
'brightness': "Яркост",
|
||||
'color_temperature': "Цветова температура",
|
||||
'position': "Позиция",
|
||||
'state': "Състояние",
|
||||
'currently': "В момента",
|
||||
'operation': "Режим",
|
||||
},
|
||||
'ca': {
|
||||
'PRESS': "Prem",
|
||||
@@ -89,6 +98,9 @@ translations = {
|
||||
'brightness': "Brillantor",
|
||||
'color_temperature': "Temperatura de color",
|
||||
'position': "Posició",
|
||||
'state': "Estat",
|
||||
'currently': "Actual",
|
||||
'operation': "Funcionament",
|
||||
},
|
||||
'cs': {
|
||||
'PRESS': "Stisknutí",
|
||||
@@ -113,6 +125,9 @@ translations = {
|
||||
'brightness': "Jas",
|
||||
'color_temperature': "Teplota barvy",
|
||||
'position': "Pozice",
|
||||
'state': "Stav",
|
||||
'currently': "Aktuálně",
|
||||
'operation': "Provoz",
|
||||
},
|
||||
'da': {
|
||||
'PRESS': "Tryk",
|
||||
@@ -137,6 +152,9 @@ translations = {
|
||||
'brightness': "Lysstyrke",
|
||||
'color_temperature': "Farvetemperatur",
|
||||
'position': "Position",
|
||||
'state': "Tilstand",
|
||||
'currently': "Aktuelt",
|
||||
'operation': "Drifttype",
|
||||
},
|
||||
'de': {
|
||||
'PRESS': "Drücken",
|
||||
@@ -161,6 +179,9 @@ translations = {
|
||||
'brightness': "Helligkeit",
|
||||
'color_temperature': "Farbtemperatur",
|
||||
'position': "Position",
|
||||
'state': "Zustand",
|
||||
'currently': "Aktuell",
|
||||
'operation': "Aktion",
|
||||
},
|
||||
'el': {
|
||||
'PRESS': "Πατήστε",
|
||||
@@ -185,6 +206,9 @@ translations = {
|
||||
'brightness': "Φωτεινότητα",
|
||||
'color_temperature': "Θερμοκρασία χρώματος",
|
||||
'position': "Θέση",
|
||||
'state': "Κατάσταση",
|
||||
'currently': "Αυτή τη στιγμή",
|
||||
'operation': "Λειτουργία",
|
||||
},
|
||||
'en': {
|
||||
'PRESS': "Press",
|
||||
@@ -209,6 +233,9 @@ translations = {
|
||||
'brightness': "Brightness",
|
||||
'color_temperature': "Color temperature",
|
||||
'position': "Position",
|
||||
'state': "State",
|
||||
'currently': "Currently",
|
||||
'operation': "Operation",
|
||||
},
|
||||
'es': {
|
||||
'PRESS': "Pulsa",
|
||||
@@ -233,6 +260,9 @@ translations = {
|
||||
'brightness': "Brillo",
|
||||
'color_temperature': "Temperatura del color",
|
||||
'position': "Posición",
|
||||
'state': "Estado",
|
||||
'currently': "Actualmente",
|
||||
'operation': "Modo",
|
||||
},
|
||||
'et': {
|
||||
'PRESS': "Vajuta nuppu",
|
||||
@@ -257,6 +287,9 @@ translations = {
|
||||
'brightness': "Heledus",
|
||||
'color_temperature': "Värvustemperatuur",
|
||||
'position': "Asend",
|
||||
'state': "Olek",
|
||||
'currently': "Hetkel",
|
||||
'operation': "Töörežiim",
|
||||
},
|
||||
'fa': {
|
||||
'ACTIVATE': "فعال سازی",
|
||||
@@ -279,6 +312,9 @@ translations = {
|
||||
'brightness': "روشنایی",
|
||||
'color_temperature': "دمای رنگ",
|
||||
'position': "موقعیت",
|
||||
'state': "حالت",
|
||||
'currently': "در حال حاضر",
|
||||
'operation': "عملیات",
|
||||
},
|
||||
'fi': {
|
||||
'PRESS': "Paina",
|
||||
@@ -303,6 +339,9 @@ translations = {
|
||||
'brightness': "Kirkkaus",
|
||||
'color_temperature': "Värilämpötila",
|
||||
'position': "Sijainti",
|
||||
'state': "Tila",
|
||||
'currently': "Tällä hetkellä",
|
||||
'operation': "Toiminto",
|
||||
},
|
||||
'fr': {
|
||||
'PRESS': "Appui",
|
||||
@@ -327,6 +366,9 @@ translations = {
|
||||
'brightness': "Luminosité",
|
||||
'color_temperature': "Température de couleur",
|
||||
'position': "Position",
|
||||
'state': "État",
|
||||
'currently': "Actuellement",
|
||||
'operation': "Opération",
|
||||
},
|
||||
'he': {
|
||||
'PRESS': "לחיצה",
|
||||
@@ -351,6 +393,9 @@ translations = {
|
||||
'brightness': "בהירות",
|
||||
'color_temperature': "טמפרטורת הצבע",
|
||||
'position': "מיקום",
|
||||
'state': "מצב",
|
||||
'currently': "כעת",
|
||||
'operation': "פעולה",
|
||||
},
|
||||
'hr': {
|
||||
'ACTIVATE': "Aktivirati",
|
||||
@@ -373,6 +418,9 @@ translations = {
|
||||
'brightness': "Svjetlina",
|
||||
'color_temperature': "Temperatura boje",
|
||||
'position': "Pozicija",
|
||||
'state': "Stanje",
|
||||
'currently': "Trenutno",
|
||||
'operation': "operacija",
|
||||
},
|
||||
'hu': {
|
||||
'PRESS': "Gombnyomás",
|
||||
@@ -397,6 +445,9 @@ translations = {
|
||||
'brightness': "Fényerő",
|
||||
'color_temperature': "Színhőmérséklet",
|
||||
'position': "Pozíció",
|
||||
'state': "Állapot",
|
||||
'currently': "Jelenleg",
|
||||
'operation': "Működés",
|
||||
},
|
||||
'hy': {
|
||||
'ACTIVATE': "Ակտիվացնել",
|
||||
@@ -418,6 +469,9 @@ translations = {
|
||||
'brightness': "Պայծառություն",
|
||||
'color_temperature': "Գունային ջերմաստիճան",
|
||||
'position': "Դիրք",
|
||||
'state': "Պետություն",
|
||||
'currently': "Ներկայումս",
|
||||
'operation': "Գործողություն",
|
||||
},
|
||||
'id': {
|
||||
'PRESS': "Tekan",
|
||||
@@ -442,6 +496,9 @@ translations = {
|
||||
'brightness': "Kecerahan",
|
||||
'color_temperature': "Temperatur warna",
|
||||
'position': "Posisi",
|
||||
'state': "Status",
|
||||
'currently': "Saat ini",
|
||||
'operation': "Operasi",
|
||||
},
|
||||
'is': {
|
||||
'PRESS': "Ýttu á",
|
||||
@@ -465,6 +522,9 @@ translations = {
|
||||
'brightness': "Birtustig",
|
||||
'color_temperature': "Litastig",
|
||||
'position': "Staðsetning",
|
||||
'state': "Staða",
|
||||
'currently': "Er núna",
|
||||
'operation': "Aðgerð",
|
||||
},
|
||||
'it': {
|
||||
'PRESS': "Premi",
|
||||
@@ -489,6 +549,9 @@ translations = {
|
||||
'brightness': "Luminosità",
|
||||
'color_temperature': "Temperatura colore",
|
||||
'position': "Apertura",
|
||||
'state': "Stato",
|
||||
'currently': "Attualmente",
|
||||
'operation': "Operazione",
|
||||
},
|
||||
'lb': {
|
||||
'ACTIVATE': "Aktivéieren",
|
||||
@@ -511,6 +574,9 @@ translations = {
|
||||
'brightness': "Hellegkeet",
|
||||
'color_temperature': "Faarf Temperatur",
|
||||
'position': "Positioun",
|
||||
'state': "Zoustand",
|
||||
'currently': "Momentan",
|
||||
'operation': "Aktioun",
|
||||
},
|
||||
'lt': {
|
||||
'ACTIVATE': "Suaktyvinti",
|
||||
@@ -532,6 +598,9 @@ translations = {
|
||||
'brightness': "Ryškumas",
|
||||
'color_temperature': "Spalvos temperatūra",
|
||||
'position': "Padėtis",
|
||||
'state': "Būsena",
|
||||
'currently': "Šiuo metu",
|
||||
'operation': "Operacija",
|
||||
},
|
||||
'lv': {
|
||||
'ACTIVATE': "Aktivizēt",
|
||||
@@ -553,6 +622,9 @@ translations = {
|
||||
'brightness': "Spilgtums",
|
||||
'color_temperature': "Krāsu temperatūra",
|
||||
'position': "Pozīcija",
|
||||
'state': "Stāvoklis",
|
||||
'currently': "Pašlaik",
|
||||
'operation': "Darbība",
|
||||
},
|
||||
'nb': {
|
||||
'PRESS': "trykk",
|
||||
@@ -577,6 +649,9 @@ translations = {
|
||||
'brightness': "Lysstyrke",
|
||||
'color_temperature': "Fargetemperatur",
|
||||
'position': "Posisjon",
|
||||
'state': "Tilstand",
|
||||
'currently': "Er nå",
|
||||
'operation': "Operasjon",
|
||||
},
|
||||
'nl': {
|
||||
'PRESS': "Klik",
|
||||
@@ -601,6 +676,9 @@ translations = {
|
||||
'brightness': "Helderheid",
|
||||
'color_temperature': "Kleurtemperatuur",
|
||||
'position': "Positie",
|
||||
'state': "Staat",
|
||||
'currently': "Momenteel",
|
||||
'operation': "Werking",
|
||||
},
|
||||
'nn': {
|
||||
'ACTIVATE': "Aktiver",
|
||||
@@ -624,6 +702,9 @@ translations = {
|
||||
'brightness': "Lysstyrke",
|
||||
'color_temperature': "Fargetemperatur",
|
||||
'position': "Posisjon",
|
||||
'state': "Tilstand",
|
||||
'currently': "Akkurat no",
|
||||
'operation': "Operasjon",
|
||||
},
|
||||
'pl': {
|
||||
'PRESS': "Naciśnij",
|
||||
@@ -648,6 +729,9 @@ translations = {
|
||||
'brightness': "Jasność",
|
||||
'color_temperature': "Temperatura barwy",
|
||||
'position': "Pozycja",
|
||||
'state': "Stan",
|
||||
'currently': "Obecnie",
|
||||
'operation': "Tryb pracy",
|
||||
},
|
||||
'pt': {
|
||||
'PRESS': "Pressione",
|
||||
@@ -671,6 +755,9 @@ translations = {
|
||||
'brightness': "Brilho",
|
||||
'color_temperature': "Temperatura de cor",
|
||||
'position': "Posição",
|
||||
'state': "Estado",
|
||||
'currently': "Atualmente",
|
||||
'operation': "Operação",
|
||||
},
|
||||
'ro': {
|
||||
'ACTIVATE': "Activați",
|
||||
@@ -694,6 +781,9 @@ translations = {
|
||||
'brightness': "Luminozitate",
|
||||
'color_temperature': "Temperatură de culoare",
|
||||
'position': "Poziţie",
|
||||
'state': "Status",
|
||||
'currently': "În prezent",
|
||||
'operation': "Operație",
|
||||
},
|
||||
'ru': {
|
||||
'PRESS': "Нажать",
|
||||
@@ -718,6 +808,9 @@ translations = {
|
||||
'brightness': "Яркость",
|
||||
'color_temperature': "Цветовая температура",
|
||||
'position': "Положение",
|
||||
'state': "Состояние",
|
||||
'currently': "Сейчас",
|
||||
'operation': "Режим работы",
|
||||
},
|
||||
'sk': {
|
||||
'ACTIVATE': "Aktivovať",
|
||||
@@ -741,6 +834,9 @@ translations = {
|
||||
'brightness': "Jas",
|
||||
'color_temperature': "Teplota farby",
|
||||
'position': "Poloha",
|
||||
'state': "Stav",
|
||||
'currently': "Aktuálne",
|
||||
'operation': "Prevádzka",
|
||||
},
|
||||
'sl': {
|
||||
'PRESS': "Pritisnite",
|
||||
@@ -764,6 +860,9 @@ translations = {
|
||||
'brightness': "Svetlost",
|
||||
'color_temperature': "Temperatura barve",
|
||||
'position': "Položaj",
|
||||
'state': "Stanje",
|
||||
'currently': "Trenutno",
|
||||
'operation': "Delovanje",
|
||||
},
|
||||
'sv': {
|
||||
'PRESS': "Tryck",
|
||||
@@ -788,6 +887,9 @@ translations = {
|
||||
'brightness': "Ljusstyrka",
|
||||
'color_temperature': "Färgtemperatur",
|
||||
'position': "Position",
|
||||
'state': "Tillstånd",
|
||||
'currently': "Nuvarande",
|
||||
'operation': "Driftläge",
|
||||
},
|
||||
'th': {
|
||||
'PRESS': "กด",
|
||||
@@ -810,6 +912,9 @@ translations = {
|
||||
'brightness': "ความสว่าง",
|
||||
'color_temperature': "อุณหภูมิสี",
|
||||
'position': "ตำแหน่ง",
|
||||
'state': "สถานะ",
|
||||
'currently': "ในขณะนี้",
|
||||
'operation': "การทำงาน",
|
||||
},
|
||||
'tr': {
|
||||
'PRESS': "Basınız",
|
||||
@@ -834,6 +939,9 @@ translations = {
|
||||
'brightness': "Parlaklık",
|
||||
'color_temperature': "Renk sıcaklığı",
|
||||
'position': "Pozisyon",
|
||||
'state': "Durum",
|
||||
'currently': "Şu an",
|
||||
'operation': "İşlem",
|
||||
},
|
||||
'uk': {
|
||||
'PRESS': "Натисніть",
|
||||
@@ -857,6 +965,9 @@ translations = {
|
||||
'brightness': "Яскравість",
|
||||
'color_temperature': "Кольорова температура",
|
||||
'position': "Положення",
|
||||
'state': "Статус",
|
||||
'currently': "В даний час",
|
||||
'operation': "Режим",
|
||||
},
|
||||
'vi': {
|
||||
'ACTIVATE': "Kích hoạt",
|
||||
@@ -879,6 +990,9 @@ translations = {
|
||||
'brightness': "Độ sáng",
|
||||
'color_temperature': "Nhiệt độ màu",
|
||||
'position': "Vị trí",
|
||||
'state': "Trạng thái",
|
||||
'currently': "Hiện tại",
|
||||
'operation': "Chế độ hoạt động",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -889,3 +1003,4 @@ def get_translation(locale, input):
|
||||
return translations.get(locale).get(input, en_fallback_res)
|
||||
else:
|
||||
return en_fallback_res
|
||||
|
||||
|
||||
@@ -122,11 +122,23 @@ class LuiPagesGen(object):
|
||||
down = f"{entity.state} {unit_of_measurement}"
|
||||
weather_res+=f"~{up}~{icon}~{down}"
|
||||
|
||||
altLayout = ""
|
||||
altLayout = "~~"
|
||||
if self._config._config_screensaver.raw_config.get("alternativeLayout", False):
|
||||
altLayout = f"~{get_icon_id('water-percent')}~{we.attributes.humidity} %"
|
||||
|
||||
self._send_mqtt_msg(f"weatherUpdate~{icon_cur}~{text_cur}{weather_res}{altLayout}")
|
||||
# status icons
|
||||
status_res = ""
|
||||
for i in range(1,3):
|
||||
statusIcon = self._config._config_screensaver.raw_config.get(f"statusIcon{i}")
|
||||
if statusIcon is not None:
|
||||
icon = statusIcon.get("icon")
|
||||
entity = self._ha_api.get_entity(statusIcon.get("entity"))
|
||||
entityType = statusIcon.get("entity").split(".")[0]
|
||||
icon = get_icon_id_ha(entityType, state=entity.state, device_class=entity.attributes.get("device_class", ""), overwrite=icon)
|
||||
color = self.get_entity_color(entity)
|
||||
status_res += f"~{icon}~{color}"
|
||||
|
||||
self._send_mqtt_msg(f"weatherUpdate~{icon_cur}~{text_cur}{weather_res}{altLayout}{status_res}")
|
||||
|
||||
# send color if configured in screensaver
|
||||
if theme is not None:
|
||||
@@ -265,7 +277,7 @@ class LuiPagesGen(object):
|
||||
command = f"entityUpd~Not found~{navigation}~{item}~check~220~apps.yaml~150~300~5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Please~your~~"
|
||||
else:
|
||||
entity = self._ha_api.get_entity(item)
|
||||
heading = title if title is not None else entity.attributes.friendly_name
|
||||
heading = title if title == "unknown" else entity.attributes.friendly_name
|
||||
current_temp = get_attr_safe(entity, "current_temperature", "")
|
||||
dest_temp = int(get_attr_safe(entity, "temperature", 0)*10)
|
||||
status = get_attr_safe(entity, "hvac_action", "")
|
||||
@@ -278,7 +290,7 @@ class LuiPagesGen(object):
|
||||
for mode in hvac_modes:
|
||||
icon_id = get_icon_id('alert-circle-outline')
|
||||
color_on = 64512
|
||||
if mode == "auto":
|
||||
if mode in ["auto", "heat_cool"]:
|
||||
icon_id = get_icon_id("calendar-sync")
|
||||
color_on = 1024
|
||||
if mode == "heat":
|
||||
@@ -305,7 +317,11 @@ class LuiPagesGen(object):
|
||||
padding_len = 8-len_hvac_modes
|
||||
icon_res = icon_res + "~"*4*padding_len
|
||||
|
||||
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~Currently~State~Action~{temperature_unit_icon}"
|
||||
currently_translation = get_translation(self._locale, "currently")
|
||||
state_translation = get_translation(self._locale, "state")
|
||||
action_translation = get_translation(self._locale, "operation")
|
||||
|
||||
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{status}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}"
|
||||
self._send_mqtt_msg(command)
|
||||
|
||||
def generate_media_page(self, navigation, title, entity):
|
||||
@@ -314,7 +330,7 @@ class LuiPagesGen(object):
|
||||
command = f"entityUpd~Not found~{navigation}~{item}~{get_icon_id('alert-circle-outline')}~Please check your~apps.yaml in AppDaemon~~0~{get_icon_id('alert-circle-outline')}~~~disable"
|
||||
else:
|
||||
entity = self._ha_api.get_entity(item)
|
||||
heading = title if title is not None else entity.attributes.friendly_name
|
||||
heading = title if title == "unknown" else entity.attributes.friendly_name
|
||||
icon = get_icon_id('speaker-off')
|
||||
title = get_attr_safe(entity, "media_title", "")
|
||||
author = get_attr_safe(entity, "media_artist", "")
|
||||
|
||||
Reference in New Issue
Block a user