From c4fb629ed493ee0130710cea6a209443cf000466 Mon Sep 17 00:00:00 2001 From: Jonas Niesner Date: Sat, 30 Dec 2023 22:54:09 +0100 Subject: [PATCH] Move content cards to tag types (#188) --- ESP32_AP-Flasher/data/tagtypes/00.json | 1 + ESP32_AP-Flasher/data/tagtypes/01.json | 1 + ESP32_AP-Flasher/data/tagtypes/02.json | 1 + ESP32_AP-Flasher/data/tagtypes/05.json | 1 + ESP32_AP-Flasher/data/tagtypes/11.json | 1 + ESP32_AP-Flasher/data/tagtypes/21.json | 60 +---- ESP32_AP-Flasher/data/tagtypes/2F.json | 2 +- ESP32_AP-Flasher/data/tagtypes/31.json | 1 + ESP32_AP-Flasher/data/tagtypes/33.json | 51 +---- ESP32_AP-Flasher/data/tagtypes/36.json | 61 +---- ESP32_AP-Flasher/data/tagtypes/60.json | 50 +---- ESP32_AP-Flasher/data/tagtypes/61.json | 50 +---- ESP32_AP-Flasher/data/tagtypes/62.json | 50 +---- ESP32_AP-Flasher/data/tagtypes/F0.json | 1 + ESP32_AP-Flasher/wwwroot/content_cards.json | 235 ++------------------ 15 files changed, 39 insertions(+), 527 deletions(-) diff --git a/ESP32_AP-Flasher/data/tagtypes/00.json b/ESP32_AP-Flasher/data/tagtypes/00.json index 06ac5999..55d068cd 100644 --- a/ESP32_AP-Flasher/data/tagtypes/00.json +++ b/ESP32_AP-Flasher/data/tagtypes/00.json @@ -13,6 +13,7 @@ }, "shortlut": 2, "options": ["button", "customlut"], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 10, 14, 15, 17, 18, 19, 20, 21], "template": { "1": { "weekday": [ 76, 10, "fonts/calibrib30" ], diff --git a/ESP32_AP-Flasher/data/tagtypes/01.json b/ESP32_AP-Flasher/data/tagtypes/01.json index b6458ea1..56233a4c 100644 --- a/ESP32_AP-Flasher/data/tagtypes/01.json +++ b/ESP32_AP-Flasher/data/tagtypes/01.json @@ -13,6 +13,7 @@ }, "shortlut": 2, "options": ["button", "customlut"], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 15, 16, 17, 18, 19, 20, 21 ], "template": { "1": { "weekday": [148, 10, "fonts/calibrib60"], diff --git a/ESP32_AP-Flasher/data/tagtypes/02.json b/ESP32_AP-Flasher/data/tagtypes/02.json index 787c55d6..ccbaac71 100644 --- a/ESP32_AP-Flasher/data/tagtypes/02.json +++ b/ESP32_AP-Flasher/data/tagtypes/02.json @@ -13,6 +13,7 @@ }, "shortlut": 1, "options": ["button"], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 17, 18, 19, 20, 21], "template": { "1": { "weekday": [ 200, 25, "fonts/calibrib60" ], diff --git a/ESP32_AP-Flasher/data/tagtypes/05.json b/ESP32_AP-Flasher/data/tagtypes/05.json index 68178797..7a6299b1 100644 --- a/ESP32_AP-Flasher/data/tagtypes/05.json +++ b/ESP32_AP-Flasher/data/tagtypes/05.json @@ -13,6 +13,7 @@ }, "shortlut": 1, "options": [], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 17, 18, 19, 20], "template": { "1": { "weekday": [ 200, 25, "fonts/calibrib60" ], diff --git a/ESP32_AP-Flasher/data/tagtypes/11.json b/ESP32_AP-Flasher/data/tagtypes/11.json index 95b6c0ea..bd337b4d 100644 --- a/ESP32_AP-Flasher/data/tagtypes/11.json +++ b/ESP32_AP-Flasher/data/tagtypes/11.json @@ -13,5 +13,6 @@ }, "shortlut": 0, "options": ["button"], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21], "usetemplate": 1 } diff --git a/ESP32_AP-Flasher/data/tagtypes/21.json b/ESP32_AP-Flasher/data/tagtypes/21.json index e380a7f4..36a45807 100644 --- a/ESP32_AP-Flasher/data/tagtypes/21.json +++ b/ESP32_AP-Flasher/data/tagtypes/21.json @@ -11,64 +11,6 @@ }, "shortlut": 0, "options": ["button", "customlut"], - "contentids": [ 0, 1, 2, 3, 4, 8, 16, 9, 7, 19, 10, 11, 21 ], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 15, 16, 17, 18, 19, 20, 21 ], "usetemplate": 1, - "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": [235, -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] - }, - "21": [ - { "text": [ 5, 5, "OpenEpaperLink AP", "bahnschrift20", 1, 0, 0 ] }, - { "text": [ 5, 50, "IP address:", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 120, 50, "{ap_ip}", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 5, 70, "Channel:", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 120, 70, "{ap_ch}", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 5, 90, "Tag count:", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 120, 90, "{ap_tagcount}", "t0_14b_tf", 1, 0, 0 ] } - ] - } } diff --git a/ESP32_AP-Flasher/data/tagtypes/2F.json b/ESP32_AP-Flasher/data/tagtypes/2F.json index 37a1ad27..897f16df 100644 --- a/ESP32_AP-Flasher/data/tagtypes/2F.json +++ b/ESP32_AP-Flasher/data/tagtypes/2F.json @@ -13,6 +13,6 @@ }, "shortlut": 0, "options": ["button"], - "contentids": [ 0, 1, 2, 3, 4, 8, 16, 9, 7, 19, 10, 11, 21 ], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 17, 18, 19, 20], "usetemplate": 1 } diff --git a/ESP32_AP-Flasher/data/tagtypes/31.json b/ESP32_AP-Flasher/data/tagtypes/31.json index 82501cc0..148f7201 100644 --- a/ESP32_AP-Flasher/data/tagtypes/31.json +++ b/ESP32_AP-Flasher/data/tagtypes/31.json @@ -13,6 +13,7 @@ }, "shortlut": 0, "options": ["button", "led"], + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 17, 18, 19, 20], "template": { "1": { "weekday": [148, 10, "fonts/calibrib60"], diff --git a/ESP32_AP-Flasher/data/tagtypes/33.json b/ESP32_AP-Flasher/data/tagtypes/33.json index b47abdce..871ef0e4 100644 --- a/ESP32_AP-Flasher/data/tagtypes/33.json +++ b/ESP32_AP-Flasher/data/tagtypes/33.json @@ -13,53 +13,6 @@ }, "shortlut": 0, "options": ["button", "led"], - "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] - } - } + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 17, 18, 19, 20], + "usetemplate": 1 } diff --git a/ESP32_AP-Flasher/data/tagtypes/36.json b/ESP32_AP-Flasher/data/tagtypes/36.json index 7c62eb7e..6396331b 100644 --- a/ESP32_AP-Flasher/data/tagtypes/36.json +++ b/ESP32_AP-Flasher/data/tagtypes/36.json @@ -13,63 +13,6 @@ }, "shortlut": 0, "options": ["button", "led"], - "contentids": [ 0, 1, 2, 3, 4, 8, 16, 9, 7, 19, 10, 11, 21 ], - "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": [235, -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] - }, - "21": [ - { "text": [ 5, 5, "OpenEpaperLink AP", "bahnschrift20", 1, 0, 0 ] }, - { "text": [ 5, 50, "IP address:", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 120, 50, "{ap_ip}", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 5, 70, "Channel:", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 120, 70, "{ap_ch}", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 5, 90, "Tag count:", "t0_14b_tf", 1, 0, 0 ] }, - { "text": [ 120, 90, "{ap_tagcount}", "t0_14b_tf", 1, 0, 0 ] } - ] - } + "contentids": [ 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 17, 18, 19, 20], + "usetemplate": 31 } diff --git a/ESP32_AP-Flasher/data/tagtypes/60.json b/ESP32_AP-Flasher/data/tagtypes/60.json index d465eba2..eb146858 100644 --- a/ESP32_AP-Flasher/data/tagtypes/60.json +++ b/ESP32_AP-Flasher/data/tagtypes/60.json @@ -14,53 +14,5 @@ "shortlut": 0, "options": ["led"], "contentids": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ], - "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] - } - } + "usetemplate": 1 } diff --git a/ESP32_AP-Flasher/data/tagtypes/61.json b/ESP32_AP-Flasher/data/tagtypes/61.json index 73aa8f6b..69a098a8 100644 --- a/ESP32_AP-Flasher/data/tagtypes/61.json +++ b/ESP32_AP-Flasher/data/tagtypes/61.json @@ -14,53 +14,5 @@ "shortlut": 0, "options": ["led"], "contentids": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ], - "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] - } - } + "usetemplate": 1 } diff --git a/ESP32_AP-Flasher/data/tagtypes/62.json b/ESP32_AP-Flasher/data/tagtypes/62.json index 42b6b6ff..03ce472b 100644 --- a/ESP32_AP-Flasher/data/tagtypes/62.json +++ b/ESP32_AP-Flasher/data/tagtypes/62.json @@ -14,53 +14,5 @@ "shortlut": 0, "options": ["led"], "contentids": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ], - "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] - } - } + "usetemplate": 1 } diff --git a/ESP32_AP-Flasher/data/tagtypes/F0.json b/ESP32_AP-Flasher/data/tagtypes/F0.json index 17c55713..50f1f9e7 100644 --- a/ESP32_AP-Flasher/data/tagtypes/F0.json +++ b/ESP32_AP-Flasher/data/tagtypes/F0.json @@ -8,6 +8,7 @@ "colortable": {}, "shortlut": 0, "options": [], + "contentids": [ 1, 2, 3, 4, 5, 13, 17, 18], "template": { } } diff --git a/ESP32_AP-Flasher/wwwroot/content_cards.json b/ESP32_AP-Flasher/wwwroot/content_cards.json index d20db84b..aa3ec7bc 100644 --- a/ESP32_AP-Flasher/wwwroot/content_cards.json +++ b/ESP32_AP-Flasher/wwwroot/content_cards.json @@ -3,17 +3,7 @@ "id": 0, "name": "Static image", "desc": "Shows a static image, from file system, painter or external source. Make sure to resize the image to the correct resolution.", - "hwtype": [ - 0, - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "filename", @@ -84,34 +74,14 @@ "id": 1, "name": "Current date", "desc": "Shows the current date", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 15 - ], + "hwtype": [], "param": [] }, { "id": 2, "name": "Count days", "desc": "Counts days, starting with the value below. If the count value gets higher than the threshold, the number is displayed in red, otherwise it's black", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 21 - ], + "hwtype": [], "param": [ { "key": "counter", @@ -124,16 +94,7 @@ "name": "Threshold", "desc": "Value is displayed in red if higher than the threshold", "type": "int", - "hwtype": [ - 0, - 1, - 2, - 49, - 51, - 17, - 15, - 54 - ] + "hwtype": [] } ] }, @@ -141,18 +102,7 @@ "id": 3, "name": "Count hours", "desc": "Counts hours, starting with the value below. If the count value gets higher than the threshold, the number is displayed in red, otherwise it's black", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "counter", @@ -165,17 +115,7 @@ "name": "Threshold", "desc": "Value is displayed in red if higher than the threshold", "type": "int", - "hwtype": [ - 0, - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ] + "hwtype": [] } ] }, @@ -183,18 +123,7 @@ "id": 4, "name": "Current weather", "desc": "Current weather. Weather data by Open-Meteo.com. Parameters Lat, Lon and Time Zone are filled automatically from the entered location. In case of an ambiguous location, you can alter those manually.", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "location", @@ -236,16 +165,7 @@ "id": 8, "name": "Weather forecast", "desc": "Weather forecast for the next five days. Weather data by Open-Meteo.com. Parameters Lat, Lon and Time Zone are filled automatically from the entered location. In case of an ambiguous location, you can alter those manually.", - "hwtype": [ - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "location", @@ -287,13 +207,7 @@ "id": 16, "name": "Buienradar", "desc": "Dutch rain predictions for the next two hours. Only works for locations in the Netherlands and Belgium.", - "hwtype": [ - 1, - 49, - 51, - 17, - 21 - ], + "hwtype": [], "param": [ { "key": "location", @@ -319,16 +233,7 @@ "id": 9, "name": "RSS feed", "desc": "Gets an RSS feed, and display the first few lines of it", - "hwtype": [ - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "title", @@ -354,17 +259,7 @@ "id": 7, "name": "Image URL", "desc": "Gets an external image and displays it", - "hwtype": [ - 0, - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "url", @@ -384,17 +279,7 @@ "id": 19, "name": "Json template", "desc": "Gets an external json template and displays it", - "hwtype": [ - 0, - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "url", @@ -420,17 +305,7 @@ "id": 10, "name": "QR code", "desc": "Displayes a full screen QR code", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "title", @@ -450,16 +325,7 @@ "id": 11, "name": "Google calendar", "desc": "Displays the current and upcoming appointments (next 24 hours) from a Google calendar. To let this work, you need a small Google Apps Script to interface with your calendar. See documentation on github how to do that", - "hwtype": [ - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "title", @@ -485,18 +351,7 @@ "id": 5, "name": "Firmware update", "desc": "To update tag firmware. Make sure you send the right .bin file! You can brick your tag if you send a wrong file.", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "filename", @@ -516,9 +371,7 @@ "id": 13, "name": "Set segments", "desc": "Used for debugging. Work in progress", - "hwtype": [ - 240 - ], + "hwtype": [], "param": [ { "key": "line1", @@ -544,10 +397,7 @@ "id": 14, "name": "Set NFC URL", "desc": "Send the URL to the NFC chip. The URL is transmitted to a NFC reader (like your phone) if you hold it next to the tag", - "hwtype": [ - 0, - 17 - ], + "hwtype": [], "capabilities": 64, "param": [ { @@ -562,9 +412,7 @@ "id": 15, "name": "Send custom LUT", "desc": "EXPERIMENTAL. Don't use. YOU RISK DAMAGING YOUR SCREEN.", - "hwtype": [ - 1 - ], + "hwtype": [], "capabilities": 4, "param": [ { @@ -579,18 +427,7 @@ "id": 17, "name": "Send Command", "desc": "Send a command to a tag to execute; only to be used for tests during development", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "cmd", @@ -604,18 +441,7 @@ "id": 18, "name": "Set Tag Config", "desc": "Sets tag options. The options you see below are the default options. This may or may not match current tag settings", - "hwtype": [ - 0, - 1, - 2, - 5, - 17, - 49, - 51, - 240, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "fastboot", @@ -711,17 +537,7 @@ "id": 20, "name": "Display a copy", "desc": "Mirror the contents of a source tag to this destination tag, regardless of the content. The two tags should be of the same type. Ideally, the destination tag is local to the AP.", - "hwtype": [ - 0, - 1, - 2, - 5, - 49, - 51, - 17, - 15, - 54 - ], + "hwtype": [], "param": [ { "key": "mac", @@ -735,11 +551,6 @@ "id": 21, "name": "Access point info", "desc": "Displays information about the currently connected access point", - "hwtype": [ - 0, - 1, - 15, - 54 - ] + "hwtype": [] } -] \ No newline at end of file +]