Compare commits

...

325 Commits
v4.2.1 ... dev

Author SHA1 Message Date
Johannes
6eab35ddd0 Update docs.yml 2023-11-28 21:43:07 +01:00
Johannes
495e63dacc Update docs.yml 2023-11-28 21:38:42 +01:00
Johannes
d965e7c7df Update docs.yml 2023-11-28 21:35:23 +01:00
Johannes
060f2bd8de Update mkdocs.yml 2023-11-28 21:35:19 +01:00
Johannes
17585f3c75 Update config.yaml 2023-11-28 16:42:36 +01:00
joBr99
79303ade8b Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-28 16:41:34 +01:00
joBr99
d7e417eaf7 implement cardunlock 2023-11-28 16:41:26 +01:00
Johannes
9622c65eb5 Update faq.md 2023-11-28 12:56:32 +01:00
Johannes
16ee1fb1c2 Update configure_mqtt.md 2023-11-28 12:51:19 +01:00
Johannes
fd7d4bca24 Update faq.md 2023-11-28 12:49:57 +01:00
joBr99
a4627e8589 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text) 2023-11-27 23:29:02 +00:00
joBr99
51dd978c8c Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-28 00:25:40 +01:00
joBr99
1521a45dc1 hide btDetail 2023-11-28 00:25:31 +01:00
joBr99
03ac046feb hide elements on cardThermo (add nextion2text) 2023-11-27 23:21:45 +00:00
joBr99
ff9dc6c71e hide elements on cardThermo 2023-11-28 00:18:36 +01:00
Armilar
f8c6b80438 Update ioBroker_NSPanel_locales_beta.json 2023-11-27 22:10:16 +01:00
Armilar
56c8b07e2e Update ioBroker_NSPanel_locales.json 2023-11-27 22:09:54 +01:00
Armilar
cd628038b4 Update ioBroker_NSPanel_locales.json 2023-11-27 21:35:14 +01:00
Armilar
efeebe6a86 Merge pull request #1070 from joBr99/Armilar-patch-4
v4.3.3.14 - Update NsPanelTs.ts
2023-11-27 16:06:25 +01:00
Armilar
ce6717292a v4.3.3.14 - Update NsPanelTs.ts
- Refactoring Sonos-Player (with Playlist, Tracklist, Favorites, Eqalizer (if no Favorites))
- minor Fixes with other Media-Players
2023-11-27 15:58:08 +01:00
Armilar
c5b5002d27 v4.3.3.14 - Update NsPanelTs.ts
- Refactoring Sonos-Player (with Playlist, Tracklist, Favorites, Eqalizer (if no Favorites))
- minor Bug-Fixes
2023-11-27 15:52:52 +01:00
Armilar
4daa6dbb78 Update ioBroker_NSPanel_locales.json 2023-11-27 13:42:38 +01:00
joBr99
7ffe37117b . 2023-11-27 00:45:56 +01:00
joBr99
112fe16f29 . 2023-11-27 00:34:51 +01:00
joBr99
361a125118 merge 2023-11-27 00:29:20 +01:00
joBr99
6bd9b34f96 . 2023-11-27 00:28:48 +01:00
Johannes
4938b5794a Update config.yaml 2023-11-26 23:55:34 +01:00
joBr99
0e2e11655c Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-26 23:47:25 +01:00
joBr99
4c591ca8e1 . 2023-11-26 23:47:12 +01:00
Johannes
7b811ca0f8 Update config.yaml 2023-11-26 18:44:13 +01:00
Johannes
46e18d0954 Update panels.yaml.example 2023-11-26 18:35:21 +01:00
Johannes
9df7afbf01 Update config.yaml 2023-11-26 18:18:46 +01:00
joBr99
6d6ebb5ccc Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-26 18:17:49 +01:00
joBr99
41fe5ebd82 fix icon overwrite for internal entities 2023-11-26 18:17:37 +01:00
Armilar
1e2f4f4ca2 Merge pull request #1068 from joBr99/Armilar-patch-4
v4.3.3.13 - Update NsPanelTs.ts
2023-11-26 15:28:07 +01:00
Armilar
9a084c58bb v4.3.3.13 - Update NsPanelTs.ts
Version
2023-11-26 15:23:39 +01:00
Armilar
0d66a1f4f2 v4.3.3.13 - Update NsPanelTs.ts
- Separation of page creation and page updates in cardMedia
- Add alwaysOnDisplay to cardMedia - Leave display on if the alwaysOnDisplay parameter is "true"
- Fix Sonos Repeat/Shuffle
- Translations
2023-11-26 15:21:42 +01:00
joBr99
ad891115a9 . 2023-11-26 13:02:18 +01:00
joBr99
b38189d63e merge 2023-11-26 12:14:59 +01:00
joBr99
900e1aef46 add extended logging feats 2023-11-26 12:14:15 +01:00
Johannes
2a43a96f9a Update config.yaml 2023-11-25 22:03:12 +01:00
Johannes
11827bf68b Update ha_control.py 2023-11-25 22:01:35 +01:00
joBr99
bc3d58d406 bump version 2023-11-25 20:18:21 +01:00
joBr99
4aed6f672e Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-25 20:17:49 +01:00
joBr99
f40235bb2e fix 2023-11-25 20:17:43 +01:00
Johannes
67d323da42 bump version 2023-11-25 19:32:54 +01:00
joBr99
2801509215 bump version 2023-11-25 19:26:47 +01:00
joBr99
bb38dda0cb implement timer popup 2023-11-25 19:25:03 +01:00
joBr99
69830d82f7 implements #763 2023-11-25 19:05:02 +01:00
joBr99
b6c3444a55 implement cover and fan popup 2023-11-25 18:39:02 +01:00
joBr99
172f8d8ad4 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-25 18:17:56 +01:00
joBr99
5ab207504d implement homeassistant template caching 2023-11-25 18:17:21 +01:00
Armilar
ec0ffc3584 v4.3.3.12 - Update NsPanelTs.ts
- Separation of page creation and page updates in cardPower
- Add alwaysOnDisplay to cardPower - Leave display on if the alwaysOnDisplay parameter is "true"
- Some translations
2023-11-25 18:16:06 +01:00
Johannes
2303446958 Update config.yaml 2023-11-25 01:17:16 +01:00
joBr99
36f2c85ffe . 2023-11-25 01:12:50 +01:00
Johannes
655edc071f move each panel to it's own thread (#1066) 2023-11-25 01:04:09 +01:00
joBr99
2c3bd3a88e fix callbacks 2023-11-25 00:54:34 +01:00
joBr99
2944044a4a fix template icons without <I></I> 2023-11-24 23:51:52 +01:00
joBr99
e846ac4923 fix icon template rendering 2023-11-24 23:18:49 +01:00
joBr99
2f2bc406f2 fix icon rendering 2023-11-24 23:11:22 +01:00
joBr99
9a4a42f7ac send dimmode and timeout only on startup and update 2023-11-24 22:31:33 +01:00
joBr99
99ebaa0364 install python in devcontainer 2023-11-24 22:04:12 +01:00
Johannes
4b651db8dc Update config.yaml 2023-11-24 21:22:24 +01:00
Johannes
27f214c633 Update ha_cards.py 2023-11-24 21:22:07 +01:00
Johannes
c59107a137 Update config.yaml 2023-11-24 21:10:23 +01:00
Johannes
46a3c4b612 Update panel.py 2023-11-24 21:10:08 +01:00
joBr99
658348b4fd Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text) 2023-11-24 20:03:19 +00:00
joBr99
896ffe1282 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-24 21:00:41 +01:00
joBr99
d82ffc3617 . 2023-11-24 21:00:35 +01:00
joBr99
8d83d727f3 . (add nextion2text) 2023-11-24 18:12:29 +00:00
joBr99
c6e49bbf80 . 2023-11-24 19:09:41 +01:00
joBr99
349db170a6 add event for page open (add nextion2text) 2023-11-24 17:58:17 +00:00
joBr99
3f2dac39a0 add event for page open 2023-11-24 18:55:41 +01:00
joBr99
439eb9309a . 2023-11-24 18:11:04 +01:00
joBr99
c49f214bec implement some local templates 2023-11-24 16:34:14 +01:00
Johannes
7fb347063c Update config.yaml 2023-11-24 16:27:05 +01:00
Johannes
da91c282b7 Update apparmor.txt 2023-11-24 16:26:50 +01:00
joBr99
ff5a9d2274 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-24 15:27:23 +01:00
joBr99
fce9265b5d do not force supervised settings in case env var is set and config is there 2023-11-24 15:27:10 +01:00
Armilar
7b39a5e2b1 v4.3.3.11 - Merge pull request #1064 from tt-tom17/main
v4.3.3.11 - Update NsPanelTS.ts
2023-11-24 10:24:43 +01:00
Armilar
7b513f901c v4.3.3.11 - Update NsPanelTs.ts 2023-11-24 10:22:35 +01:00
Thomas
6e6b70c89f v4.3.3.11 - Update NsPanelTS.ts
Add autoCreateALias to PageQR
2023-11-24 10:11:07 +01:00
joBr99
e0294195b9 . 2023-11-23 21:14:25 +01:00
joBr99
7ecad206dc . 2023-11-23 20:53:12 +01:00
joBr99
254aa2d043 . 2023-11-23 20:47:24 +01:00
joBr99
1b4c435fab some fixes 2023-11-23 20:40:16 +01:00
joBr99
55688549fa bump version 2023-11-23 19:28:00 +01:00
joBr99
fb69d05f06 implement status override 2023-11-23 19:27:19 +01:00
joBr99
cde1aeda0e Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-23 19:12:42 +01:00
joBr99
2816fa88e4 implement navigation up 2023-11-23 19:12:30 +01:00
joBr99
9cc31b6e5b error handling for invalid config file 2023-11-23 19:12:15 +01:00
Armilar
8f34fbf7a7 v4.3.3.10 - Merge pull request #1062 from tt-tom17/main
v4.3.3.10 - Code optimization in Config Area
2023-11-22 19:45:16 +01:00
Armilar
32df87d8bd v4.3.3.10 - Update NsPanelTs.ts
Code optimization in Config Area
2023-11-22 19:40:51 +01:00
Thomas
50302c1fd4 v4.3.3.10
Code optimization
2023-11-22 19:10:40 +01:00
Johannes
7f4bb973b1 Update config.yaml 2023-11-22 17:43:13 +01:00
joBr99
a542ba39aa implement status icons 2023-11-22 17:40:36 +01:00
joBr99
7f8b013381 implement cardalarm 2023-11-21 18:39:38 +01:00
joBr99
e455d50738 implement some more actions 2023-11-21 18:15:34 +01:00
joBr99
50533dd2a6 bump version 2023-11-21 17:22:15 +01:00
joBr99
f432e14f3e . 2023-11-21 17:21:33 +01:00
joBr99
7cc1c6ec77 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-20 21:38:33 +01:00
joBr99
3a8293d266 . 2023-11-20 21:38:18 +01:00
Johannes
b5bc19443a Update config.yaml 2023-11-20 21:08:39 +01:00
joBr99
d58bf81600 bump 2023-11-20 21:03:23 +01:00
joBr99
8398684cc6 move config file 2023-11-20 21:01:08 +01:00
joBr99
53deb3ab85 fix 2023-11-20 20:33:27 +01:00
joBr99
d86057ef76 fix 2023-11-20 20:18:39 +01:00
joBr99
66a3dab237 fix 2023-11-20 20:15:55 +01:00
joBr99
6e9bab3502 fix 2023-11-20 20:12:48 +01:00
joBr99
ebdb9bc2c1 implement sleepmodes 2023-11-20 20:03:13 +01:00
joBr99
694b231983 implement sleepmodes 2023-11-20 20:02:53 +01:00
joBr99
3e56cf7d8c Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-20 19:56:41 +01:00
Armilar
c1e8f7df04 v4.3.3.9 - Update NsPanelTs.ts
Add ScreensaverEntityOnColor, ...OffColor, ...OnText, ...OffText
2023-11-20 18:45:16 +01:00
joBr99
c0ebe4a397 implement sleeptimeout 2023-11-20 18:41:09 +01:00
joBr99
3dcb91b276 implement doubletaptounlock 2023-11-20 18:09:35 +01:00
joBr99
6a7606b3e0 . 2023-11-20 17:54:30 +01:00
joBr99
6af48209e6 implement name overwrite 2023-11-20 17:27:18 +01:00
joBr99
deefe6b33a . 2023-11-20 17:25:08 +01:00
joBr99
8a1b583794 implement icon overwrite 2023-11-20 17:18:22 +01:00
joBr99
b55d2b9c06 implement topic config 2023-11-20 16:57:25 +01:00
Armilar
891230144a Merge pull request #1056 from Armilar/main
These branches can be automatically merged.
2023-11-20 16:53:38 +01:00
Armilar
58ea667430 Merge branch 'joBr99:main' into main 2023-11-20 16:52:54 +01:00
Armilar
8ba8bb6488 v4.3.3.8 - Update NsPanelTs.ts
v4.3.3.8  Add Method dayjs (Multilingualism), some Minor Fixes
2023-11-20 16:51:57 +01:00
Armilar
4062b31b7d Merge pull request #4 from Armilar/Armilar-patch-4
v4.3.3.8 - Update NsPanelTs.ts
2023-11-20 16:47:55 +01:00
Armilar
59cc0fc887 v4.3.3.8 - Update NsPanelTs.ts
v4.3.3.8  Add Method dayjs (Multilingualism), some Minor Fixes
2023-11-20 16:46:56 +01:00
joBr99
521cbabee8 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-20 16:45:56 +01:00
joBr99
f897ae9b9d Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-20 16:45:25 +01:00
joBr99
55c554910b Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-20 16:43:00 +01:00
joBr99
c61f0c4906 . 2023-11-20 16:42:43 +01:00
Armilar
336a0b61a3 Merge pull request #1055 from Armilar/main
These branches can be automatically merged.
2023-11-20 14:25:00 +01:00
Armilar
ac7ca6d621 Merge pull request #3 from Armilar/Armilar-patch-3
v4.3.3.7 - Update NsPanelTs.ts
2023-11-20 14:21:12 +01:00
Armilar
6245a8e12f v4.3.3.7 - Update NsPanelTs.ts 2023-11-20 14:18:57 +01:00
Armilar
8897ec01ec Merge pull request #1054 from Armilar/main
Able to merge.
2023-11-20 14:12:14 +01:00
Armilar
1e79f6385b Merge branch 'joBr99:main' into main 2023-11-20 14:10:26 +01:00
Armilar
8d413cabb8 Update ioBroker_NSPanel_locales.json 2023-11-20 14:02:07 +01:00
Armilar
99d013c039 Update ioBroker_NSPanel_locales.json 2023-11-20 13:59:42 +01:00
Armilar
03f65daef3 Update ioBroker_NSPanel_locales.json 2023-11-20 13:51:35 +01:00
Armilar
f86768c95b Update ioBroker_NSPanel_locales.json 2023-11-20 13:42:12 +01:00
Armilar
1a7c9abb16 Update ioBroker_NSPanel_locales_beta.json 2023-11-20 13:41:51 +01:00
Armilar
c961cf9fde Update ioBroker_NSPanel_locales_beta.json 2023-11-20 13:40:25 +01:00
Armilar
acbaa43ee6 Update ioBroker_NSPanel_locales.json 2023-11-20 13:40:01 +01:00
Armilar
cbdc6f6f77 Merge pull request #1053 from tt-tom17/AlarmPage (add nextion2text) 2023-11-20 12:00:33 +00:00
Armilar
75b6a07995 Merge pull request #1053 from tt-tom17/AlarmPage
v4.3.3.6
2023-11-20 12:53:37 +01:00
Armilar
85e6eb6f73 4.3.3.6 - Update NsPanelTs.ts 2023-11-20 12:49:42 +01:00
Thomas
c2599ed4a3 v4.3.3.6
- Add autoCreateALias to PageAlarm
- Add actionStringArray to PageAlarm
2023-11-20 12:03:27 +01:00
Thomas
0fa7e8f562 v4.3.3.x
-auto create Alais for PageAlarm
-variable String for Button on PageAlarm
2023-11-20 11:51:00 +01:00
Thomas
b1d0ad8e16 v4.3.3.x
create Alias for PageAlarm
2023-11-20 10:43:08 +01:00
Stephan Leuschner
e0762f504e Minor cleanup relating to app restart code 2023-11-19 19:24:34 -05:00
Stephan Leuschner
453537ff68 restart app on config.yml change 2023-11-19 19:18:37 -05:00
joBr99
069087c48b . 2023-11-20 00:30:34 +01:00
joBr99
19eae41c33 . 2023-11-20 00:09:45 +01:00
joBr99
202260c1d6 . 2023-11-19 23:49:58 +01:00
joBr99
067b2bd75a implement screensaver 2023-11-19 23:28:54 +01:00
joBr99
2a6643eb68 . 2023-11-19 23:14:07 +01:00
joBr99
59390cc6ec Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-19 23:12:41 +01:00
joBr99
b20ba7a761 . 2023-11-19 23:12:35 +01:00
Stephan Leuschner
039043fe5b use timeZone from panel config 2023-11-19 17:00:55 -05:00
joBr99
116153e77b implement cardPower 2023-11-19 22:08:46 +01:00
joBr99
1552374ce7 implement cardqr 2023-11-19 22:00:04 +01:00
joBr99
21acb9115d implement some more actions 2023-11-19 21:03:42 +01:00
Stephan Leuschner
64ca6b9a41 fix permission of run.sh 2023-11-19 14:55:28 -05:00
Stephan Leuschner
c05f58fb5e attempt to fix addon on real instance, outside devcontainer 2023-11-19 14:50:04 -05:00
joBr99
6fe763c3ae Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-19 20:01:36 +01:00
joBr99
2777ce56ea . 2023-11-19 20:01:23 +01:00
Stephan Leuschner
1678dadcbe if home_assistant_token is in settings the use that for external HA server 2023-11-19 13:20:45 -05:00
joBr99
9ab66b741d Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-19 19:17:23 +01:00
joBr99
13ec7b606e . 2023-11-19 19:17:16 +01:00
Johannes
e96e5821d0 Update config.yaml 2023-11-19 19:07:08 +01:00
joBr99
6df63ea67e fix callback 2023-11-19 18:50:48 +01:00
joBr99
f0c0281ac2 . 2023-11-19 18:44:06 +01:00
joBr99
b9d9fc565e Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-19 18:43:31 +01:00
joBr99
6111c3530c upd 2023-11-19 18:43:22 +01:00
Stephan Leuschner
2ba9eae7e6 improve extraction of env variables 2023-11-19 12:37:21 -05:00
joBr99
431a93a7ff . 2023-11-19 18:29:12 +01:00
joBr99
5d3e836156 fix addon startup 2023-11-19 17:29:19 +01:00
joBr99
c1234e2c16 . 2023-11-19 16:13:25 +01:00
joBr99
aaf30e3bc2 add devcontainer 2023-11-19 16:07:20 +01:00
joBr99
aa5e935499 . 2023-11-19 15:55:59 +01:00
joBr99
77e9258bd7 . 2023-11-19 15:54:46 +01:00
Johannes
6ba94f49d4 Update config.yaml 2023-11-19 15:04:37 +01:00
joBr99
264fef1142 fix docker 2023-11-19 14:59:40 +01:00
joBr99
a8be9a46c8 merge 2023-11-19 14:21:55 +01:00
joBr99
e8366d438c Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-19 14:21:43 +01:00
joBr99
c915c72ef2 fix dockerfile 2023-11-19 14:21:04 +01:00
Johannes
656ced6a2f Update config.yaml 2023-11-19 13:49:37 +01:00
joBr99
cf0739b76a move req txt 2023-11-19 13:44:14 +01:00
joBr99
8a572f2961 add python to container 2023-11-19 13:42:15 +01:00
Johannes
d7ce6421a0 Update config.yaml 2023-11-19 13:02:25 +01:00
dependabot[bot]
60a59e6c63 Bump actions/setup-python from 2 to 4 (#1049)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-19 12:50:35 +01:00
joBr99
5acaa0736d Bump stefanzweifel/git-auto-commit-action from 4 to 5 (#1048) (add nextion2text) 2023-11-19 11:50:10 +00:00
dependabot[bot]
640e7b231f Bump stefanzweifel/git-auto-commit-action from 4 to 5 (#1048)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-19 12:46:57 +01:00
dependabot[bot]
6de40d53d7 Bump actions/checkout from 2 to 4 (#1050)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-19 12:46:33 +01:00
Johannes
bdd838cadd Update config.yaml 2023-11-19 12:43:50 +01:00
joBr99
8fa3a11eb5 add initial dev version of ha addon 2023-11-19 12:40:49 +01:00
Thomas
3a1b9071f8 Update NsPanelTs.ts 2023-11-18 22:42:38 +01:00
Thomas
ed655d6596 v4.3.3.x
Create alias for Alarm Page
2023-11-18 22:36:43 +01:00
Thomas
8dc2e6cbe1 v4.3.3.x
Create Alias for PageAlarm
2023-11-18 22:18:10 +01:00
Thomas
cc21d555c5 v4.3.3.x
Create Alias for PageAlarm
2023-11-18 21:20:27 +01:00
Johannes
367bdaf8d6 Update configure_mqtt.md 2023-11-17 23:25:29 +01:00
Johannes
53042f376f Update configure_mqtt.md 2023-11-17 22:45:19 +01:00
Armilar
5d003f94e2 Merge pull request #1034 from joBr99/Armilar-patch-3
- 15.11.2023 - v4.3.3.4  New Service Page -> ioBroker Info 
- 16.11.2023 - v4.3.3.5  Add Multilingualism to Service Menu (39 languages)
- 17.11.2023 - v4.3.3.5  Add Multilingualism to cardQR, popupFan, popupTimer (39 languages)
2023-11-17 13:17:35 +01:00
Armilar
7e218b7a5a v4.3.3.5 - Update NsPanelTs.ts
v4.3.3.5  Add Multilingualism to cardQR, popupFan, popupTimer (39 languages)

Add ReleaseNotes
2023-11-17 13:10:18 +01:00
Armilar
1e1670aa22 v4.3.3.5 - Update NsPanelTs.ts
Translate cardQR, popupTimer, popupFan
2023-11-17 13:05:11 +01:00
Armilar
ab2853084a Update ioBroker_NSPanel_locales_beta.json 2023-11-17 12:53:13 +01:00
Armilar
07235ab583 Update ioBroker_NSPanel_locales.json 2023-11-17 12:52:50 +01:00
Armilar
c5e87d5fdc Update ioBroker_NSPanel_locales_service.json 2023-11-16 23:41:57 +01:00
Armilar
7a9288cd63 Update ioBroker_NSPanel_locales_service.json 2023-11-16 22:42:07 +01:00
joBr99
3347a054e0 fixes #1033 (add nextion2text) 2023-11-16 17:40:35 +00:00
joBr99
59aa703416 fixes #1033 2023-11-16 18:37:46 +01:00
Johannes
e50f068c93 fixes #1035 2023-11-16 18:32:14 +01:00
Johannes
f566031911 fixes #1035 2023-11-16 18:29:12 +01:00
Armilar
5b133483e8 Update ioBroker_NSPanel_locales_service.json 2023-11-16 15:44:30 +01:00
Armilar
f31d5090b9 Update ioBroker_NSPanel_locales_service.json 2023-11-16 14:59:13 +01:00
Armilar
9021ca7a57 v4.3.3.5 - Update NsPanelTs.ts
Add Multilingualism to Service Menu (39 languages)
2023-11-16 13:56:24 +01:00
Armilar
d891d4e5a2 Update ioBroker_NSPanel_locales_service.json 2023-11-16 13:45:21 +01:00
Armilar
dbcdf54e06 Update ioBroker_NSPanel_locales_service.json 2023-11-16 13:04:42 +01:00
Armilar
aea2b890df Update ioBroker_NSPanel_locales_service.json 2023-11-16 11:41:26 +01:00
Armilar
d66734607b Update ioBroker_NSPanel_locales_service.json 2023-11-16 11:23:09 +01:00
Armilar
c82e1673db Update ioBroker_NSPanel_locales_service.json 2023-11-16 11:11:56 +01:00
Armilar
66909990f5 Update ioBroker_NSPanel_locales_service.json 2023-11-16 01:44:46 +01:00
Armilar
138d91594d Update ioBroker_NSPanel_locales_service.json 2023-11-16 01:37:04 +01:00
Armilar
fa0f8d2a0c Update ioBroker_NSPanel_locales_service.json 2023-11-16 00:05:22 +01:00
Armilar
8f40363b2e Update ioBroker_NSPanel_locales_service.json 2023-11-16 00:04:42 +01:00
Armilar
c183840714 Create ioBroker_NSPanel_locales_service.json 2023-11-15 23:50:27 +01:00
Johannes
d24b9d08d9 Update nspanel-lovelace-ui.py 2023-11-15 23:42:19 +01:00
Armilar
eb5d62f778 v4.3.3.4 New Service Page -> ioBroker Info
Correction IoBroker --> ioBroker
2023-11-15 21:00:53 +01:00
Johannes
8eee88c9c5 Update configure_mqtt.md 2023-11-15 20:37:03 +01:00
Johannes
626e55ca65 Update prepare_ha.md 2023-11-15 20:35:59 +01:00
Armilar
a01bba76cb Merge pull request #1030 from tt-tom17/main
v4.3.3.4
2023-11-15 20:20:28 +01:00
Thomas
df6e147071 v4.3.3.4
New Service Page -> IoBroker Info
2023-11-15 19:56:16 +01:00
Johannes
6d2f028dae Update configure_mqtt.md 2023-11-15 19:33:06 +01:00
Johannes
a6807ba45b Update configure_mqtt.md 2023-11-15 19:31:05 +01:00
Johannes
10314859db Update prepare_ha.md 2023-11-15 19:25:21 +01:00
Jean Wasilewski
9e61476b06 add optional timezone parameter on screensaver time (#1027)
* add optional timezone parameter on screensaver time

Signed-off-by: Jean 'henyxia' Wasilewski <henyxia@revs0.com>

* change config name

* Update config-overview.md

* Update config-overview.md

---------

Signed-off-by: Jean 'henyxia' Wasilewski <henyxia@revs0.com>
Co-authored-by: Johannes <29555657+joBr99@users.noreply.github.com>
2023-11-14 17:43:21 +01:00
Armilar
43ab8e7922 4.3.3.3 - update NsPanelTs.ts
Change Header to 4.3.3.3
2023-11-13 09:58:28 +01:00
Armilar
ece0abc0c3 Merge pull request #1025 from joBr99/Armilar-patch-2
4.3.3.3 - Update NsPanelTs.ts
2023-11-13 09:54:12 +01:00
Armilar
0da81c4e37 4.3.3.3 - Update NsPanelTs.ts
v4.3.3.3  if setOption = false, do not create automatically Alias (Functional/Servicemenu) and Datapoints
2023-11-13 09:29:12 +01:00
Armilar
c46ea4026d Merge pull request #1024 from Armilar/main
Merge with Main
2023-11-13 09:17:54 +01:00
Armilar
03615d7b36 Merge branch 'joBr99:main' into main 2023-11-13 09:15:54 +01:00
Armilar
e6a3162ac8 Merge pull request #1023 from joBr99/Armilar-patch-1
4.3.3.2 - Update NsPanelTs.ts
2023-11-13 09:13:03 +01:00
Armilar
0c838111c8 4..3.3.2 - Update NsPanelTs.ts
Change parent/home to "Unlock_Service"
2023-11-13 08:14:48 +01:00
Armilar
412b508a6e 4.3.3.2 - Update NsPanelTs.ts
Extensions in the service menu
2023-11-13 08:12:08 +01:00
Armilar
8640e3d24e 4.3.3.2 - Update NsPanelTs.ts
Add autoCreateALias to cardUnlock
2023-11-12 22:23:17 +01:00
Armilar
3eec1f9713 Merge pull request #2 from Armilar/Armilar-patch-2
4.3.3.2 - Update NsPanelTs.ts
2023-11-12 22:19:11 +01:00
Armilar
da0dc823b8 4.3.3.2 - Update NsPanelTs.ts
Add autoCreateALias to cardUnlock
2023-11-12 22:15:54 +01:00
Armilar
d5f031b660 Merge pull request #1022 from tt-tom17/main
v4.3.3.1
2023-11-12 15:36:29 +01:00
Thomas
303ca2f691 v4.3.3.1
Fix for Issues #1020 HandleHardwareButton buttonConfig.mode -> 'toggle' and 'set'
2023-11-12 12:34:42 +01:00
Thomas
8dd18fa45b v$.3.3.1
Fix for Issues #1020 HandleHardwareButton buttonConfig.mode -> 'toggle' and 'set'
2023-11-11 18:44:16 +01:00
Armilar
7b330dd3e9 v4.3.3 - Update NsPanelTs.ts
const tft_version: string = 'v4.3.3';
2023-11-08 22:42:52 +01:00
Armilar
02aca6c23b Merge pull request #1015 from tt-tom17/main
Upgrade v4.3.3
2023-11-08 17:55:24 +01:00
Thomas
c6ccc0fb9c Upgrade v4.3.3
- Fix Issues #1013 by laluz742 -> Parameter count mismatch: screensaver color
- Upgrade TFT 53 / 4.3.3
2023-11-08 17:45:45 +01:00
Armilar
65a85f7bd8 Merge pull request #1014 from tt-tom17/main
v4.3.2.2
2023-11-07 22:09:55 +01:00
Thomas
3f8c65d654 v4.3.2.2
Fix Selection of screensaver layout (alternative / advanced)
2023-11-07 22:01:48 +01:00
Johannes
55447d724c Update pages.py 2023-11-06 00:18:01 +01:00
Johannes
ce129cd59f fix color 2023-11-05 22:33:36 +01:00
Johannes
7cef38f50e dummy implementation cardChart 2023-11-05 21:45:28 +01:00
Attila Farago
d6e5753dd2 [Feature Request] Consider using HomeAssistant API instead of MQTT (#1007)
* ha api improvements - device specific app filtering

* refactored request_berry_driver_version messaging

* improved ha api usage

* improve ha event naming
2023-11-04 22:17:22 +01:00
joBr99
0f88932669 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-04 21:36:17 +01:00
joBr99
1f4317856c change timer 2023-11-04 21:36:09 +01:00
joBr99
90f4253067 add test menu button (add nextion2text) 2023-11-04 20:34:44 +00:00
joBr99
8b44a61797 add test menu button 2023-11-04 21:30:09 +01:00
joBr99
eb1e5d2d85 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text) 2023-11-04 20:26:17 +00:00
joBr99
25d169b14e Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-11-04 21:22:10 +01:00
joBr99
db14636c58 added test site for burn in 2023-11-04 21:21:54 +01:00
Armilar
33c6ddd250 v4.3.2.1 - Update NsPanelTs.ts
Add Release Nuber
2023-10-30 21:58:32 +01:00
Armilar
1bc042d126 v4.3.2.1 - Merge pull request #1004 from Armilar/Armilar-patch-1
v4.3.2.1 - Update NsPanelTs.ts
2023-10-30 20:02:18 +01:00
Armilar
31c2372520 v4.3.2.1 - Update
- Upgrade TFT 53 / 4.3.2
- Fix formatDate/Date.parse with moment.js
2023-10-30 13:03:29 +01:00
Armilar
f7f0349f39 Merge pull request #1 from Armilar/Armilar-patch-2
v4.3.2.1 - Update
2023-10-30 12:59:12 +01:00
Armilar
34181234e1 v4.3.2.1 - Update
- Upgrade TFT 53 / 4.3.2
- Fix formatDate/Date.parse with moment.js (Bugs in JS-Methodes)
2023-10-30 12:55:56 +01:00
Armilar
cded34fbd4 v4.3.2.1 - Update NsPanelTs.ts
- Upgrade TFT 53 / 4.3.2
- Fix formatDate/Date.parse with moment.js
2023-10-30 12:41:28 +01:00
Johannes
e2223ac7a6 fixed for HA 2023.11.0b1 2023-10-28 11:38:43 +02:00
Johannes
ffcd872f4a fixes #802 2023-10-25 21:16:34 +02:00
Marek
d34a835363 small update to sk.json for preset mode (#1000) 2023-10-24 20:12:02 +02:00
Armilar
40d17f9641 v 4.3.1.7 - Merge pull request #998 from tt-tom17/main
v 4.3.1.7
2023-10-22 16:29:03 +02:00
Thomas
9eb543467b v 4.3.1.7
Fix CreateEntity (navigate) role 'light' and 'socket' and 'temperature'
2023-10-22 15:24:47 +02:00
Armilar
86594de18d v4.3.1.6 - Update NsPanelTs.ts
- Add more Alias Device-Types to Navigation (createEntity) 
- Minor Fixes
2023-10-19 10:58:31 +02:00
joBr99
14efa10683 fixes #983 (add nextion2text) 2023-10-14 14:36:49 +00:00
joBr99
7f38c6b346 fixes #983 2023-10-14 16:32:37 +02:00
Armilar
17cf7d40c5 Merge pull request #989 from tt-tom17/main
v4.3.1.5
2023-10-12 15:40:09 +02:00
Thomas
9ff8506035 v4.3.1.5
Fix Datapoint for Role timetable -> Attention use new script from TT-Tom https://github.com/tt-tom17/MyScripts/blob/main/Sonoff_NSPanel/Fahrplan_to_NSPanel.ts
2023-10-12 15:22:25 +02:00
Johannes
757ffcd129 Update README.md 2023-10-06 21:56:02 +02:00
Armilar
ac96ff595a v4.3.1.4 - Move Examples 2 Wiki
https://github.com/joBr99/nspanel-lovelace-ui/wiki/NSPanel-Page-%E2%80%90-Typen_How-2_Beispiele
2023-10-03 13:48:01 +02:00
Armilar
7c1fe558f9 Delete ioBroker/NsPanelTs_without_Examples.ts 2023-10-03 13:26:49 +02:00
Armilar
98ec0aca45 v4.3.1.4 - Remove Examples
- Moving the examples from the NSPanelTs.ts --> https://github.com/joBr99/nspanel-lovelace-ui/wiki/NSPanel-Page-%E2%80%90-Typen_How-2_Beispiele
- Delete NsPanelTs_without_Examples.ts
2023-10-03 13:24:31 +02:00
Armilar
df105a2233 v4.3.1.3 - Update BerryDriver / Service Menu Fix
v4.3.1.2  Upgrade BerryDriver v9
v4.3.1.3  Fix - Change ServivceMenu from Fake-SSId to real Tasmota-SSIdParam
 
Todo:
v4.4.0    Change the bottomScreensaverEntity (rolling) if more than 6 entries are defined
2023-09-23 21:13:52 +02:00
Armilar
a33c58941c v4.3.1.3 - Update BerryDriver / Service Menu Fix
v4.3.1.2  Upgrade BerryDriver v9
v4.3.1.3  Fix - Change ServivceMenu from Fake-SSId to real Tasmota-SSIdParam
 
Todo:
v4.4.0    Change the bottomScreensaverEntity (rolling) if more than 6 entries are defined
2023-09-23 21:13:44 +02:00
Armilar
33c0c4402f v4.3.1.3 - Update BerryDriver / Service Menu Fix
v4.3.1.2  Upgrade BerryDriver v9
v4.3.1.3  Fix - Change ServivceMenu from Fake-SSId to real Tasmota-SSIdParam
 
Todo:
v4.4.0    Change the bottomScreensaverEntity (rolling) if more than 6 entries are defined
2023-09-23 21:09:03 +02:00
Armilar
1529115fb5 v4.3.1.3 - Update BerryDriver / Service Menu Fix
v4.3.1.2  Upgrade BerryDriver v9
v4.3.1.3  Fix - Change ServivceMenu from Fake-SSId to real Tasmota-SSIdParam
 
Todo:
v4.4.0    Change the bottomScreensaverEntity (rolling) if more than 6 entries are defined
2023-09-23 21:08:27 +02:00
Armilar
210b90ff8f v4.3.1.2 Upgrade BerryDriver v9
- 23.09.2023 - v4.3.1.2  Upgrade BerryDriver v9
2023-09-23 13:46:58 +02:00
Armilar
e9a69651d7 v4.3.1.2 Upgrade BerryDriver v9
- 23.09.2023 - v4.3.1.2  Upgrade BerryDriver v9
2023-09-23 13:46:52 +02:00
Johannes
e576af72b7 Update prepare_nspanel.md 2023-09-18 22:55:54 +02:00
joBr99
e5e88e3a5e Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-09-18 18:07:36 +02:00
joBr99
957cde8384 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-09-18 18:07:16 +02:00
joBr99
ddc8818aae Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-09-18 18:03:15 +02:00
joBr99
252339d36c update tasmota driver #972 2023-09-18 18:02:59 +02:00
Armilar
0803dd5214 v4.3.1.1
v4.2.1.6  Fix ServicePage Dimmode 'next' -> 'home'
v4.2.1.6  Fix Log '.USERICON' to Debug.log
v4.2.1.6  Fix Link PowerIcon to Alias (Thermocard)
v4.3.1    Upgrade TFT 53 / 4.3.1
v4.3.1.1  Add Parameter fontSize (0-4) to cardGrid (with useValue)
2023-09-17 13:36:34 +02:00
Armilar
586af0aac3 v4.3.1.1
v4.2.1.6  Fix ServicePage Dimmode 'next' -> 'home'
v4.2.1.6  Fix Log '.USERICON' to Debug.log
v4.2.1.6  Fix Link PowerIcon to Alias (Thermocard)
v4.3.1    Upgrade TFT 53 / 4.3.1
v4.3.1.1  Add Parameter fontSize (0-4) to cardGrid (with useValue)
2023-09-17 13:36:28 +02:00
Armilar
65032dc3a0 Merge branch 'main' into main 2023-09-17 13:25:26 +02:00
Armilar
a6c617fc44 Merge pull request #976 from tt-tom17/main
v4.2.1.6
2023-09-17 10:22:59 +02:00
Johannes
13b17dab00 bump version 2023-09-16 13:34:09 +02:00
Johannes
4600458da3 Update entities.md 2023-09-16 13:28:56 +02:00
joBr99
67bc1533bf bump tft version (add nextion2text) 2023-09-16 10:55:25 +00:00
joBr99
e5f5546352 bump tft version 2023-09-16 12:51:46 +02:00
Johannes
40896473b2 Update pages.py 2023-09-16 12:43:51 +02:00
Johannes
83e820d037 Update pages.py 2023-09-16 12:39:31 +02:00
Johannes
fb8a1003f9 Update config.py 2023-09-16 12:25:30 +02:00
Thomas
f0a3a04edb v4.2.1.6
- Fix ServicePage Dimmode 'next' -> 'home'
- Fix Log '.USERICON' to Debug.log
- Fix Link PowerIcon to Alias (Thermocard)
2023-09-15 19:20:53 +02:00
Armilar
df8e913831 Merge branch 'joBr99:main' into main 2023-09-14 23:35:36 +02:00
Armilar
1eef2bc96f Merge pull request #973 from tt-tom17/main
v4.2.1.5
2023-09-04 13:14:54 +02:00
Thomas
015d9c29c7 v4.2.1.5
- Fix Debug with 0_userdata.0
- Add minValue/maxValue to Blinds
2023-09-04 10:42:15 +02:00
Armilar
164467d435 v4.2.1.4 - Update NsPanelTs.ts
- 01.09.2023 - v4.2.1.4  Fix iconId2 in Alias door/window
- 02.09.2023 - v4.2.1.4  Add dynamically USERICON to Alias info

        Todo
        - XX.XX.XXXX - v4.3.0    Fix Debug with 0_userdata.0... 
        - XX.XX.XXXX - v4.3.0    Add minValue/maxValue to Blinds

        Next Release with TFT DEV (always implemented)
        - 25.08.2023 - v4.3.0    Add Parameter fontSize (0-4) to cardGrid (with useValue)
2023-09-02 12:46:35 +02:00
Armilar
e8e8b0fc29 v4.2.1.4 - Update NsPanelTs_without_Examples.ts
- 01.09.2023 - v4.2.1.4  Fix iconId2 in Alias door/window
- 02.09.2023 - v4.2.1.4  Add dynamically USERICON to Alias info

        Todo
        - XX.XX.XXXX - v4.3.0    Fix Debug with 0_userdata.0... 
        - XX.XX.XXXX - v4.3.0    Add minValue/maxValue to Blinds

        Next Release with TFT DEV (always implemented)
        - 25.08.2023 - v4.3.0    Add Parameter fontSize (0-4) to cardGrid (with useValue)
2023-09-02 12:46:29 +02:00
Armilar
d78a6c4ed7 Merge branch 'joBr99:main' into main 2023-08-27 21:35:48 +02:00
Armilar
b95b35f10c v4.2.1.3 - Add MQTT-Portcheck + Support Menu Item
- Add MQTT-Port-Check (use with exec) --> function CheckMQTTPorts()
- Add MQTT-Port-Check for ServiceMenu
2023-08-27 20:53:26 +02:00
Armilar
7d52df1f11 v4.2.1.3 - Add MQTT-Portcheck + Support Menu Item
- Add MQTT-Port-Check (use with exec) --> function CheckMQTTPorts()
- Add MQTT-Port-Check for ServiceMenu
2023-08-27 20:53:19 +02:00
Armilar
cb542f1e77 v4.2.1.2 - New pageItem-Parameter fontSize (add nextion2text) 2023-08-25 12:36:47 +00:00
Armilar
ff2208a646 v4.2.1.2 - New pageItem-Parameter fontSize
Use with DEV-Version
FlashNextion http://nspanel.pky.eu/lui.tft
2023-08-25 10:49:45 +02:00
Armilar
205f45ba48 v4.2.1.2 - New pageItem-Parameter fontSize
Use with DEV-Version
FlashNextion http://nspanel.pky.eu/lui.tft
2023-08-25 10:49:39 +02:00
joBr99
1712098f61 sync (add nextion2text) 2023-08-24 14:50:22 +00:00
joBr99
84585499d5 sync 2023-08-24 16:45:45 +02:00
joBr99
1a4f7a7754 Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text) 2023-08-24 14:39:55 +00:00
joBr99
632663cd9f Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui 2023-08-24 16:35:29 +02:00
joBr99
059619a636 implement way to change icon font changes on entities 2023-08-24 16:35:21 +02:00
Armilar
49352c7ca0 v4.2.1.1 - Add WINDOWOPEN to cardThermo (Thermostat)
Add WINDOWOPEN to cardThermo (Thermostat)
2023-08-24 09:51:08 +02:00
Armilar
a44573cfc9 v4.2.1.1 - Add WINDOWOPEN to cardThermo (Thermostat)
Add WINDOWOPEN to cardThermo (Thermostat)
2023-08-24 09:50:59 +02:00
265 changed files with 217739 additions and 14846 deletions

26
.devcontainer.json Normal file
View File

@@ -0,0 +1,26 @@
{
"name": "NSPanel Lovelace UI Home Assistant add-on repository",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"appPort": ["7123:8123", "7357:4357"],
"postCreateCommand": "apt install -y python3 python3-pip && pip install -r nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/requirements.txt --break-system-packages",
"postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"remoteUser":"root",
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"extensions": ["timonwong.shellcheck", "esbenp.prettier-vscode"],
"mounts": ["type=volume,target=/var/lib/docker"],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}

7
.github/dependabot.yaml vendored Normal file
View File

@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
time: "06:00"

111
.github/workflows/builder.yaml vendored Normal file
View File

@@ -0,0 +1,111 @@
name: Builder
env:
BUILD_ARGS: "--test"
MONITORED_FILES: "build.yaml config.yaml Dockerfile rootfs"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
init:
runs-on: ubuntu-latest
name: Initialize builds
outputs:
changed_addons: ${{ steps.changed_addons.outputs.addons }}
changed: ${{ steps.changed_addons.outputs.changed }}
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Get changed files
id: changed_files
uses: jitterbit/get-changed-files@v1
- name: Find add-on directories
id: addons
uses: home-assistant/actions/helpers/find-addons@master
- name: Get changed add-ons
id: changed_addons
run: |
declare -a changed_addons
for addon in ${{ steps.addons.outputs.addons }}; do
if [[ "${{ steps.changed_files.outputs.all }}" =~ $addon ]]; then
for file in ${{ env.MONITORED_FILES }}; do
if [[ "${{ steps.changed_files.outputs.all }}" =~ $addon/$file ]]; then
if [[ ! "${changed_addons[@]}" =~ $addon ]]; then
changed_addons+=("\"${addon}\",");
fi
fi
done
fi
done
changed=$(echo ${changed_addons[@]} | rev | cut -c 2- | rev)
if [[ -n ${changed} ]]; then
echo "Changed add-ons: $changed";
echo "changed=true" >> $GITHUB_OUTPUT;
echo "addons=[$changed]" >> $GITHUB_OUTPUT;
else
echo "No add-on had any monitored files changed (${{ env.MONITORED_FILES }})";
fi
build:
needs: init
runs-on: ubuntu-latest
if: needs.init.outputs.changed == 'true'
name: Build ${{ matrix.arch }} ${{ matrix.addon }} add-on
strategy:
matrix:
addon: ${{ fromJson(needs.init.outputs.changed_addons) }}
arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Get information
id: info
uses: home-assistant/actions/helpers/info@master
with:
path: "./${{ matrix.addon }}"
- name: Check if add-on should be built
id: check
run: |
if [[ "${{ steps.info.outputs.architectures }}" =~ ${{ matrix.arch }} ]]; then
echo "build_arch=true" >> $GITHUB_OUTPUT;
echo "image=$(echo ${{ steps.info.outputs.image }} | cut -d'/' -f3)" >> $GITHUB_OUTPUT;
if [[ -z "${{ github.head_ref }}" ]] && [[ "${{ github.event_name }}" == "push" ]]; then
echo "BUILD_ARGS=" >> $GITHUB_ENV;
fi
else
echo "${{ matrix.arch }} is not a valid arch for ${{ matrix.addon }}, skipping build";
echo "build_arch=false" >> $GITHUB_OUTPUT;
fi
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2023.09.0
with:
args: |
${{ env.BUILD_ARGS }} \
--${{ matrix.arch }} \
--target /data/${{ matrix.addon }} \
--image "${{ steps.check.outputs.image }}" \
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
--addon

View File

@@ -43,7 +43,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View File

@@ -15,10 +15,21 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocs-video markdown-include
- run: pip install mkdocs-material mkdocs-video markdown-include mike
- run: cp HMI/README.md docs/hmi-serial-protocol.md
- run: mkdocs gh-deploy --force
#- run: mkdocs gh-deploy --force
- run: git config --global user.name Docs deploy
- run: git config --global user.email docs@dummy.bot.com
- run: mike deploy --push --update-aliases dev

View File

@@ -11,7 +11,7 @@ jobs:
name: HACS Action
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v4"
- name: HACS Action
uses: "hacs/action@main"
with:

View File

@@ -18,7 +18,7 @@ jobs:
gen-ioBroker-localization:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
@@ -28,7 +28,7 @@ jobs:
python HMI/code_gen/localization/iobroker.py
mv ioBroker_NSPanel_locales.json ioBroker/ioBroker_NSPanel_locales.json
- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update iobroker localization file
#file_pattern: "**.txt"

41
.github/workflows/lint.yaml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * *"
jobs:
find:
name: Find add-ons
runs-on: ubuntu-latest
outputs:
addons: ${{ steps.addons.outputs.addons_list }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4
- name: 🔍 Find add-on directories
id: addons
uses: home-assistant/actions/helpers/find-addons@master
lint:
name: Lint add-on ${{ matrix.path }}
runs-on: ubuntu-latest
needs: find
strategy:
matrix:
path: ${{ fromJson(needs.find.outputs.addons) }}
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4
- name: 🚀 Run Home Assistant Add-on Lint
uses: frenck/action-addon-linter@v2.15
with:
path: "./${{ matrix.path }}"

View File

@@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
@@ -80,7 +80,7 @@ jobs:
find -name "**.txt"
rm Nextion2Text.py* ignore-id.py out.txt
- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: ${{ steps.last-commit-message.outputs.msg }} (add nextion2text)
#file_pattern: "**.txt"

3
.gitignore vendored
View File

@@ -2,5 +2,8 @@ __pycache__/
# don't add nextion2text
HMI/Nextion2Text.py
# dont add panels.yaml
panels.yaml
# don't add Webstorm project stuff
.idea

17
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "main.py",
"cwd": "/workspaces/nspanel-lovelace-ui/nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager",
"console": "integratedTerminal",
"justMyCode": true
}
]
}

19
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,19 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Start Home Assistant",
"type": "shell",
"command": "supervisor_run",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}

View File

@@ -1,5 +1,17 @@
--- HMI/n2t-out
+++ HMI/US/landscape/n2t-out
├── file list
│ @@ -1,10 +1,9 @@
│ Program.s.txt
│ cardAlarm.txt
│ -cardBurnRec.txt
│ cardChart.txt
│ cardEntities.txt
│ cardGrid.txt
│ cardGrid2.txt
│ cardLChart.txt
│ cardMedia.txt
│ cardPower.txt
│ --- HMI/n2t-out/Program.s.txt
├── +++ HMI/US/landscape/n2t-out/Program.s.txt
│ @@ -13,10 +13,10 @@
@@ -14,6 +26,75 @@
│ + //lcd_dev fffb 0002 0000 0020
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
│ page pageStartup
│ --- HMI/n2t-out/cardEntities.txt
├── +++ HMI/US/landscape/n2t-out/cardEntities.txt
│ @@ -20,15 +20,14 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
│ prints sys0,2
│ prints tSend.txt,0
│ prints crcval,2
│ dim=dimValueNormal
│ - dim=dimValueNormal
│ //wup=cardEntities
│ //remove background & activate reparse mode
│ vis p0,0
│ recmod=1
│ baud=115200
│ //debug stuff
│ vis tTmp,0
│ --- HMI/n2t-out/cardThermo.txt
├── +++ HMI/US/landscape/n2t-out/cardThermo.txt
│ @@ -28,14 +28,19 @@
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis xTempMin1,0
│ vis xTempMax1,0
│ vis xTempStep1,0
│ + vis xTempDest,0
│ + vis btUp,0
│ + vis btDown,0
│ + vis tCF,0
│ + vis btDetail,0
│ //tEntity.txt=tHeading.txt
│ // disable all buttons
│ vis bt0,0
│ vis bt1,0
│ vis bt2,0
│ vis bt3,0
│ vis bt4,0
│ @@ -1014,14 +1019,28 @@
│ vis xTempDest1,1
│ vis btDown1,1
│ vis tCF1,1
│ vis bUp2,1
│ vis xTempDest2,1
│ vis bDown2,1
│ vis tCF2,1
│ + }else
│ + {
│ + vis btUp,1
│ + vis xTempDest,1
│ + vis btDown,1
│ + vis tCF,1
│ + vis btUp1,0
│ + vis xTempDest1,0
│ + vis btDown1,0
│ + vis tCF1,0
│ + vis bUp2,0
│ + vis xTempDest2,0
│ + vis bDown2,0
│ + vis tCF2,0
│ }
│ //Show btDetail
│ spstr strCommand.txt,tTmp.txt,"~",58
│ if(tTmp.txt!="1")
│ {
│ vis btDetail,1
│ }else
│ --- HMI/n2t-out/pageStartup.txt
├── +++ HMI/US/landscape/n2t-out/pageStartup.txt
│ @@ -164,15 +164,15 @@
@@ -33,30 +114,25 @@
│ crcputs sys0,2
│ crcputs tSend.txt,0
│ //send cmd
│ @@ -275,20 +275,14 @@
│ }
│ // get font color
│ spstr strCommand.txt,tTmp.txt,"~",4
│ if(tTmp.txt!="")
│ {
│ covx tTmp.txt,defaultFontColor,0,0
│ }
│ - // get feature flag popup
│ - spstr strCommand.txt,tTmp.txt,"~",5
│ - if(tTmp.txt!="")
│ - {
│ - covx tTmp.txt,featNewSliders,0,0
│ - }
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ }
│ --- HMI/n2t-out/screensaver.txt
├── +++ HMI/US/landscape/n2t-out/screensaver.txt
│ @@ -28,17 +28,14 @@
│ @@ -19,15 +19,14 @@
│ crcputs sys0,2
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
│ prints sys0,2
│ prints tSend.txt,0
│ prints crcval,2
│ - dim=dimValueNormal
│ recmod=1
│ baud=115200
│ vis tInstruction,0
│ vis tTmp,0
│ vis p0,0
│ vis tNotifyHead,0
│ vis tNotifyText,0
│ @@ -41,17 +40,14 @@
│ }
│ tDate.txt=pageIcons.vaDate.txt
│ dim=dimValue
@@ -74,7 +150,7 @@
│ Max. Text Size: 600
│ Variable (string) strTmp
│ @@ -102,34 +99,14 @@
│ @@ -115,34 +111,14 @@
│ Value: 0
│ Variable (int32) ycR
@@ -109,9 +185,43 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text : |
│ @@ -485,17 +461,14 @@
│ //get set time to global variable
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
│ if(tAMPM.txt=="")
│ {
│ vis tAMPM,0
│ - }else
│ - {
│ - vis tAMPM,1
│ }
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
│ ref tIcon1
│ ref tIcon2
│ }
│ if(tInstruction.txt=="date")
│ {
│ --- HMI/n2t-out/screensaver2.txt
├── +++ HMI/US/landscape/n2t-out/screensaver2.txt
│ @@ -28,17 +28,14 @@
│ @@ -19,15 +19,14 @@
│ crcputs sys0,2
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
│ prints sys0,2
│ prints tSend.txt,0
│ prints crcval,2
│ - dim=dimValueNormal
│ recmod=1
│ baud=115200
│ vis tInstruction,0
│ vis tTmp,0
│ vis p0,0
│ vis tNotifyHead,0
│ vis tNotifyText,0
│ @@ -41,17 +40,14 @@
│ }
│ tDate.txt=pageIcons.vaDate.txt
│ dim=dimValue
@@ -129,7 +239,7 @@
│ Max. Text Size: 1979
│ Variable (string) strTmp
│ @@ -363,34 +360,14 @@
│ @@ -376,34 +372,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -164,7 +274,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text : PM
│ @@ -572,15 +549,14 @@
│ @@ -585,15 +561,14 @@
│ if(tTmp.txt!="")
│ {
│ covx tTmp.txt,defaultFontColor,0,0

View File

@@ -19,6 +19,18 @@ Page cardAlarm
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardEntities
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode

View File

@@ -19,6 +19,18 @@ Page cardGrid
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -1167,6 +1179,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1188,6 +1211,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1209,6 +1243,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1230,6 +1275,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1251,6 +1307,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1272,6 +1339,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47

View File

@@ -19,6 +19,18 @@ Page cardGrid2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -1389,6 +1401,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1410,6 +1433,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1431,6 +1465,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1452,6 +1497,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1473,6 +1529,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1494,6 +1561,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -1515,6 +1593,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1536,6 +1625,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59
@@ -1622,6 +1722,10 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -19,6 +19,18 @@ Page cardLChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardMedia
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -1485,6 +1497,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1506,6 +1529,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1527,6 +1561,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1548,6 +1593,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1569,6 +1625,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1590,6 +1657,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0

View File

@@ -19,6 +19,18 @@ Page cardPower
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardQR
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardThermo
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -28,6 +40,11 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempDest,0
vis btUp,0
vis btDown,0
vis tCF,0
vis btDetail,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -1730,6 +1747,20 @@ Timer tmSerial
vis xTempDest2,1
vis bDown2,1
vis tCF2,1
}else
{
vis btUp,1
vis xTempDest,1
vis btDown,1
vis tCF,1
vis btUp1,0
vis xTempDest1,0
vis btDown1,0
vis tCF1,0
vis bUp2,0
vis xTempDest2,0
vis bDown2,0
vis tCF2,0
}
//Show btDetail
spstr strCommand.txt,tTmp.txt,"~",58

View File

@@ -10,18 +10,18 @@ pageIcons
7 Component(s)
0 Line(s) of event code
0 Unique line(s) of event code
pageStartup
20 Component(s)
198 Line(s) of event code
137 Unique line(s) of event code
popupTimer
42 Component(s)
516 Line(s) of event code
257 Unique line(s) of event code
pageStartup
20 Component(s)
193 Line(s) of event code
135 Unique line(s) of event code
cardChart
cardLChart
33 Component(s)
437 Line(s) of event code
296 Unique line(s) of event code
412 Line(s) of event code
267 Unique line(s) of event code
popupInSel
34 Component(s)
621 Line(s) of event code
@@ -42,61 +42,61 @@ popupFan
27 Component(s)
355 Line(s) of event code
206 Unique line(s) of event code
cardChart
33 Component(s)
447 Line(s) of event code
297 Unique line(s) of event code
cardQR
34 Component(s)
410 Line(s) of event code
238 Unique line(s) of event code
cardAlarm
43 Component(s)
500 Line(s) of event code
273 Unique line(s) of event code
420 Line(s) of event code
239 Unique line(s) of event code
popupLightNew
23 Component(s)
412 Line(s) of event code
209 Unique line(s) of event code
screensaver
46 Component(s)
435 Line(s) of event code
309 Unique line(s) of event code
cardPower
54 Component(s)
531 Line(s) of event code
349 Unique line(s) of event code
cardLChart
33 Component(s)
402 Line(s) of event code
266 Unique line(s) of event code
screensaver2
58 Component(s)
362 Line(s) of event code
248 Unique line(s) of event code
cardThermo
57 Component(s)
540 Line(s) of event code
319 Unique line(s) of event code
569 Line(s) of event code
337 Unique line(s) of event code
cardAlarm
43 Component(s)
510 Line(s) of event code
274 Unique line(s) of event code
cardMedia
59 Component(s)
649 Line(s) of event code
322 Unique line(s) of event code
cardGrid2
52 Component(s)
617 Line(s) of event code
338 Unique line(s) of event code
713 Line(s) of event code
357 Unique line(s) of event code
screensaver
46 Component(s)
445 Line(s) of event code
310 Unique line(s) of event code
popupLight
28 Component(s)
412 Line(s) of event code
227 Unique line(s) of event code
cardGrid
44 Component(s)
529 Line(s) of event code
298 Unique line(s) of event code
593 Line(s) of event code
333 Unique line(s) of event code
cardPower
54 Component(s)
541 Line(s) of event code
350 Unique line(s) of event code
cardGrid2
52 Component(s)
703 Line(s) of event code
385 Unique line(s) of event code
cardEntities
67 Component(s)
1194 Line(s) of event code
535 Unique line(s) of event code
screensaver2
58 Component(s)
352 Line(s) of event code
247 Unique line(s) of event code
1204 Line(s) of event code
536 Unique line(s) of event code
Total
23 Page(s)
875 Component(s)
10379 Line(s) of event code
2407 Unique line(s) of event code
10707 Line(s) of event code
2466 Unique line(s) of event code

View File

@@ -396,7 +396,7 @@ Text tVersion
Horizontal Alignment: center
Vertical Alignment : center
Input Type : character
Text : 52
Text : 53
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
@@ -575,6 +575,12 @@ Timer tmSerial
{
covx tTmp.txt,defaultFontColor,0,0
}
// get feature flag popup
spstr strCommand.txt,tTmp.txt,"~",5
if(tTmp.txt!="")
{
covx tTmp.txt,featNewSliders,0,0
}
}
if(tInstruction.txt=="timeout")
{

View File

@@ -19,6 +19,18 @@ Page screensaver
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
recmod=1
baud=115200
vis tInstruction,0

View File

@@ -19,6 +19,18 @@ Page screensaver2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
recmod=1
baud=115200
vis tInstruction,0

View File

@@ -11,6 +11,18 @@ Page cardAlarm
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardEntities
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode

View File

@@ -11,6 +11,18 @@ Page cardGrid
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -719,6 +731,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -740,6 +763,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -761,6 +795,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -782,6 +827,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -803,6 +859,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -824,6 +891,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47

View File

@@ -11,6 +11,18 @@ Page cardGrid2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -853,6 +865,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -874,6 +897,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -895,6 +929,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -916,6 +961,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -937,6 +993,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -958,6 +1025,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -979,6 +1057,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1000,6 +1089,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59
@@ -1086,6 +1186,10 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -11,6 +11,18 @@ Page cardLChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardMedia
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -997,6 +1009,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1018,6 +1041,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1039,6 +1073,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1060,6 +1105,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1081,6 +1137,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1102,6 +1169,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0

View File

@@ -11,6 +11,18 @@ Page cardPower
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardQR
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardThermo
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -20,6 +32,11 @@ Page cardThermo
vis xTempMin1,0
vis xTempMax1,0
vis xTempStep1,0
vis xTempDest,0
vis btUp,0
vis btDown,0
vis tCF,0
vis btDetail,0
//tEntity.txt=tHeading.txt
// disable all buttons
vis bt0,0
@@ -1006,6 +1023,20 @@ Timer tmSerial
vis xTempDest2,1
vis bDown2,1
vis tCF2,1
}else
{
vis btUp,1
vis xTempDest,1
vis btDown,1
vis tCF,1
vis btUp1,0
vis xTempDest1,0
vis btDown1,0
vis tCF1,0
vis bUp2,0
vis xTempDest2,0
vis bDown2,0
vis tCF2,0
}
//Show btDetail
spstr strCommand.txt,tTmp.txt,"~",58

View File

@@ -145,7 +145,7 @@ Text tVersion
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 52
Text : 53
Max. Text Size : 10
Picture p0
@@ -279,6 +279,12 @@ Timer tmSerial
{
covx tTmp.txt,defaultFontColor,0,0
}
// get feature flag popup
spstr strCommand.txt,tTmp.txt,"~",5
if(tTmp.txt!="")
{
covx tTmp.txt,featNewSliders,0,0
}
}
if(tInstruction.txt=="timeout")
{

View File

@@ -11,6 +11,18 @@ Page screensaver
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
recmod=1
baud=115200
vis tInstruction,0

View File

@@ -11,6 +11,18 @@ Page screensaver2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
recmod=1
baud=115200
vis tInstruction,0

Binary file not shown.

Binary file not shown.

View File

@@ -1,5 +1,17 @@
--- HMI/n2t-out
+++ HMI/US/portrait/n2t-out
├── file list
│ @@ -1,10 +1,9 @@
│ Program.s.txt
│ cardAlarm.txt
│ -cardBurnRec.txt
│ cardChart.txt
│ cardEntities.txt
│ cardGrid.txt
│ cardGrid2.txt
│ cardLChart.txt
│ cardMedia.txt
│ cardPower.txt
│ --- HMI/n2t-out/Program.s.txt
├── +++ HMI/US/portrait/n2t-out/Program.s.txt
│ @@ -12,11 +12,11 @@
@@ -16,9 +28,95 @@
│ + //lcd_dev fffb 0002 0000 0020
│ printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
│ page pageStartup
│ --- HMI/n2t-out/cardAlarm.txt
├── +++ HMI/US/portrait/n2t-out/cardAlarm.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis arm1,0
│ --- HMI/n2t-out/cardChart.txt
├── +++ HMI/US/portrait/n2t-out/cardChart.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis bPrev,0
│ --- HMI/n2t-out/cardEntities.txt
├── +++ HMI/US/portrait/n2t-out/cardEntities.txt
│ @@ -60,16 +60,36 @@
│ @@ -7,27 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ - dim=dimValueNormal
│ dim=dimValueNormal
│ //wup=cardEntities
│ //remove background & activate reparse mode
│ vis p0,0
│ recmod=1
│ baud=115200
│ //debug stuff
│ @@ -73,16 +60,36 @@
│ vis tIcon4,0
│ vis tEntity4,0
│ vis bText4,0
@@ -56,7 +154,7 @@
│ b[sys0].pco=defaultFontColor
│ }
│ if(b[sys0].type==53&&defaultBcoColor==0)
│ @@ -85,45 +105,57 @@
│ @@ -98,45 +105,57 @@
│ }
│ }
@@ -120,7 +218,7 @@
│ Text :
│ Max. Text Size: 500
│ @@ -153,14 +185,26 @@
│ @@ -166,14 +185,26 @@
│ Variable (string) type4
│ Attributes
@@ -147,7 +245,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Value : 0
│ @@ -185,14 +229,30 @@
│ @@ -198,14 +229,30 @@
│ Attributes
│ Scope : local
│ Dragging : 0
@@ -178,7 +276,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text : tEntity1
│ @@ -221,14 +281,32 @@
│ @@ -234,14 +281,32 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -211,7 +309,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -266,14 +344,32 @@
│ @@ -279,14 +344,32 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -244,7 +342,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -407,14 +503,68 @@
│ @@ -420,14 +503,68 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -313,7 +411,7 @@
│ Send Component ID: disabled
│ State : unpressed
│ Text : 
│ @@ -503,14 +653,62 @@
│ @@ -516,14 +653,62 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -376,7 +474,7 @@
│ Send Component ID: disabled
│ State : unpressed
│ Text : 
│ @@ -647,14 +845,62 @@
│ @@ -660,14 +845,62 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -439,7 +537,7 @@
│ Send Component ID: disabled
│ State : unpressed
│ Text :
│ @@ -743,14 +989,62 @@
│ @@ -756,14 +989,62 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -502,7 +600,7 @@
│ Send Component ID: disabled
│ State : unpressed
│ Text : 
│ @@ -839,14 +1133,62 @@
│ @@ -852,14 +1133,62 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -565,7 +663,7 @@
│ Send Component ID: disabled
│ State : unpressed
│ Text :
│ @@ -943,14 +1285,66 @@
│ @@ -956,14 +1285,66 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -632,7 +730,7 @@
│ Send Component ID: disabled
│ Events
│ @@ -1099,14 +1493,92 @@
│ @@ -1112,14 +1493,92 @@
│ page popupInSel
│ }
│ if(type4.txt=="timer")
@@ -725,7 +823,7 @@
│ Send Component ID: disabled
│ Events
│ @@ -1830,14 +2302,312 @@
│ @@ -1843,14 +2302,312 @@
│ covx tTmp.txt,sys0,0,0
│ hSlider4.minval=sys0
│ //third value is max value
@@ -1038,9 +1136,65 @@
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ --- HMI/n2t-out/cardGrid.txt
├── +++ HMI/US/portrait/n2t-out/cardGrid.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ //remove background & activate reparse mode
│ vis p0,0
│ recmod=1
│ baud=115200
│ //debug stuff
│ vis tTmp,0
│ --- HMI/n2t-out/cardGrid2.txt
├── +++ HMI/US/portrait/n2t-out/cardGrid2.txt
│ @@ -25,26 +25,28 @@
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ //remove background & activate reparse mode
│ vis p0,0
│ recmod=1
│ baud=115200
│ //debug stuff
│ vis tTmp,0
│ @@ -37,26 +25,28 @@
│ vis bEntity2,0
│ vis bEntity3,0
│ vis bEntity4,0
@@ -1070,7 +1224,7 @@
│ b[sys0].pco=defaultFontColor
│ }
│ }
│ @@ -93,14 +95,20 @@
│ @@ -105,14 +95,20 @@
│ Variable (string) entn8
│ Attributes
@@ -1091,7 +1245,7 @@
│ Max. Text Size: 80
│ Variable (string) nent2
│ @@ -165,14 +173,20 @@
│ @@ -177,14 +173,20 @@
│ Variable (string) type8
│ Attributes
@@ -1112,7 +1266,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text : tEntity1
│ @@ -237,14 +251,23 @@
│ @@ -249,14 +251,23 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1136,7 +1290,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -631,14 +654,58 @@
│ @@ -643,14 +654,58 @@
│ crcputs tSend.txt,0
│ //send cmd
│ printh 55 bb
@@ -1195,7 +1349,7 @@
│ Send Component ID: disabled
│ State : unpressed
│ Text : 
│ @@ -1005,14 +1072,35 @@
│ @@ -1105,14 +1160,46 @@
│ spstr strCommand.txt,tTmp.txt,"~",59
│ covx tTmp.txt,sys0,0,0
│ bEntity8.pco=sys0
@@ -1215,6 +1369,17 @@
│ + {
│ + // change icon
│ + spstr strCommand.txt,bEntity9.txt,"~",64
│ + // way to get force font adjustment
│ + strlen bEntity9.txt,sys0
│ + //check 2nd last char for ¬
│ + substr bEntity9.txt,tTmp.txt,sys0-2,1
│ + if(tTmp.txt=="¬")
│ + {
│ + substr bEntity9.txt,tTmp.txt,sys0-1,1
│ + covx tTmp.txt,sys1,0,0
│ + bEntity9.font=sys1
│ + substr bEntity9.txt,bEntity9.txt,0,sys0-2
│ + }
│ + vis bEntity9,1
│ + // change icon color
│ + spstr strCommand.txt,tTmp.txt,"~",65
@@ -1231,9 +1396,94 @@
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ --- HMI/n2t-out/cardLChart.txt
├── +++ HMI/US/portrait/n2t-out/cardLChart.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis bPrev,0
│ --- HMI/n2t-out/cardMedia.txt
├── +++ HMI/US/portrait/n2t-out/cardMedia.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis t5,0
│ --- HMI/n2t-out/cardPower.txt
├── +++ HMI/US/portrait/n2t-out/cardPower.txt
│ @@ -45,16 +45,16 @@
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis bPrev,0
│ @@ -57,16 +45,16 @@
│ b[sys0].bco=defaultBcoColor
│ b[sys0].pco=defaultFontColor
│ }
@@ -1252,7 +1502,7 @@
│ Variable (string) nent1
│ Attributes
│ @@ -75,39 +75,75 @@
│ @@ -87,39 +75,75 @@
│ Max. Text Size: 1000
│ Variable (int32) t0Speed
@@ -1328,7 +1578,7 @@
│ Max. Text Size: 20
│ Variable (string) tInstruction
│ @@ -133,23 +169,14 @@
│ @@ -145,23 +169,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1352,7 +1602,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -169,23 +196,14 @@
│ @@ -181,23 +196,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1376,7 +1626,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -196,23 +214,14 @@
│ @@ -208,23 +214,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1400,7 +1650,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -223,23 +232,14 @@
│ @@ -235,23 +232,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1424,7 +1674,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -250,23 +250,14 @@
│ @@ -262,23 +250,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1448,7 +1698,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -277,23 +268,14 @@
│ @@ -289,23 +268,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1472,7 +1722,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text :
│ @@ -498,85 +480,79 @@
│ @@ -510,85 +480,79 @@
│ h0.val=h0.minval
│ }
│ if(sys0<h0.minval)
@@ -1558,7 +1808,7 @@
│ Scope : local
│ Period (ms): 50
│ Enabled : yes
│ @@ -962,15 +938,15 @@
│ @@ -974,15 +938,15 @@
│ }
│ if(tId.txt=="cardChart")
│ {
@@ -1575,6 +1825,64 @@
│ // get set time to global variable
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ }
│ --- HMI/n2t-out/cardQR.txt
├── +++ HMI/US/portrait/n2t-out/cardQR.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis bPrev,0
│ --- HMI/n2t-out/cardThermo.txt
├── +++ HMI/US/portrait/n2t-out/cardThermo.txt
│ @@ -7,26 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ dim=dimValueNormal
│ vis p0,0
│ vis tSend,0
│ vis tInstruction,0
│ vis tTmp,0
│ vis tId,0
│ vis xTempMin1,0
│ --- HMI/n2t-out/pageStartup.txt
├── +++ HMI/US/portrait/n2t-out/pageStartup.txt
│ @@ -34,20 +34,14 @@
@@ -1710,7 +2018,35 @@
│ {
│ --- HMI/n2t-out/screensaver.txt
├── +++ HMI/US/portrait/n2t-out/screensaver.txt
│ @@ -28,17 +28,14 @@
│ @@ -7,27 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ - dim=dimValueNormal
│ recmod=1
│ baud=115200
│ vis tInstruction,0
│ vis tTmp,0
│ vis p0,0
│ vis tNotifyHead,0
│ vis tNotifyText,0
│ @@ -41,17 +28,14 @@
│ }
│ tDate.txt=pageIcons.vaDate.txt
│ dim=dimValue
@@ -1728,7 +2064,7 @@
│ Max. Text Size: 600
│ Variable (string) strTmp
│ @@ -102,34 +99,14 @@
│ @@ -115,34 +99,14 @@
│ Value: 0
│ Variable (int32) ycR
@@ -1763,7 +2099,25 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text : |
│ @@ -596,20 +573,14 @@
│ @@ -485,17 +449,14 @@
│ //get set time to global variable
│ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
│ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
│ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
│ if(tAMPM.txt=="")
│ {
│ vis tAMPM,0
│ - }else
│ - {
│ - vis tAMPM,1
│ }
│ spstr strCommand.txt,tTimeAdd.txt,"~",2
│ ref tIcon1
│ ref tIcon2
│ }
│ if(tInstruction.txt=="date")
│ {
│ @@ -612,20 +573,14 @@
│ {
│ vis tMainIcon,1
│ vis tMainIconAlt,0
@@ -1786,7 +2140,35 @@
│ if(tTime.bco!=screensaver.bco)
│ --- HMI/n2t-out/screensaver2.txt
├── +++ HMI/US/portrait/n2t-out/screensaver2.txt
│ @@ -28,17 +28,14 @@
│ @@ -7,27 +7,14 @@
│ Swide up page ID : disabled
│ Swide down page ID : disabled
│ Swide left page ID : disabled
│ Swide right page ID: disabled
│ Events
│ Preinitialize Event
│ - tSend.txt="event,renderCurrentPage"
│ - //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
│ - dim=dimValueNormal
│ recmod=1
│ baud=115200
│ vis tInstruction,0
│ vis tTmp,0
│ vis p0,0
│ vis tNotifyHead,0
│ vis tNotifyText,0
│ @@ -41,17 +28,14 @@
│ }
│ tDate.txt=pageIcons.vaDate.txt
│ dim=dimValue
@@ -1804,7 +2186,7 @@
│ Max. Text Size: 1979
│ Variable (string) strTmp
│ @@ -363,34 +360,14 @@
│ @@ -376,34 +360,14 @@
│ Scope : local
│ Dragging : 0
│ Send Component ID : disabled
@@ -1839,7 +2221,7 @@
│ Send Component ID : disabled
│ Associated Keyboard: none
│ Text : PM
│ @@ -572,15 +549,14 @@
│ @@ -585,15 +549,14 @@
│ if(tTmp.txt!="")
│ {
│ covx tTmp.txt,defaultFontColor,0,0

View File

@@ -1,12 +1,110 @@
+++ /dev/fd/62 2023-08-20 13:07:13.304519211 +0000
+++ /dev/fd/62 2023-11-27 23:28:52.512823638 +0000
+le list
+ +1,9 @@
+.s.txt
+rm.txt
+nRec.txt
+rt.txt
+ities.txt
+d.txt
+d2.txt
+art.txt
+ia.txt
+er.txt
+I/n2t-out/Program.s.txt
++ HMI/US/portrait/n2t-out/Program.s.txt
+1 +12,11 @@
+eature flags
+ featNewSliders=0
+nth 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
+I/n2t-out/cardAlarm.txt
++ HMI/US/portrait/n2t-out/cardAlarm.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis arm1,0
+I/n2t-out/cardChart.txt
++ HMI/US/portrait/n2t-out/cardChart.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis bPrev,0
+I/n2t-out/cardEntities.txt
++ HMI/US/portrait/n2t-out/cardEntities.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ dim=dimValueNormal
+ //wup=cardEntities
+ //remove background & activate reparse mode
+ vis p0,0
+ recmod=1
+ baud=115200
+ //debug stuff
+6 +60,36 @@
+ //ui e6
+ vis btOnOff6,0
@@ -59,13 +157,13 @@
+ributes
+ Scope : local
+ Text :
+ Max. Text Size: 80
+ Max. Text Size: 38
+
+e (string) nent2
+ributes
+ Scope : local
+ Text :
+ Max. Text Size: 80
+ Max. Text Size: 38
+14 +185,26 @@
+e (string) type6
@@ -600,8 +698,71 @@
+ covx tTmp.txt,sys0,0,0
+ hSlider6.maxval=sys0
+ }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+I/n2t-out/cardGrid.txt
++ HMI/US/portrait/n2t-out/cardGrid.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ //remove background & activate reparse mode
+ vis p0,0
+ recmod=1
+ baud=115200
+ //debug stuff
+ vis tTmp,0
+I/n2t-out/cardGrid2.txt
++ HMI/US/portrait/n2t-out/cardGrid2.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ //remove background & activate reparse mode
+ vis p0,0
+ recmod=1
+ baud=115200
+ //debug stuff
+ vis tTmp,0
+6 +25,28 @@
+ vis bEntity2,0
+ vis bEntity3,0
@@ -632,7 +793,7 @@
+ b[sys0].pco=defaultFontColor
+ }
+ }
+4 +95,20 @@
+14 +95,20 @@
+
+e (string) entn8
+ributes
@@ -757,7 +918,7 @@
+ Send Component ID: disabled
+ State : unpressed
+ Text : 
+,14 +1072,35 @@
+,14 +1160,46 @@
+ spstr strCommand.txt,tTmp.txt,"~",59
+ covx tTmp.txt,sys0,0,0
+ bEntity8.pco=sys0
@@ -777,6 +938,17 @@
+ {
+ // change icon
+ spstr strCommand.txt,bEntity9.txt,"~",64
+ // way to get force font adjustment
+ strlen bEntity9.txt,sys0
+ //check 2nd last char for ¬
+ substr bEntity9.txt,tTmp.txt,sys0-2,1
+ if(tTmp.txt=="¬")
+ {
+ substr bEntity9.txt,tTmp.txt,sys0-1,1
+ covx tTmp.txt,sys1,0,0
+ bEntity9.font=sys1
+ substr bEntity9.txt,bEntity9.txt,0,sys0-2
+ }
+ vis bEntity9,1
+ // change icon color
+ spstr strCommand.txt,tTmp.txt,"~",65
@@ -786,15 +958,93 @@
+ spstr strCommand.txt,tEntity9.txt,"~",66
+ vis tEntity9,1
+ }
+ }
+ if(tInstruction.txt=="pageType")
+ {
+ sleepValue=0
+ //command format pageType,specialPageName
+ //write name of speical page to tId
+ spstr strCommand.txt,tId.txt,"~",1
+I/n2t-out/cardLChart.txt
++ HMI/US/portrait/n2t-out/cardLChart.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis bPrev,0
+I/n2t-out/cardMedia.txt
++ HMI/US/portrait/n2t-out/cardMedia.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis t5,0
+I/n2t-out/cardPower.txt
++ HMI/US/portrait/n2t-out/cardPower.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis bPrev,0
+6 +45,16 @@
+ b[sys0].bco=defaultBcoColor
+ b[sys0].pco=defaultFontColor
@@ -1137,6 +1387,64 @@
+ // get set time to global variable
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
+ }
+I/n2t-out/cardQR.txt
++ HMI/US/portrait/n2t-out/cardQR.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis bPrev,0
+I/n2t-out/cardThermo.txt
++ HMI/US/portrait/n2t-out/cardThermo.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ vis p0,0
+ vis tSend,0
+ vis tInstruction,0
+ vis tTmp,0
+ vis tId,0
+ vis xTempMin1,0
+I/n2t-out/pageStartup.txt
++ HMI/US/portrait/n2t-out/pageStartup.txt
+0 +34,14 @@
@@ -1252,6 +1560,34 @@
+ {
+I/n2t-out/screensaver.txt
++ HMI/US/portrait/n2t-out/screensaver.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ recmod=1
+ baud=115200
+ vis tInstruction,0
+ vis tTmp,0
+ vis p0,0
+ vis tNotifyHead,0
+ vis tNotifyText,0
+7 +28,14 @@
+ }
+ tDate.txt=pageIcons.vaDate.txt
@@ -1305,6 +1641,24 @@
+ Send Component ID : disabled
+ Associated Keyboard: none
+ Text : |
+17 +449,14 @@
+ //get set time to global variable
+ spstr strCommand.txt,pageIcons.vaTime.txt,"~",1
+ spstr pageIcons.vaTime.txt,tTime.txt,"?",0
+ spstr pageIcons.vaTime.txt,tAMPM.txt,"?",1
+ if(tAMPM.txt=="")
+ {
+ vis tAMPM,0
+ }else
+ {
+ vis tAMPM,1
+ }
+ spstr strCommand.txt,tTimeAdd.txt,"~",2
+ ref tIcon1
+ ref tIcon2
+ }
+ if(tInstruction.txt=="date")
+ {
+20 +573,14 @@
+ {
+ vis tMainIcon,1
@@ -1328,6 +1682,34 @@
+ if(tTime.bco!=screensaver.bco)
+I/n2t-out/screensaver2.txt
++ HMI/US/portrait/n2t-out/screensaver2.txt
+ +7,14 @@
+ Swide up page ID : disabled
+ Swide down page ID : disabled
+ Swide left page ID : disabled
+ Swide right page ID: disabled
+
+nts
+ Preinitialize Event
+ tSend.txt="event,renderCurrentPage"
+ //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
+ dim=dimValueNormal
+ recmod=1
+ baud=115200
+ vis tInstruction,0
+ vis tTmp,0
+ vis p0,0
+ vis tNotifyHead,0
+ vis tNotifyText,0
+7 +28,14 @@
+ }
+ tDate.txt=pageIcons.vaDate.txt

View File

@@ -1167,6 +1167,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1188,6 +1199,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1209,6 +1231,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1230,6 +1263,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1251,6 +1295,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1272,6 +1327,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47

View File

@@ -1500,6 +1500,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1521,6 +1532,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1542,6 +1564,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1563,6 +1596,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1584,6 +1628,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1605,6 +1660,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -1626,6 +1692,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1647,6 +1724,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59
@@ -1668,6 +1756,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity9.txt,"~",64
// way to get force font adjustment
strlen bEntity9.txt,sys0
//check 2nd last char for ¬
substr bEntity9.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity9.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity9.font=sys1
substr bEntity9.txt,bEntity9.txt,0,sys0-2
}
vis bEntity9,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",65
@@ -1754,6 +1853,10 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -1485,6 +1485,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1506,6 +1517,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1527,6 +1549,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1548,6 +1581,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1569,6 +1613,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1590,6 +1645,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0

View File

@@ -14,10 +14,10 @@ popupNotify
19 Component(s)
267 Line(s) of event code
172 Unique line(s) of event code
cardGrid
44 Component(s)
529 Line(s) of event code
298 Unique line(s) of event code
pageStartup
19 Component(s)
198 Line(s) of event code
137 Unique line(s) of event code
popupTimer
42 Component(s)
516 Line(s) of event code
@@ -38,18 +38,14 @@ cardChart
33 Component(s)
437 Line(s) of event code
296 Unique line(s) of event code
cardMedia
59 Component(s)
649 Line(s) of event code
322 Unique line(s) of event code
cardGrid2
56 Component(s)
748 Line(s) of event code
410 Unique line(s) of event code
cardLChart
33 Component(s)
402 Line(s) of event code
266 Unique line(s) of event code
pageStartup
19 Component(s)
198 Line(s) of event code
137 Unique line(s) of event code
popupShutter
25 Component(s)
402 Line(s) of event code
@@ -66,10 +62,10 @@ popupInSel
34 Component(s)
621 Line(s) of event code
297 Unique line(s) of event code
cardGrid2
56 Component(s)
663 Line(s) of event code
359 Unique line(s) of event code
cardGrid
44 Component(s)
583 Line(s) of event code
332 Unique line(s) of event code
cardAlarm
43 Component(s)
500 Line(s) of event code
@@ -94,9 +90,13 @@ cardEntities
91 Component(s)
1666 Line(s) of event code
711 Unique line(s) of event code
cardMedia
59 Component(s)
703 Line(s) of event code
356 Unique line(s) of event code
Total
23 Page(s)
890 Component(s)
10836 Line(s) of event code
2553 Unique line(s) of event code
11029 Line(s) of event code
2600 Unique line(s) of event code

View File

@@ -389,7 +389,7 @@ Text tVersion
Horizontal Alignment: center
Vertical Alignment : center
Input Type : character
Text : 52
Text : 53
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0

View File

@@ -719,6 +719,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -740,6 +751,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -761,6 +783,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -782,6 +815,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -803,6 +847,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -824,6 +879,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47

View File

@@ -920,6 +920,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -941,6 +952,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -962,6 +984,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -983,6 +1016,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1004,6 +1048,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1025,6 +1080,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -1046,6 +1112,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1067,6 +1144,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59
@@ -1088,6 +1176,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity9.txt,"~",64
// way to get force font adjustment
strlen bEntity9.txt,sys0
//check 2nd last char for ¬
substr bEntity9.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity9.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity9.font=sys1
substr bEntity9.txt,bEntity9.txt,0,sys0-2
}
vis bEntity9,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",65
@@ -1174,6 +1273,10 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -997,6 +997,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1018,6 +1029,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1039,6 +1061,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1060,6 +1093,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1081,6 +1125,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1102,6 +1157,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0

View File

@@ -139,7 +139,7 @@ Text tVersion
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 52
Text : 53
Max. Text Size : 10
Picture p0

Binary file not shown.

Binary file not shown.

View File

@@ -7,7 +7,7 @@ head = sharedhead + """
""" + navigation
print(head)
start = 14
for i in range(1,7):
for i in range(1,9):
idxstart = start + (i-1)*6
item = f"""
// get Type
@@ -22,6 +22,19 @@ for i in range(1,7):
{{
// change icon
spstr strCommand.txt,bEntity{i}.txt,"~",{idxstart+2}
// way to get force font adjustment
strlen bEntity{i}.txt,sys0
//check 2nd last char for ¬
substr bEntity{i}.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{{
substr bEntity{i}.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity{i}.font=sys1
substr bEntity{i}.txt,bEntity{i}.txt,0,sys0-2
}}
vis bEntity{i},1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",{idxstart+3}

View File

@@ -71,6 +71,19 @@ for i in range(1,7):
// change icon
spstr strCommand.txt,bEntity{i}.txt,"~",{idxstart+2}
vis bEntity{i},1
// way to get force font adjustment
strlen bEntity{i}.txt,sys0
//check 2nd last char for ¬
substr bEntity{i}.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{{
substr bEntity{i}.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity{i}.font=sys1
substr bEntity{i}.txt,bEntity{i}.txt,0,sys0-2
}}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",{idxstart+3}
covx tTmp.txt,sys0,0,0
@@ -79,6 +92,7 @@ for i in range(1,7):
spstr strCommand.txt,tEntity{i}.txt,"~",{idxstart+4}
vis tEntity{i},1
}}
"""
print(item)
foot = """

View File

@@ -19,6 +19,18 @@ Page cardAlarm
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -0,0 +1,63 @@
Page cardBurnRec
Attributes
ID : 0
Scope : local
Dragging : 0
Send Component ID : disabled
Opacity : 127
Width : 480
Effect : load
Effect Priority : 0
Effect Time : 300
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Fill : solid color
Back. Color : 65535
Timer tm0
Attributes
ID : 1
Scope : local
Period (ms): 1001
Enabled : yes
Events
Timer Event
dim=100
sys0=0
sys1=0
if(sys2==WHITE)
{
sys2=BLACK
}else
{
sys2=WHITE
}
sya1=sys2
while(sys0<8)
{
sya0=sys0%2
if(sya1==WHITE)
{
sya1=BLACK
}else
{
sya1=WHITE
}
fill 0,40*sys0,480,40,sya1
sys0++
}
TouchCap tc0
Attributes
ID : 2
Scope: local
Value: 0
Events
Touch Press Event
page pageStartup

View File

@@ -19,6 +19,18 @@ Page cardChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,19 @@ Page cardEntities
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode

View File

@@ -19,6 +19,18 @@ Page cardGrid
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -1167,6 +1179,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1188,6 +1211,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1209,6 +1243,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1230,6 +1275,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1251,6 +1307,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1272,6 +1339,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47

View File

@@ -19,6 +19,18 @@ Page cardGrid2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -1389,6 +1401,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -1410,6 +1433,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -1431,6 +1465,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -1452,6 +1497,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -1473,6 +1529,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -1494,6 +1561,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -1515,6 +1593,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1536,6 +1625,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59
@@ -1622,6 +1722,10 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -19,6 +19,18 @@ Page cardLChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardMedia
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -1485,6 +1497,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1506,6 +1529,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1527,6 +1561,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1548,6 +1593,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1569,6 +1625,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1590,6 +1657,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0

View File

@@ -19,6 +19,18 @@ Page cardPower
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardQR
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -19,6 +19,18 @@ Page cardThermo
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -6,18 +6,18 @@ pageIcons
7 Component(s)
0 Line(s) of event code
0 Unique line(s) of event code
pageTest
27 Component(s)
68 Line(s) of event code
66 Unique line(s) of event code
cardLChart
33 Component(s)
402 Line(s) of event code
266 Unique line(s) of event code
cardBurnRec
3 Component(s)
25 Line(s) of event code
21 Unique line(s) of event code
popupFan
27 Component(s)
355 Line(s) of event code
206 Unique line(s) of event code
pageStartup
20 Component(s)
198 Line(s) of event code
137 Unique line(s) of event code
popupShutter
25 Component(s)
402 Line(s) of event code
@@ -30,58 +30,58 @@ popupNotify
19 Component(s)
267 Line(s) of event code
172 Unique line(s) of event code
cardGrid
44 Component(s)
529 Line(s) of event code
298 Unique line(s) of event code
pageStartup
20 Component(s)
198 Line(s) of event code
137 Unique line(s) of event code
cardQR
34 Component(s)
410 Line(s) of event code
238 Unique line(s) of event code
cardChart
33 Component(s)
437 Line(s) of event code
296 Unique line(s) of event code
screensaver2
59 Component(s)
362 Line(s) of event code
255 Unique line(s) of event code
pageTest
26 Component(s)
69 Line(s) of event code
67 Unique line(s) of event code
cardGrid2
52 Component(s)
703 Line(s) of event code
385 Unique line(s) of event code
cardAlarm
43 Component(s)
500 Line(s) of event code
273 Unique line(s) of event code
510 Line(s) of event code
274 Unique line(s) of event code
cardChart
33 Component(s)
447 Line(s) of event code
297 Unique line(s) of event code
cardQR
34 Component(s)
420 Line(s) of event code
239 Unique line(s) of event code
cardLChart
33 Component(s)
412 Line(s) of event code
267 Unique line(s) of event code
popupLight
28 Component(s)
412 Line(s) of event code
227 Unique line(s) of event code
cardPower
54 Component(s)
541 Line(s) of event code
350 Unique line(s) of event code
cardThermo
57 Component(s)
540 Line(s) of event code
319 Unique line(s) of event code
cardGrid2
52 Component(s)
617 Line(s) of event code
338 Unique line(s) of event code
cardMedia
59 Component(s)
649 Line(s) of event code
322 Unique line(s) of event code
550 Line(s) of event code
320 Unique line(s) of event code
cardGrid
44 Component(s)
593 Line(s) of event code
333 Unique line(s) of event code
popupInSel
34 Component(s)
621 Line(s) of event code
297 Unique line(s) of event code
cardPower
54 Component(s)
531 Line(s) of event code
349 Unique line(s) of event code
screensaver
47 Component(s)
444 Line(s) of event code
316 Unique line(s) of event code
458 Line(s) of event code
318 Unique line(s) of event code
cardMedia
59 Component(s)
713 Line(s) of event code
357 Unique line(s) of event code
popupTimer
42 Component(s)
516 Line(s) of event code
@@ -90,13 +90,17 @@ popupThermo
44 Component(s)
523 Line(s) of event code
276 Unique line(s) of event code
screensaver2
59 Component(s)
373 Line(s) of event code
256 Unique line(s) of event code
cardEntities
67 Component(s)
1194 Line(s) of event code
535 Unique line(s) of event code
1205 Line(s) of event code
536 Unique line(s) of event code
Total
23 Page(s)
878 Component(s)
10404 Line(s) of event code
2417 Unique line(s) of event code
24 Page(s)
880 Component(s)
10740 Line(s) of event code
2475 Unique line(s) of event code

View File

@@ -396,7 +396,7 @@ Text tVersion
Horizontal Alignment: center
Vertical Alignment : center
Input Type : character
Text : 52
Text : 53
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0

View File

@@ -32,7 +32,7 @@ Variable (string) strCommand
Variable (string) strTmp
Attributes
ID : 25
ID : 24
Scope : local
Text :
Max. Text Size: 2
@@ -58,9 +58,9 @@ Text tBench
Dragging : 0
Send Component ID : disabled
Opacity : 127
x coordinate : 288
y coordinate : 90
Width : 152
x coordinate : 207
y coordinate : 287
Width : 88
Height : 30
Effect : load
Effect Priority : 0
@@ -82,14 +82,14 @@ Text tBench
Text tTmp
Attributes
ID : 24
ID : 23
Scope : local
Dragging : 0
Send Component ID : disabled
Opacity : 127
x coordinate : 49
y coordinate : 48
Width : 257
x coordinate : 212
y coordinate : 253
Width : 71
Height : 30
Effect : load
Effect Priority : 0
@@ -103,7 +103,7 @@ Text tTmp
Horizontal Alignment: center
Vertical Alignment : center
Input Type : character
Text : test123test123
Text : x
Max. Text Size : 30
Word wrap : disabled
Horizontal Spacing : 0
@@ -135,7 +135,7 @@ Button b0
x coordinate : 0
y coordinate : 0
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -203,9 +203,9 @@ Button b10
Send Component ID : disabled
Opacity : 127
x coordinate : 100
y coordinate : 98
y coordinate : 81
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -238,9 +238,9 @@ Button b11
Send Component ID : disabled
Opacity : 127
x coordinate : 100
y coordinate : 145
y coordinate : 121
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -273,9 +273,9 @@ Button b12
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 242
y coordinate : 202
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -337,21 +337,21 @@ Button b13
Button b14
Attributes
ID : 21
ID : 25
Scope : local
Dragging : 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 0
Width : 100
Height : 50
x coordinate : 229
y coordinate : 188
Width : 106
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
Fill : solid color
Style : 3D auto
Font ID : 0
Font ID : 1
Back. Color : 50712
Back. Picture ID (Pressed): 65535
Back. Color (Pressed) : 1024
@@ -360,21 +360,25 @@ Button b14
Horizontal Alignment : center
Vertical Alignment : center
State : unpressed
Text : newtxt
Text : burntest
Max. Text Size : 10
Word wrap : disabled
Horizontal Spacing : 0
Vertical Spacing : 0
Events
Touch Press Event
page cardBurnRec
Button b15
Attributes
ID : 22
ID : 21
Scope : local
Dragging : 0
Send Component ID : disabled
Opacity : 127
x coordinate : 236
y coordinate : 263
x coordinate : 99
y coordinate : 270
Width : 100
Height : 50
Effect : load
@@ -403,13 +407,13 @@ Button b15
Button b16
Attributes
ID : 23
ID : 22
Scope : local
Dragging : 0
Send Component ID : disabled
Opacity : 127
x coordinate : 135
y coordinate : 263
x coordinate : 0
y coordinate : 270
Width : 100
Height : 50
Effect : load
@@ -444,9 +448,9 @@ Button b2
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 195
y coordinate : 162
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -514,9 +518,9 @@ Button b4
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 96
y coordinate : 82
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -551,7 +555,7 @@ Button b5
x coordinate : 100
y coordinate : 0
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -584,9 +588,9 @@ Button b6
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 49
y coordinate : 41
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -619,9 +623,9 @@ Button b7
Send Component ID : disabled
Opacity : 127
x coordinate : 100
y coordinate : 49
y coordinate : 41
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -653,10 +657,10 @@ Button b8
Dragging : 0
Send Component ID : disabled
Opacity : 127
x coordinate : 341
y coordinate : 9
x coordinate : 94
y coordinate : 161
Width : 106
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -690,9 +694,9 @@ Button b9
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 146
y coordinate : 122
Width : 100
Height : 50
Height : 40
Effect : load
Effect Priority : 0
Effect Time : 300
@@ -717,21 +721,6 @@ Button b9
Touch Press Event
page popupNotify
Hotspot m0
Attributes
ID : 26
Scope : local
Dragging : 0
Send Component ID: disabled
Opacity : 127
x coordinate : 213
y coordinate : 115
Width : 210
Height : 191
Effect : load
Effect Priority : 0
Effect Time : 300
Timer tmSerial
Attributes
ID : 14

View File

@@ -19,6 +19,19 @@ Page screensaver
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
recmod=1
baud=115200
vis tInstruction,0
@@ -1069,6 +1082,9 @@ Timer tmSerial
if(tAMPM.txt=="")
{
vis tAMPM,0
}else
{
vis tAMPM,1
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
ref tIcon1

View File

@@ -19,6 +19,19 @@ Page screensaver2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
recmod=1
baud=115200
vis tInstruction,0

View File

@@ -11,6 +11,18 @@ Page cardAlarm
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -0,0 +1,53 @@
Page cardBurnRec
Attributes
Scope : local
Dragging : 0
Send Component ID : disabled
Locked : no
Swide up page ID : disabled
Swide down page ID : disabled
Swide left page ID : disabled
Swide right page ID: disabled
Timer tm0
Attributes
Scope : local
Period (ms): 1001
Enabled : yes
Events
Timer Event
dim=100
sys0=0
sys1=0
if(sys2==WHITE)
{
sys2=BLACK
}else
{
sys2=WHITE
}
sya1=sys2
while(sys0<8)
{
sya0=sys0%2
if(sya1==WHITE)
{
sya1=BLACK
}else
{
sya1=WHITE
}
fill 0,40*sys0,480,40,sya1
sys0++
}
TouchCap tc0
Attributes
Scope: local
Value: 0
Events
Touch Press Event
page pageStartup

View File

@@ -11,6 +11,18 @@ Page cardChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,19 @@ Page cardEntities
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
dim=dimValueNormal
//wup=cardEntities
//remove background & activate reparse mode

View File

@@ -11,6 +11,18 @@ Page cardGrid
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -719,6 +731,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -740,6 +763,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -761,6 +795,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -782,6 +827,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -803,6 +859,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -824,6 +891,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47

View File

@@ -11,6 +11,18 @@ Page cardGrid2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0
@@ -853,6 +865,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity1.txt,"~",16
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
vis bEntity1,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",17
@@ -874,6 +897,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity2.txt,"~",22
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
vis bEntity2,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",23
@@ -895,6 +929,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity3.txt,"~",28
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
vis bEntity3,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",29
@@ -916,6 +961,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity4.txt,"~",34
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
vis bEntity4,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",35
@@ -937,6 +993,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity5.txt,"~",40
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
vis bEntity5,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",41
@@ -958,6 +1025,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity6.txt,"~",46
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
vis bEntity6,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",47
@@ -979,6 +1057,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity7.txt,"~",52
// way to get force font adjustment
strlen bEntity7.txt,sys0
//check 2nd last char for ¬
substr bEntity7.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity7.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity7.font=sys1
substr bEntity7.txt,bEntity7.txt,0,sys0-2
}
vis bEntity7,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",53
@@ -1000,6 +1089,17 @@ Timer tmSerial
{
// change icon
spstr strCommand.txt,bEntity8.txt,"~",58
// way to get force font adjustment
strlen bEntity8.txt,sys0
//check 2nd last char for ¬
substr bEntity8.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity8.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity8.font=sys1
substr bEntity8.txt,bEntity8.txt,0,sys0-2
}
vis bEntity8,1
// change icon color
spstr strCommand.txt,tTmp.txt,"~",59
@@ -1086,6 +1186,10 @@ Timer tmSerial
{
page cardChart
}
if(tId.txt=="cardLChart")
{
page cardLChart
}
}
if(tInstruction.txt=="time")
{

View File

@@ -11,6 +11,18 @@ Page cardLChart
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardMedia
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0
@@ -997,6 +1009,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity1.txt,"~",25
vis bEntity1,1
// way to get force font adjustment
strlen bEntity1.txt,sys0
//check 2nd last char for ¬
substr bEntity1.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity1.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity1.font=sys1
substr bEntity1.txt,bEntity1.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",26
covx tTmp.txt,sys0,0,0
@@ -1018,6 +1041,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity2.txt,"~",31
vis bEntity2,1
// way to get force font adjustment
strlen bEntity2.txt,sys0
//check 2nd last char for ¬
substr bEntity2.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity2.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity2.font=sys1
substr bEntity2.txt,bEntity2.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",32
covx tTmp.txt,sys0,0,0
@@ -1039,6 +1073,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity3.txt,"~",37
vis bEntity3,1
// way to get force font adjustment
strlen bEntity3.txt,sys0
//check 2nd last char for ¬
substr bEntity3.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity3.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity3.font=sys1
substr bEntity3.txt,bEntity3.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",38
covx tTmp.txt,sys0,0,0
@@ -1060,6 +1105,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity4.txt,"~",43
vis bEntity4,1
// way to get force font adjustment
strlen bEntity4.txt,sys0
//check 2nd last char for ¬
substr bEntity4.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity4.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity4.font=sys1
substr bEntity4.txt,bEntity4.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",44
covx tTmp.txt,sys0,0,0
@@ -1081,6 +1137,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity5.txt,"~",49
vis bEntity5,1
// way to get force font adjustment
strlen bEntity5.txt,sys0
//check 2nd last char for ¬
substr bEntity5.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity5.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity5.font=sys1
substr bEntity5.txt,bEntity5.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",50
covx tTmp.txt,sys0,0,0
@@ -1102,6 +1169,17 @@ Timer tmSerial
// change icon
spstr strCommand.txt,bEntity6.txt,"~",55
vis bEntity6,1
// way to get force font adjustment
strlen bEntity6.txt,sys0
//check 2nd last char for ¬
substr bEntity6.txt,tTmp.txt,sys0-2,1
if(tTmp.txt=="¬")
{
substr bEntity6.txt,tTmp.txt,sys0-1,1
covx tTmp.txt,sys1,0,0
bEntity6.font=sys1
substr bEntity6.txt,bEntity6.txt,0,sys0-2
}
// change icon color
spstr strCommand.txt,tTmp.txt,"~",56
covx tTmp.txt,sys0,0,0

View File

@@ -11,6 +11,18 @@ Page cardPower
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardQR
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -11,6 +11,18 @@ Page cardThermo
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
vis p0,0
vis tSend,0

View File

@@ -145,7 +145,7 @@ Text tVersion
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : 52
Text : 53
Max. Text Size : 10
Picture p0

View File

@@ -54,7 +54,7 @@ Text tTmp
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text : test123test123
Text : x
Max. Text Size : 30
Picture p0
@@ -147,9 +147,13 @@ Button b14
Dragging : 0
Send Component ID: disabled
State : unpressed
Text : newtxt
Text : burntest
Max. Text Size : 10
Events
Touch Press Event
page cardBurnRec
Button b15
Attributes
Scope : local
@@ -281,12 +285,6 @@ Button b9
Touch Press Event
page popupNotify
Hotspot m0
Attributes
Scope : local
Dragging : 0
Send Component ID: disabled
Timer tmSerial
Attributes
Scope : local

View File

@@ -11,6 +11,19 @@ Page screensaver
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
recmod=1
baud=115200
vis tInstruction,0
@@ -476,6 +489,9 @@ Timer tmSerial
if(tAMPM.txt=="")
{
vis tAMPM,0
}else
{
vis tAMPM,1
}
spstr strCommand.txt,tTimeAdd.txt,"~",2
ref tIcon1

View File

@@ -11,6 +11,19 @@ Page screensaver2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//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
dim=dimValueNormal
recmod=1
baud=115200
vis tInstruction,0

Binary file not shown.

Binary file not shown.

674
LICENSE Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View File

@@ -64,3 +64,4 @@ SmartHomeNG: https://github.com/sisamiwe/shng-nspanel-plugin
OpenHAB: https://github.com/donoo/o2n2l
NodeRed: https://github.com/laluz742/node-red-contrib-nspanel-lui

View File

@@ -24,6 +24,7 @@ class Entity(object):
self.assumedState = entity_input_config.get("assumed_state", False)
self.stype = entity_input_config.get("type")
self.value = entity_input_config.get("value")
self.font = entity_input_config.get("font")
self.data = entity_input_config.get("data", {})
self.entity_input_config = entity_input_config

View File

@@ -324,7 +324,7 @@ class LuiController(object):
apis.ha_api.get_entity(entity_id).call_service("lock")
elif entity_id.startswith('button') or entity_id.startswith('input_button'):
apis.ha_api.get_entity(entity_id).call_service("press")
elif entity_id.startswith('input_select'):
elif entity_id.startswith('input_select') or entity_id.startswith('select'):
apis.ha_api.get_entity(entity_id).call_service("select_next")
elif entity_id.startswith('vacuum'):
if apis.ha_api.get_entity(entity_id).state == "docked":
@@ -424,7 +424,7 @@ class LuiController(object):
fan_mode = entity.attributes.fan_modes[int(value)]
entity.call_service("set_fan_mode", fan_mode=fan_mode)
if button_type == "mode-input_select":
if button_type in ["mode-input_select", "mode-select"]:
entity = apis.ha_api.get_entity(entity_id)
option = entity.attributes.options[int(value)]
entity.call_service("select_option", option=option)

View File

@@ -3,19 +3,37 @@ import apis
class LuiMqttListener(object):
def __init__(self, topic, controller, updater):
def __init__(self, use_api, topic, api_panel_name, api_device_id, controller, updater):
self._controller = controller
self._updater = updater
self._api_device_id = api_device_id
# Setup, mqtt subscription and callback
apis.mqtt_api.mqtt_subscribe(topic=topic)
apis.mqtt_api.listen_event(self.mqtt_event_callback, "MQTT_MESSAGE", topic=topic, namespace='mqtt')
if use_api:
apis.ha_api.listen_event(self.api_event_callback, "esphome.nspanel.data")
else:
apis.mqtt_api.mqtt_subscribe(topic=topic)
apis.mqtt_api.listen_event(self.mqtt_event_callback, "MQTT_MESSAGE", topic=topic, namespace='mqtt')
def api_event_callback(self, event_name, data, kwargs):
if not "device_id" in data:
return
if not data["device_id"] == self._api_device_id:
return
apis.ha_api.log(f'API callback for: {data}')
self.customrecv_event_callback(event_name, data, kwargs)
def mqtt_event_callback(self, event_name, data, kwargs):
apis.mqtt_api.log(f'MQTT callback for: {data}')
apis.ha_api.log(f'MQTT callback for: {data}')
# Parse Json Message from Tasmota and strip out message from nextion display
data = json.loads(data["payload"])
self.customrecv_event_callback(event_name, data, kwargs)
def customrecv_event_callback(self, event_name, data, kwargs):
if("nlui_driver_version" in data):
msg = data["nlui_driver_version"]
self._updater.set_tasmota_driver_version(int(msg))
@@ -23,7 +41,7 @@ class LuiMqttListener(object):
if("CustomRecv" not in data):
return
msg = data["CustomRecv"]
apis.mqtt_api.log(f"Received Message from Screen: {msg}")
apis.ha_api.log(f"Received Message from Screen: {msg}")
# Split message into parts seperated by ","
msg = msg.split(",")
# run action based on received command
@@ -59,17 +77,35 @@ class LuiMqttListener(object):
self._controller.detail_open(msg[2], msg[3])
class LuiMqttSender(object):
def __init__(self, api, topic_send):
def __init__(self, api, use_api, topic_send, api_panel_name):
self._ha_api = api
self._use_api = use_api
self._topic_send = topic_send
self._api_panel_name = api_panel_name
self._prev_msg = ""
def send_mqtt_msg(self, msg, topic=None, force=False):
if not force and self._prev_msg == msg:
self._ha_api.log(f"Dropping identical consecutive message: {msg}")
apis.ha_api.log(f"Dropping identical consecutive message: {msg}")
return
self._prev_msg = msg
if topic is None:
topic = self._topic_send
self._ha_api.log(f"Sending MQTT Message: {msg}")
apis.mqtt_api.mqtt_publish(topic, msg)
apis.ha_api.log(f"Sending Message: {msg}")
if self._use_api:
apis.ha_api.call_service(service="esphome/" + self._api_panel_name + "_nspanelui_api_call", command=2, data=msg)
else:
if topic is None:
topic = self._topic_send
apis.mqtt_api.mqtt_publish(topic, msg)
def request_berry_driver_version(self):
if self._use_api:
apis.ha_api.call_service(service="esphome/" + self._api_panel_name + "_nspanelui_api_call", command=1, data="x")
else:
apis.mqtt_api.mqtt_publish(self._topic_send.replace("CustomSend", "GetDriverVersion"), "x")
def flash_nextion(self, url):
if self._use_api:
apis.ha_api.call_service(service="esphome/" + self._api_panel_name + "_nspanelui_api_call", command=255, data=url)
else:
apis.mqtt_api.mqtt_publish(self._topic_send.replace("CustomSend", "FlashNextion"), url)

View File

@@ -1,4 +1,5 @@
import datetime
from dateutil import tz
import dateutil.parser as dp
import time
@@ -96,21 +97,29 @@ class LuiPagesGen(object):
if state == "sunny":
icon_color = 65504 #bright-yellow
if "rgb_color" in attr:
if "rgb_color" in attr and attr.rgb_color:
color = attr.rgb_color
if "brightness" in attr:
if "brightness" in attr and attr.brightness:
color = rgb_brightness(color, attr.brightness)
icon_color = rgb_dec565(color)
elif "brightness" in attr:
elif "brightness" in attr and attr.brightness:
color = rgb_brightness([253, 216, 53], attr.brightness)
icon_color = rgb_dec565(color)
return icon_color
def update_time(self, kwargs):
time = datetime.datetime.now().strftime(self._config.get("timeFormat"))
time = None
# get current time, with timezone if set
if self._config.get("timezone"):
timezone = tz.gettz(self._config.get("timezone"))
time = datetime.datetime.now(tz=timezone)
else:
time = datetime.datetime.now()
nice_time = time.strftime(self._config.get("timeFormat"))
addTemplate = self._config.get("timeAdditionalTemplate")
addTimeText = apis.ha_api.render_template(addTemplate)
self._send_mqtt_msg(f"time~{time}~{addTimeText}")
self._send_mqtt_msg(f"time~{nice_time}~{addTimeText}")
def update_date(self, kwargs):
global babel_spec
@@ -405,6 +414,20 @@ class LuiPagesGen(object):
entityTypePanel = ""
if "entityId" in mask:
entityId = ""
# change font on cardgrid
if item.font:
font = 0
if item.font == "small":
font = 0
elif item.font == "medium-icon":
font = 1
elif item.font == "medium":
font = 2
elif item.font == "large":
font = 3
elif isinstance(item.font, int):
font = item.font
icon_id = f'{icon_id}¬{font}'
return f"~{entityTypePanel}~{entityId}~{icon_id}~{color}~{name}~{value}"
def generate_entities_page(self, navigation, heading, items, cardType, tempUnit):
@@ -505,6 +528,50 @@ class LuiPagesGen(object):
command = f"entityUpd~{heading}~{navigation}~{item}~{current_temp} {temperature_unit}~{dest_temp}~{state_value}~{min_temp}~{max_temp}~{step_temp}{icon_res}~{currently_translation}~{state_translation}~{action_translation}~{temperature_unit_icon}~{dest_temp2}~{detailPage}"
self._send_mqtt_msg(command)
def generate_chart_page(self, navigation, title, entity):
item = entity.entityId
if not apis.ha_api.entity_exists(item):
command = f"entityUpd~Not found~{navigation}"
else:
entity = apis.ha_api.get_entity(item)
heading = title if title != "unknown" else entity.attributes.friendly_name
# get data from homeassistant
data_raw = apis.ha_api.get_history(entity_id = item, days = 7)
data = [(d.get('last_updated', None),d.get('state', None)) for d in data_raw[0]]
data = dict(data)
# Parse timestamps and convert to datetime objects, excluding 'unavailable' values
time_temp_pairs = [(datetime.datetime.fromisoformat(timestamp), int(val)) for timestamp, val in data.items() if val != 'unavailable']
# Sort the data based on timestamps
time_temp_pairs.sort(key=lambda x: x[0])
# Calculate the time span
start_time = time_temp_pairs[0][0]
end_time = time_temp_pairs[-1][0]
time_span = end_time - start_time
# Calculate time intervals for evenly spaced data points
num_data_points = 24
time_intervals = [start_time + i * time_span / (num_data_points - 1) for i in range(num_data_points)]
# Find the closest data points for these time intervals
evenly_spaced_data = []
for interval in time_intervals:
closest_pair = min(time_temp_pairs, key=lambda x: abs(x[0] - interval))
time, val = closest_pair
val = int(val)
evenly_spaced_data.append((time, val))
datapoints = ""
for idx, (time, val) in enumerate(evenly_spaced_data):
datapoints += f"{val}~"
color = 65504
ydesc = "Akku [%]"
yscale = "25:50:75:100"
#datapoints = "19^22:00~17~12~8~7^2:00~6~6~5~5^6:00~5~15~19~12^10:00~17~24~18~12^14:00~13~13~13~15^18:00~25~28~26"
command = f"entityUpd~{heading}~{navigation}~{color}~{ydesc}~{yscale}~{datapoints}"
self._send_mqtt_msg(command)
def generate_media_page(self, navigation, title, entity, entities, mediaBtn):
entityId = entity.entityId
if entity.status is not None:
@@ -756,6 +823,10 @@ class LuiPagesGen(object):
if card.cardType == "cardPower":
self.generate_power_page(navigation, card.title, card.entities)
return
if card.cardType == "cardChart":
self.generate_chart_page(navigation, card.title, card.entity)
return
def generate_light_detail_page(self, entity_id, is_open_detail=False):
if entity_id.startswith('uuid'):
@@ -773,13 +844,13 @@ class LuiPagesGen(object):
if "onoff" not in entity.attributes.supported_color_modes:
brightness = 0
if entity.state == "on":
if "brightness" in entity.attributes:
if "brightness" in entity.attributes and entity.attributes.brightness:
# scale 0-255 brightness from ha to 0-100
brightness = int(scale(entity.attributes.brightness,(0,255),(0,100)))
else:
brightness = "disable"
if "color_temp" in entity.attributes.supported_color_modes:
if "color_temp" in entity.attributes:
if "color_temp" in entity.attributes.supported_color_modes and entity.attributes.supported_color_modes:
if "color_temp" in entity.attributes and entity.attributes.color_temp:
# scale ha color temp range to 0-100
color_temp = int(scale(entity.attributes.color_temp,(entity.attributes.min_mireds, entity.attributes.max_mireds),(0,100)))
else:

View File

@@ -57,8 +57,8 @@
"comfort": "Komfort",
"eco": "Eko",
"home": "Doma",
"none": "Žiadny",
"sleep": "Pohotovostný režim"
"none": "Žiadna",
"sleep": "Spánok"
}
},
"humidifier": {
@@ -3951,4 +3951,4 @@
"sidebar_toggle": "Prepínač bočného panela"
}
}
}
}

View File

@@ -1,6 +1,5 @@
class Updater:
def __init__(self, log, send_mqtt_msg, topic_send, mode, desired_display_firmware_version, desired_display_firmware_model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url):
def __init__(self, log, mqttsend, topic_send, mode, desired_display_firmware_version, desired_display_firmware_model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url):
self._log = log
self.desired_display_firmware_version = desired_display_firmware_version
@@ -10,7 +9,7 @@ class Updater:
self.desired_tasmota_driver_url = desired_tasmota_driver_url
self.mode = mode
self._send_mqtt_msg = send_mqtt_msg
self.mqttsend = mqttsend
self.topic_send = topic_send
self.current_tasmota_driver_version = None
self.current_display_firmware_version = None
@@ -18,6 +17,7 @@ class Updater:
def set_tasmota_driver_version(self, driver_version):
self.current_tasmota_driver_version = driver_version
def set_current_display_firmware_version(self, panel_version, panel_model=None):
self.current_display_firmware_version = panel_version
self.current_display_model = panel_model
@@ -33,8 +33,8 @@ class Updater:
return False
def send_message_page(self, id, heading, msg, b1, b2):
self._send_mqtt_msg(f"pageType~popupNotify")
self._send_mqtt_msg(f"entityUpdateDetail~{id}~{heading}~65535~{b1}~65535~{b2}~65535~{msg}~65535~0")
self.mqttsend.send_mqtt_msg(f"pageType~popupNotify")
self.mqttsend.send_mqtt_msg(f"entityUpdateDetail~{id}~{heading}~65535~{b1}~65535~{b2}~65535~{msg}~65535~0")
def check_updates(self):
# return's true if a notification was send to the panel
@@ -80,12 +80,11 @@ class Updater:
def request_berry_driver_version(self):
self.current_tasmota_driver_version = None
topic = self.topic_send.replace("CustomSend", "GetDriverVersion")
self._send_mqtt_msg("X", topic=topic)
self.mqttsend.request_berry_driver_version()
def update_berry_driver(self):
topic = self.topic_send.replace("CustomSend", "Backlog")
self._send_mqtt_msg(f"UpdateDriverVersion {self.desired_tasmota_driver_url}; Restart 1", topic=topic)
self.mqttsend.send_mqtt_msg(f"UpdateDriverVersion {self.desired_tasmota_driver_url}; Restart 1", topic=topic)
def update_panel_driver(self):
topic = self.topic_send.replace("CustomSend", "FlashNextion")
self._send_mqtt_msg(self.desired_display_firmware_url, topic=topic)
self.mqttsend.flash_nextion(self.desired_display_firmware_url)

View File

@@ -15,20 +15,21 @@ class NsPanelLovelaceUIManager(hass.Hass):
apis.mqtt_api = self.get_plugin_api("MQTT")
cfg = self._cfg = LuiBackendConfig(self, self.args["config"])
use_api = cfg.get("use_api") == True
topic_send = cfg.get("panelSendTopic")
topic_recv = cfg.get("panelRecvTopic")
api_panel_name = cfg.get("panelName")
api_device_id = cfg.get("panelDeviceId")
mqttsend = LuiMqttSender(self, topic_send)
# Request Tasmota Driver Version
apis.mqtt_api.mqtt_publish(topic_send.replace("CustomSend", "GetDriverVersion"), "x")
mqttsend = LuiMqttSender(self, use_api, topic_send, api_panel_name)
controller = LuiController(cfg, mqttsend.send_mqtt_msg)
desired_tasmota_driver_version = 8
desired_display_firmware_version = 52
version = "v4.2.0"
desired_display_firmware_version = 53
version = "v4.3.3"
model = cfg.get("model")
if model == "us-l":
@@ -39,11 +40,12 @@ class NsPanelLovelaceUIManager(hass.Hass):
desired_display_firmware_url = cfg._config.get("displayURL-EU", f"http://nspanel.pky.eu/lovelace-ui/github/nspanel-{version}.tft")
desired_tasmota_driver_url = cfg._config.get("berryURL", "https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be")
mode = cfg.get("updateMode")
updater = Updater(self.log, mqttsend.send_mqtt_msg, topic_send, mode, desired_display_firmware_version, model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url)
updater = Updater(self.log, mqttsend, topic_send, mode, desired_display_firmware_version, model, desired_display_firmware_url, desired_tasmota_driver_version, desired_tasmota_driver_url)
# Request Tasmota Driver Version
updater.request_berry_driver_version()
LuiMqttListener(topic_recv, controller, updater)
LuiMqttListener(use_api, topic_recv, api_panel_name, api_device_id, controller, updater)
self.log(f'Started ({version})')

View File

@@ -68,6 +68,7 @@ key | optional | type | default | description
`dateAdditionalTemplate` | True | string | `""` | Addional Text dispayed after Date, can contain a Homeassistant Template Example `" - {{ states('sun.sun') }}"`
`timeAdditionalTemplate` | 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
`timezone` | True | string | "" | Timezone for the time on the panel: `Europe/Berlin` - See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of TZ Identifiers (supported from upcoming version v4.4)
`defaultBackgroundColor` | True | string | ha-dark | backgroud color of all cards, valid values: `black`, `ha-dark`
`cards` | False | complex | | configuration for cards that are displayed on panel; see docs for cards
`screensaver` | True | complex | | configuration for screensaver; see docs for screensaver

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