Skip to content

Commit

Permalink
prelimary tagtype def for EL029H3WRA (M3 2.9")
Browse files Browse the repository at this point in the history
I will finetune the content positions later
  • Loading branch information
nlimper committed Aug 8, 2023
1 parent 09f7466 commit 7ac5757
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 1 deletion.
64 changes: 64 additions & 0 deletions ESP32_AP-Flasher/data/tagtypes/33.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"name": "EL029GSWRN 2.9\"",
"width": 384,
"height": 168,
"rotatebuffer": 1,
"bpp": 2,
"colors": 3,
"colortable": {
"white": [255, 255, 255],
"black": [0, 0, 0],
"red": [255, 0, 0],
"gray": [150, 150, 150]
},
"capabilities": ["button", "customlut"],
"template": {
"1": {
"weekday": [148, 10, "fonts/calibrib60"],
"date": [148, 73, "fonts/calibrib50"]
},
"16": {
"location": [ 5, 5, "fonts/bahnschrift30" ],
"title": [ 247, 11, "glasstown_nbp_tf" ],
"cols": [ 1, 125, 12, "glasstown_nbp_tf" ],
"bars": [ 5, 111, 10 ]
},
"2": {
"fonts": ["fonts/calibrib150", "fonts/calibrib150", "fonts/calibrib120", "fonts/calibrib100"],
"xy": [148, 74]
},
"4": {
"location": [5, 5, "fonts/bahnschrift30"],
"wind": [280, 5, "fonts/bahnschrift30"],
"temp": [5, 65, "fonts/bahnschrift70"],
"icon": [285, 20, 70, 2],
"dir": [245, -12, 40],
"umbrella": [190, -50, 25]
},
"8": {
"location": [5, 12, "t0_14b_tf"],
"column": [5, 59],
"day": [30, 18, "fonts/twcondensed20", 41, 108],
"icon": [30, 55, 30],
"wind": [18, 26],
"line": [20, 128]
},
"9": {
"title": [5, 3, "fonts/bahnschrift20"],
"items": 8,
"line": [5, 34, 13],
"font": "glasstown_nbp_tf"
},
"10": {
"title": [10, 5, "fonts/bahnschrift20"],
"pos": [149, 25]
},
"11": {
"title": [5, 2, "fonts/bahnschrift20"],
"date": [290, 2],
"items": 7,
"red": [0, 21, 296, 14],
"line": [5, 32, 15, "t0_14b_tf", 50]
}
}
}
18 changes: 17 additions & 1 deletion ESP32_AP-Flasher/wwwroot/content_cards.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand Down Expand Up @@ -60,6 +61,7 @@
2,
5,
17,
51,
240
],
"param": [
Expand All @@ -78,7 +80,8 @@
0,
1,
2,
17
51,
17
]
}
]
Expand All @@ -93,6 +96,7 @@
2,
5,
17,
51,
240
],
"param": [
Expand All @@ -112,6 +116,7 @@
1,
2,
5,
51,
17
]
}
Expand All @@ -127,6 +132,7 @@
2,
5,
17,
51,
240
],
"param": [
Expand Down Expand Up @@ -158,6 +164,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand Down Expand Up @@ -187,6 +194,7 @@
"desc": "Dutch rain predictions for the next two hours. Only works for locations in the Netherlands and Belgium.",
"hwtype": [
1,
51,
17
],
"param": [
Expand Down Expand Up @@ -218,6 +226,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand Down Expand Up @@ -250,6 +259,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand All @@ -276,6 +286,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand Down Expand Up @@ -328,6 +339,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand Down Expand Up @@ -361,6 +373,7 @@
2,
5,
17,
51,
240
],
"param": [
Expand Down Expand Up @@ -451,6 +464,7 @@
2,
5,
17,
51,
240
],
"param": [
Expand All @@ -477,6 +491,7 @@
2,
5,
17,
51,
240
],
"param": [
Expand Down Expand Up @@ -579,6 +594,7 @@
1,
2,
5,
51,
17
],
"param": [
Expand Down

0 comments on commit 7ac5757

Please sign in to comment.