Merge pull request #1 from joBr99/main

This branch is 131 commits behind the upstream - fetch upstream not possible
This commit is contained in:
Armilar
2022-06-09 11:02:53 +02:00
committed by GitHub
213 changed files with 197920 additions and 5502 deletions

2
.github/CODEOWNERS vendored
View File

@@ -1,2 +1,2 @@
* @joBr99
/ioBroker @britzelpuf
/ioBroker @britzelpuf @Armilar

View File

@@ -2,7 +2,7 @@
name: Feature request
about: "[Feature Request] Suggest an idea for this project"
title: "[Feature Request] "
labels: enhancement
labels:
assignees: ''
---

View File

@@ -75,6 +75,7 @@ jobs:
continue-on-error: true
run: |
find -name "**.txt"
rm Nextion2Text.py*
- uses: stefanzweifel/git-auto-commit-action@v4
with:

View File

@@ -37,11 +37,11 @@ wake screen:
`wake`
set brightness of screensaver:
set brightness of screensaver and active-brightness:
`dimmode~0 - (screen off)`
`dimmode~0~100 - (screen off)`
`dimmode~100 - (screen on with full brightness)`
`dimmode~100~100 - (screen on with full brightness)`
set current time:
@@ -111,7 +111,7 @@ The following message can be used to update the content on the cardEntities Page
### popupShutter Page
`entityUpdateDetail~*ignored*~*sliderPos*~2ndrow~textPosition~icon1~iconUp~iconStop~iconDown~iconUpStatus~iconStopStatus~iconDownStatus
`entityUpdateDetail~*ignored*~*sliderPos*~2ndrow~textPosition~icon1~iconUp~iconStop~iconDown~iconUpStatus~iconStopStatus~iconDownStatus~textTilt~iconTiltLeft~iconTiltStop~iconTiltRight~iconTiltLeftStatus~iconTiltStopStatus~iconTiltLeftStatus`
`entityUpdateDetail~1~77`
@@ -129,7 +129,10 @@ The following message can be used to update the content on the cardEntities Page
### cardMedia Page
`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*icon*~*title*~*author*~*volume*~*playpauseicon*~currentSpeaker~speakerList-seperated-by-?`
onoffbtn has to be`disable` to disable the on off btn
tIconBtnEntityName is the entiy name used in the button event for pressing the upper left icon
`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*icon*~*title*~*author*~*volume*~*playpauseicon*~currentSpeaker~speakerList-seperated-by-?~onoffbtn~tIconBtnEntityName`
### cardAlarm Page

View File

@@ -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-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-05-29 21:20:55.900415426 +0000
--- HMI/n2t-out/Program.s.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/landscape/n2t-out/Program.s.txt 2022-06-08 20:00:08.089056883 +0000
@@ -11,6 +11,4 @@
// dim value
int dimValue=40
@@ -8,96 +8,9 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/landscape/n2t-out/Program.s.txt
- // fix touch offset
- lcd_dev fffb 0002 0000 0020
page pageStartup
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/landscape/n2t-out/cardAlarm.txt
--- HMI/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.904415457 +0000
@@ -683,10 +683,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/landscape/n2t-out/cardEntities.txt
--- HMI/n2t-out/cardEntities.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardEntities.txt 2022-05-29 21:20:55.904415457 +0000
@@ -1924,10 +1924,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/landscape/n2t-out/cardGrid.txt
--- HMI/n2t-out/cardGrid.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardGrid.txt 2022-05-29 21:20:55.904415457 +0000
@@ -846,10 +846,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/landscape/n2t-out/cardMedia.txt
--- HMI/n2t-out/cardMedia.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardMedia.txt 2022-05-29 21:20:55.904415457 +0000
@@ -635,10 +635,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardQR.txt HMI/US/landscape/n2t-out/cardQR.txt
--- HMI/n2t-out/cardQR.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardQR.txt 2022-05-29 21:20:55.904415457 +0000
@@ -581,10 +581,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/landscape/n2t-out/cardThermo.txt
--- HMI/n2t-out/cardThermo.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/cardThermo.txt 2022-05-29 21:20:55.904415457 +0000
@@ -1169,10 +1169,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/landscape/n2t-out/pageStartup.txt
--- HMI/n2t-out/pageStartup.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-05-29 21:20:55.900415426 +0000
--- HMI/n2t-out/pageStartup.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/landscape/n2t-out/pageStartup.txt 2022-06-08 20:00:08.089056883 +0000
@@ -177,7 +177,7 @@
recmod=1
bauds=115200
@@ -107,69 +20,3 @@ 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
@@ -273,10 +273,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupLight.txt HMI/US/landscape/n2t-out/popupLight.txt
--- HMI/n2t-out/popupLight.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/popupLight.txt 2022-05-29 21:20:55.904415457 +0000
@@ -560,10 +560,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/landscape/n2t-out/popupNotify.txt
--- HMI/n2t-out/popupNotify.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/popupNotify.txt 2022-05-29 21:20:55.900415426 +0000
@@ -310,10 +310,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/landscape/n2t-out/popupShutter.txt
--- HMI/n2t-out/popupShutter.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/popupShutter.txt 2022-05-29 21:20:55.904415457 +0000
@@ -405,10 +405,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="time")
{
diff -bur HMI/n2t-out/screensaver.txt HMI/US/landscape/n2t-out/screensaver.txt
--- HMI/n2t-out/screensaver.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/landscape/n2t-out/screensaver.txt 2022-05-29 21:20:55.904415457 +0000
@@ -397,9 +397,6 @@
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{

View File

@@ -20,6 +20,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -40,6 +41,7 @@ Page cardAlarm
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
vis bPrev,0
vis bNext,0
@@ -93,6 +95,13 @@ Variable (string) va4
Text :
Max. Text Size: 20
Variable (string) vaAddBtn
Attributes
ID : 39
Scope : local
Text :
Max. Text Size: 80
Text tTmp
Attributes
ID : 2
@@ -111,7 +120,7 @@ Text tTmp
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Font ID : 6
Back. Color : 65535
Font Color : 0
Horizontal Alignment : center
@@ -141,7 +150,7 @@ Text tInstruction
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Font ID : 6
Back. Color : 65535
Font Color : 0
Horizontal Alignment : center
@@ -171,7 +180,7 @@ Text tId
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Font ID : 6
Back. Color : 65535
Font Color : 0
Horizontal Alignment : center
@@ -191,7 +200,7 @@ Text tCode
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 107
x coordinate : 108
y coordinate : 16
Width : 192
Height : 49
@@ -201,7 +210,7 @@ Text tCode
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 2
Font ID : 1
Back. Color : 10565
Font Color : 40179
Horizontal Alignment : center
@@ -221,7 +230,7 @@ Text tIcon
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 315
x coordinate : 316
y coordinate : 16
Width : 64
Height : 49
@@ -253,8 +262,8 @@ Picture p0
Opacity : 127
x coordinate : 0
y coordinate : 0
Width : 480
Height : 320
Width : 479
Height : 319
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -268,7 +277,7 @@ Button bNext
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 406
x coordinate : 407
y coordinate : 16
Width : 50
Height : 50
@@ -315,7 +324,7 @@ Button bPrev
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 24
x coordinate : 25
y coordinate : 16
Width : 50
Height : 50
@@ -369,7 +378,7 @@ Button b0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 40
x coordinate : 41
y coordinate : 94
Width : 75
Height : 50
@@ -380,7 +389,7 @@ Button b0
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -407,7 +416,7 @@ Button b1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 132
x coordinate : 133
y coordinate : 94
Width : 75
Height : 50
@@ -418,7 +427,7 @@ Button b1
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -445,7 +454,7 @@ Button b2
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 224
x coordinate : 225
y coordinate : 93
Width : 75
Height : 50
@@ -456,7 +465,7 @@ Button b2
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -483,7 +492,7 @@ Button b3
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 40
x coordinate : 41
y coordinate : 152
Width : 75
Height : 50
@@ -494,7 +503,7 @@ Button b3
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -521,7 +530,7 @@ Button b4
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 132
x coordinate : 133
y coordinate : 152
Width : 75
Height : 50
@@ -532,7 +541,7 @@ Button b4
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -559,7 +568,7 @@ Button b5
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 224
x coordinate : 225
y coordinate : 152
Width : 75
Height : 50
@@ -570,7 +579,7 @@ Button b5
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -597,7 +606,7 @@ Button b6
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 40
x coordinate : 41
y coordinate : 210
Width : 75
Height : 50
@@ -608,7 +617,7 @@ Button b6
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -635,7 +644,7 @@ Button b7
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 132
x coordinate : 133
y coordinate : 210
Width : 75
Height : 50
@@ -646,7 +655,7 @@ Button b7
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -673,7 +682,7 @@ Button b8
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 224
x coordinate : 225
y coordinate : 210
Width : 75
Height : 50
@@ -684,7 +693,7 @@ Button b8
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -711,7 +720,7 @@ Button b9
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 131
x coordinate : 41
y coordinate : 266
Width : 75
Height : 50
@@ -722,7 +731,65 @@ Button b9
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text :
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
// event,buttonPress2,entn,arm1,tCode
tSend.txt="event,buttonPress2,"
if(vaAddBtn.txt!="")
{
tSend.txt+=vaAddBtn.txt+",button"
}else
{
tSend.txt+=entn.txt+",opnSensorNotify"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
tCode.txt=""
Button b10
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 134
y coordinate : 266
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -741,44 +808,6 @@ Button b9
Touch Press Event
tCode.txt=tCode.txt+"0"
Button b10
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 224
y coordinate : 266
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : CLR
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tCode.txt=""
Button arm1
Attributes
ID : 24
@@ -787,7 +816,7 @@ Button arm1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 315
x coordinate : 316
y coordinate : 91
Width : 141
Height : 50
@@ -798,7 +827,7 @@ Button arm1
Style : border
Border Color : 6371
Border Width : 2
Font ID : 0
Font ID : 6
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -841,7 +870,7 @@ Button arm3
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 315
x coordinate : 316
y coordinate : 210
Width : 140
Height : 50
@@ -852,7 +881,7 @@ Button arm3
Style : border
Border Color : 6371
Border Width : 2
Font ID : 0
Font ID : 6
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -895,7 +924,7 @@ Button arm2
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 315
x coordinate : 316
y coordinate : 152
Width : 141
Height : 50
@@ -906,7 +935,7 @@ Button arm2
Style : border
Border Color : 6371
Border Width : 2
Font ID : 0
Font ID : 6
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -949,7 +978,7 @@ Button arm4
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 315
x coordinate : 316
y coordinate : 266
Width : 141
Height : 50
@@ -960,7 +989,7 @@ Button arm4
Style : border
Border Color : 6371
Border Width : 2
Font ID : 0
Font ID : 6
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -995,6 +1024,44 @@ Button arm4
prints crcval,2
tCode.txt=""
Button b11
Attributes
ID : 38
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 225
y coordinate : 266
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : CLR
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tCode.txt=""
Hotspot mSwipeNext
Attributes
ID : 35
@@ -1025,7 +1092,7 @@ Hotspot mSwipeUp
Opacity : 127
x coordinate : 12
y coordinate : 0
Width : 450
Width : 426
Height : 9
Effect : load
Effect Priority : 0
@@ -1199,6 +1266,7 @@ Timer tmSerial
vis b8,1
vis b9,1
vis b10,1
vis b11,1
vis tCode,1
}else
{
@@ -1213,6 +1281,7 @@ Timer tmSerial
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
}
//flashing status
@@ -1224,6 +1293,15 @@ Timer tmSerial
{
tmFlash.en=0
}
// extra button
spstr strCommand.txt,b9.txt,"~",15
if(b9.txt!="")
{
vis b9,1
spstr strCommand.txt,tTmp.txt,"~",16
covx tTmp.txt,b9.pco,0,0
spstr strCommand.txt,vaAddBtn.txt,"~",17
}
}
if(tInstruction.txt=="time")
{
@@ -1240,7 +1318,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0
@@ -2896,6 +2897,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,7 +20,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1
@@ -1310,6 +1310,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -56,6 +57,13 @@ Variable (int32) vaSpeakerPos
Scope: local
Value: 0
Variable (string) vaMenu
Attributes
ID : 33
Scope : local
Text :
Max. Text Size: 50
Text tSend
Attributes
ID : 2
@@ -443,6 +451,24 @@ Text tIcon
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Release Event
if(vaMenu.txt!="")
{
tSend.txt="event,buttonPress2,"+vaMenu.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
}
Text t1
Attributes
ID : 22
@@ -1068,6 +1094,8 @@ Timer tmSerial
vis t5,1
covx tTmp.txt,t5.pco,0,0
}
//tIconBtnEntityName
spstr strCommand.txt,vaMenu.txt,"~",12
}
if(tInstruction.txt=="time")
{
@@ -1084,7 +1112,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -37,6 +38,8 @@ Page cardQR
vis tIcon2,0
vis tEntity2,0
vis bText2,0
tsw m0,0
tsw m1,0
Variable (string) strCommand
Attributes
@@ -82,35 +85,42 @@ Variable (string) tInstruction
Variable (string) entn1
Attributes
ID : 26
ID : 25
Scope : local
Text :
Max. Text Size: 80
Variable (string) entn2
Attributes
ID : 27
ID : 26
Scope : local
Text :
Max. Text Size: 80
Variable (string) type1
Attributes
ID : 28
ID : 27
Scope : local
Text :
Max. Text Size: 10
Variable (string) type2
Attributes
ID : 29
ID : 28
Scope : local
Text :
Max. Text Size: 10
Variable (string) vaQR
Attributes
ID : 31
Scope : local
Text :
Max. Text Size: 80
Text tEntity1
Attributes
ID : 18
ID : 17
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -126,7 +136,7 @@ Text tEntity1
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Font ID : 6
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : left
@@ -140,7 +150,7 @@ Text tEntity1
Text tIcon1
Attributes
ID : 19
ID : 18
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -170,7 +180,7 @@ Text tIcon1
Text tEntity2
Attributes
ID : 22
ID : 21
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -186,7 +196,7 @@ Text tEntity2
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Font ID : 6
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : left
@@ -200,7 +210,7 @@ Text tEntity2
Text tIcon2
Attributes
ID : 23
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -230,7 +240,7 @@ Text tIcon2
Text tHeading
Attributes
ID : 25
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -246,7 +256,7 @@ Text tHeading
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 2
Font ID : 1
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : center
@@ -268,32 +278,13 @@ Picture p0
Opacity : 127
x coordinate : 0
y coordinate : 0
Width : 480
Height : 320
Width : 479
Height : 319
Effect : load
Effect Priority : 0
Effect Time : 300
Picture ID : 0
QR Code qr0
Attributes
ID : 17
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 28
y coordinate : 91
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Logo overlay : no
Text :
Max. Text Size : 100
Button bNext
Attributes
ID : 3
@@ -397,7 +388,7 @@ Button bPrev
Button bText1
Attributes
ID : 20
ID : 19
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -412,7 +403,7 @@ Button bText1
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 0
Font ID : 6
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -444,7 +435,7 @@ Button bText1
Button bText2
Attributes
ID : 24
ID : 23
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -459,7 +450,7 @@ Button bText2
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 0
Font ID : 6
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
@@ -505,7 +496,7 @@ Dual-state Button btOnOff1
Effect Priority : 0
Effect Time : 300
Fill : image
Font ID : 0
Font ID : 6
Background Picture ID (Unpressed) : 1
Back. Picture ID (Pressed) : 2
Horizontal Alignment : center
@@ -536,7 +527,7 @@ Dual-state Button btOnOff1
Dual-state Button btOnOff2
Attributes
ID : 21
ID : 20
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -550,7 +541,7 @@ Dual-state Button btOnOff2
Effect Priority : 0
Effect Time : 300
Fill : image
Font ID : 0
Font ID : 6
Background Picture ID (Unpressed) : 1
Back. Picture ID (Pressed) : 2
Horizontal Alignment : center
@@ -609,7 +600,7 @@ Hotspot mSwipeUp
Opacity : 127
x coordinate : 12
y coordinate : 0
Width : 454
Width : 450
Height : 9
Effect : load
Effect Priority : 0
@@ -639,6 +630,38 @@ Hotspot mSwipePrev
Touch Press Event
click bPrev,1
Hotspot m0
Attributes
ID : 29
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 28
y coordinate : 91
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Hotspot m1
Attributes
ID : 30
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 143
y coordinate : 91
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Timer tmSerial
Attributes
ID : 5
@@ -732,7 +755,7 @@ Timer tmSerial
bNext.txt=""
}
//text qrcode
spstr strCommand.txt,qr0.txt,"~",3
spstr strCommand.txt,vaQR.txt,"~",3
// get Type
spstr strCommand.txt,type1.txt,"~",4
// get internal name
@@ -855,6 +878,16 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",15
}
if(type2.txt=="delete"||type2.txt=="")
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,6371,65535,-1,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,6371,65535,-1,vaQR.txt
}
}
if(tInstruction.txt=="time")
{
@@ -871,7 +904,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -28,9 +29,6 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempMin2,0
vis xTempMax2,0
vis xTempStep2,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -124,28 +122,28 @@ Variable (string) va7
Variable (string) tInstruction
Attributes
ID : 46
ID : 43
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
ID : 47
ID : 44
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
ID : 48
ID : 45
Scope : local
Text :
Max. Text Size: 10
Variable (string) tSend
Attributes
ID : 49
ID : 46
Scope : local
Text :
Max. Text Size: 100
@@ -300,99 +298,9 @@ XFloat xTempDest2
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempMin2
Attributes
ID : 43
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 246
y coordinate : 69
Width : 50
Height : 21
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempMax2
Attributes
ID : 44
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 246
y coordinate : 91
Width : 45
Height : 20
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempStep2
Attributes
ID : 45
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 247
y coordinate : 179
Width : 45
Height : 20
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempDest
Attributes
ID : 52
ID : 49
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -602,7 +510,7 @@ Text tCF2
Text tALbl
Attributes
ID : 50
ID : 47
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -632,7 +540,7 @@ Text tALbl
Text tCF
Attributes
ID : 54
ID : 51
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -662,7 +570,7 @@ Text tCF
Text tCurTemp
Attributes
ID : 55
ID : 52
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1242,10 +1150,13 @@ Dual-state Button btUp1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1300,10 +1211,13 @@ Dual-state Button btDown1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1338,7 +1252,7 @@ Dual-state Button bUp2
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Font Color (Pressed) : 50712
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
@@ -1350,16 +1264,19 @@ Dual-state Button bUp2
Events
Touch Press Event
if(xTempDest2.val<xTempMax2.val)
if(xTempDest2.val<xTempMax1.val)
{
xTempDest2.val=xTempDest2.val+xTempStep2.val
xTempDest2.val=xTempDest2.val+xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1408,16 +1325,19 @@ Dual-state Button bDown2
Events
Touch Press Event
if(xTempDest2.val>xTempMin2.val)
if(xTempDest2.val>xTempMin1.val)
{
xTempDest2.val=xTempDest2.val-xTempStep2.val
xTempDest2.val=xTempDest2.val-xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1434,7 +1354,7 @@ Dual-state Button bDown2
Dual-state Button btUp
Attributes
ID : 51
ID : 48
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1492,7 +1412,7 @@ Dual-state Button btUp
Dual-state Button btDown
Attributes
ID : 53
ID : 50
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1950,6 +1870,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -10,53 +10,53 @@ pageTest
14 Component(s)
14 Line(s) of event code
14 Unique line(s) of event code
popupNotify
17 Component(s)
200 Line(s) of event code
125 Unique line(s) of event code
cardMedia
34 Component(s)
363 Line(s) of event code
195 Unique line(s) of event code
pageStartup
19 Component(s)
154 Line(s) of event code
115 Unique line(s) of event code
cardThermo
56 Component(s)
542 Line(s) of event code
292 Unique line(s) of event code
popupShutter
20 Component(s)
244 Line(s) of event code
138 Unique line(s) of event code
cardQR
30 Component(s)
359 Line(s) of event code
209 Unique line(s) of event code
popupLight
27 Component(s)
348 Line(s) of event code
188 Unique line(s) of event code
157 Line(s) of event code
117 Unique line(s) of event code
cardGrid
42 Component(s)
435 Line(s) of event code
256 Unique line(s) of event code
cardAlarm
38 Component(s)
360 Line(s) of event code
226 Unique line(s) of event code
cardMedia
33 Component(s)
346 Line(s) of event code
181 Unique line(s) of event code
439 Line(s) of event code
259 Unique line(s) of event code
cardQR
32 Component(s)
374 Line(s) of event code
218 Unique line(s) of event code
popupNotify
17 Component(s)
204 Line(s) of event code
128 Unique line(s) of event code
popupShutter
25 Component(s)
330 Line(s) of event code
162 Unique line(s) of event code
screensaver
37 Component(s)
305 Line(s) of event code
244 Unique line(s) of event code
38 Component(s)
319 Line(s) of event code
253 Unique line(s) of event code
cardEntities
65 Component(s)
1129 Line(s) of event code
493 Unique line(s) of event code
1133 Line(s) of event code
496 Unique line(s) of event code
popupLight
27 Component(s)
352 Line(s) of event code
191 Unique line(s) of event code
cardThermo
53 Component(s)
555 Line(s) of event code
292 Unique line(s) of event code
cardAlarm
40 Component(s)
392 Line(s) of event code
239 Unique line(s) of event code
Total
13 Page(s)
404 Component(s)
4446 Line(s) of event code
1177 Unique line(s) of event code
412 Component(s)
4642 Line(s) of event code
1232 Unique line(s) of event code

View File

@@ -568,6 +568,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
@@ -906,6 +907,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0
@@ -519,6 +520,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,15 +20,19 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
vis p0,0
vis tSend,0
vis tTmp,0
vis tInstruction,0
vis tId,0
vis tPosHeading,0
vis hPosition,0
vis hTilt,0
vis bTLeft,0
vis bTStop,0
vis bTRight,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -47,18 +51,39 @@ Page popupShutter
Variable (string) strCommand
Attributes
ID : 10
ID : 9
Scope : local
Text :
Max. Text Size: 200
Variable (string) entn
Attributes
ID : 18
ID : 15
Scope : local
Text :
Max. Text Size: 80
Variable (string) tInstruction
Attributes
ID : 17
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
ID : 18
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
ID : 19
Scope : local
Text :
Max. Text Size: 10
Text tEntity
Attributes
ID : 2
@@ -68,7 +93,7 @@ Text tEntity
Send Component ID : disabled
Opacity : 127
x coordinate : 80
y coordinate : 94
y coordinate : 48
Width : 195
Height : 30
Effect : load
@@ -98,7 +123,7 @@ Text tIcon1
Send Component ID : disabled
Opacity : 127
x coordinate : 27
y coordinate : 108
y coordinate : 63
Width : 45
Height : 30
Effect : load
@@ -149,106 +174,16 @@ Text tSend
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTmp
Attributes
ID : 6
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 421
y coordinate : 277
Width : 34
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 : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tInstruction
Attributes
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 15
y coordinate : 290
Width : 100
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 : 20
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tId
Attributes
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 115
y coordinate : 290
Width : 100
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 : 20
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tPosHeading
Attributes
ID : 17
ID : 14
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 79
y coordinate : 164
y coordinate : 122
Width : 100
Height : 30
Effect : load
@@ -260,7 +195,7 @@ Text tPosHeading
Font ID : 0
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : center
Horizontal Alignment : left
Vertical Alignment : center
Input Type : character
Text : Position
@@ -271,14 +206,14 @@ Text tPosHeading
Text tInfo1
Attributes
ID : 19
ID : 16
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 80
y coordinate : 122
y coordinate : 76
Width : 195
Height : 30
Effect : load
@@ -299,6 +234,36 @@ Text tInfo1
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTiltHeading
Attributes
ID : 20
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 79
y coordinate : 231
Width : 100
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : left
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 15
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0
Attributes
ID : 1
@@ -309,8 +274,8 @@ Picture p0
Opacity : 127
x coordinate : 0
y coordinate : 0
Width : 480
Height : 320
Width : 479
Height : 319
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -318,14 +283,58 @@ Picture p0
Slider hPosition
Attributes
ID : 16
ID : 13
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 80
y coordinate : 194
x coordinate : 79
y coordinate : 152
Width : 335
Height : 43
Effect : load
Effect Priority : 0
Effect Time : 300
Direction : horizontal
Fill : image
Cursor width : auto
Cursor height : 255
Back. Picture ID : 5
Slided Back. Picture ID : 4
Position : 50
Upper range limit : 100
Lower range limit : 0
Events
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Slider hTilt
Attributes
ID : 21
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 79
y coordinate : 261
Width : 335
Height : 43
Effect : load
@@ -409,14 +418,14 @@ Button b0
Button bDown1
Attributes
ID : 13
ID : 10
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 408
y coordinate : 96
x coordinate : 401
y coordinate : 95
Width : 50
Height : 50
Effect : load
@@ -456,14 +465,14 @@ Button bDown1
Button bStop1
Attributes
ID : 14
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 356
y coordinate : 96
x coordinate : 349
y coordinate : 95
Width : 50
Height : 50
Effect : load
@@ -503,14 +512,14 @@ Button bStop1
Button bUp1
Attributes
ID : 15
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 304
y coordinate : 96
x coordinate : 297
y coordinate : 95
Width : 50
Height : 50
Effect : load
@@ -548,9 +557,150 @@ Button bUp1
prints tSend.txt,0
prints crcval,2
Button bTLeft
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 297
y coordinate : 205
Width : 50
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTStop
Attributes
ID : 23
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 349
y coordinate : 205
Width : 50
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTRight
Attributes
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 401
y coordinate : 205
Width : 50
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Timer tmSleep
Attributes
ID : 8
ID : 7
Scope : local
Period (ms): 1000
Enabled : yes
@@ -570,7 +720,7 @@ Timer tmSleep
Timer tmSerial
Attributes
ID : 9
ID : 8
Scope : local
Period (ms): 50
Enabled : yes
@@ -684,12 +834,57 @@ Timer tmSerial
tsw bDown1,1
bDown1.pco=65535
}
// set tTiltHeading (localization)
spstr strCommand.txt,tTiltHeading.txt,"~",11
// set icon bUp
spstr strCommand.txt,tTmp.txt,"~",15
if(tTmp.txt=="disable")
{
tsw bTLeft,0
spstr strCommand.txt,bTLeft.txt,"~",12
bTLeft.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTLeft.txt,"~",12
tsw bTLeft,1
bTLeft.pco=65535
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",16
if(tTmp.txt=="disable")
{
tsw bTStop,0
spstr strCommand.txt,bTStop.txt,"~",13
bTStop.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTStop.txt,"~",13
tsw bTStop,1
bTStop.pco=65535
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,0
bTRight.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,1
bTRight.pco=65535
}
}
if(tInstruction.txt=="dimmode")
{
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="time")
{
@@ -780,7 +975,7 @@ Timer tmSerial
TouchCap tc0
Attributes
ID : 7
ID : 6
Scope: local
Value: 0

View File

@@ -91,9 +91,9 @@ Text tTime
Send Component ID : disabled
Opacity : 127
x coordinate : 52
y coordinate : 0
y coordinate : 18
Width : 376
Height : 154
Height : 112
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -121,23 +121,23 @@ Text tDate
Send Component ID : disabled
Opacity : 127
x coordinate : 15
y coordinate : 154
y coordinate : 162
Width : 450
Height : 38
Height : 32
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 2
Font ID : 1
Back. Color : 0
Font Color : 65535
Horizontal Alignment : center
Vertical Alignment : center
Vertical Alignment : bottom
Input Type : character
Text : Tuesday, 08. March 2022
Max. Text Size : 35
Max. Text Size : 40
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
@@ -810,7 +810,7 @@ Text tIcon1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 8
x coordinate : 15
y coordinate : 0
Width : 38
Height : 38
@@ -840,7 +840,7 @@ Text tIcon2
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 434
x coordinate : 428
y coordinate : 0
Width : 38
Height : 38
@@ -862,6 +862,36 @@ Text tIcon2
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTimeAdd
Attributes
ID : 37
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 15
y coordinate : 130
Width : 450
Height : 32
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 0
Font Color : 65535
Horizontal Alignment : center
Vertical Alignment : bottom
Input Type : character
Text :
Max. Text Size : 40
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0
Attributes
ID : 1
@@ -942,6 +972,9 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{
@@ -953,6 +986,7 @@ Timer tmSerial
{
vis tAMPM,0
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
}
if(tInstruction.txt=="date")
{
@@ -1007,7 +1041,7 @@ Timer tmSerial
//alternative layout
//tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="")
if(tMRIcon.txt!=""&&p0.w!=320)
{
//value for tMRIcon, activate alternative layout
vis tMainIcon,0
@@ -1043,6 +1077,14 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
if(tNotifyHead.txt!="")
{
ref tNotifyHead
}
if(tNotifyText.txt!="")
{
ref tNotifyText
}
}
if(tInstruction.txt=="color")
{
@@ -1072,6 +1114,7 @@ Timer tmSerial
tForecast4.bco=tTime.bco
tForecast4Val.bco=tTime.bco
tF4Icon.bco=tTime.bco
tTimeAdd.bco=tTime.bco
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,tTime.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",3
@@ -1114,6 +1157,8 @@ Timer tmSerial
covx tTmp.txt,tMRIcon.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
covx tTmp.txt,tMR.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",22
covx tTmp.txt,tTimeAdd.pco,0,0
}
if(tInstruction.txt=="notify")
{

View File

@@ -12,6 +12,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -32,6 +33,7 @@ Page cardAlarm
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
vis bPrev,0
vis bNext,0
@@ -78,6 +80,12 @@ Variable (string) va4
Text :
Max. Text Size: 20
Variable (string) vaAddBtn
Attributes
Scope : local
Text :
Max. Text Size: 80
Text tTmp
Attributes
Scope : local
@@ -325,12 +333,32 @@ Button b9
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 0
Text :
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=tCode.txt+"0"
// event,buttonPress2,entn,arm1,tCode
tSend.txt="event,buttonPress2,"
if(vaAddBtn.txt!="")
{
tSend.txt+=vaAddBtn.txt+",button"
}else
{
tSend.txt+=entn.txt+",opnSensorNotify"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
tCode.txt=""
Button b10
Attributes
@@ -339,12 +367,12 @@ Button b10
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : CLR
Text : 0
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=""
tCode.txt=tCode.txt+"0"
Button arm1
Attributes
@@ -466,6 +494,20 @@ Button arm4
prints crcval,2
tCode.txt=""
Button b11
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : CLR
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=""
Hotspot mSwipeNext
Attributes
Scope : local
@@ -642,6 +684,7 @@ Timer tmSerial
vis b8,1
vis b9,1
vis b10,1
vis b11,1
vis tCode,1
}else
{
@@ -656,6 +699,7 @@ Timer tmSerial
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
}
//flashing status
@@ -667,6 +711,15 @@ Timer tmSerial
{
tmFlash.en=0
}
// extra button
spstr strCommand.txt,b9.txt,"~",15
if(b9.txt!="")
{
vis b9,1
spstr strCommand.txt,tTmp.txt,"~",16
covx tTmp.txt,b9.pco,0,0
spstr strCommand.txt,vaAddBtn.txt,"~",17
}
}
if(tInstruction.txt=="time")
{
@@ -683,7 +736,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0
@@ -1924,6 +1925,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,7 +12,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1
@@ -846,6 +846,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -44,6 +45,12 @@ Variable (int32) vaSpeakerPos
Scope: local
Value: 0
Variable (string) vaMenu
Attributes
Scope : local
Text :
Max. Text Size: 50
Text tSend
Attributes
Scope : local
@@ -211,6 +218,24 @@ Text tIcon
Text :
Max. Text Size : 10
Events
Touch Release Event
if(vaMenu.txt!="")
{
tSend.txt="event,buttonPress2,"+vaMenu.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
}
Text t1
Attributes
Scope : local
@@ -619,6 +644,8 @@ Timer tmSerial
vis t5,1
covx tTmp.txt,t5.pco,0,0
}
//tIconBtnEntityName
spstr strCommand.txt,vaMenu.txt,"~",12
}
if(tInstruction.txt=="time")
{
@@ -635,7 +662,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -29,6 +30,8 @@ Page cardQR
vis tIcon2,0
vis tEntity2,0
vis bText2,0
tsw m0,0
tsw m1,0
Variable (string) strCommand
Attributes
@@ -90,6 +93,12 @@ Variable (string) type2
Text :
Max. Text Size: 10
Variable (string) vaQR
Attributes
Scope : local
Text :
Max. Text Size: 80
Text tEntity1
Attributes
Scope : local
@@ -147,15 +156,6 @@ Picture p0
Disable release event after dragging: 0
Send Component ID : disabled
QR Code qr0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Text :
Max. Text Size : 100
Button bNext
Attributes
Scope : local
@@ -350,6 +350,20 @@ Hotspot mSwipePrev
Touch Press Event
click bPrev,1
Hotspot m0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Hotspot m1
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Timer tmSerial
Attributes
Scope : local
@@ -442,7 +456,7 @@ Timer tmSerial
bNext.txt=""
}
//text qrcode
spstr strCommand.txt,qr0.txt,"~",3
spstr strCommand.txt,vaQR.txt,"~",3
// get Type
spstr strCommand.txt,type1.txt,"~",4
// get internal name
@@ -565,6 +579,16 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",15
}
if(type2.txt=="delete"||type2.txt=="")
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,6371,65535,-1,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,6371,65535,-1,vaQR.txt
}
}
if(tInstruction.txt=="time")
{
@@ -581,7 +605,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -20,9 +21,6 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempMin2,0
vis xTempMax2,0
vis xTempStep2,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -173,33 +171,6 @@ XFloat xTempDest2
Associated Keyboard : none
Value : 0
XFloat xTempMin2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempMax2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempStep2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempDest
Attributes
Scope : local
@@ -599,10 +570,13 @@ Dual-state Button btUp1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -635,10 +609,13 @@ Dual-state Button btDown1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -663,16 +640,19 @@ Dual-state Button bUp2
Events
Touch Press Event
if(xTempDest2.val<xTempMax2.val)
if(xTempDest2.val<xTempMax1.val)
{
xTempDest2.val=xTempDest2.val+xTempStep2.val
xTempDest2.val=xTempDest2.val+xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -699,16 +679,19 @@ Dual-state Button bDown2
Events
Touch Press Event
if(xTempDest2.val>xTempMin2.val)
if(xTempDest2.val>xTempMin1.val)
{
xTempDest2.val=xTempDest2.val-xTempStep2.val
xTempDest2.val=xTempDest2.val-xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1169,6 +1152,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -273,6 +273,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
@@ -560,6 +561,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0
@@ -310,6 +311,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,15 +12,19 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
vis p0,0
vis tSend,0
vis tTmp,0
vis tInstruction,0
vis tId,0
vis tPosHeading,0
vis hPosition,0
vis hTilt,0
vis bTLeft,0
vis bTStop,0
vis bTRight,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -49,6 +53,24 @@ Variable (string) entn
Text :
Max. Text Size: 80
Variable (string) tInstruction
Attributes
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
Scope : local
Text :
Max. Text Size: 10
Text tEntity
Attributes
Scope : local
@@ -79,36 +101,6 @@ Text tSend
Text : newtxt
Max. Text Size : 100
Text tTmp
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 10
Text tInstruction
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 20
Text tId
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 20
Text tPosHeading
Attributes
Scope : local
@@ -129,6 +121,16 @@ Text tInfo1
Text :
Max. Text Size : 40
Text tTiltHeading
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 15
Picture p0
Attributes
Scope : local
@@ -165,6 +167,35 @@ Slider hPosition
prints tSend.txt,0
prints crcval,2
Slider hTilt
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Position : 50
Upper range limit : 100
Lower range limit : 0
Events
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button b0
Attributes
Scope : local
@@ -265,6 +296,81 @@ Button bUp1
prints tSend.txt,0
prints crcval,2
Button bTLeft
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTStop
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTRight
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Timer tmSleep
Attributes
Scope : local
@@ -399,12 +505,57 @@ Timer tmSerial
tsw bDown1,1
bDown1.pco=65535
}
// set tTiltHeading (localization)
spstr strCommand.txt,tTiltHeading.txt,"~",11
// set icon bUp
spstr strCommand.txt,tTmp.txt,"~",15
if(tTmp.txt=="disable")
{
tsw bTLeft,0
spstr strCommand.txt,bTLeft.txt,"~",12
bTLeft.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTLeft.txt,"~",12
tsw bTLeft,1
bTLeft.pco=65535
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",16
if(tTmp.txt=="disable")
{
tsw bTStop,0
spstr strCommand.txt,bTStop.txt,"~",13
bTStop.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTStop.txt,"~",13
tsw bTStop,1
bTStop.pco=65535
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,0
bTRight.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,1
bTRight.pco=65535
}
}
if(tInstruction.txt=="dimmode")
{
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="time")
{

View File

@@ -86,7 +86,7 @@ Text tDate
Send Component ID : disabled
Associated Keyboard : none
Text : Tuesday, 08. March 2022
Max. Text Size : 35
Max. Text Size : 40
Text tMainIcon
Attributes
@@ -328,6 +328,16 @@ Text tIcon2
Text :
Max. Text Size : 5
Text tTimeAdd
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 40
Picture p0
Attributes
Scope : local
@@ -397,6 +407,9 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{
@@ -408,6 +421,7 @@ Timer tmSerial
{
vis tAMPM,0
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
}
if(tInstruction.txt=="date")
{
@@ -462,7 +476,7 @@ Timer tmSerial
//alternative layout
//tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="")
if(tMRIcon.txt!=""&&p0.w!=320)
{
//value for tMRIcon, activate alternative layout
vis tMainIcon,0
@@ -498,6 +512,14 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
if(tNotifyHead.txt!="")
{
ref tNotifyHead
}
if(tNotifyText.txt!="")
{
ref tNotifyText
}
}
if(tInstruction.txt=="color")
{
@@ -527,6 +549,7 @@ Timer tmSerial
tForecast4.bco=tTime.bco
tForecast4Val.bco=tTime.bco
tF4Icon.bco=tTime.bco
tTimeAdd.bco=tTime.bco
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,tTime.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",3
@@ -569,6 +592,8 @@ Timer tmSerial
covx tTmp.txt,tMRIcon.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
covx tTmp.txt,tMR.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",22
covx tTmp.txt,tTimeAdd.pco,0,0
}
if(tInstruction.txt=="notify")
{

Binary file not shown.

Binary file not shown.

View File

@@ -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-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 21:20:55.500412348 +0000
--- HMI/n2t-out/Program.s.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/Program.s.txt 2022-06-08 20:00:07.521016838 +0000
@@ -11,6 +11,6 @@
// dim value
int dimValue=40
@@ -10,25 +10,10 @@ diff -bur HMI/n2t-out/Program.s.txt HMI/US/portrait/n2t-out/Program.s.txt
+ // fix touch offset (Removed for US version)
+ //lcd_dev fffb 0002 0000 0020
page pageStartup
diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
--- HMI/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.500412348 +0000
@@ -683,10 +683,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
--- HMI/n2t-out/cardEntities.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 21:20:55.500412348 +0000
@@ -62,6 +62,16 @@
--- HMI/n2t-out/cardEntities.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-06-08 20:00:07.521016838 +0000
@@ -63,6 +63,16 @@
vis bText4,0
vis hSlider4,0
vis nNum4,0
@@ -45,7 +30,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
vis bPrev,0
vis bNext,0
@@ -119,6 +129,18 @@
@@ -120,6 +130,18 @@
Text :
Max. Text Size: 80
@@ -64,7 +49,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Number nNum1
Attributes
Scope : local
@@ -155,6 +177,15 @@
@@ -156,6 +178,15 @@
Associated Keyboard : none
Value : 0
@@ -80,7 +65,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Text tHeading
Attributes
Scope : local
@@ -285,6 +316,26 @@
@@ -286,6 +317,26 @@
Text :
Max. Text Size : 50
@@ -107,7 +92,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Picture p0
Attributes
Scope : local
@@ -404,6 +455,34 @@
@@ -405,6 +456,34 @@
prints tSend.txt,0
prints crcval,2
@@ -142,7 +127,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Button bDown1
Attributes
Scope : local
@@ -861,6 +940,106 @@
@@ -862,6 +941,106 @@
prints tSend.txt,0
prints crcval,2
@@ -249,7 +234,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Dual-state Button btOnOff1
Attributes
Scope : local
@@ -969,6 +1148,33 @@
@@ -970,6 +1149,33 @@
prints tSend.txt,0
prints crcval,2
@@ -283,7 +268,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Hotspot mSpecial
Attributes
Scope : local
@@ -1074,6 +1280,28 @@
@@ -1075,6 +1281,28 @@
page popupLight
}
@@ -312,7 +297,7 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
Hotspot mSwipeNext
Attributes
Scope : local
@@ -1849,6 +2077,169 @@
@@ -1850,6 +2078,169 @@
covx tTmp.txt,sys0,0,0
hSlider4.maxval=sys0
}
@@ -482,87 +467,59 @@ diff -bur HMI/n2t-out/cardEntities.txt HMI/US/portrait/n2t-out/cardEntities.txt
}
if(tInstruction.txt=="pageType")
{
@@ -1924,10 +2315,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
--- HMI/n2t-out/cardGrid.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 21:20:55.500412348 +0000
@@ -846,10 +846,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
--- HMI/n2t-out/cardMedia.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-29 21:20:55.500412348 +0000
@@ -635,10 +635,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardQR.txt HMI/US/portrait/n2t-out/cardQR.txt
--- HMI/n2t-out/cardQR.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 21:20:55.500412348 +0000
@@ -34,7 +34,7 @@
Attributes
Scope : local
Text :
- Max. Text Size: 275
+ Max. Text Size: 270
--- HMI/n2t-out/cardMedia.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-06-08 20:00:07.521016838 +0000
@@ -45,12 +45,6 @@
Scope: local
Value: 0
Variable (string) entn
-Variable (string) vaMenu
- Attributes
- Scope : local
- Text :
- Max. Text Size: 50
-
Text tSend
Attributes
@@ -581,10 +581,7 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
+ dim=dimValue
Scope : local
@@ -218,24 +212,6 @@
Text :
Max. Text Size : 10
- Events
- Touch Release Event
- if(vaMenu.txt!="")
- {
- tSend.txt="event,buttonPress2,"+vaMenu.txt+",button"
- //send calc crc
- btlen tSend.txt,sys0
- crcrest 1,0xffff // reset CRC
- crcputh 55 bb
- crcputs sys0,2
- crcputs tSend.txt,0
- //send cmd
- printh 55 bb
- prints sys0,2
- prints tSend.txt,0
- prints crcval,2
- }
-
Text t1
Attributes
Scope : local
@@ -644,8 +620,6 @@
vis t5,1
covx tTmp.txt,t5.pco,0,0
}
- //tIconBtnEntityName
- spstr strCommand.txt,vaMenu.txt,"~",12
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
--- HMI/n2t-out/cardThermo.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 21:20:55.500412348 +0000
@@ -1169,10 +1169,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
if(tInstruction.txt=="time")
{
diff -bur HMI/n2t-out/pageStartup.txt HMI/US/portrait/n2t-out/pageStartup.txt
--- HMI/n2t-out/pageStartup.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 21:20:55.500412348 +0000
--- HMI/n2t-out/pageStartup.txt 2022-06-08 20:00:07.004980492 +0000
+++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-06-08 20:00:07.525017120 +0000
@@ -142,7 +142,7 @@
Disable release event after dragging: 0
Send Component ID : disabled
@@ -581,92 +538,3 @@ 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
@@ -273,10 +273,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
--- HMI/n2t-out/popupLight.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-29 21:20:55.500412348 +0000
@@ -560,10 +560,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
--- HMI/n2t-out/popupNotify.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-29 21:20:55.500412348 +0000
@@ -310,10 +310,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{
diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
--- HMI/n2t-out/popupShutter.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-29 21:20:55.500412348 +0000
@@ -405,10 +405,6 @@
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
- dim=dimValueNormal
}
if(tInstruction.txt=="time")
{
diff -bur HMI/n2t-out/screensaver.txt HMI/US/portrait/n2t-out/screensaver.txt
--- HMI/n2t-out/screensaver.txt 2022-05-29 21:20:55.128409486 +0000
+++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 21:20:55.500412348 +0000
@@ -397,9 +397,6 @@
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
- // get value normal
- spstr strCommand.txt,tTmp.txt,"~",2
- covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{
@@ -474,22 +471,6 @@
vis tMainIconAlt,1
vis tMRIcon,1
vis tMR,1
- vis tForecast1,0
- vis tF1Icon,0
- vis tForecast1Val,0
- //move forecast values to the right
- tForecast4.txt=tForecast3.txt
- tForecast3.txt=tForecast2.txt
- tForecast2.txt=tForecast1.txt
- tForecast4Val.txt=tForecast3Val.txt
- tForecast3Val.txt=tForecast2Val.txt
- tForecast2Val.txt=tForecast1Val.txt
- tF4Icon.txt=tF3Icon.txt
- tF3Icon.txt=tF2Icon.txt
- tF2Icon.txt=tF1Icon.txt
- tF4Icon.pco=tF3Icon.pco
- tF3Icon.pco=tF2Icon.pco
- tF2Icon.pco=tF1Icon.pco
}
//tMR
spstr strCommand.txt,tMR.txt,"~",16

View File

@@ -1,157 +1,63 @@
+++ HMI/US/portrait/diff-eu-version.txt 2022-05-29 21:20:55.512412440 +0000
+--- HMI/n2t-out/Program.s.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-05-29 21:20:55.500412348 +0000
+diff -bur HMI/n2t-out/cardAlarm.txt HMI/US/portrait/n2t-out/cardAlarm.txt
+--- HMI/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardAlarm.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -683,10 +683,7 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
++ dim=dimValue
+ }
+ if(tInstruction.txt=="timeout")
+ {
+--- HMI/n2t-out/cardEntities.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -1849,6 +2077,169 @@
+@@ -1924,10 +2315,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/cardGrid.txt HMI/US/portrait/n2t-out/cardGrid.txt
+--- HMI/n2t-out/cardGrid.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardGrid.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -846,10 +846,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+++ HMI/US/portrait/diff-eu-version.txt 2022-06-08 20:00:07.557019374 +0000
+--- HMI/n2t-out/Program.s.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/Program.s.txt 2022-06-08 20:00:07.521016838 +0000
+--- HMI/n2t-out/cardEntities.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/cardEntities.txt 2022-06-08 20:00:07.521016838 +0000
+@@ -63,6 +63,16 @@
+@@ -120,6 +130,18 @@
+@@ -156,6 +178,15 @@
+@@ -286,6 +317,26 @@
+@@ -405,6 +456,34 @@
+@@ -862,6 +941,106 @@
+@@ -970,6 +1149,33 @@
+@@ -1075,6 +1281,28 @@
+@@ -1850,6 +2078,169 @@
+diff -bur HMI/n2t-out/cardMedia.txt HMI/US/portrait/n2t-out/cardMedia.txt
+--- HMI/n2t-out/cardMedia.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -635,10 +635,7 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
++ dim=dimValue
+ }
+ if(tInstruction.txt=="timeout")
+ {
+--- HMI/n2t-out/cardQR.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardQR.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -581,10 +581,7 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
++ dim=dimValue
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/cardThermo.txt HMI/US/portrait/n2t-out/cardThermo.txt
+--- HMI/n2t-out/cardThermo.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/cardThermo.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -1169,10 +1169,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+--- HMI/n2t-out/pageStartup.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -273,10 +273,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/popupLight.txt HMI/US/portrait/n2t-out/popupLight.txt
+--- HMI/n2t-out/popupLight.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/popupLight.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -560,10 +560,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/popupNotify.txt HMI/US/portrait/n2t-out/popupNotify.txt
+--- HMI/n2t-out/popupNotify.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/popupNotify.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -310,10 +310,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+ }
+ if(tInstruction.txt=="timeout")
+ {
+diff -bur HMI/n2t-out/popupShutter.txt HMI/US/portrait/n2t-out/popupShutter.txt
+--- HMI/n2t-out/popupShutter.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/popupShutter.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -405,10 +405,6 @@
+ // get value
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+- dim=dimValueNormal
+--- HMI/n2t-out/cardMedia.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/cardMedia.txt 2022-06-08 20:00:07.521016838 +0000
+@@ -45,12 +45,6 @@
+ Scope: local
+ Value: 0
+
+-Variable (string) vaMenu
+- Attributes
+- Scope : local
+- Text :
+- Max. Text Size: 50
+-
+ Text tSend
+ Scope : local
+@@ -218,24 +212,6 @@
+ Text :
+ Max. Text Size : 10
+- Events
+- Touch Release Event
+- if(vaMenu.txt!="")
+- {
+- tSend.txt="event,buttonPress2,"+vaMenu.txt+",button"
+- //send calc crc
+- btlen tSend.txt,sys0
+- crcrest 1,0xffff // reset CRC
+- crcputh 55 bb
+- crcputs sys0,2
+- crcputs tSend.txt,0
+- //send cmd
+- printh 55 bb
+- prints sys0,2
+- prints tSend.txt,0
+- prints crcval,2
+- }
+-
+ Text t1
+ Scope : local
+@@ -644,8 +620,6 @@
+ vis t5,1
+ covx tTmp.txt,t5.pco,0,0
+ }
+- //tIconBtnEntityName
+- spstr strCommand.txt,vaMenu.txt,"~",12
+ }
+ if(tInstruction.txt=="time")
+ {
+--- HMI/n2t-out/screensaver.txt 2022-05-29 21:20:55.128409486 +0000
++++ HMI/US/portrait/n2t-out/screensaver.txt 2022-05-29 21:20:55.500412348 +0000
+@@ -397,9 +397,6 @@
+ spstr strCommand.txt,tTmp.txt,"~",1
+ covx tTmp.txt,dimValue,0,0
+ dim=dimValue
+- // get value normal
+- spstr strCommand.txt,tTmp.txt,"~",2
+- covx tTmp.txt,dimValueNormal,0,0
+ }
+ if(tInstruction.txt=="time")
+ {
+@@ -474,22 +471,6 @@
+--- HMI/n2t-out/pageStartup.txt 2022-06-08 20:00:07.004980492 +0000
++++ HMI/US/portrait/n2t-out/pageStartup.txt 2022-06-08 20:00:07.525017120 +0000

View File

@@ -20,6 +20,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -40,6 +41,7 @@ Page cardAlarm
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
vis bPrev,0
vis bNext,0
@@ -93,6 +95,13 @@ Variable (string) va4
Text :
Max. Text Size: 20
Variable (string) vaAddBtn
Attributes
ID : 39
Scope : local
Text :
Max. Text Size: 80
Text tTmp
Attributes
ID : 2
@@ -711,7 +720,65 @@ Button b9
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 116
x coordinate : 24
y coordinate : 424
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text :
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
// event,buttonPress2,entn,arm1,tCode
tSend.txt="event,buttonPress2,"
if(vaAddBtn.txt!="")
{
tSend.txt+=vaAddBtn.txt+",button"
}else
{
tSend.txt+=entn.txt+",opnSensorNotify"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
tCode.txt=""
Button b10
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 117
y coordinate : 424
Width : 75
Height : 50
@@ -741,44 +808,6 @@ Button b9
Touch Press Event
tCode.txt=tCode.txt+"0"
Button b10
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 209
y coordinate : 424
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 0
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : CLR
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tCode.txt=""
Button arm1
Attributes
ID : 24
@@ -995,6 +1024,44 @@ Button arm4
prints crcval,2
tCode.txt=""
Button b11
Attributes
ID : 38
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 209
y coordinate : 424
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 0
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : CLR
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tCode.txt=""
Hotspot mSwipeNext
Attributes
ID : 35
@@ -1199,6 +1266,7 @@ Timer tmSerial
vis b8,1
vis b9,1
vis b10,1
vis b11,1
vis tCode,1
}else
{
@@ -1213,6 +1281,7 @@ Timer tmSerial
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
}
//flashing status
@@ -1224,6 +1293,15 @@ Timer tmSerial
{
tmFlash.en=0
}
// extra button
spstr strCommand.txt,b9.txt,"~",15
if(b9.txt!="")
{
vis b9,1
spstr strCommand.txt,tTmp.txt,"~",16
covx tTmp.txt,b9.pco,0,0
spstr strCommand.txt,vaAddBtn.txt,"~",17
}
}
if(tInstruction.txt=="time")
{
@@ -1240,7 +1318,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0
@@ -3480,6 +3481,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,7 +20,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1
@@ -1310,6 +1310,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -1084,7 +1085,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -37,13 +38,15 @@ Page cardQR
vis tIcon2,0
vis tEntity2,0
vis bText2,0
tsw m0,0
tsw m1,0
Variable (string) strCommand
Attributes
ID : 6
Scope : local
Text :
Max. Text Size: 270
Max. Text Size: 275
Variable (string) entn
Attributes
@@ -61,64 +64,71 @@ Variable (string) tSend
Variable (string) tTmp
Attributes
ID : 11
ID : 14
Scope : local
Text :
Max. Text Size: 10
Variable (string) tId
Attributes
ID : 12
ID : 15
Scope : local
Text :
Max. Text Size: 20
Variable (string) tInstruction
Attributes
ID : 13
ID : 16
Scope : local
Text :
Max. Text Size: 20
Variable (string) entn1
Attributes
ID : 23
ID : 25
Scope : local
Text :
Max. Text Size: 80
Variable (string) entn2
Attributes
ID : 24
ID : 26
Scope : local
Text :
Max. Text Size: 80
Variable (string) type1
Attributes
ID : 28
ID : 27
Scope : local
Text :
Max. Text Size: 10
Variable (string) type2
Attributes
ID : 29
ID : 28
Scope : local
Text :
Max. Text Size: 10
Variable (string) vaQR
Attributes
ID : 30
Scope : local
Text :
Max. Text Size: 80
Text tEntity1
Attributes
ID : 15
ID : 17
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 112
y coordinate : 292
Width : 170
x coordinate : 82
y coordinate : 295
Width : 163
Height : 30
Effect : load
Effect Priority : 0
@@ -140,14 +150,14 @@ Text tEntity1
Text tIcon1
Attributes
ID : 16
ID : 18
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 60
y coordinate : 291
x coordinate : 25
y coordinate : 294
Width : 45
Height : 30
Effect : load
@@ -170,15 +180,15 @@ Text tIcon1
Text tEntity2
Attributes
ID : 19
ID : 21
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 113
y coordinate : 388
Width : 170
x coordinate : 83
y coordinate : 394
Width : 165
Height : 30
Effect : load
Effect Priority : 0
@@ -200,14 +210,14 @@ Text tEntity2
Text tIcon2
Attributes
ID : 20
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 61
y coordinate : 387
x coordinate : 26
y coordinate : 393
Width : 45
Height : 30
Effect : load
@@ -230,7 +240,7 @@ Text tIcon2
Text tHeading
Attributes
ID : 22
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -238,7 +248,7 @@ Text tHeading
Opacity : 127
x coordinate : 66
y coordinate : 26
Width : 189
Width : 184
Height : 30
Effect : load
Effect Priority : 0
@@ -246,7 +256,7 @@ Text tHeading
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 2
Font ID : 1
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : center
@@ -275,25 +285,6 @@ Picture p0
Effect Time : 300
Picture ID : 0
QR Code qr0
Attributes
ID : 14
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 68
y coordinate : 78
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Logo overlay : no
Text :
Max. Text Size : 100
Button bNext
Attributes
ID : 3
@@ -397,15 +388,15 @@ Button bPrev
Button bText1
Attributes
ID : 17
ID : 19
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 61
y coordinate : 339
Width : 214
x coordinate : 84
y coordinate : 342
Width : 212
Height : 30
Effect : load
Effect Priority : 0
@@ -444,14 +435,14 @@ Button bText1
Button bText2
Attributes
ID : 21
ID : 23
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 63
y coordinate : 434
x coordinate : 80
y coordinate : 439
Width : 213
Height : 30
Effect : load
@@ -497,8 +488,8 @@ Dual-state Button btOnOff1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 225
y coordinate : 330
x coordinate : 249
y coordinate : 285
Width : 50
Height : 50
Effect : load
@@ -536,14 +527,14 @@ Dual-state Button btOnOff1
Dual-state Button btOnOff2
Attributes
ID : 18
ID : 20
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 226
y coordinate : 425
x coordinate : 251
y coordinate : 382
Width : 50
Height : 50
Effect : load
@@ -581,7 +572,7 @@ Dual-state Button btOnOff2
Hotspot mSwipeNext
Attributes
ID : 25
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -590,7 +581,7 @@ Hotspot mSwipeNext
x coordinate : 311
y coordinate : 5
Width : 9
Height : 470
Height : 475
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -601,16 +592,16 @@ Hotspot mSwipeNext
Hotspot mSwipeUp
Attributes
ID : 26
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 10
x coordinate : 12
y coordinate : 0
Width : 300
Height : 9
Width : 295
Height : 10
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -621,7 +612,7 @@ Hotspot mSwipeUp
Hotspot mSwipePrev
Attributes
ID : 27
ID : 13
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -630,7 +621,7 @@ Hotspot mSwipePrev
x coordinate : 0
y coordinate : 5
Width : 9
Height : 470
Height : 475
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -639,6 +630,38 @@ Hotspot mSwipePrev
Touch Press Event
click bPrev,1
Hotspot m0
Attributes
ID : 29
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 57
y coordinate : 77
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Hotspot m1
Attributes
ID : 31
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 57
y coordinate : 144
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Timer tmSerial
Attributes
ID : 5
@@ -732,7 +755,7 @@ Timer tmSerial
bNext.txt=""
}
//text qrcode
spstr strCommand.txt,qr0.txt,"~",3
spstr strCommand.txt,vaQR.txt,"~",3
// get Type
spstr strCommand.txt,type1.txt,"~",4
// get internal name
@@ -855,6 +878,16 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",15
}
if(type2.txt=="delete"||type2.txt=="")
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,6371,65535,-1,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,6371,65535,-1,vaQR.txt
}
}
if(tInstruction.txt=="time")
{
@@ -871,7 +904,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -28,9 +29,6 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempMin2,0
vis xTempMax2,0
vis xTempStep2,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -124,28 +122,28 @@ Variable (string) va7
Variable (string) tInstruction
Attributes
ID : 43
ID : 40
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
ID : 44
ID : 41
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
ID : 45
ID : 42
Scope : local
Text :
Max. Text Size: 10
Variable (string) tSend
Attributes
ID : 46
ID : 43
Scope : local
Text :
Max. Text Size: 100
@@ -300,99 +298,9 @@ XFloat xTempDest2
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempMin2
Attributes
ID : 40
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 110
y coordinate : 178
Width : 50
Height : 21
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempMax2
Attributes
ID : 41
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 110
y coordinate : 200
Width : 45
Height : 20
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempStep2
Attributes
ID : 42
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 111
y coordinate : 288
Width : 45
Height : 20
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempDest
Attributes
ID : 49
ID : 46
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -602,7 +510,7 @@ Text tCF2
Text tALbl
Attributes
ID : 47
ID : 44
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -632,7 +540,7 @@ Text tALbl
Text tCF
Attributes
ID : 51
ID : 48
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -662,7 +570,7 @@ Text tCF
Text tCurTemp
Attributes
ID : 52
ID : 49
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1242,10 +1150,13 @@ Dual-state Button btUp1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1300,10 +1211,13 @@ Dual-state Button btDown1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1350,16 +1264,19 @@ Dual-state Button bUp2
Events
Touch Press Event
if(xTempDest2.val<xTempMax2.val)
if(xTempDest2.val<xTempMax1.val)
{
xTempDest2.val=xTempDest2.val+xTempStep2.val
xTempDest2.val=xTempDest2.val+xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1408,16 +1325,19 @@ Dual-state Button bDown2
Events
Touch Press Event
if(xTempDest2.val>xTempMin2.val)
if(xTempDest2.val>xTempMin1.val)
{
xTempDest2.val=xTempDest2.val-xTempStep2.val
xTempDest2.val=xTempDest2.val-xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1434,7 +1354,7 @@ Dual-state Button bDown2
Dual-state Button btUp
Attributes
ID : 48
ID : 45
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1492,7 +1412,7 @@ Dual-state Button btUp
Dual-state Button btDown
Attributes
ID : 50
ID : 47
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1550,7 +1470,7 @@ Dual-state Button btDown
Hotspot mSwipeNext
Attributes
ID : 53
ID : 50
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1570,7 +1490,7 @@ Hotspot mSwipeNext
Hotspot mSwipeUp
Attributes
ID : 54
ID : 51
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1590,7 +1510,7 @@ Hotspot mSwipeUp
Hotspot mSwipePrev
Attributes
ID : 55
ID : 52
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1950,6 +1870,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -2,10 +2,10 @@ Program.s
0 Component(s)
10 Line(s) of event code
10 Unique line(s) of event code
cardAlarm
38 Component(s)
360 Line(s) of event code
226 Unique line(s) of event code
popupShutter
25 Component(s)
330 Line(s) of event code
162 Unique line(s) of event code
pageIcons
6 Component(s)
0 Line(s) of event code
@@ -14,49 +14,49 @@ pageTest
14 Component(s)
14 Line(s) of event code
14 Unique line(s) of event code
popupNotify
17 Component(s)
200 Line(s) of event code
125 Unique line(s) of event code
cardGrid
42 Component(s)
435 Line(s) of event code
256 Unique line(s) of event code
popupLight
27 Component(s)
348 Line(s) of event code
188 Unique line(s) of event code
352 Line(s) of event code
191 Unique line(s) of event code
cardQR
30 Component(s)
359 Line(s) of event code
209 Unique line(s) of event code
cardMedia
33 Component(s)
346 Line(s) of event code
181 Unique line(s) of event code
32 Component(s)
374 Line(s) of event code
218 Unique line(s) of event code
popupNotify
17 Component(s)
204 Line(s) of event code
128 Unique line(s) of event code
cardThermo
56 Component(s)
542 Line(s) of event code
53 Component(s)
555 Line(s) of event code
292 Unique line(s) of event code
pageStartup
19 Component(s)
154 Line(s) of event code
115 Unique line(s) of event code
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
38 Component(s)
319 Line(s) of event code
253 Unique line(s) of event code
cardEntities
77 Component(s)
1359 Line(s) of event code
578 Unique line(s) of event code
1363 Line(s) of event code
581 Unique line(s) of event code
cardGrid
42 Component(s)
439 Line(s) of event code
259 Unique line(s) of event code
cardMedia
33 Component(s)
349 Line(s) of event code
183 Unique line(s) of event code
cardAlarm
40 Component(s)
392 Line(s) of event code
239 Unique line(s) of event code
pageStartup
19 Component(s)
157 Line(s) of event code
117 Unique line(s) of event code
Total
13 Page(s)
416 Component(s)
4661 Line(s) of event code
1234 Unique line(s) of event code
423 Component(s)
4858 Line(s) of event code
1292 Unique line(s) of event code

View File

@@ -568,6 +568,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
@@ -906,6 +907,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,6 +20,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0
@@ -519,6 +520,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -20,15 +20,19 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
vis p0,0
vis tSend,0
vis tTmp,0
vis tInstruction,0
vis tId,0
vis tPosHeading,0
vis hPosition,0
vis hTilt,0
vis bTLeft,0
vis bTStop,0
vis bTRight,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -47,18 +51,39 @@ Page popupShutter
Variable (string) strCommand
Attributes
ID : 10
ID : 9
Scope : local
Text :
Max. Text Size: 200
Variable (string) entn
Attributes
ID : 18
ID : 15
Scope : local
Text :
Max. Text Size: 80
Variable (string) tInstruction
Attributes
ID : 17
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
ID : 18
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
ID : 19
Scope : local
Text :
Max. Text Size: 10
Text tEntity
Attributes
ID : 2
@@ -67,8 +92,8 @@ Text tEntity
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 60
y coordinate : 21
x coordinate : 68
y coordinate : 48
Width : 195
Height : 30
Effect : load
@@ -97,8 +122,8 @@ Text tIcon1
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 11
y coordinate : 35
x coordinate : 15
y coordinate : 63
Width : 45
Height : 30
Effect : load
@@ -129,7 +154,7 @@ Text tSend
Opacity : 127
x coordinate : 0
y coordinate : 0
Width : 300
Width : 72
Height : 22
Effect : load
Effect Priority : 0
@@ -149,106 +174,16 @@ Text tSend
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTmp
Attributes
ID : 6
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 283
y coordinate : 411
Width : 34
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 : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tInstruction
Attributes
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 5
y coordinate : 411
Width : 100
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 : 20
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tId
Attributes
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 105
y coordinate : 411
Width : 100
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 : 20
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tPosHeading
Attributes
ID : 17
ID : 14
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 106
y coordinate : 273
x coordinate : 11
y coordinate : 183
Width : 100
Height : 30
Effect : load
@@ -260,7 +195,7 @@ Text tPosHeading
Font ID : 0
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : center
Horizontal Alignment : left
Vertical Alignment : center
Input Type : character
Text : Position
@@ -271,14 +206,14 @@ Text tPosHeading
Text tInfo1
Attributes
ID : 19
ID : 16
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 61
y coordinate : 51
x coordinate : 68
y coordinate : 76
Width : 195
Height : 30
Effect : load
@@ -299,6 +234,36 @@ Text tInfo1
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTiltHeading
Attributes
ID : 20
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 11
y coordinate : 335
Width : 100
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : left
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 15
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0
Attributes
ID : 1
@@ -318,15 +283,59 @@ Picture p0
Slider hPosition
Attributes
ID : 16
ID : 13
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 35
y coordinate : 304
Width : 250
x coordinate : 12
y coordinate : 213
Width : 300
Height : 43
Effect : load
Effect Priority : 0
Effect Time : 300
Direction : horizontal
Fill : image
Cursor width : auto
Cursor height : 255
Back. Picture ID : 5
Slided Back. Picture ID : 4
Position : 50
Upper range limit : 100
Lower range limit : 0
Events
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Slider hTilt
Attributes
ID : 21
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 12
y coordinate : 365
Width : 300
Height : 43
Effect : load
Effect Priority : 0
@@ -368,8 +377,8 @@ Button b0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 266
y coordinate : 14
x coordinate : 264
y coordinate : 8
Width : 50
Height : 50
Effect : load
@@ -409,16 +418,16 @@ Button b0
Button bDown1
Attributes
ID : 13
ID : 10
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 199
y coordinate : 156
Width : 70
Height : 70
x coordinate : 251
y coordinate : 138
Width : 60
Height : 60
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -456,16 +465,16 @@ Button bDown1
Button bStop1
Attributes
ID : 14
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 125
y coordinate : 156
Width : 70
Height : 70
x coordinate : 188
y coordinate : 138
Width : 60
Height : 60
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -503,16 +512,16 @@ Button bStop1
Button bUp1
Attributes
ID : 15
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 51
y coordinate : 156
Width : 70
Height : 70
x coordinate : 125
y coordinate : 138
Width : 60
Height : 60
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -548,9 +557,150 @@ Button bUp1
prints tSend.txt,0
prints crcval,2
Button bTLeft
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 125
y coordinate : 291
Width : 60
Height : 60
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTStop
Attributes
ID : 23
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 187
y coordinate : 291
Width : 60
Height : 60
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTRight
Attributes
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 249
y coordinate : 291
Width : 60
Height : 60
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Timer tmSleep
Attributes
ID : 8
ID : 7
Scope : local
Period (ms): 1000
Enabled : yes
@@ -570,7 +720,7 @@ Timer tmSleep
Timer tmSerial
Attributes
ID : 9
ID : 8
Scope : local
Period (ms): 50
Enabled : yes
@@ -684,12 +834,57 @@ Timer tmSerial
tsw bDown1,1
bDown1.pco=65535
}
// set tTiltHeading (localization)
spstr strCommand.txt,tTiltHeading.txt,"~",11
// set icon bUp
spstr strCommand.txt,tTmp.txt,"~",15
if(tTmp.txt=="disable")
{
tsw bTLeft,0
spstr strCommand.txt,bTLeft.txt,"~",12
bTLeft.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTLeft.txt,"~",12
tsw bTLeft,1
bTLeft.pco=65535
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",16
if(tTmp.txt=="disable")
{
tsw bTStop,0
spstr strCommand.txt,bTStop.txt,"~",13
bTStop.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTStop.txt,"~",13
tsw bTStop,1
bTStop.pco=65535
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,0
bTRight.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,1
bTRight.pco=65535
}
}
if(tInstruction.txt=="dimmode")
{
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="time")
{
@@ -780,7 +975,7 @@ Timer tmSerial
TouchCap tc0
Attributes
ID : 7
ID : 6
Scope: local
Value: 0

View File

@@ -93,7 +93,7 @@ Text tTime
x coordinate : 0
y coordinate : 0
Width : 320
Height : 150
Height : 129
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -106,7 +106,7 @@ Text tTime
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text : 21:32
Text : 21:32
Max. Text Size : 15
Word wrap : disabled
Horizontal Spacing : 0
@@ -121,9 +121,9 @@ Text tDate
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 180
y coordinate : 195
Width : 320
Height : 36
Height : 32
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -137,7 +137,7 @@ Text tDate
Vertical Alignment : center
Input Type : character
Text : Tuesday, 08. March 2022
Max. Text Size : 35
Max. Text Size : 40
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
@@ -151,7 +151,7 @@ Text tMainIcon
Send Component ID : disabled
Opacity : 127
x coordinate : 125
y coordinate : 254
y coordinate : 261
Width : 70
Height : 65
Effect : load
@@ -181,7 +181,7 @@ Text tMainText
Send Component ID : disabled
Opacity : 127
x coordinate : 111
y coordinate : 318
y coordinate : 325
Width : 110
Height : 42
Effect : load
@@ -211,7 +211,7 @@ Text tForecast1
Send Component ID : disabled
Opacity : 127
x coordinate : 5
y coordinate : 377
y coordinate : 384
Width : 71
Height : 25
Effect : load
@@ -241,7 +241,7 @@ Text tForecast1Val
Send Component ID : disabled
Opacity : 127
x coordinate : 2
y coordinate : 443
y coordinate : 450
Width : 70
Height : 24
Effect : load
@@ -271,7 +271,7 @@ Text tF1Icon
Send Component ID : disabled
Opacity : 127
x coordinate : 23
y coordinate : 406
y coordinate : 413
Width : 40
Height : 34
Effect : load
@@ -301,7 +301,7 @@ Text tForecast2
Send Component ID : disabled
Opacity : 127
x coordinate : 86
y coordinate : 378
y coordinate : 385
Width : 71
Height : 24
Effect : load
@@ -331,7 +331,7 @@ Text tF2Icon
Send Component ID : disabled
Opacity : 127
x coordinate : 103
y coordinate : 406
y coordinate : 413
Width : 40
Height : 34
Effect : load
@@ -361,7 +361,7 @@ Text tForecast2Val
Send Component ID : disabled
Opacity : 127
x coordinate : 83
y coordinate : 443
y coordinate : 450
Width : 71
Height : 24
Effect : load
@@ -391,7 +391,7 @@ Text t10
Send Component ID : disabled
Opacity : 127
x coordinate : 49
y coordinate : 233
y coordinate : 240
Width : 225
Height : 2
Effect : load
@@ -421,7 +421,7 @@ Text tAMPM
Send Component ID : disabled
Opacity : 127
x coordinate : 105
y coordinate : 122
y coordinate : 108
Width : 103
Height : 57
Effect : load
@@ -451,7 +451,7 @@ Text tForecast3Val
Send Component ID : disabled
Opacity : 127
x coordinate : 165
y coordinate : 444
y coordinate : 451
Width : 70
Height : 23
Effect : load
@@ -481,7 +481,7 @@ Text tF3Icon
Send Component ID : disabled
Opacity : 127
x coordinate : 183
y coordinate : 407
y coordinate : 414
Width : 40
Height : 33
Effect : load
@@ -511,7 +511,7 @@ Text tForecast3
Send Component ID : disabled
Opacity : 127
x coordinate : 167
y coordinate : 379
y coordinate : 386
Width : 70
Height : 23
Effect : load
@@ -541,7 +541,7 @@ Text tForecast4
Send Component ID : disabled
Opacity : 127
x coordinate : 247
y coordinate : 379
y coordinate : 386
Width : 70
Height : 23
Effect : load
@@ -571,7 +571,7 @@ Text tF4Icon
Send Component ID : disabled
Opacity : 127
x coordinate : 263
y coordinate : 407
y coordinate : 414
Width : 40
Height : 33
Effect : load
@@ -601,7 +601,7 @@ Text tForecast4Val
Send Component ID : disabled
Opacity : 127
x coordinate : 246
y coordinate : 444
y coordinate : 451
Width : 70
Height : 23
Effect : load
@@ -631,7 +631,7 @@ Text tMainTextAlt
Send Component ID : disabled
Opacity : 127
x coordinate : 184
y coordinate : 262
y coordinate : 269
Width : 105
Height : 41
Effect : load
@@ -661,7 +661,7 @@ Text tMainIconAlt
Send Component ID : disabled
Opacity : 127
x coordinate : 44
y coordinate : 273
y coordinate : 280
Width : 100
Height : 65
Effect : load
@@ -691,7 +691,7 @@ Text tMRIcon
Send Component ID : disabled
Opacity : 127
x coordinate : 182
y coordinate : 317
y coordinate : 324
Width : 40
Height : 34
Effect : load
@@ -721,7 +721,7 @@ Text tMR
Send Component ID : disabled
Opacity : 127
x coordinate : 224
y coordinate : 322
y coordinate : 329
Width : 61
Height : 20
Effect : load
@@ -751,7 +751,7 @@ Text tNotifyHead
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 253
y coordinate : 257
Width : 320
Height : 58
Effect : load
@@ -781,7 +781,7 @@ Text tNotifyText
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 311
y coordinate : 315
Width : 320
Height : 58
Effect : load
@@ -811,7 +811,7 @@ Text tIcon1
Send Component ID : disabled
Opacity : 127
x coordinate : 8
y coordinate : 220
y coordinate : 227
Width : 33
Height : 30
Effect : load
@@ -841,7 +841,7 @@ Text tIcon2
Send Component ID : disabled
Opacity : 127
x coordinate : 282
y coordinate : 220
y coordinate : 227
Width : 33
Height : 30
Effect : load
@@ -862,6 +862,36 @@ Text tIcon2
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTimeAdd
Attributes
ID : 37
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 163
Width : 320
Height : 32
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 1
Back. Color : 0
Font Color : 65535
Horizontal Alignment : center
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 40
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0
Attributes
ID : 1
@@ -871,9 +901,9 @@ Picture p0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 1
Width : 319
Height : 479
y coordinate : 0
Width : 320
Height : 480
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -942,6 +972,9 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{
@@ -953,6 +986,7 @@ Timer tmSerial
{
vis tAMPM,0
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
}
if(tInstruction.txt=="date")
{
@@ -1007,7 +1041,7 @@ Timer tmSerial
//alternative layout
//tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="")
if(tMRIcon.txt!=""&&p0.w!=320)
{
//value for tMRIcon, activate alternative layout
vis tMainIcon,0
@@ -1016,6 +1050,22 @@ Timer tmSerial
vis tMainIconAlt,1
vis tMRIcon,1
vis tMR,1
vis tForecast1,0
vis tF1Icon,0
vis tForecast1Val,0
//move forecast values to the right
tForecast4.txt=tForecast3.txt
tForecast3.txt=tForecast2.txt
tForecast2.txt=tForecast1.txt
tForecast4Val.txt=tForecast3Val.txt
tForecast3Val.txt=tForecast2Val.txt
tForecast2Val.txt=tForecast1Val.txt
tF4Icon.txt=tF3Icon.txt
tF3Icon.txt=tF2Icon.txt
tF2Icon.txt=tF1Icon.txt
tF4Icon.pco=tF3Icon.pco
tF3Icon.pco=tF2Icon.pco
tF2Icon.pco=tF1Icon.pco
}
//tMR
spstr strCommand.txt,tMR.txt,"~",16
@@ -1027,6 +1077,14 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
if(tNotifyHead.txt!="")
{
ref tNotifyHead
}
if(tNotifyText.txt!="")
{
ref tNotifyText
}
}
if(tInstruction.txt=="color")
{
@@ -1056,6 +1114,7 @@ Timer tmSerial
tForecast4.bco=tTime.bco
tForecast4Val.bco=tTime.bco
tF4Icon.bco=tTime.bco
tTimeAdd.bco=tTime.bco
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,tTime.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",3
@@ -1098,6 +1157,8 @@ Timer tmSerial
covx tTmp.txt,tMRIcon.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
covx tTmp.txt,tMR.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",22
covx tTmp.txt,tTimeAdd.pco,0,0
}
if(tInstruction.txt=="notify")
{

View File

@@ -12,6 +12,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -32,6 +33,7 @@ Page cardAlarm
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
vis bPrev,0
vis bNext,0
@@ -78,6 +80,12 @@ Variable (string) va4
Text :
Max. Text Size: 20
Variable (string) vaAddBtn
Attributes
Scope : local
Text :
Max. Text Size: 80
Text tTmp
Attributes
Scope : local
@@ -325,12 +333,32 @@ Button b9
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 0
Text :
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=tCode.txt+"0"
// event,buttonPress2,entn,arm1,tCode
tSend.txt="event,buttonPress2,"
if(vaAddBtn.txt!="")
{
tSend.txt+=vaAddBtn.txt+",button"
}else
{
tSend.txt+=entn.txt+",opnSensorNotify"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
tCode.txt=""
Button b10
Attributes
@@ -339,12 +367,12 @@ Button b10
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : CLR
Text : 0
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=""
tCode.txt=tCode.txt+"0"
Button arm1
Attributes
@@ -466,6 +494,20 @@ Button arm4
prints crcval,2
tCode.txt=""
Button b11
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : CLR
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=""
Hotspot mSwipeNext
Attributes
Scope : local
@@ -642,6 +684,7 @@ Timer tmSerial
vis b8,1
vis b9,1
vis b10,1
vis b11,1
vis tCode,1
}else
{
@@ -656,6 +699,7 @@ Timer tmSerial
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
}
//flashing status
@@ -667,6 +711,15 @@ Timer tmSerial
{
tmFlash.en=0
}
// extra button
spstr strCommand.txt,b9.txt,"~",15
if(b9.txt!="")
{
vis b9,1
spstr strCommand.txt,tTmp.txt,"~",16
covx tTmp.txt,b9.pco,0,0
spstr strCommand.txt,vaAddBtn.txt,"~",17
}
}
if(tInstruction.txt=="time")
{
@@ -683,7 +736,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0
@@ -2315,6 +2316,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,7 +12,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1
@@ -846,6 +846,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -635,7 +636,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -29,12 +30,14 @@ Page cardQR
vis tIcon2,0
vis tEntity2,0
vis bText2,0
tsw m0,0
tsw m1,0
Variable (string) strCommand
Attributes
Scope : local
Text :
Max. Text Size: 270
Max. Text Size: 275
Variable (string) entn
Attributes
@@ -90,6 +93,12 @@ Variable (string) type2
Text :
Max. Text Size: 10
Variable (string) vaQR
Attributes
Scope : local
Text :
Max. Text Size: 80
Text tEntity1
Attributes
Scope : local
@@ -147,15 +156,6 @@ Picture p0
Disable release event after dragging: 0
Send Component ID : disabled
QR Code qr0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Text :
Max. Text Size : 100
Button bNext
Attributes
Scope : local
@@ -350,6 +350,20 @@ Hotspot mSwipePrev
Touch Press Event
click bPrev,1
Hotspot m0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Hotspot m1
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Timer tmSerial
Attributes
Scope : local
@@ -442,7 +456,7 @@ Timer tmSerial
bNext.txt=""
}
//text qrcode
spstr strCommand.txt,qr0.txt,"~",3
spstr strCommand.txt,vaQR.txt,"~",3
// get Type
spstr strCommand.txt,type1.txt,"~",4
// get internal name
@@ -565,6 +579,16 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",15
}
if(type2.txt=="delete"||type2.txt=="")
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,6371,65535,-1,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,6371,65535,-1,vaQR.txt
}
}
if(tInstruction.txt=="time")
{
@@ -581,7 +605,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -20,9 +21,6 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempMin2,0
vis xTempMax2,0
vis xTempStep2,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -173,33 +171,6 @@ XFloat xTempDest2
Associated Keyboard : none
Value : 0
XFloat xTempMin2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempMax2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempStep2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempDest
Attributes
Scope : local
@@ -599,10 +570,13 @@ Dual-state Button btUp1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -635,10 +609,13 @@ Dual-state Button btDown1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -663,16 +640,19 @@ Dual-state Button bUp2
Events
Touch Press Event
if(xTempDest2.val<xTempMax2.val)
if(xTempDest2.val<xTempMax1.val)
{
xTempDest2.val=xTempDest2.val+xTempStep2.val
xTempDest2.val=xTempDest2.val+xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -699,16 +679,19 @@ Dual-state Button bDown2
Events
Touch Press Event
if(xTempDest2.val>xTempMin2.val)
if(xTempDest2.val>xTempMin1.val)
{
xTempDest2.val=xTempDest2.val-xTempStep2.val
xTempDest2.val=xTempDest2.val-xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1169,6 +1152,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -273,6 +273,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
@@ -560,6 +561,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,6 +12,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0
@@ -310,6 +311,10 @@ Timer tmSerial
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="timeout")
{

View File

@@ -12,15 +12,19 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
vis p0,0
vis tSend,0
vis tTmp,0
vis tInstruction,0
vis tId,0
vis tPosHeading,0
vis hPosition,0
vis hTilt,0
vis bTLeft,0
vis bTStop,0
vis bTRight,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -49,6 +53,24 @@ Variable (string) entn
Text :
Max. Text Size: 80
Variable (string) tInstruction
Attributes
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
Scope : local
Text :
Max. Text Size: 10
Text tEntity
Attributes
Scope : local
@@ -79,36 +101,6 @@ Text tSend
Text : newtxt
Max. Text Size : 100
Text tTmp
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 10
Text tInstruction
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 20
Text tId
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 20
Text tPosHeading
Attributes
Scope : local
@@ -129,6 +121,16 @@ Text tInfo1
Text :
Max. Text Size : 40
Text tTiltHeading
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 15
Picture p0
Attributes
Scope : local
@@ -165,6 +167,35 @@ Slider hPosition
prints tSend.txt,0
prints crcval,2
Slider hTilt
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Position : 50
Upper range limit : 100
Lower range limit : 0
Events
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button b0
Attributes
Scope : local
@@ -265,6 +296,81 @@ Button bUp1
prints tSend.txt,0
prints crcval,2
Button bTLeft
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTStop
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTRight
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Timer tmSleep
Attributes
Scope : local
@@ -399,12 +505,57 @@ Timer tmSerial
tsw bDown1,1
bDown1.pco=65535
}
// set tTiltHeading (localization)
spstr strCommand.txt,tTiltHeading.txt,"~",11
// set icon bUp
spstr strCommand.txt,tTmp.txt,"~",15
if(tTmp.txt=="disable")
{
tsw bTLeft,0
spstr strCommand.txt,bTLeft.txt,"~",12
bTLeft.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTLeft.txt,"~",12
tsw bTLeft,1
bTLeft.pco=65535
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",16
if(tTmp.txt=="disable")
{
tsw bTStop,0
spstr strCommand.txt,bTStop.txt,"~",13
bTStop.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTStop.txt,"~",13
tsw bTStop,1
bTStop.pco=65535
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,0
bTRight.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,1
bTRight.pco=65535
}
}
if(tInstruction.txt=="dimmode")
{
// get value
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
dim=dimValueNormal
}
if(tInstruction.txt=="time")
{

View File

@@ -75,7 +75,7 @@ Text tTime
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text : 21:32
Text : 21:32
Max. Text Size : 15
Text tDate
@@ -86,7 +86,7 @@ Text tDate
Send Component ID : disabled
Associated Keyboard : none
Text : Tuesday, 08. March 2022
Max. Text Size : 35
Max. Text Size : 40
Text tMainIcon
Attributes
@@ -328,6 +328,16 @@ Text tIcon2
Text :
Max. Text Size : 5
Text tTimeAdd
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 40
Picture p0
Attributes
Scope : local
@@ -397,6 +407,9 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",1
covx tTmp.txt,dimValue,0,0
dim=dimValue
// get value normal
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,dimValueNormal,0,0
}
if(tInstruction.txt=="time")
{
@@ -408,6 +421,7 @@ Timer tmSerial
{
vis tAMPM,0
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
}
if(tInstruction.txt=="date")
{
@@ -462,7 +476,7 @@ Timer tmSerial
//alternative layout
//tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="")
if(tMRIcon.txt!=""&&p0.w!=320)
{
//value for tMRIcon, activate alternative layout
vis tMainIcon,0
@@ -471,6 +485,22 @@ Timer tmSerial
vis tMainIconAlt,1
vis tMRIcon,1
vis tMR,1
vis tForecast1,0
vis tF1Icon,0
vis tForecast1Val,0
//move forecast values to the right
tForecast4.txt=tForecast3.txt
tForecast3.txt=tForecast2.txt
tForecast2.txt=tForecast1.txt
tForecast4Val.txt=tForecast3Val.txt
tForecast3Val.txt=tForecast2Val.txt
tForecast2Val.txt=tForecast1Val.txt
tF4Icon.txt=tF3Icon.txt
tF3Icon.txt=tF2Icon.txt
tF2Icon.txt=tF1Icon.txt
tF4Icon.pco=tF3Icon.pco
tF3Icon.pco=tF2Icon.pco
tF2Icon.pco=tF1Icon.pco
}
//tMR
spstr strCommand.txt,tMR.txt,"~",16
@@ -482,6 +512,14 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
if(tNotifyHead.txt!="")
{
ref tNotifyHead
}
if(tNotifyText.txt!="")
{
ref tNotifyText
}
}
if(tInstruction.txt=="color")
{
@@ -511,6 +549,7 @@ Timer tmSerial
tForecast4.bco=tTime.bco
tForecast4Val.bco=tTime.bco
tF4Icon.bco=tTime.bco
tTimeAdd.bco=tTime.bco
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,tTime.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",3
@@ -553,6 +592,8 @@ Timer tmSerial
covx tTmp.txt,tMRIcon.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
covx tTmp.txt,tMR.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",22
covx tTmp.txt,tTimeAdd.pco,0,0
}
if(tInstruction.txt=="notify")
{

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

1
HMI/fonts/charout.txt Normal file
View File

@@ -0,0 +1 @@
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏͰͱͲͳʹ͵Ͷͷ͸͹ͺͻͼͽ;Ϳ΀΁΂΃΄΅Ά·ΈΉΊ΋Ό΍ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ΢ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟϠϡϢϣϤϥϦϧϨϩϪϫϬϭϮϯϰϱϲϳϴϵ϶ϷϸϹϺϻϼϽϾϿЀЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяѐёђѓєѕіїјљњћќѝўџѠѡѢѣѤѥѦѧѨѩѪѫѬѭѮѯѰѱѲѳѴѵѶѷѸѹѺѻѼѽѾѿҀҁ҂҃҄҅҆҇҈҉ҊҋҌҍҎҏҐґҒғҔҕҖҗҘҙҚқҜҝҞҟҠҡҢңҤҥҦҧҨҩҪҫҬҭҮүҰұҲҳҴҵҶҷҸҹҺһҼҽҾҿӀӁӂӃӄӅӆӇӈӉӊӋӌӍӎӏӐӑӒӓӔӕӖӗӘәӚӛӜӝӞӟӠӡӢӣӤӥӦӧӨөӪӫӬӭӮӯӰӱӲӳӴӵӶӷӸӹӺӻӼӽӾӿ԰ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖ՗՘ՙ՚՛՜՝՞՟ՠաբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆևֈ։֊֋֌֍֎֏֐ְֱֲֳִֵֶַָֹֺֻּֽ֑֖֛֢֣֤֥֦֧֪֚֭֮֒֓֔֕֗֘֙֜֝֞֟֠֡֨֩֫֬֯־ֿ׀ׁׂ׃ׅׄ׆ׇ׈׉׊׋׌׍׎׏אבגדהוזחטיךכלםמןנסעףפץצקרשת׫׬׭׮ׯװױײ׳״׵׶׷׸׹׺׻׼׽׾׿؀؁؂؃؄؅؆؇؈؉؊؋،؍؎؏ؘؙؚؐؑؒؓؔؕؖؗ؛؜؝؞؟ؠءآأؤإئابةتثجحخدذرزسشصضطظعغػؼؽؾؿـفقكلمنهوىيًٌٍَُِّْٕٖٜٟٓٔٗ٘ٙٚٛٝٞ٠١٢٣٤٥٦٧٨٩٪٫٬٭ٮٯٰٱٲٳٴٵٶٷٸٹٺٻټٽپٿڀځڂڃڄڅچڇڈډڊڋڌڍڎڏڐڑڒړڔڕږڗژڙښڛڜڝڞڟڠڡڢڣڤڥڦڧڨکڪګڬڭڮگڰڱڲڳڴڵڶڷڸڹںڻڼڽھڿۀہۂۃۄۅۆۇۈۉۊۋیۍێۏېۑےۓ۔ەۖۗۘۙۚۛۜ۝۞ۣ۟۠ۡۢۤۥۦۧۨ۩۪ۭ۫۬ۮۯ۰۱۲۳۴۵۶۷۸۹ۺۻۼ۽۾ۿ฀กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู฻฼฽฾฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛๜๝๞๟๠๡๢๣๤๥๦๧๨๩๪๫๬๭๮๯๰๱๲๳๴๵๶๷๸๹๺๻๼๽๾๿ႠႡႢႣႤႥႦႧႨႩႪႫႬႭႮႯႰႱႲႳႴႵႶႷႸႹႺႻႼႽႾႿჀჁჂჃჄჅ჆Ⴧ჈჉჊჋჌Ⴭ჎჏აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶჷჸჹჺ჻ჼჽჾჿḀḁḂḃḄḅḆḇḈḉḊḋḌḍḎḏḐḑḒḓḔḕḖḗḘḙḚḛḜḝḞḟḠḡḢḣḤḥḦḧḨḩḪḫḬḭḮḯḰḱḲḳḴḵḶḷḸḹḺḻḼḽḾḿṀṁṂṃṄṅṆṇṈṉṊṋṌṍṎṏṐṑṒṓṔṕṖṗṘṙṚṛṜṝṞṟṠṡṢṣṤṥṦṧṨṩṪṫṬṭṮṯṰṱṲṳṴṵṶṷṸṹṺṻṼṽṾṿẀẁẂẃẄẅẆẇẈẉẊẋẌẍẎẏẐẑẒẓẔẕẖẗẘẙẚẛẜẝẞẟẠạẢảẤấẦầẨẩẪẫẬậẮắẰằẲẳẴẵẶặẸẹẺẻẼẽẾếỀềỂểỄễỆệỈỉỊịỌọỎỏỐốỒồỔổỖỗỘộỚớỜờỞởỠỡỢợỤụỦủỨứỪừỬửỮữỰựỲỳỴỵỶỷỸỹỺỻỼỽỾỿ卧房室客厅洗手间阳台厨灯壁镜前后左右东南西北中空调风扇橱柜控温湿度网关串夜落地阅读水泵一二三四五六七八九十百年月日周星期播放窗帘门开高低家在电暖气器摄像头扫人机组群冷热模式时分秒大小上下多少主书层制浴臥廳間陽廚燈鏡後東調風櫥櫃溫濕網關閱讀簾門開電氣攝頭掃機組熱時書層略闲定戒当色置辅离亮激义自位清行状过送按活条态警速码假除密锁解件运闭接连触发断异启常干润鎖離狀出目外斷態輔用運判閉碼助啟執轉閒 未乾潤全線量險確危發觸異安燥已偵無連測有正

323
HMI/fonts/gen-chars.py Normal file
View File

@@ -0,0 +1,323 @@
unicode_ranges="0000-007F," #Basic Latin
unicode_ranges+="0080-00FF," #C1 Controls and Latin-1 Supplement
unicode_ranges+="0100-017F," #Latin Extended-A
unicode_ranges+="0180-024F," #Latin Extended-B
#unicode_ranges+="0250-02AF," #IPA Extensions
#unicode_ranges+="02B0-02FF," #Spacing Modifier Letters
#unicode_ranges+="0300-036F," #Combining Diacritical Marks
unicode_ranges+="0370-03FF," #Greek/Coptic
unicode_ranges+="0400-04FF," #Cyrillic
#unicode_ranges+="0500-052F," #Cyrillic Supplement
unicode_ranges+="0530-058F," #Armenian -> broken in powershell
unicode_ranges+="0590-05FF," #Hebrew -> broken in powershell
unicode_ranges+="0600-06FF," #Arabic -> broken in powershell
#unicode_ranges+="0700-074F," #Syriac
#unicode_ranges+="0750-077F," #Undefined
#unicode_ranges+="0780-07BF," #Thaana
#unicode_ranges+="07C0-08FF," #Undefined
#unicode_ranges+="0900-097F," #Devanagari
#unicode_ranges+="0980-09FF," #Bengali/Assamese
#unicode_ranges+="0A00-0A7F," #Gurmukhi
#unicode_ranges+="0A80-0AFF," #Gujarati
#unicode_ranges+="0B00-0B7F," #Oriya
#unicode_ranges+="0B80-0BFF," #Tamil
#unicode_ranges+="0C00-0C7F," #Telugu
#unicode_ranges+="0C80-0CFF," #Kannada
#unicode_ranges+="0D00-0DFF," #Malayalam
#unicode_ranges+="0D80-0DFF," #Sinhala
unicode_ranges+="0E00-0E7F," #Thai
#unicode_ranges+="0E80-0EFF," #Lao
#unicode_ranges+="0F00-0FFF," #Tibetan
#unicode_ranges+="1000-109F," #Myanmar
unicode_ranges+="10A0-10FF," #Georgian
#unicode_ranges+="1100-11FF," #Hangul Jamo
#unicode_ranges+="1200-137F," #Ethiopic
#unicode_ranges+="1380-139F," #Undefined
#unicode_ranges+="13A0-13FF," #Cherokee
#unicode_ranges+="1400-167F," #Unified Canadian Aboriginal Syllabics
#unicode_ranges+="1680-169F," #Ogham
#unicode_ranges+="16A0-16FF," #Runic
#unicode_ranges+="1700-171F," #Tagalog
#unicode_ranges+="1720-173F," #Hanunoo
#unicode_ranges+="1740-175F," #Buhid
#unicode_ranges+="1760-177F," #Tagbanwa
#unicode_ranges+="1780-17FF," #Khmer
#unicode_ranges+="1800-18AF," #Mongolian
#unicode_ranges+="18B0-18FF," #Undefined
#unicode_ranges+="1900-194F," #Limbu
#unicode_ranges+="1950-197F," #Tai Le
#unicode_ranges+="1980-19DF," #Undefined
#unicode_ranges+="19E0-19FF," #Khmer Symbols
#unicode_ranges+="1A00-1CFF," #Undefined
#unicode_ranges+="1D00-1D7F," #Phonetic Extensions
#unicode_ranges+="1D80-1DFF," #Undefined
unicode_ranges+="1E00-1EFF," #Latin Extended Additional
#unicode_ranges+="1F00-1FFF," #Greek Extended
#unicode_ranges+="2000-206F," #General Punctuation
#unicode_ranges+="2070-209F," #Superscripts and Subscripts
#unicode_ranges+="20A0-20CF," #Currency Symbols
#unicode_ranges+="20D0-20FF," #Combining Diacritical Marks for Symbols
#unicode_ranges+="2100-214F," #Letterlike Symbols
#unicode_ranges+="2150-218F," #Number Forms
#unicode_ranges+="2190-21FF," #Arrows
#unicode_ranges+="2200-22FF," #Mathematical Operators
#unicode_ranges+="2300-23FF," #Miscellaneous Technical
#unicode_ranges+="2400-243F," #Control Pictures
#unicode_ranges+="2440-245F," #Optical Character Recognition
#unicode_ranges+="2460-24FF," #Enclosed Alphanumerics
#unicode_ranges+="2500-257F," #Box Drawing
#unicode_ranges+="2580-259F," #Block Elements
#unicode_ranges+="25A0-25FF," #Geometric Shapes
#unicode_ranges+="2600-26FF," #Miscellaneous Symbols
#unicode_ranges+="2700-27BF," #Dingbats
#unicode_ranges+="27C0-27EF," #Miscellaneous Mathematical Symbols-A
#unicode_ranges+="27F0-27FF," #Supplemental Arrows-A
#unicode_ranges+="2800-28FF," #Braille Patterns
#unicode_ranges+="2900-297F," #Supplemental Arrows-B
#unicode_ranges+="2980-29FF," #Miscellaneous Mathematical Symbols-B
#unicode_ranges+="2A00-2AFF," #Supplemental Mathematical Operators
#unicode_ranges+="2B00-2BFF," #Miscellaneous Symbols and Arrows
#unicode_ranges+="2C00-2E7F," #Undefined
#unicode_ranges+="2E80-2EFF," #CJK Radicals Supplement
#unicode_ranges+="2F00-2FDF," #Kangxi Radicals
#unicode_ranges+="2FE0-2EEF," #Undefined
#unicode_ranges+="2FF0-2FFF," #Ideographic Description Characters
#unicode_ranges+="3000-303F," #CJK Symbols and Punctuation
#unicode_ranges+="3040-309F," #Hiragana
#unicode_ranges+="30A0-30FF," #Katakana
#unicode_ranges+="3100-312F," #Bopomofo
#unicode_ranges+="3130-318F," #Hangul Compatibility Jamo
#unicode_ranges+="3190-319F," #Kanbun (Kunten)
#unicode_ranges+="31A0-31BF," #Bopomofo Extended
#unicode_ranges+="31C0-31EF," #Undefined
#unicode_ranges+="31F0-31FF," #Katakana Phonetic Extensions
#unicode_ranges+="3200-32FF," #Enclosed CJK Letters and Months
#unicode_ranges+="3300-33FF," #CJK Compatibility
#unicode_ranges+="3400-4DBF," #CJK Unified Ideographs Extension A
#unicode_ranges+="4DC0-4DFF," #Yijing Hexagram Symbols
#unicode_ranges+="4E00-9FAF," #CJK Unified Ideographs
#unicode_ranges+="9FB0-9FFF," #Undefined
#unicode_ranges+="A000-A48F," #Yi Syllables
#unicode_ranges+="A490-A4CF," #Yi Radicals
#unicode_ranges+="A4D0-ABFF," #Undefined
#unicode_ranges+="AC00-D7AF," #Hangul Syllables
#unicode_ranges+="D7B0-D7FF," #Undefined
#unicode_ranges+="D800-DBFF," #High Surrogate Area
#unicode_ranges+="DC00-DFFF," #Low Surrogate Area
#unicode_ranges+="E000-F8FF," #Private Use Area
#unicode_ranges+="F900-FAFF," #CJK Compatibility Ideographs
#unicode_ranges+="FB00-FB4F," #Alphabetic Presentation Forms
#unicode_ranges+="FB50-FDFF," #Arabic Presentation Forms-A
#unicode_ranges+="FE00-FE0F," #Variation Selectors
#unicode_ranges+="FE10-FE1F," #Undefined
#unicode_ranges+="FE20-FE2F," #Combining Half Marks
#unicode_ranges+="FE30-FE4F," #CJK Compatibility Forms
#unicode_ranges+="FE50-FE6F," #Small Form Variants
#unicode_ranges+="FE70-FEFF," #Arabic Presentation Forms-B
#unicode_ranges+="FF00-FFEF," #Halfwidth and Fullwidth Forms
#unicode_ranges+="FFF0-FFFF," #Specials
#unicode_ranges+="10000-1007F," #Linear B Syllabary
#unicode_ranges+="10080-100FF," #Linear B Ideograms
#unicode_ranges+="10100-1013F," #Aegean Numbers
#unicode_ranges+="10140-102FF," #Undefined
#unicode_ranges+="10300-1032F," #Old Italic
#unicode_ranges+="10330-1034F," #Gothic
#unicode_ranges+="10380-1039F," #Ugaritic
#unicode_ranges+="10400-1044F," #Deseret
#unicode_ranges+="10450-1047F," #Shavian
#unicode_ranges+="10480-104AF," #Osmanya
#unicode_ranges+="104B0-107FF," #Undefined
#unicode_ranges+="10800-1083F," #Cypriot Syllabary
#unicode_ranges+="10840-1CFFF," #Undefined
#unicode_ranges+="1D000-1D0FF," #Byzantine Musical Symbols
#unicode_ranges+="1D100-1D1FF," #Musical Symbols
#unicode_ranges+="1D200-1D2FF," #Undefined
#unicode_ranges+="1D300-1D35F," #Tai Xuan Jing Symbols
#unicode_ranges+="1D360-1D3FF," #Undefined
#unicode_ranges+="1D400-1D7FF," #Mathematical Alphanumeric Symbols
#unicode_ranges+="1D800-1FFFF," #Undefined
#unicode_ranges+="20000-2A6DF," #CJK Unified Ideographs Extension B
#unicode_ranges+="2A6E0-2F7FF," #Undefined
#unicode_ranges+="2F800-2FA1F," #CJK Compatibility Ideographs Supplement
#unicode_ranges+="2FAB0-DFFFF," #Unused
#unicode_ranges+="E0000-E007F," #Tags
#unicode_ranges+="E0080-E00FF," #Unused
#unicode_ranges+="E0100-E01EF," #Variation Selectors Supplement
#unicode_ranges+="E01F0-EFFFF," #Unused
#unicode_ranges+="F0000-FFFFD," #Supplementary Private Use Area-A
#unicode_ranges+="FFFFE-FFFFF," #Unused
#unicode_ranges+="100000-10FFFD," #Supplementary Private Use Area-B
char_res_string = ""
for r in unicode_ranges[:-1].split(","):
start = int('0x'+r.split('-')[0], 16)
end = int('0x'+r.split('-')[1], 16)+1
print(start, end)
char_res_string += ''.join(chr(i) for i in range(start, end))
# picked chars from chinese
# simple
char_res_string += "卧房室客厅洗手间阳台厨灯壁镜前后左右东南西北中空调风扇橱柜控温湿度网关串夜落地阅读水泵一二三四五六七八九十百年月日周星期播放窗帘门开高低家在电暖气器摄像头扫人机组群冷热模式时分秒大小上下多少主书层制浴"
# trad
char_res_string += "臥廳間陽廚燈鏡後東調風櫥櫃溫濕網關閱讀簾門開電氣攝頭掃機組熱時書層"
# chars that were missing simple
char_res_string += "略闲定戒当色置辅离亮激义自位清行状过送按活条态警速码假除密锁解件运"
# binary sensors
char_res_string += "闭接连触发断异启常干润"
# chars mising trad
char_res_string += "鎖離狀出目外斷態輔用運判閉碼助啟執轉閒"
# binary sensors
char_res_string += " 未乾潤全線量險確危發觸異安燥已偵無連測有正"
# misc
char_res_string += ""
print("Out: ")
#print(char_res_string)
with open("charout.txt", "wb") as text_file:
text_file.write(char_res_string.encode('utf8'))
# check if translations.py is covered
#with open("test", 'r') as f: # open in readonly mode
# unique_chars = set(f.read())
# #unique_chars = json.dumps(json.load(f))
# len(unique_chars)
# print(len(unique_chars))
# #print(''.join(sorted(unique_chars)))
# for char in unique_chars:
# if char not in char_res_string:
# print(f"char {char} missing")
import os
import glob
import json
def lookup(path_frontend_file, path_backend_file, lookupstr):
if not (os.path.exists(path_frontend_file) and os.path.exists(path_backend_file)):
return "error_fnf"
with open(path_frontend_file, 'r') as f, open(path_backend_file, 'r') as b:
translations = { "frontend": json.load(f), "backend": json.load(b)}
res = translations
for k in lookupstr.split("."):
if k in res:
res = res[k]
if type(res) is not str:
res = "error_tnf"
return res
used_items = [
"frontend.ui.card.button.press",
"frontend.ui.card.button.press",
"frontend.ui.card.scene.activate",
"frontend.ui.card.script.run",
"frontend.ui.card.lock.lock",
"frontend.ui.card.lock.unlock",
"frontend.ui.card.climate.currently",
"frontend.ui.panel.config.devices.entities.state",
"frontend.ui.card.climate.operation",
"frontend.ui.card.light.brightness",
"frontend.ui.card.light.color_temperature",
"frontend.ui.card.light.position",
"frontend.state_attributes.climate.hvac_action.cooling"
"frontend.state_attributes.climate.hvac_action.drying"
"frontend.state_attributes.climate.hvac_action.fan"
"frontend.state_attributes.climate.hvac_action.heating"
"frontend.state_attributes.climate.hvac_action.idle"
"frontend.state_attributes.climate.hvac_action.off"
"backend.component.climate.state._.off"
"backend.component.climate.state._.heat"
"backend.component.climate.state._.cool"
"backend.component.climate.state._.heat_cool"
"backend.component.climate.state._.auto"
"backend.component.climate.state._.dry"
"backend.component.climate.state._.fan_only"
"backend.component.climate.state._.heat"
"frontend.ui.card.alarm_control_panel.arm_home"
"frontend.ui.card.alarm_control_panel.arm_away"
"frontend.ui.card.alarm_control_panel.arm_night"
"frontend.ui.card.alarm_control_panel.arm_vacation"
"frontend.ui.card.alarm_control_panel.disarm"
"backend.component.binary_sensor.state._.off",
"backend.component.binary_sensor.state.battery.off",
"backend.component.binary_sensor.state.cold.off",
"backend.component.binary_sensor.state.connectivity.off",
"backend.component.binary_sensor.state.door.off",
"backend.component.binary_sensor.state.garage_door.off",
"backend.component.binary_sensor.state.gas.off",
"backend.component.binary_sensor.state.heat.off",
"backend.component.binary_sensor.state.lock.off",
"backend.component.binary_sensor.state.moisture.off",
"backend.component.binary_sensor.state.motion.off",
"backend.component.binary_sensor.state.occupancy.off",
"backend.component.binary_sensor.state.opening.off",
"backend.component.binary_sensor.state.presence.off",
"backend.component.binary_sensor.state.problem.off",
"backend.component.binary_sensor.state.safety.off",
"backend.component.binary_sensor.state.smoke.off",
"backend.component.binary_sensor.state.sound.off",
"backend.component.binary_sensor.state.vibration.off",
"backend.component.binary_sensor.state.window.off",
"backend.component.binary_sensor.state._.on",
"backend.component.binary_sensor.state.battery.on",
"backend.component.binary_sensor.state.cold.on",
"backend.component.binary_sensor.state.connectivity.on",
"backend.component.binary_sensor.state.door.on",
"backend.component.binary_sensor.state.garage_door.on",
"backend.component.binary_sensor.state.gas.on",
"backend.component.binary_sensor.state.heat.on",
"backend.component.binary_sensor.state.lock.on",
"backend.component.binary_sensor.state.moisture.on",
"backend.component.binary_sensor.state.motion.on",
"backend.component.binary_sensor.state.occupancy.on",
"backend.component.binary_sensor.state.opening.on",
"backend.component.binary_sensor.state.presence.on",
"backend.component.binary_sensor.state.problem.on",
"backend.component.binary_sensor.state.safety.on",
"backend.component.binary_sensor.state.smoke.on",
"backend.component.binary_sensor.state.sound.on",
"backend.component.binary_sensor.state.vibration.on",
"backend.component.binary_sensor.state.window.on",
]
for filename in glob.glob("../../apps/nspanel-lovelace-ui/luibackend/translations/frontend/*.json"):
if "te.json" in filename:
continue
if "ko.json" in filename:
continue
if "ja.json" in filename:
continue
# if "hi.json" in filename:
# continue
if "vi.json" in filename:
continue
if "ta.json" in filename:
continue
chars_used = ""
path_frontend_file = filename
path_backend_file = filename.replace("frontend", "backend")
for i in used_items:
chars_used += lookup(path_frontend_file, path_backend_file, i)
chars_used_set = set(chars_used)
summary = ""
for char in chars_used_set:
if char not in char_res_string:
print(f"char {char} from {filename} missing")
summary += char
if "" != summary:
print(f"Summary: {summary}")

View File

@@ -20,6 +20,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -40,6 +41,7 @@ Page cardAlarm
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
vis bPrev,0
vis bNext,0
@@ -93,6 +95,13 @@ Variable (string) va4
Text :
Max. Text Size: 20
Variable (string) vaAddBtn
Attributes
ID : 39
Scope : local
Text :
Max. Text Size: 80
Text tTmp
Attributes
ID : 2
@@ -711,7 +720,65 @@ Button b9
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 116
x coordinate : 25
y coordinate : 266
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text :
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
// event,buttonPress2,entn,arm1,tCode
tSend.txt="event,buttonPress2,"
if(vaAddBtn.txt!="")
{
tSend.txt+=vaAddBtn.txt+",button"
}else
{
tSend.txt+=entn.txt+",opnSensorNotify"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
tCode.txt=""
Button b10
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 118
y coordinate : 266
Width : 75
Height : 50
@@ -741,44 +808,6 @@ Button b9
Touch Press Event
tCode.txt=tCode.txt+"0"
Button b10
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 209
y coordinate : 266
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : CLR
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tCode.txt=""
Button arm1
Attributes
ID : 24
@@ -995,6 +1024,44 @@ Button arm4
prints crcval,2
tCode.txt=""
Button b11
Attributes
ID : 38
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 209
y coordinate : 266
Width : 75
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : border
Border Color : 6371
Border Width : 2
Font ID : 2
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 1374
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : CLR
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tCode.txt=""
Hotspot mSwipeNext
Attributes
ID : 35
@@ -1199,6 +1266,7 @@ Timer tmSerial
vis b8,1
vis b9,1
vis b10,1
vis b11,1
vis tCode,1
}else
{
@@ -1213,6 +1281,7 @@ Timer tmSerial
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
}
//flashing status
@@ -1224,6 +1293,15 @@ Timer tmSerial
{
tmFlash.en=0
}
// extra button
spstr strCommand.txt,b9.txt,"~",15
if(b9.txt!="")
{
vis b9,1
spstr strCommand.txt,tTmp.txt,"~",16
covx tTmp.txt,b9.pco,0,0
spstr strCommand.txt,vaAddBtn.txt,"~",17
}
}
if(tInstruction.txt=="time")
{

View File

@@ -20,6 +20,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0

View File

@@ -20,7 +20,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1

View File

@@ -20,6 +20,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -56,6 +57,13 @@ Variable (int32) vaSpeakerPos
Scope: local
Value: 0
Variable (string) vaMenu
Attributes
ID : 33
Scope : local
Text :
Max. Text Size: 50
Text tSend
Attributes
ID : 2
@@ -443,6 +451,24 @@ Text tIcon
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Release Event
if(vaMenu.txt!="")
{
tSend.txt="event,buttonPress2,"+vaMenu.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
}
Text t1
Attributes
ID : 22
@@ -1068,6 +1094,8 @@ Timer tmSerial
vis t5,1
covx tTmp.txt,t5.pco,0,0
}
//tIconBtnEntityName
spstr strCommand.txt,vaMenu.txt,"~",12
}
if(tInstruction.txt=="time")
{

View File

@@ -20,6 +20,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -37,6 +38,8 @@ Page cardQR
vis tIcon2,0
vis tEntity2,0
vis bText2,0
tsw m0,0
tsw m1,0
Variable (string) strCommand
Attributes
@@ -82,35 +85,42 @@ Variable (string) tInstruction
Variable (string) entn1
Attributes
ID : 26
ID : 25
Scope : local
Text :
Max. Text Size: 80
Variable (string) entn2
Attributes
ID : 27
ID : 26
Scope : local
Text :
Max. Text Size: 80
Variable (string) type1
Attributes
ID : 28
ID : 27
Scope : local
Text :
Max. Text Size: 10
Variable (string) type2
Attributes
ID : 29
ID : 28
Scope : local
Text :
Max. Text Size: 10
Variable (string) vaQR
Attributes
ID : 31
Scope : local
Text :
Max. Text Size: 80
Text tEntity1
Attributes
ID : 18
ID : 17
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -140,7 +150,7 @@ Text tEntity1
Text tIcon1
Attributes
ID : 19
ID : 18
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -170,7 +180,7 @@ Text tIcon1
Text tEntity2
Attributes
ID : 22
ID : 21
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -200,7 +210,7 @@ Text tEntity2
Text tIcon2
Attributes
ID : 23
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -230,7 +240,7 @@ Text tIcon2
Text tHeading
Attributes
ID : 25
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -275,25 +285,6 @@ Picture p0
Effect Time : 300
Picture ID : 0
QR Code qr0
Attributes
ID : 17
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 13
y coordinate : 91
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Logo overlay : no
Text :
Max. Text Size : 100
Button bNext
Attributes
ID : 3
@@ -397,7 +388,7 @@ Button bPrev
Button bText1
Attributes
ID : 20
ID : 19
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -444,7 +435,7 @@ Button bText1
Button bText2
Attributes
ID : 24
ID : 23
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -536,7 +527,7 @@ Dual-state Button btOnOff1
Dual-state Button btOnOff2
Attributes
ID : 21
ID : 20
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -639,6 +630,38 @@ Hotspot mSwipePrev
Touch Press Event
click bPrev,1
Hotspot m0
Attributes
ID : 29
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 13
y coordinate : 91
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Hotspot m1
Attributes
ID : 30
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 128
y coordinate : 91
Width : 200
Height : 200
Effect : load
Effect Priority : 0
Effect Time : 300
Timer tmSerial
Attributes
ID : 5
@@ -732,7 +755,7 @@ Timer tmSerial
bNext.txt=""
}
//text qrcode
spstr strCommand.txt,qr0.txt,"~",3
spstr strCommand.txt,vaQR.txt,"~",3
// get Type
spstr strCommand.txt,type1.txt,"~",4
// get internal name
@@ -855,6 +878,16 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",15
}
if(type2.txt=="delete"||type2.txt=="")
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,6371,65535,-1,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,6371,65535,-1,vaQR.txt
}
}
if(tInstruction.txt=="time")
{

View File

@@ -20,6 +20,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -28,9 +29,6 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempMin2,0
vis xTempMax2,0
vis xTempStep2,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -124,28 +122,28 @@ Variable (string) va7
Variable (string) tInstruction
Attributes
ID : 46
ID : 43
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
ID : 47
ID : 44
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
ID : 48
ID : 45
Scope : local
Text :
Max. Text Size: 10
Variable (string) tSend
Attributes
ID : 49
ID : 46
Scope : local
Text :
Max. Text Size: 100
@@ -300,99 +298,9 @@ XFloat xTempDest2
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempMin2
Attributes
ID : 43
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 231
y coordinate : 69
Width : 50
Height : 21
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempMax2
Attributes
ID : 44
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 231
y coordinate : 91
Width : 45
Height : 20
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempStep2
Attributes
ID : 45
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 232
y coordinate : 179
Width : 45
Height : 20
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
Value : 0
Significant digits left : 0
Significant digits right : 1
Word wrap : enabled
Horizontal Spacing : 0
Vertical Spacing : 0
XFloat xTempDest
Attributes
ID : 52
ID : 49
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -602,7 +510,7 @@ Text tCF2
Text tALbl
Attributes
ID : 50
ID : 47
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -632,7 +540,7 @@ Text tALbl
Text tCF
Attributes
ID : 54
ID : 51
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -662,7 +570,7 @@ Text tCF
Text tCurTemp
Attributes
ID : 55
ID : 52
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1242,10 +1150,13 @@ Dual-state Button btUp1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1300,10 +1211,13 @@ Dual-state Button btDown1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1338,7 +1252,7 @@ Dual-state Button bUp2
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 6371
Font Color (Unpressed) : 50712
Font Color (Pressed) : 64512
Font Color (Pressed) : 50712
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
@@ -1350,16 +1264,19 @@ Dual-state Button bUp2
Events
Touch Press Event
if(xTempDest2.val<xTempMax2.val)
if(xTempDest2.val<xTempMax1.val)
{
xTempDest2.val=xTempDest2.val+xTempStep2.val
xTempDest2.val=xTempDest2.val+xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1408,16 +1325,19 @@ Dual-state Button bDown2
Events
Touch Press Event
if(xTempDest2.val>xTempMin2.val)
if(xTempDest2.val>xTempMin1.val)
{
xTempDest2.val=xTempDest2.val-xTempStep2.val
xTempDest2.val=xTempDest2.val-xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -1434,7 +1354,7 @@ Dual-state Button bDown2
Dual-state Button btUp
Attributes
ID : 51
ID : 48
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1492,7 +1412,7 @@ Dual-state Button btUp
Dual-state Button btDown
Attributes
ID : 53
ID : 50
Scope : local
Dragging : 0
Disable release event after dragging: 0

View File

@@ -10,53 +10,53 @@ pageTest
14 Component(s)
14 Line(s) of event code
14 Unique line(s) of event code
cardQR
32 Component(s)
374 Line(s) of event code
218 Unique line(s) of event code
popupNotify
17 Component(s)
203 Line(s) of event code
127 Unique line(s) of event code
cardAlarm
38 Component(s)
362 Line(s) of event code
227 Unique line(s) of event code
popupShutter
20 Component(s)
247 Line(s) of event code
140 Unique line(s) of event code
cardGrid
42 Component(s)
438 Line(s) of event code
258 Unique line(s) of event code
204 Line(s) of event code
128 Unique line(s) of event code
popupLight
27 Component(s)
351 Line(s) of event code
190 Unique line(s) of event code
352 Line(s) of event code
191 Unique line(s) of event code
cardMedia
33 Component(s)
348 Line(s) of event code
182 Unique line(s) of event code
screensaver
37 Component(s)
307 Line(s) of event code
245 Unique line(s) of event code
34 Component(s)
363 Line(s) of event code
195 Unique line(s) of event code
pageStartup
19 Component(s)
157 Line(s) of event code
117 Unique line(s) of event code
popupShutter
25 Component(s)
330 Line(s) of event code
162 Unique line(s) of event code
cardGrid
42 Component(s)
439 Line(s) of event code
259 Unique line(s) of event code
cardAlarm
40 Component(s)
392 Line(s) of event code
239 Unique line(s) of event code
cardThermo
56 Component(s)
545 Line(s) of event code
294 Unique line(s) of event code
53 Component(s)
555 Line(s) of event code
292 Unique line(s) of event code
screensaver
38 Component(s)
319 Line(s) of event code
253 Unique line(s) of event code
cardEntities
65 Component(s)
1132 Line(s) of event code
495 Unique line(s) of event code
cardQR
30 Component(s)
361 Line(s) of event code
210 Unique line(s) of event code
1133 Line(s) of event code
496 Unique line(s) of event code
Total
13 Page(s)
404 Component(s)
4476 Line(s) of event code
1180 Unique line(s) of event code
412 Component(s)
4643 Line(s) of event code
1233 Unique line(s) of event code

View File

@@ -20,6 +20,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id

View File

@@ -20,6 +20,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0

View File

@@ -20,15 +20,19 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
vis p0,0
vis tSend,0
vis tTmp,0
vis tInstruction,0
vis tId,0
vis tPosHeading,0
vis hPosition,0
vis hTilt,0
vis bTLeft,0
vis bTStop,0
vis bTRight,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -47,18 +51,39 @@ Page popupShutter
Variable (string) strCommand
Attributes
ID : 10
ID : 9
Scope : local
Text :
Max. Text Size: 200
Variable (string) entn
Attributes
ID : 18
ID : 15
Scope : local
Text :
Max. Text Size: 80
Variable (string) tInstruction
Attributes
ID : 17
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
ID : 18
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
ID : 19
Scope : local
Text :
Max. Text Size: 10
Text tEntity
Attributes
ID : 2
@@ -68,7 +93,7 @@ Text tEntity
Send Component ID : disabled
Opacity : 127
x coordinate : 65
y coordinate : 94
y coordinate : 48
Width : 195
Height : 30
Effect : load
@@ -98,7 +123,7 @@ Text tIcon1
Send Component ID : disabled
Opacity : 127
x coordinate : 12
y coordinate : 108
y coordinate : 63
Width : 45
Height : 30
Effect : load
@@ -149,106 +174,16 @@ Text tSend
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTmp
Attributes
ID : 6
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 406
y coordinate : 277
Width : 34
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 : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tInstruction
Attributes
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 290
Width : 100
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 : 20
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tId
Attributes
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 100
y coordinate : 290
Width : 100
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 : 20
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Text tPosHeading
Attributes
ID : 17
ID : 14
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 64
y coordinate : 164
y coordinate : 122
Width : 100
Height : 30
Effect : load
@@ -260,7 +195,7 @@ Text tPosHeading
Font ID : 0
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : center
Horizontal Alignment : left
Vertical Alignment : center
Input Type : character
Text : Position
@@ -271,14 +206,14 @@ Text tPosHeading
Text tInfo1
Attributes
ID : 19
ID : 16
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 65
y coordinate : 122
y coordinate : 76
Width : 195
Height : 30
Effect : load
@@ -299,6 +234,36 @@ Text tInfo1
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTiltHeading
Attributes
ID : 20
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 64
y coordinate : 231
Width : 100
Height : 30
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 0
Back. Color : 6371
Font Color : 65535
Horizontal Alignment : left
Vertical Alignment : center
Input Type : character
Text :
Max. Text Size : 15
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0
Attributes
ID : 1
@@ -318,14 +283,58 @@ Picture p0
Slider hPosition
Attributes
ID : 16
ID : 13
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 65
y coordinate : 194
x coordinate : 64
y coordinate : 152
Width : 335
Height : 43
Effect : load
Effect Priority : 0
Effect Time : 300
Direction : horizontal
Fill : image
Cursor width : auto
Cursor height : 255
Back. Picture ID : 5
Slided Back. Picture ID : 4
Position : 50
Upper range limit : 100
Lower range limit : 0
Events
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Slider hTilt
Attributes
ID : 21
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 64
y coordinate : 261
Width : 335
Height : 43
Effect : load
@@ -409,14 +418,14 @@ Button b0
Button bDown1
Attributes
ID : 13
ID : 10
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 393
y coordinate : 96
x coordinate : 386
y coordinate : 95
Width : 50
Height : 50
Effect : load
@@ -456,14 +465,14 @@ Button bDown1
Button bStop1
Attributes
ID : 14
ID : 11
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 341
y coordinate : 96
x coordinate : 334
y coordinate : 95
Width : 50
Height : 50
Effect : load
@@ -503,14 +512,14 @@ Button bStop1
Button bUp1
Attributes
ID : 15
ID : 12
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 289
y coordinate : 96
x coordinate : 282
y coordinate : 95
Width : 50
Height : 50
Effect : load
@@ -548,9 +557,150 @@ Button bUp1
prints tSend.txt,0
prints crcval,2
Button bTLeft
Attributes
ID : 22
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 282
y coordinate : 205
Width : 50
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTStop
Attributes
ID : 23
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 334
y coordinate : 205
Width : 50
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTRight
Attributes
ID : 24
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 386
y coordinate : 205
Width : 50
Height : 50
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Font ID : 1
Back. Color : 6371
Back. Picture ID (Pressed) : 65535
Back. Color (Pressed) : 14823
Font Color (Unpressed) : 65535
Font Color (Pressed) : 65535
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : 
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Timer tmSleep
Attributes
ID : 8
ID : 7
Scope : local
Period (ms): 1000
Enabled : yes
@@ -570,7 +720,7 @@ Timer tmSleep
Timer tmSerial
Attributes
ID : 9
ID : 8
Scope : local
Period (ms): 50
Enabled : yes
@@ -684,6 +834,47 @@ Timer tmSerial
tsw bDown1,1
bDown1.pco=65535
}
// set tTiltHeading (localization)
spstr strCommand.txt,tTiltHeading.txt,"~",11
// set icon bUp
spstr strCommand.txt,tTmp.txt,"~",15
if(tTmp.txt=="disable")
{
tsw bTLeft,0
spstr strCommand.txt,bTLeft.txt,"~",12
bTLeft.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTLeft.txt,"~",12
tsw bTLeft,1
bTLeft.pco=65535
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",16
if(tTmp.txt=="disable")
{
tsw bTStop,0
spstr strCommand.txt,bTStop.txt,"~",13
bTStop.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTStop.txt,"~",13
tsw bTStop,1
bTStop.pco=65535
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,0
bTRight.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,1
bTRight.pco=65535
}
}
if(tInstruction.txt=="dimmode")
{
@@ -784,7 +975,7 @@ Timer tmSerial
TouchCap tc0
Attributes
ID : 7
ID : 6
Scope: local
Value: 0

View File

@@ -91,9 +91,9 @@ Text tTime
Send Component ID : disabled
Opacity : 127
x coordinate : 37
y coordinate : 0
y coordinate : 18
Width : 376
Height : 154
Height : 112
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -121,9 +121,9 @@ Text tDate
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 154
y coordinate : 162
Width : 450
Height : 38
Height : 32
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -134,10 +134,10 @@ Text tDate
Back. Color : 0
Font Color : 65535
Horizontal Alignment : center
Vertical Alignment : center
Vertical Alignment : bottom
Input Type : character
Text : Tuesday, 08. March 2022
Max. Text Size : 35
Max. Text Size : 40
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
@@ -862,6 +862,36 @@ Text tIcon2
Horizontal Spacing : 0
Vertical Spacing : 0
Text tTimeAdd
Attributes
ID : 37
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 130
Width : 450
Height : 32
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : flat
Associated Keyboard : none
Font ID : 2
Back. Color : 0
Font Color : 65535
Horizontal Alignment : center
Vertical Alignment : bottom
Input Type : character
Text :
Max. Text Size : 40
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Picture p0
Attributes
ID : 1
@@ -956,6 +986,7 @@ Timer tmSerial
{
vis tAMPM,0
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
}
if(tInstruction.txt=="date")
{
@@ -1010,7 +1041,7 @@ Timer tmSerial
//alternative layout
//tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="")
if(tMRIcon.txt!=""&&p0.w!=320)
{
//value for tMRIcon, activate alternative layout
vis tMainIcon,0
@@ -1046,6 +1077,14 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
if(tNotifyHead.txt!="")
{
ref tNotifyHead
}
if(tNotifyText.txt!="")
{
ref tNotifyText
}
}
if(tInstruction.txt=="color")
{
@@ -1075,6 +1114,7 @@ Timer tmSerial
tForecast4.bco=tTime.bco
tForecast4Val.bco=tTime.bco
tF4Icon.bco=tTime.bco
tTimeAdd.bco=tTime.bco
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,tTime.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",3
@@ -1117,6 +1157,8 @@ Timer tmSerial
covx tTmp.txt,tMRIcon.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
covx tTmp.txt,tMR.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",22
covx tTmp.txt,tTimeAdd.pco,0,0
}
if(tInstruction.txt=="notify")
{

View File

@@ -12,6 +12,7 @@ Page cardAlarm
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -32,6 +33,7 @@ Page cardAlarm
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
vis bPrev,0
vis bNext,0
@@ -78,6 +80,12 @@ Variable (string) va4
Text :
Max. Text Size: 20
Variable (string) vaAddBtn
Attributes
Scope : local
Text :
Max. Text Size: 80
Text tTmp
Attributes
Scope : local
@@ -325,12 +333,32 @@ Button b9
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 0
Text :
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=tCode.txt+"0"
// event,buttonPress2,entn,arm1,tCode
tSend.txt="event,buttonPress2,"
if(vaAddBtn.txt!="")
{
tSend.txt+=vaAddBtn.txt+",button"
}else
{
tSend.txt+=entn.txt+",opnSensorNotify"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
tCode.txt=""
Button b10
Attributes
@@ -339,12 +367,12 @@ Button b10
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : CLR
Text : 0
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=""
tCode.txt=tCode.txt+"0"
Button arm1
Attributes
@@ -466,6 +494,20 @@ Button arm4
prints crcval,2
tCode.txt=""
Button b11
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : CLR
Max. Text Size : 10
Events
Touch Press Event
tCode.txt=""
Hotspot mSwipeNext
Attributes
Scope : local
@@ -642,6 +684,7 @@ Timer tmSerial
vis b8,1
vis b9,1
vis b10,1
vis b11,1
vis tCode,1
}else
{
@@ -656,6 +699,7 @@ Timer tmSerial
vis b8,0
vis b9,0
vis b10,0
vis b11,0
vis tCode,0
}
//flashing status
@@ -667,6 +711,15 @@ Timer tmSerial
{
tmFlash.en=0
}
// extra button
spstr strCommand.txt,b9.txt,"~",15
if(b9.txt!="")
{
vis b9,1
spstr strCommand.txt,tTmp.txt,"~",16
covx tTmp.txt,b9.pco,0,0
spstr strCommand.txt,vaAddBtn.txt,"~",17
}
}
if(tInstruction.txt=="time")
{

View File

@@ -12,6 +12,7 @@ Page cardEntities
Events
Preinitialize Event
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode
vis p0,0

View File

@@ -12,7 +12,7 @@ Page cardGrid
Events
Preinitialize Event
//wup=cardEntities
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
recmod=1

View File

@@ -12,6 +12,7 @@ Page cardMedia
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -44,6 +45,12 @@ Variable (int32) vaSpeakerPos
Scope: local
Value: 0
Variable (string) vaMenu
Attributes
Scope : local
Text :
Max. Text Size: 50
Text tSend
Attributes
Scope : local
@@ -211,6 +218,24 @@ Text tIcon
Text :
Max. Text Size : 10
Events
Touch Release Event
if(vaMenu.txt!="")
{
tSend.txt="event,buttonPress2,"+vaMenu.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
}
Text t1
Attributes
Scope : local
@@ -619,6 +644,8 @@ Timer tmSerial
vis t5,1
covx tTmp.txt,t5.pco,0,0
}
//tIconBtnEntityName
spstr strCommand.txt,vaMenu.txt,"~",12
}
if(tInstruction.txt=="time")
{

View File

@@ -12,6 +12,7 @@ Page cardQR
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -29,6 +30,8 @@ Page cardQR
vis tIcon2,0
vis tEntity2,0
vis bText2,0
tsw m0,0
tsw m1,0
Variable (string) strCommand
Attributes
@@ -90,6 +93,12 @@ Variable (string) type2
Text :
Max. Text Size: 10
Variable (string) vaQR
Attributes
Scope : local
Text :
Max. Text Size: 80
Text tEntity1
Attributes
Scope : local
@@ -147,15 +156,6 @@ Picture p0
Disable release event after dragging: 0
Send Component ID : disabled
QR Code qr0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Text :
Max. Text Size : 100
Button bNext
Attributes
Scope : local
@@ -350,6 +350,20 @@ Hotspot mSwipePrev
Touch Press Event
click bPrev,1
Hotspot m0
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Hotspot m1
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Timer tmSerial
Attributes
Scope : local
@@ -442,7 +456,7 @@ Timer tmSerial
bNext.txt=""
}
//text qrcode
spstr strCommand.txt,qr0.txt,"~",3
spstr strCommand.txt,vaQR.txt,"~",3
// get Type
spstr strCommand.txt,type1.txt,"~",4
// get internal name
@@ -565,6 +579,16 @@ Timer tmSerial
// get Text (optional Value)
spstr strCommand.txt,bText2.txt,"~",15
}
if(type2.txt=="delete"||type2.txt=="")
{
if(type1.txt=="delete"||type1.txt=="")
{
qrcode m1.x,m1.y,200,6371,65535,-1,vaQR.txt
}
}else
{
qrcode m0.x,m0.y,200,6371,65535,-1,vaQR.txt
}
}
if(tInstruction.txt=="time")
{

View File

@@ -12,6 +12,7 @@ Page cardThermo
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tInstruction,0
@@ -20,9 +21,6 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempMin2,0
vis xTempMax2,0
vis xTempStep2,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -173,33 +171,6 @@ XFloat xTempDest2
Associated Keyboard : none
Value : 0
XFloat xTempMin2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempMax2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempStep2
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Value : 0
XFloat xTempDest
Attributes
Scope : local
@@ -599,10 +570,13 @@ Dual-state Button btUp1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -635,10 +609,13 @@ Dual-state Button btDown1
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdHigh,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -663,16 +640,19 @@ Dual-state Button bUp2
Events
Touch Press Event
if(xTempDest2.val<xTempMax2.val)
if(xTempDest2.val<xTempMax1.val)
{
xTempDest2.val=xTempDest2.val+xTempStep2.val
xTempDest2.val=xTempDest2.val+xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
@@ -699,16 +679,19 @@ Dual-state Button bDown2
Events
Touch Press Event
if(xTempDest2.val>xTempMin2.val)
if(xTempDest2.val>xTempMin1.val)
{
xTempDest2.val=xTempDest2.val-xTempStep2.val
xTempDest2.val=xTempDest2.val-xTempStep1.val
}
// event,buttonPress2,entn,tempUpd,X
//craft command
tSend.txt="event,buttonPress2,"
tSend.txt+=entn.txt+","
tSend.txt+="tempUpdLow,"
tSend.txt+="tempUpdHighLow,"
//convert temperature
covx xTempDest1.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
tSend.txt+="|"
covx xTempDest2.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc

View File

@@ -12,6 +12,7 @@ Page popupLight
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id

View File

@@ -12,6 +12,7 @@ Page popupNotify
Events
Preinitialize Event
dim=dimValueNormal
vis p0,0
vis tSend,0
vis tTmp,0

View File

@@ -12,15 +12,19 @@ Page popupShutter
Events
Preinitialize Event
dim=dimValueNormal
//get entitiy name
tEntity.txt=pageIcons.tTmp1.txt
//get entity id
entn.txt=pageIcons.tTmp2.txt
vis p0,0
vis tSend,0
vis tTmp,0
vis tInstruction,0
vis tId,0
vis tPosHeading,0
vis hPosition,0
vis hTilt,0
vis bTLeft,0
vis bTStop,0
vis bTRight,0
//page open event
// event,pageOpenDetail,typeOfPage,tEntityName
// craft command
@@ -49,6 +53,24 @@ Variable (string) entn
Text :
Max. Text Size: 80
Variable (string) tInstruction
Attributes
Scope : local
Text :
Max. Text Size: 20
Variable (string) tId
Attributes
Scope : local
Text :
Max. Text Size: 20
Variable (string) tTmp
Attributes
Scope : local
Text :
Max. Text Size: 10
Text tEntity
Attributes
Scope : local
@@ -79,36 +101,6 @@ Text tSend
Text : newtxt
Max. Text Size : 100
Text tTmp
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 10
Text tInstruction
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 20
Text tId
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 20
Text tPosHeading
Attributes
Scope : local
@@ -129,6 +121,16 @@ Text tInfo1
Text :
Max. Text Size : 40
Text tTiltHeading
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 15
Picture p0
Attributes
Scope : local
@@ -165,6 +167,35 @@ Slider hPosition
prints tSend.txt,0
prints crcval,2
Slider hTilt
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Position : 50
Upper range limit : 100
Lower range limit : 0
Events
Touch Release Event
// event,buttonPress2,internalNameEntity,positionSlider,50
//craft command
tSend.txt="event,buttonPress2,"+entn.txt+",positionSlider,"
covx hPosition.val,tTmp.txt,0,0
tSend.txt+=tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button b0
Attributes
Scope : local
@@ -265,6 +296,81 @@ Button bUp1
prints tSend.txt,0
prints crcval,2
Button bTLeft
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",up"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTStop
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",stop"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Button bTRight
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
tSend.txt="event,buttonPress2,"+entn.txt+",down"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
Timer tmSleep
Attributes
Scope : local
@@ -399,6 +505,47 @@ Timer tmSerial
tsw bDown1,1
bDown1.pco=65535
}
// set tTiltHeading (localization)
spstr strCommand.txt,tTiltHeading.txt,"~",11
// set icon bUp
spstr strCommand.txt,tTmp.txt,"~",15
if(tTmp.txt=="disable")
{
tsw bTLeft,0
spstr strCommand.txt,bTLeft.txt,"~",12
bTLeft.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTLeft.txt,"~",12
tsw bTLeft,1
bTLeft.pco=65535
}
// set icon bStop
spstr strCommand.txt,tTmp.txt,"~",16
if(tTmp.txt=="disable")
{
tsw bTStop,0
spstr strCommand.txt,bTStop.txt,"~",13
bTStop.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTStop.txt,"~",13
tsw bTStop,1
bTStop.pco=65535
}
// set icon bDown
spstr strCommand.txt,tTmp.txt,"~",9
if(tTmp.txt=="disable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,0
bTRight.pco=27501
}else if(tTmp.txt=="enable")
{
spstr strCommand.txt,bTRight.txt,"~",14
tsw bTRight,1
bTRight.pco=65535
}
}
if(tInstruction.txt=="dimmode")
{

View File

@@ -86,7 +86,7 @@ Text tDate
Send Component ID : disabled
Associated Keyboard : none
Text : Tuesday, 08. March 2022
Max. Text Size : 35
Max. Text Size : 40
Text tMainIcon
Attributes
@@ -328,6 +328,16 @@ Text tIcon2
Text :
Max. Text Size : 5
Text tTimeAdd
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Associated Keyboard : none
Text :
Max. Text Size : 40
Picture p0
Attributes
Scope : local
@@ -411,6 +421,7 @@ Timer tmSerial
{
vis tAMPM,0
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
}
if(tInstruction.txt=="date")
{
@@ -465,7 +476,7 @@ Timer tmSerial
//alternative layout
//tMRIcon
spstr strCommand.txt,tMRIcon.txt,"~",15
if(tMRIcon.txt!="")
if(tMRIcon.txt!=""&&p0.w!=320)
{
//value for tMRIcon, activate alternative layout
vis tMainIcon,0
@@ -501,6 +512,14 @@ Timer tmSerial
spstr strCommand.txt,tIcon2.txt,"~",19
spstr strCommand.txt,tTmp.txt,"~",20
covx tTmp.txt,tIcon2.pco,0,0
if(tNotifyHead.txt!="")
{
ref tNotifyHead
}
if(tNotifyText.txt!="")
{
ref tNotifyText
}
}
if(tInstruction.txt=="color")
{
@@ -530,6 +549,7 @@ Timer tmSerial
tForecast4.bco=tTime.bco
tForecast4Val.bco=tTime.bco
tF4Icon.bco=tTime.bco
tTimeAdd.bco=tTime.bco
spstr strCommand.txt,tTmp.txt,"~",2
covx tTmp.txt,tTime.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",3
@@ -572,6 +592,8 @@ Timer tmSerial
covx tTmp.txt,tMRIcon.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",21
covx tTmp.txt,tMR.pco,0,0
spstr strCommand.txt,tTmp.txt,"~",22
covx tTmp.txt,tTimeAdd.pco,0,0
}
if(tInstruction.txt=="notify")
{

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -377,12 +377,15 @@ key | optional | type | default | description
`updateMode` | True | string | `auto-notify` | Update Mode; Possible values: "auto", "auto-notify", "manual"
`model` | True | string | `eu` | Model; Possible values: "eu", "us-l" and "us-p"
`sleepTimeout` | True | integer | `20` | Timeout for the screen to enter screensaver, to disable screensaver use 0
`sleepBrightness` | True | integer/complex | `20` | Brightness for the screen to enter screensaver, see example below for complex/scheduled config.
`sleepBrightness` | True | integer/complex | `20` | Brightness for the screen on the screensaver, see example below for complex/scheduled config.
`screenBrightness` | True | integer/complex | `100` | Brightness for the screen during usage, config format is the same as sleepBrightness.
`sleepTracking` | True | string | None | Forces screensaver brightness to 0 in case entity state is not_home or off, can be a group, person or device_tracker entity.
`sleepOverride` | True | complex | None | Allows overriding of the sleepBrightness if entity state is on, true or home. Overrides sleepBrightness but sleepTracking takes precedence.
`locale` | True | string | `en_US` | Used by babel to determinante Date format on screensaver, also used for localization.
`dateFormatBabel` | True | string | `full` | formatting options on https://babel.pocoo.org/en/latest/dates.html?highlight=name%20of%20day#date-fields
`timeFormat` | True | string | `%H:%M` | Time Format on screensaver. Substring after `?` is displayed in a seperate smaller textbox. Useful for 12h time format with AM/PM <pre>`"%I:%M ?%p"`</pre>
`dateAdditonalTemplate` | True | string | `" - {{ states('sun.sun') }}"` | Addional Text dispayed after Date, can contain Homeassistant Templates
`dateAdditonalTemplate` | True | string | `""` | Addional Text dispayed after Date, can contain a Homeassistant Template Example `" - {{ states('sun.sun') }}"`
`timeAdditonalTemplate` | True | string | `""` | Addional Text dispayed below Time, can contain a Homeassistant Template
`dateFormat` | True | string | `%A, %d. %B %Y` | date format used if babel is not installed
`cards` | False | complex | | configuration for cards that are displayed on panel
`screensaver` | True | complex | | configuration for screensaver
@@ -441,10 +444,45 @@ key | optional | type | default | description
key | optional | type | default | description
-- | -- | -- | -- | --
`type` | False | string | `None` | Used by navigate items
`entities` | False | complex | `None` | contains entities of the card, applys only to cardEntities and cardGrid
`entities` | False | complex | `None` | contains entities of the card, only valid on cardEntities and cardGrid and cardQR
`title` | True | string | `None` | Title of the Page
`entity` | False | string | `None` | contains the entity of the current card, valid for cardThermo, cardAlarm and cardMedia
`key` | True | string | `None` | Used by navigate items
`mediaControl` | True | string | `None` | Only valid on cardMedia, contains the action executed on pressing the top left media icon. (useful to navigate to a hidden card or start a script)
`alarmControl` | True | complex | `None` | Only valid on cardAlarm, contains the action executed on pressing the left bottom icon, by default this button is used to show a list of open sensors on a failed attempt to arm.
#### Possible configuration values for entities key
key | optional | type | default | description
-- | -- | -- | -- | --
`entity` | False | string | `None` | name of ha entity
`name` | True | string | `None` | Used to override names
`icon` | True | string | `None` | Used to override icons
`color` | True | array | `None` | Overwrite color of entity `color: [255, 0, 0]`
`state` | True | string | `None` | Only displayed if Entity state is equal to this value
`state_not` | True | string | `None` | Only displayed if Entity state is unequal to this value
`status` | True | string | `None` | Only valid for navigate items, adds a entity to track state for the icon
##### Override Icons or Names
To overwrite Icons or Names of entities you can configure an icon and/or name in your configuration, please see the following example.
Only the icons listed in the [Icon Cheatsheet](https://htmlpreview.github.io/?https://github.com/joBr99/nspanel-lovelace-ui/blob/main/HMI/icon-cheatsheet.html) are useable.
```yaml
entities:
- entity: light.test_item
name: NameOverride
icon: mdi:lightbulb
```
It is also possible to configure different icon overwrites per state:
```yaml
icon:
"on": mdi:lightbulb
"off": mdi:lightbulb
```
#### Possible configuration values for screensaver config
@@ -536,27 +574,23 @@ It is possible to schedule a brightness change for the screen at specific times.
value: 0
```
`sleepTracking` overrides this setting and sets the brightness to 0 if the state of the configured Home Assistant entity is `off` or `not_home`. You may also use a [Home Assistant group](https://www.home-assistant.io/integrations/group) to track multiple entities.
#### Override Icons or Names
`sleepOverride` overrides sleepBrightness but does not take precedence over sleepTracking. This is useful if, for example, you want your NSPanel to be brighter than usual if your light is on or if you want to override a panel dimming if you are in the room.
To overwrite Icons or Names of entities you can configure an icon and/or name in your configuration, please see the following example.
Only the icons listed in the [Icon Cheatsheet](https://htmlpreview.github.io/?https://github.com/joBr99/nspanel-lovelace-ui/blob/main/HMI/icon-cheatsheet.html) are useable.
The following example configuration does nothing during the day but at night, if the bedroom light is on the NSPanel brightness will be 20 instead of 0.
```yaml
entities:
- entity: light.test_item
name: NameOverride
icon: mdi:lightbulb
sleepBrightness:
- time: "sunrise"
value: 20
- time: "sunset"
value: 0
sleepOverride:
entity: light.bedroomlight
brightness: 20
```
It is also possible to configure different icon overwrites per state:
```yaml
icon:
"on": mdi:lightbulb
"off": mdi:lightbulb
```
Also it is possible to configure a text or a character by using "text:" as a prefix instead of an icon. `icon: text:X`
@@ -761,12 +795,12 @@ Click download.
2. Restart AppDaemon
3. Flash current Development Firmware in Tasmota Console.
3. Flash current Development Firmware in Tasmota Console. DO NOT USE THIS URL (only if you are on main/dev)
`FlashNextion http://nspanel.pky.eu/lui.tft`
`FlashNextion http://nspanel.pky.eu/lui.tft` DO NOT USE THIS URL (only if you are on main/dev)
Development happens in the EU version, so it is possible that the US Version isn't up to date with the current development version of the EU firmware, the lastet US versions are still downloadable with the following links:
`FlashNextion http://nspanel.pky.eu/lui-us-l.tft`
`FlashNextion http://nspanel.pky.eu/lui-us-l.tft` DO NOT USE THIS URL (only if you are on main/dev)
`FlashNextion http://nspanel.pky.eu/lui-us-p.tft`
`FlashNextion http://nspanel.pky.eu/lui-us-p.tft` DO NOT USE THIS URL (only if you are on main/dev)

View File

@@ -3,12 +3,14 @@ class Entity(object):
if type(entity_input_config) is not dict:
#self._ha_api.log("Config error, not a dict check your entity configs")
self.entityId = "error"
self.nameOverride = None
self.iconOverride = None
else:
self.entityId = entity_input_config.get("entity", "unknown")
self.nameOverride = entity_input_config.get("name")
self.iconOverride = entity_input_config.get("icon")
self.entityId = entity_input_config.get("entity", "unknown")
self.nameOverride = entity_input_config.get("name")
self.iconOverride = entity_input_config.get("icon")
self.colorOverride = entity_input_config.get("color")
self.status = entity_input_config.get("status")
self.condState = entity_input_config.get("state")
self.condStateNot = entity_input_config.get("state_not")
class Card(object):
def __init__(self, card_input_config, pos=None):
@@ -32,11 +34,16 @@ class Card(object):
entityIds = []
if self.entity is not None:
entityIds.append(self.entity.entityId)
if self.entity.status is not None:
entityIds.append(self.entity.status)
else:
for e in self.entities:
entityIds.append(e.entityId)
if e.status is not None:
entityIds.append(e.status)
# additional keys to check
add_ent_keys = ['weatherOverrideForecast1', 'weatherOverrideForecast2', 'weatherOverrideForecast3', 'weatherOverrideForecast4', 'statusIcon1', 'statusIcon2']
add_ent_keys = ['weatherOverrideForecast1', 'weatherOverrideForecast2', 'weatherOverrideForecast3', 'weatherOverrideForecast4', 'statusIcon1', 'statusIcon2', 'alarmControl']
for ent_key in add_ent_keys:
val = self.raw_config.get(ent_key)
if val is not None:
@@ -67,11 +74,14 @@ class LuiBackendConfig(object):
'model': "eu",
'sleepTimeout': 20,
'sleepBrightness': 20,
'screenBrightness': 100,
'sleepTracking': None,
'sleepOverride': None,
'locale': "en_US",
'timeFormat': "%H:%M",
'dateFormatBabel': "full",
'dateAdditonalTemplate': "",
'timeAdditonalTemplate': "",
'dateFormat': "%A, %d. %B %Y",
'cards': [{
'type': 'cardEntities',

View File

@@ -30,23 +30,35 @@ class LuiController(object):
# register callbacks
self.register_callbacks()
# calculate current brightness
self.current_screensaver_brightness = self.calc_current_brightness(self._config.get("sleepBrightness"))
self.current_screen_brightness = self.calc_current_brightness(self._config.get("screenBrightness"))
# register callbacks for each time
if type(self._config.get("sleepBrightness")) == list:
for index, timeset in enumerate(self._config.get("sleepBrightness")):
self._ha_api.run_daily(self.update_screensaver_brightness, timeset["time"], value=timeset["value"])
self._ha_api.run_daily(self.update_screensaver_brightness, timeset["time"], ssbr=timeset["value"], sbr=self.current_screen_brightness)
# calculate current brightness
self.current_screensaver_brightness = self.calc_current_screensaver_brightness()
# call update_screensaver_brightness on changes of entity configured in brightnessScreensaverTracking
# call update_screensaver_brightness on changes of entity configured in sleepTracking
bst = self._config.get("sleepTracking")
if bst is not None and self._ha_api.entity_exists(bst):
self._ha_api.listen_state(self.update_screensaver_brightness_state_callback, entity_id=bst)
# call update_screensaver_brightness on entity configured in sleepOverride
sleepOverride = self._config.get("sleepOverride")
if sleepOverride is not None and type(sleepOverride) is dict and sleepOverride["entity"] is not None and sleepOverride["brightness"] is not None and self._ha_api.entity_exists(sleepOverride["entity"]):
self._ha_api.log(f"Configuring Sleep Override. Config is {sleepOverride}")
self._ha_api.listen_state(self.update_screensaver_brightness_state_callback, entity_id=sleepOverride["entity"])
# register callback for state changes on tracked value
# register callback for state changes on tracked value (for input_number) - sleepBrightness
sleep_brightness_config = self._config.get("sleepBrightness")
if type(sleep_brightness_config) == str and self._ha_api.entity_exists(sleep_brightness_config):
self._ha_api.listen_state(self.update_screensaver_brightness_state_callback, entity_id=sleep_brightness_config)
# register callback for state changes on tracked value (for input_number) - screenBrightness
screen_brightness_config = self._config.get("screenBrightness")
if type(screen_brightness_config) == str and self._ha_api.entity_exists(screen_brightness_config):
self._ha_api.listen_state(self.update_screensaver_brightness_state_callback, entity_id=screen_brightness_config)
def startup(self):
self._ha_api.log(f"Startup Event")
@@ -59,7 +71,7 @@ class LuiController(object):
self._send_mqtt_msg(f"timeout~{timeout}")
# set current screensaver brightness
self.update_screensaver_brightness(kwargs={"value": self.current_screensaver_brightness})
self.update_screensaver_brightness(kwargs={"ssbr": self.current_screensaver_brightness, "sbr": self.current_screen_brightness})
# send panel to screensaver
self._pages_gen.render_card(self._current_card)
@@ -67,22 +79,43 @@ class LuiController(object):
def update_screensaver_brightness_state_callback(self, entity, attribute, old, new, kwargs):
if type(self._config.get("sleepBrightness")) == str:
self.current_screensaver_brightness = self.calc_current_screensaver_brightness()
self.update_screensaver_brightness(kwargs={"value": self.current_screensaver_brightness})
self.current_screensaver_brightness = self.calc_current_brightness(self._config.get("sleepBrightness"))
self.current_screen_brightness = self.calc_current_brightness(self._config.get("screenBrightness"))
self.update_screensaver_brightness(kwargs={"ssbr": self.current_screensaver_brightness, "sbr": self.current_screen_brightness})
def update_screensaver_brightness(self, kwargs):
bst = self._config.get("sleepTracking")
brightness = 0
sleepOverride = self._config.get("sleepOverride")
sOEntity = None
sOBrightness = None
if sleepOverride is not None and type(sleepOverride) is dict:
sOEntity = sleepOverride["entity"]
sOBrightness = sleepOverride["brightness"]
sleepBrightness = 0
brightness = self.calc_current_brightness(self._config.get("screenBrightness"))
if bst is not None and self._ha_api.entity_exists(bst) and self._ha_api.get_entity(bst).state in ["not_home", "off"]:
brightness = 0
else:
self.current_screensaver_brightness = kwargs['value']
brightness = kwargs['value']
self._send_mqtt_msg(f"dimmode~{brightness}")
self._ha_api.log(f"sleepTracking setting brightness to 0")
sleepBrightness = 0
elif sOEntity is not None and sOBrightness is not None and self._ha_api.entity_exists(sOEntity) and self._ha_api.get_entity(sOEntity).state in ["on", "true", "home"]:
self._ha_api.log(f"sleepOverride setting brightness to {sOBrightness}")
sleepBrightness = sOBrightness
def calc_current_screensaver_brightness(self):
else:
self.current_screensaver_brightness = kwargs['ssbr']
sleepBrightness = self.current_screensaver_brightness
self.current_screen_brightness = kwargs['sbr']
brightness = self.current_screen_brightness
# same value for both values will break sleep timer of the firmware
if sleepBrightness==brightness:
sleepBrightness = sleepBrightness-1
self._send_mqtt_msg(f"dimmode~{sleepBrightness}~{brightness}")
def calc_current_brightness(self, sleep_brightness_config):
current_screensaver_brightness = 20
sleep_brightness_config = self._config.get("sleepBrightness")
#sleep_brightness_config = self._config.get("sleepBrightness")
# set brightness of screensaver
if type(sleep_brightness_config) == int:
current_screensaver_brightness = sleep_brightness_config
@@ -266,9 +299,22 @@ class LuiController(object):
if button_type == "tempUpd":
temp = int(value)/10
self._ha_api.get_entity(entity_id).call_service("set_temperature", temperature=temp)
if button_type == "tempUpdHighLow":
value = value.split("|")
temp_high = int(value[0])/10
temp_low = int(value[1])/10
self._ha_api.get_entity(entity_id).call_service("set_temperature", target_temp_high=temp_high, target_temp_low=temp_low)
if button_type == "hvac_action":
self._ha_api.get_entity(entity_id).call_service("set_hvac_mode", hvac_mode=value)
# for alarm page
if button_type in ["disarm", "arm_home", "arm_away", "arm_night", "arm_vacation"]:
self._ha_api.get_entity(entity_id).call_service(f"alarm_{button_type}", code=value)
if button_type == "opnSensorNotify":
msg = ""
entity = self._ha_api.get_entity(entity_id)
if "open_sensors" in entity.attributes and entity.attributes.open_sensors is not None:
for e in entity.attributes.open_sensors:
msg += f"- {self._ha_api.get_entity(e).attributes.friendly_name}\n"
self._pages_gen.send_message_page("opnSensorNotifyRes", "", msg, "", "")

View File

@@ -109,6 +109,8 @@ def map_to_mdi_name(ha_type, state=None, device_class=None, cardType=None):
return sensor_mapping_off[device_class] if device_class in sensor_mapping_off else "alert-circle-outline"
else:
return sensor_mapping[device_class] if device_class in sensor_mapping else "alert-circle-outline"
elif ha_type == "alarm-arm-fail":
return "progress-alert"
else:
return "alert-circle-outline"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,342 @@
{
"component": {
"sensor": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"binary_sensor": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
},
"battery": {
"off": "Normaal",
"on": "Laag"
},
"cold": {
"off": "Normaal",
"on": "Koud"
},
"connectivity": {
"off": "Ontkoppel",
"on": "Gekoppel"
},
"door": {
"off": "Toe",
"on": "Oop"
},
"garage_door": {
"off": "Toe",
"on": "Oop"
},
"gas": {
"off": "Ongemerk",
"on": "Bespeur"
},
"heat": {
"off": "Normaal",
"on": "Warm"
},
"lock": {
"off": "Gesluit",
"on": "Oopgesluit"
},
"moisture": {
"off": "Droog",
"on": "Nat"
},
"motion": {
"off": "Ongemerk",
"on": "Bespeur"
},
"occupancy": {
"off": "Ongemerk",
"on": "Bespeur"
},
"opening": {
"off": "Toe",
"on": "Oop"
},
"presence": {
"off": "Elders",
"on": "Tuis"
},
"problem": {
"off": "OK",
"on": "Probleem"
},
"safety": {
"off": "Veilige",
"on": "Onveilige"
},
"smoke": {
"off": "Ongemerk",
"on": "Bespeur"
},
"sound": {
"off": "Ongemerk",
"on": "Bespeur"
},
"vibration": {
"off": "Ongemerk",
"on": "Bespeur"
},
"window": {
"off": "Toe",
"on": "Oop"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "Gewapen",
"disarmed": "Ontwapen",
"armed_home": "Gewapend tuis",
"armed_away": "Gewapend weg",
"armed_night": "Gewapend nag",
"armed_custom_bypass": "Gewapende pasgemaakte omseil",
"pending": "Hangende",
"arming": "Bewapen Tans",
"disarming": "Ontwapen Tans",
"triggered": "Geaktiveer"
}
}
},
"automation": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"calendar": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"camera": {
"state": {
"_": {
"recording": "Opname",
"streaming": "Stroming",
"idle": "Onaktief"
}
}
},
"climate": {
"state": {
"_": {
"off": "Af",
"heat": "Hitte",
"cool": "Koel",
"heat_cool": "Verhit/Verkoel",
"auto": "Outo",
"dry": "Droog",
"fan_only": "Slegs waaier"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "Stel op",
"configured": "Opgestel"
}
}
},
"cover": {
"state": {
"_": {
"open": "Oop",
"opening": "Opening",
"closed": "Toe",
"closing": "Sluiting",
"stopped": "Gestop"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "Tuis",
"not_home": "Elders"
}
}
},
"fan": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"group": {
"state": {
"_": {
"off": "Af",
"on": "Aan",
"home": "Tuis",
"not_home": "Elders",
"open": "Oop",
"closed": "Toe",
"locked": "Gesluit",
"unlocked": "Oopgesluit",
"ok": "OK",
"problem": "Probleem"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"light": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"lock": {
"state": {
"_": {
"locked": "Gesluit",
"unlocked": "Oopgesluit"
}
}
},
"media_player": {
"state": {
"_": {
"off": "Af",
"on": "Aan",
"playing": "Speel Tans",
"paused": "Onderbreek",
"idle": "Onaktief",
"standby": "Gereed"
}
}
},
"person": {
"state": {
"_": {
"home": "Tuis",
"not_home": "Elders"
}
}
},
"plant": {
"state": {
"_": {
"ok": "OK",
"problem": "Probleem"
}
}
},
"remote": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"script": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "Bo horison",
"below_horizon": "Onder horison"
}
}
},
"switch": {
"state": {
"_": {
"off": "Af",
"on": "Aan"
}
}
},
"vacuum": {
"state": {
"_": {
"cleaning": "Skoonmaak",
"docked": "Vasgemeer by hawe",
"error": "Fout",
"idle": "Onaktief",
"off": "Af",
"on": "Aan",
"paused": "Onderbreek",
"returning": "Oppad terug hawe toe"
}
}
},
"timer": {
"state": {
"_": {
"active": "aktief",
"idle": "onaktief",
"paused": "Onderbreek"
}
}
},
"weather": {
"state": {
"_": {
"clear-night": "Helder, nag",
"cloudy": "Bewolk",
"fog": "Mis",
"hail": "Hael",
"lightning": "Weerlig",
"lightning-rainy": "Weerlig, Re\u00ebnagtig",
"partlycloudy": "Gedeeltelik bewolk",
"pouring": "Stort",
"rainy": "Re\u00ebnagtig",
"snowy": "Sneeuagtig",
"snowy-rainy": "Ysre\u00ebn",
"sunny": "Sonnig",
"windy": "Winderig",
"windy-variant": "Winderig"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "Inisialiseer",
"dead": "Dood",
"sleeping": "Aan die slaap",
"ready": "Gereed"
},
"query_stage": {
"initializing": "Inisialiseer ({query_stage})",
"dead": "Dood ({query_stage})"
}
}
}
}
}

View File

@@ -0,0 +1,328 @@
{
"component": {
"sensor": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644"
}
}
},
"binary_sensor": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u062a\u0634\u063a\u064a\u0644"
},
"battery": {
"off": "\u0637\u0628\u064a\u0639\u064a",
"on": "\u0645\u0646\u062e\u0641\u0636"
},
"cold": {
"off": "\u0637\u0628\u064a\u0639\u064a",
"on": "\u0628\u0627\u0631\u062f"
},
"connectivity": {
"off": "\u0645\u0641\u0635\u0648\u0644",
"on": "\u0645\u062a\u0635\u0644"
},
"door": {
"off": "\u0645\u063a\u0644\u0642",
"on": "\u0645\u0641\u062a\u0648\u062d"
},
"garage_door": {
"off": "\u0645\u063a\u0644\u0642",
"on": "\u0645\u0641\u062a\u0648\u062d"
},
"gas": {
"off": "\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0643\u0634\u0641",
"on": "\u062a\u0645 \u0627\u0644\u0643\u0634\u0641"
},
"heat": {
"off": "\u0637\u0628\u064a\u0639\u064a",
"on": "\u062d\u0627\u0631"
},
"lock": {
"off": "\u0645\u0642\u0641\u0644",
"on": "\u063a\u064a\u0631 \u0645\u0642\u0641\u0644"
},
"moisture": {
"off": "\u062c\u0627\u0641",
"on": "\u0645\u0628\u0644\u0644"
},
"motion": {
"off": "\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0643\u0634\u0641",
"on": "\u062a\u0645 \u0627\u0644\u0643\u0634\u0641"
},
"occupancy": {
"off": "\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0643\u0634\u0641",
"on": "\u062a\u0645 \u0627\u0644\u0643\u0634\u0641"
},
"opening": {
"off": "\u0645\u0642\u0641\u0644",
"on": "\u0645\u0641\u062a\u0648\u062d"
},
"presence": {
"off": "\u062e\u0627\u0631\u062c \u0627\u0644\u0645\u0646\u0632\u0644",
"on": "\u0641\u064a \u0627\u0644\u0645\u0646\u0632\u0644"
},
"problem": {
"off": "\u0645\u0648\u0627\u0641\u0642",
"on": "\u0639\u0637\u0644"
},
"safety": {
"off": "\u0623\u0645\u0646",
"on": "\u063a\u064a\u0631 \u0623\u0645\u0646"
},
"smoke": {
"off": "\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0643\u0634\u0641",
"on": "\u062a\u0645 \u0627\u0644\u0643\u0634\u0641"
},
"sound": {
"off": "\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0643\u0634\u0641",
"on": "\u062a\u0645 \u0627\u0644\u0643\u0634\u0641"
},
"vibration": {
"off": "\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0643\u0634\u0641",
"on": "\u062a\u0645 \u0627\u0644\u0643\u0634\u0641"
},
"window": {
"off": "\u0645\u063a\u0644\u0642",
"on": "\u0645\u0641\u062a\u0648\u062d"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "\u0645\u0633\u0644\u062d",
"disarmed": "\u063a\u064a\u0631 \u0645\u0641\u0639\u0651\u0644",
"armed_home": "\u0645\u0641\u0639\u0651\u0644 \u0641\u064a \u0627\u0644\u0645\u0646\u0632\u0644",
"armed_away": "\u0645\u0641\u0639\u0651\u0644 \u0641\u064a \u0627\u0644\u062e\u0627\u0631\u062c",
"armed_night": "\u0645\u0641\u0639\u0651\u0644 \u0644\u064a\u0644",
"armed_custom_bypass": "\u062a\u062c\u0627\u0648\u0632 \u0627\u0644\u062a\u0641\u0639\u064a\u0644",
"pending": "\u0642\u064a\u062f \u0627\u0644\u0625\u0646\u062a\u0638\u0627\u0631",
"arming": "\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u0641\u0639\u064a\u0644",
"disarming": "\u0625\u064a\u0642\u0627\u0641 \u0627\u0644\u0625\u0646\u0630\u0627\u0631",
"triggered": "\u0645\u0641\u0639\u0651\u0644"
}
}
},
"automation": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u062a\u0634\u063a\u064a\u0644"
}
}
},
"calendar": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u062a\u0634\u063a\u064a\u0644"
}
}
},
"camera": {
"state": {
"_": {
"recording": "\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u0633\u062c\u064a\u0644",
"streaming": "\u062c\u0627\u0631\u064a \u0627\u0644\u0628\u062b",
"idle": "\u062e\u0627\u0645\u0644"
}
}
},
"climate": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"heat": "\u062a\u062f\u0641\u0626\u0629",
"cool": "\u062a\u0628\u0631\u064a\u062f",
"auto": "\u062a\u0644\u0642\u0627\u0626\u064a",
"dry": "\u062c\u0627\u0641",
"fan_only": "\u0627\u0644\u0645\u0631\u0648\u062d\u0629 \u0641\u0642\u0637"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "\u0625\u0639\u062f\u0627\u062f",
"configured": "\u062a\u0645 \u0627\u0644\u0625\u0639\u062f\u0627\u062f"
}
}
},
"cover": {
"state": {
"_": {
"open": "\u0645\u0641\u062a\u0648\u062d",
"opening": "\u062c\u0627\u0631\u064a \u0627\u0644\u0641\u062a\u062d",
"closed": "\u0645\u063a\u0644\u0642",
"closing": "\u062c\u0627\u0631\u064a \u0627\u0644\u0627\u063a\u0644\u0627\u0642",
"stopped": "\u0645\u0648\u0642\u0641"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "\u0641\u064a \u0627\u0644\u0645\u0646\u0632\u0644",
"not_home": "\u062e\u0627\u0631\u062c \u0627\u0644\u0645\u0646\u0632\u0644"
}
}
},
"fan": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644"
}
}
},
"group": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644",
"home": "\u0641\u064a \u0627\u0644\u0645\u0646\u0632\u0644",
"not_home": "\u0641\u064a \u0627\u0644\u062e\u0627\u0631\u062c",
"open": "\u0645\u0641\u062a\u0648\u062d ",
"closed": "\u0645\u063a\u0644\u0642 ",
"locked": "\u0645\u0642\u0641\u0644 ",
"unlocked": "\u063a\u064a\u0631 \u0645\u0642\u0641\u0644 ",
"ok": "\u0623\u0648\u0643\u064a",
"problem": "\u0645\u0634\u0643\u0644\u0629"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644"
}
}
},
"light": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644"
}
}
},
"lock": {
"state": {
"_": {
"locked": "\u0645\u0642\u0641\u0644",
"unlocked": "\u0645\u0641\u062a\u0648\u062d"
}
}
},
"media_player": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644",
"playing": "\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u0634\u063a\u064a\u0644",
"paused": "\u0645\u0648\u0642\u0651\u0641 \u0645\u0624\u0642\u062a\u0627",
"idle": "\u062e\u0627\u0645\u0644",
"standby": "\u0648\u0636\u0639 \u0627\u0644\u0625\u0646\u062a\u0638\u0627\u0631"
}
}
},
"person": {
"state": {
"_": {
"home": "\u0641\u064a \u0627\u0644\u0645\u0646\u0632\u0644",
"not_home": "\u062e\u0627\u0631\u062c \u0627\u0644\u0645\u0646\u0632\u0644"
}
}
},
"plant": {
"state": {
"_": {
"ok": "\u0623\u0648\u0643\u064a",
"problem": "\u0645\u0634\u0643\u0644\u0629"
}
}
},
"remote": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644"
}
}
},
"script": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "\u0641\u0648\u0642 \u0627\u0644\u0623\u0641\u0642",
"below_horizon": "\u062a\u062d\u062a \u0627\u0644\u0623\u0641\u0642"
}
}
},
"switch": {
"state": {
"_": {
"off": "\u0625\u064a\u0642\u0627\u0641",
"on": "\u0645\u064f\u0634\u064e\u063a\u0651\u0644"
}
}
},
"vacuum": {
"state": {
"_": {
"cleaning": "\u062a\u0646\u0638\u064a\u0641",
"error": "\u062e\u0637\u0623",
"off": "\u0645\u0637\u0641\u0626",
"on": "\u0645\u0634\u063a\u0644",
"paused": "\u0645\u0648\u0642\u0651\u0641 \u0645\u0624\u0642\u062a\u0627",
"returning": "\u0627\u0644\u0639\u0648\u062f\u0629"
}
}
},
"timer": {
"state": {
"_": {
"active": "\u0645\u0641\u0639\u0644",
"idle": "\u062e\u0627\u0645\u0644",
"paused": "\u0645\u0648\u0642\u0651\u0641 \u0645\u0624\u0642\u062a\u0627"
}
}
},
"weather": {
"state": {
"_": {
"cloudy": "Bewolkt",
"fog": "Mist",
"sunny": "\u0645\u0634\u0645\u0633"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "\u0642\u064a\u062f \u0627\u0644\u0625\u0646\u0634\u0627\u0621",
"dead": "\u0645\u0641\u0635\u0648\u0644",
"sleeping": "\u0646\u0627\u0626\u0645",
"ready": "\u062c\u0627\u0647\u0632"
},
"query_stage": {
"initializing": "\u0642\u064a\u062f \u0627\u0644\u0625\u0646\u0634\u0627\u0621 ( {query_stage} )",
"dead": "\u0645\u0641\u0635\u0648\u0644 ({query_stage})"
}
}
}
}
}

View File

@@ -0,0 +1,349 @@
{
"component": {
"sensor": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f",
"dead": "\u041c\u044a\u0440\u0442\u044a\u0432",
"sleeping": "\u0421\u043f\u044f\u0449",
"ready": "\u0413\u043e\u0442\u043e\u0432"
},
"query_stage": {
"initializing": "\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f ( {query_stage} )",
"dead": "\u041c\u044a\u0440\u0442\u044a\u0432 ({query_stage})"
}
}
},
"ebusd": {
"state": {
"day": "\u0414\u0435\u043d",
"night": "\u041d\u043e\u0449"
}
},
"light": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u043e",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043e"
}
}
},
"switch": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"binary_sensor": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
},
"battery": {
"off": "\u041d\u043e\u0440\u043c\u0430\u043b\u043d\u0430",
"on": "\u0418\u0437\u0442\u043e\u0449\u0435\u043d\u0430"
},
"cold": {
"off": "\u041d\u043e\u0440\u043c\u0430\u043b\u043d\u043e",
"on": "\u0421\u0442\u0443\u0434\u0435\u043d\u043e"
},
"connectivity": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0421\u0432\u044a\u0440\u0437\u0430\u043d"
},
"door": {
"off": "\u0417\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430",
"on": "\u041e\u0442\u0432\u043e\u0440\u0435\u043d\u0430"
},
"garage_door": {
"off": "\u0417\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430",
"on": "\u041e\u0442\u0432\u043e\u0440\u0435\u043d\u0430"
},
"gas": {
"off": "\u0427\u0438\u0441\u0442\u043e",
"on": "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043d"
},
"heat": {
"off": "\u041d\u043e\u0440\u043c\u0430\u043b\u043d\u043e",
"on": "\u0413\u043e\u0440\u0435\u0449\u043e"
},
"lock": {
"off": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043e",
"on": "\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e"
},
"moisture": {
"off": "\u0421\u0443\u0445",
"on": "\u041c\u043e\u043a\u044a\u0440"
},
"motion": {
"off": "\u0411\u0435\u0437 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435",
"on": "\u0414\u0432\u0438\u0436\u0435\u043d\u0438\u0435"
},
"occupancy": {
"off": "\u0427\u0438\u0441\u0442\u043e",
"on": "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043d"
},
"opening": {
"off": "\u0417\u0430\u0442\u0432\u043e\u0440\u0435\u043d",
"on": "\u041e\u0442\u0432\u043e\u0440\u0435\u043d"
},
"presence": {
"off": "\u041e\u0442\u0441\u044a\u0441\u0442\u0432\u0430",
"on": "\u0412\u043a\u044a\u0449\u0438"
},
"problem": {
"off": "\u041e\u041a",
"on": "\u041f\u0440\u043e\u0431\u043b\u0435\u043c"
},
"safety": {
"off": "\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u0435\u043d",
"on": "\u041e\u043f\u0430\u0441\u043d\u043e\u0441\u0442"
},
"smoke": {
"off": "\u0427\u0438\u0441\u0442\u043e",
"on": "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043d"
},
"sound": {
"off": "\u0427\u0438\u0441\u0442\u043e",
"on": "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043d"
},
"vibration": {
"off": "\u0427\u0438\u0441\u0442\u043e",
"on": "\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0430\u043d\u0430"
},
"window": {
"off": "\u0417\u0430\u0442\u0432\u043e\u0440\u0435\u043d",
"on": "\u041e\u0442\u0432\u043e\u0440\u0435\u043d"
}
}
},
"lock": {
"state": {
"_": {
"locked": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d",
"unlocked": "\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"cover": {
"state": {
"_": {
"open": "\u041e\u0442\u0432\u043e\u0440\u0435\u043d\u0430",
"opening": "\u041e\u0442\u0432\u0430\u0440\u044f\u043d\u0435",
"closed": "\u0417\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430",
"closing": "\u0417\u0430\u0442\u0432\u0430\u0440\u044f\u043d\u0435",
"stopped": "\u0421\u043f\u0440\u044f\u043d\u0430"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "\u041f\u043e\u0434 \u043e\u0445\u0440\u0430\u043d\u0430",
"disarmed": "\u0414\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0430",
"armed_home": "\u041f\u043e\u0434 \u043e\u0445\u0440\u0430\u043d\u0430 - \u0432\u043a\u044a\u0449\u0438",
"armed_away": "\u041f\u043e\u0434 \u043e\u0445\u0440\u0430\u043d\u0430",
"armed_night": "\u041f\u043e\u0434 \u043e\u0445\u0440\u0430\u043d\u0430 - \u043d\u043e\u0449",
"armed_custom_bypass": "\u041f\u043e\u0434 \u043e\u0445\u0440\u0430\u043d\u0430",
"pending": "\u0412 \u043e\u0447\u0430\u043a\u0432\u0430\u043d\u0435",
"arming": "\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435",
"disarming": "\u0414\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435",
"triggered": "\u0417\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0430\u043d"
}
}
},
"media_player": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d",
"playing": "\u0412\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435",
"paused": "\u0412 \u043f\u0430\u0443\u0437\u0430",
"idle": "\u041d\u0435\u0440\u0430\u0431\u043e\u0442\u0435\u0449",
"standby": "\u0420\u0435\u0436\u0438\u043c \u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "\u0412\u043a\u044a\u0449\u0438",
"not_home": "\u041e\u0442\u0441\u044a\u0441\u0442\u0432\u0430"
}
}
},
"vacuum": {
"state": {
"_": {
"cleaning": "\u041f\u043e\u0447\u0438\u0441\u0442\u0432\u0430\u043d\u0435",
"docked": "\u0412 \u0431\u0430\u0437\u043e\u0432\u0430 \u0441\u0442\u0430\u043d\u0446\u0438\u044f",
"error": "\u0413\u0440\u0435\u0448\u043a\u0430",
"idle": "\u041d\u0435\u0440\u0430\u0431\u043e\u0442\u0435\u0449",
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d",
"paused": "\u041f\u0430\u0443\u0437\u0430",
"returning": "\u0412\u0440\u044a\u0449\u0430\u043d\u0435 \u0432 \u0431\u0430\u0437\u043e\u0432\u0430\u0442\u0430 \u0441\u0442\u0430\u043d\u0446\u0438\u044f"
}
}
},
"fan": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"climate": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"heat": "\u041e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u0435",
"cool": "\u041e\u0445\u043b\u0430\u0436\u0434\u0430\u043d\u0435",
"heat_cool": "\u041e\u0442\u043e\u043f\u043b\u0435\u043d\u0438\u0435/\u041e\u0445\u043b\u0430\u0436\u0434\u0430\u043d\u0435",
"auto": "\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u043d",
"dry": "\u0421\u0443\u0445",
"fan_only": "\u0421\u0430\u043c\u043e \u0432\u0435\u043d\u0442\u0438\u043b\u0430\u0442\u043e\u0440"
}
}
},
"automation": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"calendar": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"camera": {
"state": {
"_": {
"recording": "\u0417\u0430\u043f\u0438\u0441\u0432\u0430\u043d\u0435",
"streaming": "\u041f\u0440\u0435\u0434\u0430\u0432\u0430",
"idle": "\u041d\u0435 \u0437\u0430\u043f\u0438\u0441\u0432\u0430"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0432\u0430\u043d\u0435",
"configured": "\u041d\u0430\u0441\u0442\u0440\u043e\u0435\u043d"
}
}
},
"group": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0430",
"home": "\u0412\u043a\u044a\u0449\u0438",
"not_home": "\u041e\u0442\u0441\u044a\u0441\u0442\u0432\u0430",
"open": "\u041e\u0442\u0432\u043e\u0440\u0435\u043d\u0430",
"closed": "\u0417\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430",
"locked": "\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0430",
"unlocked": "\u041e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0430",
"ok": "\u041e\u041a",
"problem": "\u041f\u0440\u043e\u0431\u043b\u0435\u043c"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"person": {
"state": {
"_": {
"home": "\u0412\u043a\u044a\u0449\u0438",
"not_home": "\u041e\u0442\u0441\u044a\u0441\u0442\u0432\u0430"
}
}
},
"plant": {
"state": {
"_": {
"ok": "\u041e\u041a",
"problem": "\u041f\u0440\u043e\u0431\u043b\u0435\u043c"
}
}
},
"remote": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"script": {
"state": {
"_": {
"off": "\u0418\u0437\u043a\u043b\u044e\u0447\u0435\u043d",
"on": "\u0412\u043a\u043b\u044e\u0447\u0435\u043d"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "\u041d\u0430\u0434 \u0445\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430",
"below_horizon": "\u041f\u043e\u0434 \u0445\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430"
}
}
},
"timer": {
"state": {
"_": {
"active": "\u0430\u043a\u0442\u0438\u0432\u0435\u043d",
"idle": "\u043d\u0435\u0440\u0430\u0431\u043e\u0442\u0435\u0449",
"paused": "\u0432 \u043f\u0430\u0443\u0437\u0430"
}
}
},
"weather": {
"state": {
"_": {
"clear-night": "\u042f\u0441\u043d\u043e, \u043d\u043e\u0449",
"cloudy": "\u041e\u0431\u043b\u0430\u0447\u043d\u043e",
"exceptional": "\u0418\u0437\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u043d\u043e",
"fog": "\u041c\u044a\u0433\u043b\u0430",
"hail": "\u0413\u0440\u0430\u0434\u0443\u0448\u043a\u0430",
"lightning": "\u0421\u0432\u0435\u0442\u043a\u0430\u0432\u0438\u0446\u0430",
"lightning-rainy": "\u0421\u0432\u0435\u0442\u043a\u0430\u0432\u0438\u0446\u0430, \u0434\u044a\u0436\u0434\u043e\u0432\u043d\u043e",
"partlycloudy": "\u0427\u0430\u0441\u0442\u0438\u0447\u043d\u0430 \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0441\u0442",
"pouring": "\u041e\u0431\u0438\u043b\u0435\u043d \u0434\u044a\u0436\u0434",
"rainy": "\u0414\u044a\u0436\u0434\u043e\u0432\u043d\u043e",
"snowy": "\u0421\u043d\u0435\u0436\u043d\u043e",
"snowy-rainy": "\u0421\u043d\u0435\u0436\u043d\u043e, \u0434\u044a\u0436\u0434\u043e\u0432\u043d\u043e",
"sunny": "\u0421\u043b\u044a\u043d\u0447\u0435\u0432\u043e",
"windy": "\u0412\u0435\u0442\u0440\u043e\u0432\u0438\u0442\u043e",
"windy-variant": "\u0412\u0435\u0442\u0440\u043e\u0432\u0438\u0442\u043e"
}
}
}
}
}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,266 @@
{
"component": {
"binary_sensor": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
},
"battery": {
"off": "Normalno",
"on": "Nisko"
},
"connectivity": {
"off": "Nepovezan",
"on": "Povezan"
},
"gas": {
"off": "\u010cist",
"on": "Otkriven"
},
"moisture": {
"off": "Suho",
"on": "Mokar"
},
"motion": {
"off": "\u010cist",
"on": "Otkriven"
},
"occupancy": {
"off": "\u010cist",
"on": "Otkriven"
},
"opening": {
"off": "Zatvoren",
"on": "Otvoren"
},
"presence": {
"off": "Odsutan",
"on": "Kod ku\u0107e"
},
"problem": {
"off": "OK",
"on": "Problem"
},
"safety": {
"off": "Siguran",
"on": "Nesiguran"
},
"smoke": {
"off": "\u010cist",
"on": "Otkriven"
},
"sound": {
"off": "\u010cist",
"on": "Otkriven"
},
"vibration": {
"off": "\u010cist",
"on": "Otkriven"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "Aktiviran",
"disarmed": "Deaktiviran",
"armed_home": "Aktiviran kod ku\u0107e",
"armed_away": "Aktiviran izvan ku\u0107e",
"armed_night": "Aktiviran no\u0107u",
"armed_custom_bypass": "Aktiviran pod specijalnim rezimom",
"pending": "U is\u010dekivanju",
"arming": "Aktivacija",
"disarming": "Deaktivacija",
"triggered": "Pokrenut"
}
}
},
"automation": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"calendar": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"camera": {
"state": {
"_": {
"recording": "Snimanje",
"streaming": "Predaja slike",
"idle": "Besposlen"
}
}
},
"climate": {
"state": {
"_": {
"off": "Isklju\u010den",
"heat": "Toplota",
"cool": "Hladno",
"auto": "Auto",
"dry": "Suh",
"fan_only": "Samo ventilator"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "Podesite",
"configured": "Konfigurirano"
}
}
},
"cover": {
"state": {
"_": {
"open": "Otvoren",
"opening": "Otvoreno",
"closed": "Zatvoren",
"closing": "Zatvoreno",
"stopped": "Zaustavljen"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "Kod ku\u0107e",
"not_home": "Odsutan"
}
}
},
"fan": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"group": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den",
"home": "Kod ku\u0107e",
"not_home": "Odsutan",
"open": "Otvoren",
"closed": "Zatvoren",
"locked": "Zaklju\u010dan",
"unlocked": "Otklju\u010dan",
"ok": "OK",
"problem": "Problem"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"light": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"lock": {
"state": {
"_": {
"locked": "Zaklju\u010dan",
"unlocked": "Otklju\u010dan"
}
}
},
"media_player": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den",
"playing": "Prikazuje",
"paused": "Pauziran",
"idle": "Besposlen",
"standby": "U stanju \u010dekanja"
}
}
},
"plant": {
"state": {
"_": {
"ok": "OK",
"problem": "Problem"
}
}
},
"remote": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"script": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"sensor": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "Iznad horizonta",
"below_horizon": "Ispod horizonta"
}
}
},
"switch": {
"state": {
"_": {
"off": "Isklju\u010den",
"on": "Uklju\u010den"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "Inicijalizacija",
"dead": "Mrtav",
"sleeping": "Spava",
"ready": "Spreman"
},
"query_stage": {
"initializing": "Inicijalizacija ( {query_stage} )",
"dead": "Mrtav ({query_stage})"
}
}
}
}
}

View File

@@ -0,0 +1,349 @@
{
"component": {
"sensor": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "Inicialitzant",
"dead": "No disponible",
"sleeping": "Dormint",
"ready": "A punt"
},
"query_stage": {
"initializing": "Inicialitzant",
"dead": "No disponible"
}
}
},
"ebusd": {
"state": {
"day": "Dia",
"night": "Nit"
}
},
"light": {
"state": {
"_": {
"off": "Apagada",
"on": "Encesa"
}
}
},
"switch": {
"state": {
"_": {
"off": "Apagat",
"on": "Enc\u00e8s"
}
}
},
"binary_sensor": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat"
},
"battery": {
"off": "Normal",
"on": "Baixa"
},
"cold": {
"off": "Normal",
"on": "Fred"
},
"connectivity": {
"off": "Desconnectat",
"on": "Connectat"
},
"door": {
"off": "Tancada",
"on": "Oberta"
},
"garage_door": {
"off": "Tancada",
"on": "Oberta"
},
"gas": {
"off": "Lliure",
"on": "Detectat"
},
"heat": {
"off": "Normal",
"on": "Calent"
},
"lock": {
"off": "Bloquejat",
"on": "Desbloquejat"
},
"moisture": {
"off": "Sec",
"on": "Humit"
},
"motion": {
"off": "Lliure",
"on": "Detectat"
},
"occupancy": {
"off": "Lliure",
"on": "Detectat"
},
"opening": {
"off": "Tancat",
"on": "Obert"
},
"presence": {
"off": "Lliure",
"on": "Detectat"
},
"problem": {
"off": "Correcte",
"on": "Problema"
},
"safety": {
"off": "Segur",
"on": "No segur"
},
"smoke": {
"off": "Lliure",
"on": "Detectat"
},
"sound": {
"off": "Lliure",
"on": "Detectat"
},
"vibration": {
"off": "Lliure",
"on": "Detectat"
},
"window": {
"off": "Tancada",
"on": "Oberta"
}
}
},
"lock": {
"state": {
"_": {
"locked": "Bloquejat",
"unlocked": "Desbloquejat"
}
}
},
"cover": {
"state": {
"_": {
"open": "Oberta",
"opening": "Obrint",
"closed": "Tancada",
"closing": "Tancant",
"stopped": "Aturat"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "Activada",
"disarmed": "Desactivada",
"armed_home": "Activada, mode a casa",
"armed_away": "Activada, mode fora",
"armed_night": "Activada, mode nocturn",
"armed_custom_bypass": "Activada, bypass personalitzat",
"pending": "Pendent",
"arming": "Activant",
"disarming": "Desactivant",
"triggered": "Disparada"
}
}
},
"media_player": {
"state": {
"_": {
"off": "Apagat",
"on": "Enc\u00e8s",
"playing": "Reproduint",
"paused": "Pausat",
"idle": "Inactiu",
"standby": "En espera"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "A casa",
"not_home": "Fora"
}
}
},
"vacuum": {
"state": {
"_": {
"cleaning": "Netejant",
"docked": "Aparcat",
"error": "Error",
"idle": "Inactiu",
"off": "Apagat",
"on": "Enc\u00e8s",
"paused": "Pausat",
"returning": "Retornant a la base"
}
}
},
"fan": {
"state": {
"_": {
"off": "Apagat",
"on": "Enc\u00e8s"
}
}
},
"climate": {
"state": {
"_": {
"off": "Apagat",
"heat": "Escalfar",
"cool": "Refredar",
"heat_cool": "Escalfar/Refredar",
"auto": "Autom\u00e0tic",
"dry": "Assecar",
"fan_only": "Nom\u00e9s ventilador"
}
}
},
"automation": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat"
}
}
},
"calendar": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat"
}
}
},
"camera": {
"state": {
"_": {
"recording": "Enregistrant",
"streaming": "Transmetent v\u00eddeo",
"idle": "Inactiu"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "Configurar",
"configured": "Configurat"
}
}
},
"group": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat",
"home": "A casa",
"not_home": "Fora",
"open": "Obert",
"closed": "Tancat",
"locked": "Bloquejat",
"unlocked": "Desbloquejat",
"ok": "Correcte",
"problem": "Problema"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat"
}
}
},
"person": {
"state": {
"_": {
"home": "A casa",
"not_home": "Fora"
}
}
},
"plant": {
"state": {
"_": {
"ok": "Correcte",
"problem": "Problema"
}
}
},
"remote": {
"state": {
"_": {
"off": "Apagat",
"on": "Enc\u00e8s"
}
}
},
"script": {
"state": {
"_": {
"off": "Desactivat",
"on": "Activat"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "Sobre l'horitz\u00f3",
"below_horizon": "Sota l'horitz\u00f3"
}
}
},
"timer": {
"state": {
"_": {
"active": "Actiu",
"idle": "inactiu",
"paused": "Pausat"
}
}
},
"weather": {
"state": {
"_": {
"clear-night": "Ser\u00e8, nit",
"cloudy": "Ennuvolat",
"exceptional": "Excepcional",
"fog": "Boira",
"hail": "Calamarsa",
"lightning": "Llamps",
"lightning-rainy": "Tempesta",
"partlycloudy": "Parcialment ennuvolat",
"pouring": "Pluja",
"rainy": "Pluj\u00f3s",
"snowy": "Neu",
"snowy-rainy": "Aiguaneu",
"sunny": "Assolellat",
"windy": "Vent\u00f3s",
"windy-variant": "Vent\u00f3s"
}
}
}
}
}

View File

@@ -0,0 +1,349 @@
{
"component": {
"sensor": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "Inicializace",
"dead": "Nereaguje",
"sleeping": "\u00dasporn\u00fd re\u017eim",
"ready": "P\u0159ipraveno"
},
"query_stage": {
"initializing": "Inicializace ( {query_stage} )",
"dead": "Nereaguje ({query_stage})"
}
}
},
"ebusd": {
"state": {
"day": "Den",
"night": "Noc"
}
},
"binary_sensor": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
},
"battery": {
"off": "Norm\u00e1ln\u00ed",
"on": "N\u00edzk\u00fd stav"
},
"cold": {
"off": "Norm\u00e1ln\u00ed",
"on": "Chladn\u00e9"
},
"connectivity": {
"off": "Odpojeno",
"on": "P\u0159ipojeno"
},
"door": {
"off": "Zav\u0159eno",
"on": "Otev\u0159eno"
},
"garage_door": {
"off": "Zav\u0159eno",
"on": "Otev\u0159eno"
},
"gas": {
"off": "\u017d\u00e1dn\u00fd plyn",
"on": "Zji\u0161t\u011bn plyn"
},
"heat": {
"off": "Norm\u00e1ln\u00ed",
"on": "Hork\u00e9"
},
"lock": {
"off": "Zam\u010deno",
"on": "Odem\u010deno"
},
"moisture": {
"off": "Sucho",
"on": "Vlhko"
},
"motion": {
"off": "Bez pohybu",
"on": "Zaznamen\u00e1n pohyb"
},
"occupancy": {
"off": "Volno",
"on": "Obsazeno"
},
"opening": {
"off": "Zav\u0159eno",
"on": "Otev\u0159eno"
},
"presence": {
"off": "Pry\u010d",
"on": "Doma"
},
"problem": {
"off": "V po\u0159\u00e1dku",
"on": "Probl\u00e9m"
},
"safety": {
"off": "Zaji\u0161t\u011bno",
"on": "Nezaji\u0161t\u011bno"
},
"smoke": {
"off": "\u017d\u00e1dn\u00fd d\u00fdm",
"on": "Zji\u0161t\u011bn d\u00fdm"
},
"sound": {
"off": "Ticho",
"on": "Zachycen zvuk"
},
"vibration": {
"off": "Klid",
"on": "Zji\u0161t\u011bny vibrace"
},
"window": {
"off": "Zav\u0159eno",
"on": "Otev\u0159eno"
}
}
},
"lock": {
"state": {
"_": {
"locked": "Zam\u010deno",
"unlocked": "Odem\u010deno"
}
}
},
"cover": {
"state": {
"_": {
"open": "Otev\u0159eno",
"opening": "Otev\u00edr\u00e1n\u00ed",
"closed": "Zav\u0159eno",
"closing": "Zav\u00edr\u00e1n\u00ed",
"stopped": "Zastaveno"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "Aktivn\u00ed",
"disarmed": "Neaktivn\u00ed",
"armed_home": "Aktivn\u00ed re\u017eim doma",
"armed_away": "Aktivn\u00ed re\u017eim mimo domov",
"armed_night": "Aktivn\u00ed no\u010dn\u00ed re\u017eim",
"armed_custom_bypass": "Aktivn\u00ed u\u017eivatelsk\u00fdm obejit\u00edm",
"pending": "Nadch\u00e1zej\u00edc\u00ed",
"arming": "Aktivov\u00e1n\u00ed",
"disarming": "Deaktivov\u00e1n\u00ed",
"triggered": "Spu\u0161t\u011bno"
}
}
},
"media_player": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed",
"playing": "P\u0159ehr\u00e1v\u00e1n\u00ed",
"paused": "Pozastaveno",
"idle": "Ne\u010dinn\u00fd",
"standby": "Pohotovostn\u00ed re\u017eim"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "Doma",
"not_home": "Pry\u010d"
}
}
},
"automation": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"calendar": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"camera": {
"state": {
"_": {
"recording": "Z\u00e1znam",
"streaming": "Streamov\u00e1n\u00ed",
"idle": "Ne\u010dinn\u00fd"
}
}
},
"climate": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"heat": "Topen\u00ed",
"cool": "Chlazen\u00ed",
"heat_cool": "Vyt\u00e1p\u011bn\u00ed/Chlazen\u00ed",
"auto": "Automatika",
"dry": "Vysou\u0161en\u00ed",
"fan_only": "Pouze ventil\u00e1tor"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "Nakonfigurovat",
"configured": "Nakonfigurov\u00e1no"
}
}
},
"fan": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"group": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed",
"home": "Doma",
"not_home": "Pry\u010d",
"open": "Otev\u0159eno",
"closed": "Zav\u0159eno",
"locked": "Zam\u010deno",
"unlocked": "Odem\u010deno",
"ok": "V po\u0159\u00e1dku",
"problem": "Probl\u00e9m"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"light": {
"state": {
"_": {
"off": "Nesv\u00edt\u00ed",
"on": "Sv\u00edt\u00ed"
}
}
},
"person": {
"state": {
"_": {
"home": "Doma",
"not_home": "Pry\u010d"
}
}
},
"plant": {
"state": {
"_": {
"ok": "V po\u0159\u00e1dku",
"problem": "Probl\u00e9m"
}
}
},
"remote": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"script": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "Nad horizontem",
"below_horizon": "Za horizontem"
}
}
},
"switch": {
"state": {
"_": {
"off": "Neaktivn\u00ed",
"on": "Aktivn\u00ed"
}
}
},
"vacuum": {
"state": {
"_": {
"cleaning": "\u010cist\u00ed",
"docked": "V stanici",
"error": "Chyba",
"idle": "Ne\u010dinn\u00fd",
"off": "Off",
"on": "On",
"paused": "Pozastaveno",
"returning": "N\u00e1vrat do stanice"
}
}
},
"timer": {
"state": {
"_": {
"active": "aktivn\u00ed",
"idle": "ne\u010dinn\u00e9",
"paused": "pozastaveno"
}
}
},
"weather": {
"state": {
"_": {
"clear-night": "Jasn\u00e1 noc",
"cloudy": "Zata\u017eeno",
"exceptional": "Vyj\u00edme\u010dn\u00e9",
"fog": "Mlha",
"hail": "Krupobit\u00ed",
"lightning": "Bou\u0159e",
"lightning-rainy": "Bou\u0159e a d\u00e9\u0161\u0165",
"partlycloudy": "Polojasno",
"pouring": "Lij\u00e1k",
"rainy": "D\u00e9\u0161\u0165",
"snowy": "Sn\u00edh",
"snowy-rainy": "D\u00e9\u0161\u0165 se sn\u011bhem",
"sunny": "Slune\u010dno",
"windy": "V\u011btrno",
"windy-variant": "V\u011btrno"
}
}
}
}
}

View File

@@ -0,0 +1,327 @@
{
"component": {
"sensor": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"binary_sensor": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
},
"battery": {
"off": "Arferol",
"on": "Isel"
},
"cold": {
"off": "Arferol",
"on": "Oer"
},
"connectivity": {
"off": "Wedi datgysylltu",
"on": "Cysylltiedig"
},
"door": {
"off": "Cau",
"on": "Agor"
},
"garage_door": {
"off": "Cau",
"on": "Agor"
},
"gas": {
"off": "Clir",
"on": "Wedi'i ganfod"
},
"heat": {
"off": "Arferol",
"on": "Poeth"
},
"lock": {
"off": "Cloi",
"on": "Dad-gloi"
},
"moisture": {
"off": "Sych",
"on": "Gwlyb"
},
"motion": {
"off": "Clir",
"on": "Wedi'i ganfod"
},
"occupancy": {
"off": "Clir",
"on": "Wedi'i ganfod"
},
"opening": {
"off": "Cau",
"on": "Agor"
},
"presence": {
"off": "Allan",
"on": "Gartref"
},
"problem": {
"off": "iawn",
"on": "Problem"
},
"safety": {
"off": "Diogel",
"on": "Anniogel"
},
"smoke": {
"off": "Clir",
"on": "Wedi'i ganfod"
},
"sound": {
"off": "Clir",
"on": "Wedi'i ganfod"
},
"vibration": {
"off": "Clir",
"on": "Wedi'i ganfod"
},
"window": {
"off": "Cau",
"on": "Agored"
}
}
},
"alarm_control_panel": {
"state": {
"_": {
"armed": "Arfogi",
"disarmed": "Diarfogi",
"armed_home": "Arfogi gartref",
"armed_away": "Arfog i ffwrdd",
"armed_night": "Arfog nos",
"armed_custom_bypass": "Ffordd osgoi larwm personol",
"pending": "Yn yr arfaeth",
"arming": "Arfogi",
"disarming": "Ddiarfogi",
"triggered": "Sbarduno"
}
}
},
"automation": {
"state": {
"_": {
"off": "I ffwrdd",
"on": "Ar"
}
}
},
"calendar": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"camera": {
"state": {
"_": {
"recording": "Recordio",
"streaming": "Ffrydio",
"idle": "Segur"
}
}
},
"climate": {
"state": {
"_": {
"off": "i ffwrdd",
"heat": "Gwres",
"cool": "Sefydlog",
"auto": "Awto",
"dry": "Sych",
"fan_only": "Fan yn unig"
}
}
},
"configurator": {
"state": {
"_": {
"configure": "Ffurfweddu",
"configured": "Wedi'i ffurfweddu"
}
}
},
"cover": {
"state": {
"_": {
"open": "Agor",
"opening": "Yn agor",
"closed": "Ar gau",
"closing": "Cau",
"stopped": "Stopio"
}
}
},
"device_tracker": {
"state": {
"_": {
"home": "Gartref",
"not_home": "Diim gartref"
}
}
},
"fan": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"group": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar",
"home": "Gartref",
"not_home": "Dim gartref",
"open": "Agored",
"closed": "Wedi cau",
"locked": " Cloi",
"unlocked": "Dadgloi",
"ok": "Iawn",
"problem": "Problem"
}
}
},
"input_boolean": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"light": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"lock": {
"state": {
"_": {
"locked": "Wedi cloi",
"unlocked": "Datgloi"
}
}
},
"media_player": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar",
"playing": "Chwarae",
"paused": "Wedi rhewi",
"idle": "Segur",
"standby": "Gorffwys"
}
}
},
"person": {
"state": {
"_": {
"home": "Gartref",
"not_home": "I ffwrdd"
}
}
},
"plant": {
"state": {
"_": {
"ok": "Iawn",
"problem": "Problem"
}
}
},
"remote": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"script": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"sun": {
"state": {
"_": {
"above_horizon": "Dros y gorwel",
"below_horizon": "Islaw'r gorwel"
}
}
},
"switch": {
"state": {
"_": {
"off": "i ffwrdd",
"on": "Ar"
}
}
},
"timer": {
"state": {
"_": {
"active": "gweithredol",
"idle": "segur",
"paused": "wedi rhewi"
}
}
},
"weather": {
"state": {
"_": {
"clear-night": "Clir, nos",
"cloudy": "Cymylog",
"fog": "Niwl",
"hail": "Cenllysg",
"lightning": "Mellt",
"lightning-rainy": "Mellt, glawog",
"partlycloudy": "Cymharol gymylog",
"pouring": "Arllwys",
"rainy": "Glawog",
"snowy": "Eira",
"snowy-rainy": "Eira, gwlyb",
"sunny": "Heulog",
"windy": "Gwyntog",
"windy-variant": "Gwyntog"
}
}
},
"zwave": {
"state": {
"_": {
"initializing": "Ymgychwyn",
"dead": "Marw",
"sleeping": "Cysgu",
"ready": "Barod"
},
"query_stage": {
"initializing": "Ymgychwyn ( {query_stage} )",
"dead": "Marw ({query_stage})"
}
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More